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

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

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