Example #1
0
        public void FixtureSetUp()
        {
            parser = new UnitTestNetTcpStyleUriParser();
            // unit tests are being reused in CAS tests
            if (!UriParser.IsKnownScheme("net.tcpx"))
            {
                UriParser.Register(parser, "net.tcpx", 2);
            }

            Assert.IsTrue(UnitTestNetTcpStyleUriParser.Registered, "Registered");
            // our parser code was called
        }
		public void FixtureSetUp ()
		{
			parser = new UnitTestNetTcpStyleUriParser ();
			// unit tests are being reused in CAS tests
			if (!UriParser.IsKnownScheme ("net.tcpx"))
				UriParser.Register (parser, "net.tcpx", 2);

			Assert.IsTrue (UnitTestNetTcpStyleUriParser.Registered, "Registered");
			// our parser code was called
		}