Index: tests/ppapi_test_example/ppapi_test_example.js |
=================================================================== |
--- tests/ppapi_test_example/ppapi_test_example.js (revision 5984) |
+++ tests/ppapi_test_example/ppapi_test_example.js (working copy) |
@@ -9,11 +9,6 @@ |
// how to transition from synchronous scripting to postMessage as the test |
// driving mechanism. |
- // Before. |
- tester.addTest('Example::SimpleSync', function() { |
- assert(plugin.TestSimpleSync()); |
- }); |
- |
// After. |
polina
2011/07/12 08:58:01
forgot this one
sehr (please use chromium)
2011/07/12 16:44:23
Done.
|
tester.addAsyncTest('Example::SimpleAsync', function(status) { |
polina
2011/07/12 08:58:01
Please drop Async in this file as well.
sehr (please use chromium)
2011/07/12 16:44:23
Done.
|
var messageListener = status.wrap(function(message) { |
@@ -27,12 +22,6 @@ |
plugin.postMessage("TestSimpleAsync"); |
}); |
- // Before. |
- tester.addTest('Example::CallbackSync', function(status) { |
- status.assert(plugin.TestCallbackSync()); |
- status.waitForCallback('CallbackSync', 1); |
- }); |
- |
// After. |
polina
2011/07/12 08:58:01
and this one
sehr (please use chromium)
2011/07/12 16:44:23
Done.
|
tester.addAsyncTest('Example::CallbackAsync', function(status) { |
var gotPassed = false; |