Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2913)

Unified Diff: chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html

Issue 303683005: Add failure case for manifest file testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html
diff --git a/chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html b/chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html
index be9df7111c0c038a55c43894af7b8492979e586e..49452486da5dd4c2a2e86fe49ecab8f1b08c8250 100644
--- a/chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html
+++ b/chrome/test/data/nacl/manifest_file/irt_manifest_file_test.html
@@ -40,7 +40,12 @@ function setupTests(tester, plugin) {
tester.addAsyncTest('Test_00_Init', function(status) {
plugin.addEventListener('message', function(message_event) {
this.removeEventListener('message', arguments.callee, false);
- var golden = 'File Contents:\nTest File Content';
+ var golden = [
+ 'File Contents:\nTest File Content',
+ // 2 is an error code for ENOENT.
Mark Seaborn 2014/05/29 16:55:48 Hard-coding a numeric errno value here isn't very
hidehiko 2014/05/30 04:49:58 Done.
+ 'open_resource() result: 2',
+ 'open_resource() result: 2',
+ ];
status.assertEqual(message_event.data, golden);
status.pass();
}, false);

Powered by Google App Engine
This is Rietveld 408576698