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

Side by Side Diff: ppapi/native_client/tests/ppapi_test_example/ppapi_test_example.js

Issue 7778046: Update Native Client Authors to be Chromium Authors for the code moved from the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 function setupTests(tester, plugin) { 5 function setupTests(tester, plugin) {
6 // TODO(tester): replace with your tests. 6 // TODO(tester): replace with your tests.
7 7
8 // Below are sample test cases demonstrating postMessage as the test 8 // Below are sample test cases demonstrating postMessage as the test
9 // driving mechanism. 9 // driving mechanism.
10 10
11 tester.addAsyncTest('Example::Simple', function(status) { 11 tester.addAsyncTest('Example::Simple', function(status) {
(...skipping 20 matching lines...) Expand all
32 } else { 32 } else {
33 status.assertEqual(message.data, 'Callback'); 33 status.assertEqual(message.data, 'Callback');
34 status.pass(); 34 status.pass();
35 } 35 }
36 }); 36 });
37 37
38 plugin.addEventListener("message", messageListener, false); 38 plugin.addEventListener("message", messageListener, false);
39 plugin.postMessage("TestCallback"); 39 plugin.postMessage("TestCallback");
40 }); 40 });
41 } 41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698