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

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