コード例 #1
0
        public void GetTemplateLanguage_ProjectIsCSharpProject_ReturnsCSharpTemplateLanguage()
        {
            CreateSelectedFolder();
            projectForSelectedFolder.SetCSharpAsTemplateLanguage();

            MvcTextTemplateLanguage language = selectedFolder.GetTemplateLanguage();

            Assert.AreEqual(MvcTextTemplateLanguage.CSharp, language);
        }
コード例 #2
0
 void ProjectPassedToGeneratorIsCSharpProject()
 {
     projectUsedByGenerator.SetCSharpAsTemplateLanguage();
     generator.TemplateLanguage = MvcTextTemplateLanguage.CSharp;
 }
コード例 #3
0
 void CreateCSharpProject()
 {
     fakeProject = new FakeMvcProject();
     fakeProject.SetCSharpAsTemplateLanguage();
 }
コード例 #4
0
 void UseCSharpProject()
 {
     fakeProject.SetCSharpAsTemplateLanguage();
 }