diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 22:42:04 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 22:42:04 +0000 |
commit | 321fb2dd2ab53714d2b827e5365b20ab3c911d0d (patch) | |
tree | 8515382ff0a9f90d39cc137cfc0c261bdf89cdd7 /ppapi/tests/test_post_message.h | |
parent | c73a255870b16d17cd90e3f098f6a580b360a590 (diff) | |
download | chromium_src-321fb2dd2ab53714d2b827e5365b20ab3c911d0d.zip chromium_src-321fb2dd2ab53714d2b827e5365b20ab3c911d0d.tar.gz chromium_src-321fb2dd2ab53714d2b827e5365b20ab3c911d0d.tar.bz2 |
Revert 99442 - Add test for calling PostMessage during Init. Deflakify TestPostMessage.
BUG=93260,91768
TEST=This test
Review URL: http://codereview.chromium.org/7821001
TBR=dmichael@chromium.org
Review URL: http://codereview.chromium.org/7737004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99466 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/tests/test_post_message.h')
-rw-r--r-- | ppapi/tests/test_post_message.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ppapi/tests/test_post_message.h b/ppapi/tests/test_post_message.h index af1dc36..f081880 100644 --- a/ppapi/tests/test_post_message.h +++ b/ppapi/tests/test_post_message.h @@ -12,8 +12,7 @@ class TestPostMessage : public TestCase { public: - explicit TestPostMessage(TestingInstance* instance); - virtual ~TestPostMessage(); + explicit TestPostMessage(TestingInstance* instance) : TestCase(instance) {} private: // TestCase implementation. @@ -39,15 +38,6 @@ class TestPostMessage : public TestCase { // Returns true on success, false on failure. bool ClearListeners(); - // Wait for pending messages; return the number of messages that were pending - // at the time of invocation. - int WaitForMessages(); - - // Test that we can send a message from Instance::Init. Note the actual - // message is sent in TestPostMessage::Init, and this test simply makes sure - // we got it. - std::string TestSendInInit(); - // Test some basic functionality; make sure we can send data successfully // in both directions. std::string TestSendingData(); |