Exemplo n.º 1
0
        public void ConvertDirective_Properly_Executes_Directive_General_Conversion()
        {
            var expectedText =
                $@"{ExpectedNamespaceDirective}
{ExpectedInheritsLayoutDirective}";

            Assert.AreEqual(expectedText, _directiveConverter.ConvertDirective(TestDirectiveName, TestDirectiveName, TestPath, TestProjectName, new ViewImportService()));
        }
Exemplo n.º 2
0
 public void ConvertDirective_Properly_Executes_Directive_General_Conversion()
 {
     Assert.AreEqual(ExpectedPageDirective, _directiveConverter.ConvertDirective(TestDirectiveName, TestDirectiveName, TestPath, TestProjectName, new ViewImportService()));
 }
Exemplo n.º 3
0
 public void RegisterDirective_Properly_Executes_Standard_Conversion()
 {
     Assert.AreEqual(ExpectedStandardControlDirective, _directiveConverter.ConvertDirective(
                         TestDirectiveName, TestStandardControlDirective, TestPath, TestProjectName, new ViewImportService()));
 }
Exemplo n.º 4
0
 public void ConvertDirective_Properly_Constructs_General_Directive_Unknown_Comment()
 {
     Assert.AreEqual(ExpectedUnknownDirectiveComment, _directiveConverter.ConvertDirective(TestDirectiveName, TestDirectiveName, TestPath, TestProjectName, new ViewImportService()));
 }