Exemplo n.º 1
0
        public void TestOuptutTracking_LanguageName()
        {
            TypeSystemService.AddOutputTrackingNode(new TypeSystemOutputTrackingNode {
                LanguageName = "IL"
            });

            Assert.IsTrue(TypeSystemService.IsOutputTrackedProject(new TrackTestProject("IL", "Bar")));
        }
Exemplo n.º 2
0
        public void TestOuptutTracking_ProjectType()
        {
            TypeSystemService.AddOutputTrackingNode(new TypeSystemOutputTrackingNode {
                ProjectType = "TestProjectType"
            });

            Assert.IsFalse(TypeSystemService.IsOutputTrackedProject(new TrackTestProject("C#", "Bar")));
            Assert.IsTrue(TypeSystemService.IsOutputTrackedProject(new TrackTestProject("C#", "TestProjectType")));
        }