Exemplo n.º 1
0
 public void KeywordsMustBeUppercased()
 {
     using (BaselinedRuleTest test = new BaselinedRuleTest(
                this.TestContext,
                "DoNotUseLowerCaseKeywords",
                new TSqlModelOptions(),
                SqlServerVersion.Sql120))
     {
         // Since this test verifies results against a baseline file, we don't need to do any extra verification
         test.RunTest(RuleIdentities.KeywordsUppercaseRuleId);
     }
 }
Exemplo n.º 2
0
 public void TestDoNotUseSelectAll()
 {
     using (BaselinedRuleTest test = new BaselinedRuleTest(
                this.TestContext,
                "DoNotUseSelectAllRule",
                new TSqlModelOptions(),
                SqlServerVersion.Sql120))
     {
         // Since this test verifies results against a baseline file, we don't need to do any extra verification
         test.RunTest(RuleIdentities.DoNotUseSelectAllRuleId);
     }
 }