| Index: ppapi/tests/testing_instance.h
|
| diff --git a/ppapi/tests/testing_instance.h b/ppapi/tests/testing_instance.h
|
| index 7b0517445655ac0a62d46b09fbb93c0a0dd1d2a0..41ec63e9cd20654b130f2cd5f4a48ce7fab3d1c2 100644
|
| --- a/ppapi/tests/testing_instance.h
|
| +++ b/ppapi/tests/testing_instance.h
|
| @@ -89,6 +89,11 @@ pp::InstancePrivate {
|
| // Sets the given cookie in the current document.
|
| void SetCookie(const std::string& name, const std::string& value);
|
|
|
| + // Add a post-condition to the JavaScript on the test_case.html page. This
|
| + // JavaScript code will be run after the instance is shut down and must
|
| + // evaluate to |true| or the test will fail.
|
| + void AddPostCondition(const std::string& script);
|
| +
|
| private:
|
| void ExecuteTests(int32_t unused);
|
|
|
| @@ -106,6 +111,10 @@ pp::InstancePrivate {
|
| // Runs 'PostMessage_SendingData.
|
| std::string FilterForTestName(const std::string& name);
|
|
|
| + // Sends a test command to the page using PostMessage.
|
| + void SendTestCommand(const std::string& command);
|
| + void SendTestCommand(const std::string& command, const std::string& params);
|
| +
|
| // Appends a list of available tests to the console in the document.
|
| void LogAvailableTests();
|
|
|
|
|