Exemplo n.º 1
0
 public static Task throws_on_null_uri() => Should.ThrowAsync <ArgumentNullException>(() => ImagePipeline.FromUriAsync((string)null, TestValues.DefaultImageLoadOptions));
Exemplo n.º 2
0
 public static Task throws_on_null_options() => Should.ThrowAsync <ArgumentNullException>(() => ImagePipeline.FromUriAsync(TestValues.InputUrl, null));
Exemplo n.º 3
0
 public static Task throws_on_null_uri() => Should.ThrowAsync <ArgumentNullException>(() => ImagePipeline.FromUriAsync((Uri)null));
Exemplo n.º 4
0
 public static async Task returns_pipeline() => (await ImagePipeline.FromUriAsync(TestValues.InputUrl, new ImageLoadOptions()).ForAwait()).ShouldNotBeNull();
 public static async Task returns_pipeline() => (await ImagePipeline.FromUriAsync(TestValues.InputUrl)).ShouldNotBeNull();