Index: ppapi/tests/test_post_message.h |
diff --git a/ppapi/tests/test_post_message.h b/ppapi/tests/test_post_message.h |
index 8ba3e4e16c4146601631c0793576ce44da1c1ba3..3ea69e898b382d064bb718a23cb787246cbc3097 100644 |
--- a/ppapi/tests/test_post_message.h |
+++ b/ppapi/tests/test_post_message.h |
@@ -43,6 +43,12 @@ class TestPostMessage : public TestCase { |
// at the time of invocation. |
int WaitForMessages(); |
+ // Verifies that the given javascript assertions are true of the message |
+ // (|test_data|) passed via PostMessage(). |
+ std::string CheckMessageProperties( |
+ const pp::Var& test_data, |
+ const std::vector<std::string>& properties_to_check); |
+ |
// 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. |
@@ -55,6 +61,15 @@ class TestPostMessage : public TestCase { |
// Test sending ArrayBuffer vars in both directions. |
std::string TestSendingArrayBuffer(); |
+ // Test sending Array vars in both directions. |
+ std::string TestSendingArray(); |
+ |
+ // Test sending Dictionary vars in both directions. |
+ std::string TestSendingDictionary(); |
+ |
+ // Test sending a complex var with references and cycles in both directions. |
+ std::string TestSendingComplexVar(); |
+ |
// Test the MessageEvent object that JavaScript received to make sure it is |
// of the right type and has all the expected fields. |
std::string TestMessageEvent(); |