Esempio n. 1
0
        public void FilterWorks()
        {
            var filter = new ExcludeExperimentalMigrations();

            filter.Exclude(new M20190718160123_WithAttributeMigration()).Should().BeTrue();
            filter.Exclude(new M20190718160124_WithoutAttributeMigration()).Should().BeFalse();
        }
Esempio n. 2
0
 public void HasExperimentalAttributeTrue()
 {
     ExcludeExperimentalMigrations.HasExperimentalAttribute(new M20190718160123_WithAttributeMigration())
     .Should().BeTrue();
 }
Esempio n. 3
0
 public void HasExperimentalAttributeFalse()
 {
     ExcludeExperimentalMigrations.HasExperimentalAttribute(new M20190718160124_WithoutAttributeMigration())
     .Should().BeFalse();
 }
Esempio n. 4
0
 public void HasExperimentalAttributeNull()
 {
     ExcludeExperimentalMigrations.HasExperimentalAttribute(null)
     .Should().BeFalse();
 }