예제 #1
0
        public void FixtureSetUp()
        {
            parser = new UnitTestFtpStyleUriParser();
            // unit tests are being reused in CAS tests
            if (!UriParser.IsKnownScheme("ftpx"))
            {
                UriParser.Register(parser, "ftpx", 2121);
            }

            Assert.IsTrue(UnitTestFtpStyleUriParser.Registered, "Registered");
            // our parser code was called
        }
예제 #2
0
		public void FixtureSetUp ()
		{
			parser = new UnitTestFtpStyleUriParser ();
			// unit tests are being reused in CAS tests
			if (!UriParser.IsKnownScheme ("ftpx"))
				UriParser.Register (parser, "ftpx", 2121);

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