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 }
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 }