Created
December 6, 2011 08:43
-
-
Save biac/1437415 to your computer and use it in GitHub Desktop.
FeedReader: 4つめのテスト ~ テストケースでは async / await は使えない
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestMethod] | |
public async void ReadAsyncTest4_補足_テストケースはasyncに出来ない() | |
{ | |
FeedData fd = await (new FeedReader()).ReadAsync(RssUrl); | |
Assert.Fail("テストランナーに制御が戻ってから非同期実行が完了するので、この Fail() はテストランナーで捕捉できない。"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment