Ejemplo n.º 1
0
 public async Task Request_Multiple_Files_Request_NetStandard() =>
 await Assert.ThrowsAsync <ArgumentException>(() => Share.RequestAsync(new ShareMultipleFilesRequest()));
Ejemplo n.º 2
0
 public async Task Request_Text_Request_NetStandard() =>
 await Assert.ThrowsAsync <ArgumentException>(() => Share.RequestAsync(new ShareTextRequest()));
Ejemplo n.º 3
0
 public async Task Request_Text_Title_NetStandard() =>
 await Assert.ThrowsAsync <NotImplementedInReferenceAssemblyException>(() => Share.RequestAsync("Text", "Title"));
Ejemplo n.º 4
0
 public async Task Request_File_Request_NetStandard()
 {
     TestUtils.EnableExperimentalFeatures();
     await Assert.ThrowsAsync <NotImplementedInReferenceAssemblyException>(() => Share.RequestAsync(new ShareFileRequest()));
 }
Ejemplo n.º 5
0
 public async Task Request_Text_Request_NetStandard() =>
 await Assert.ThrowsAsync <NotImplementedInReferenceAssemblyException>(() => Share.RequestAsync(new ShareTextRequest()));
Ejemplo n.º 6
0
 public async Task Request_File_Request_NetStandard() =>
 await Assert.ThrowsAsync <InvalidOperationException>(() => Share.RequestAsync(new ShareFileRequest()));