public void FixtureSetUp()
        {
            parser = new UnitTestHttpStyleUriParser();
            // unit tests are being reused in CAS tests
            if (!UriParser.IsKnownScheme("httpx"))
            {
                UriParser.Register(parser, "httpx", 8080);
            }

            Assert.IsTrue(UnitTestHttpStyleUriParser.Registered, "Registered");
            // our parser code was called
        }
Esempio n. 2
0
		public void FixtureSetUp ()
		{
			parser = new UnitTestHttpStyleUriParser ();
			// unit tests are being reused in CAS tests
			if (!UriParser.IsKnownScheme ("httpx"))
				UriParser.Register (parser, "httpx", 8080);

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