public InitializeAndValidate ( Uri uri, UriFormatException &parsingError ) : void | ||
uri | Uri | |
parsingError | UriFormatException | |
return | void |
public static void InitializeAndValidate() { Uri http = new Uri(FullHttpUri); TestUriParser parser = new TestUriParser(); parser.InitializeAndValidate(http, out UriFormatException error); Assert.NotNull(error); }
public static void InitializeAndValidate_Null() { UriFormatException error = null; TestUriParser parser = new TestUriParser(); Assert.Throws<System.NullReferenceException>(() => { parser.InitializeAndValidate(null, out error); }); }
public static void InitializeAndValidate() { http = new Uri(full_http); UriFormatException error = null; TestUriParser parser = new TestUriParser(); parser.InitializeAndValidate(http, out error); Assert.NotNull(error); }