예제 #1
0
        public void FileNamePlusTransform()
        {
            var spec = new NUnit.Engine.OutputSpecification("MyFile.xml;transform=transform.xslt");

            Assert.That(spec.OutputPath, Is.EqualTo("MyFile.xml"));
            Assert.That(spec.Format, Is.EqualTo("user"));
            Assert.That(spec.Transform, Is.EqualTo("transform.xslt"));
        }
예제 #2
0
        public void UserFormatMayBeIndicatedExplicitlyBeforeTransform()
        {
            var spec = new NUnit.Engine.OutputSpecification("MyFile.xml;format=user;transform=transform.xslt");

            Assert.That(spec.OutputPath, Is.EqualTo("MyFile.xml"));
            Assert.That(spec.Format, Is.EqualTo("user"));
            Assert.That(spec.Transform, Is.EqualTo("transform.xslt"));
        }
예제 #3
0
        public void FileNamePlusFormat()
        {
            var spec = new NUnit.Engine.OutputSpecification("MyFile.xml;format=nunit2");

            Assert.That(spec.OutputPath, Is.EqualTo("MyFile.xml"));
            Assert.That(spec.Format, Is.EqualTo("nunit2"));
            Assert.Null(spec.Transform);
        }