예제 #1
0
파일: Share_Tests.cs 프로젝트: sung-su/maui
 public async Task Request_Multiple_Files_Request_NetStandard() =>
 await Assert.ThrowsAsync <ArgumentException>(() => Share.RequestAsync(new ShareMultipleFilesRequest()));
예제 #2
0
파일: Share_Tests.cs 프로젝트: sung-su/maui
 public async Task Request_Text_Request_NetStandard() =>
 await Assert.ThrowsAsync <ArgumentException>(() => Share.RequestAsync(new ShareTextRequest()));
예제 #3
0
파일: Share_Tests.cs 프로젝트: sung-su/maui
 public async Task Request_Text_Title_NetStandard() =>
 await Assert.ThrowsAsync <NotImplementedInReferenceAssemblyException>(() => Share.RequestAsync("Text", "Title"));
예제 #4
0
 public async Task Request_File_Request_NetStandard()
 {
     TestUtils.EnableExperimentalFeatures();
     await Assert.ThrowsAsync <NotImplementedInReferenceAssemblyException>(() => Share.RequestAsync(new ShareFileRequest()));
 }
예제 #5
0
 public async Task Request_Text_Request_NetStandard() =>
 await Assert.ThrowsAsync <NotImplementedInReferenceAssemblyException>(() => Share.RequestAsync(new ShareTextRequest()));
예제 #6
0
 public async Task Request_File_Request_NetStandard() =>
 await Assert.ThrowsAsync <InvalidOperationException>(() => Share.RequestAsync(new ShareFileRequest()));