Chromium Code Reviews| Index: ppapi/tests/test_console.h |
| diff --git a/ppapi/tests/test_crypto.h b/ppapi/tests/test_console.h |
| similarity index 50% |
| copy from ppapi/tests/test_crypto.h |
| copy to ppapi/tests/test_console.h |
| index 819ad779db99f45eda160ab79fc501da1be00a36..af7837f99dff5972aafb131e7c55de3512750cd1 100644 |
| --- a/ppapi/tests/test_crypto.h |
| +++ b/ppapi/tests/test_console.h |
| @@ -2,27 +2,28 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef PPAPI_TESTS_TEST_CRYPTO_H_ |
| -#define PPAPI_TESTS_TEST_CRYPTO_H_ |
| +#ifndef PPAPI_TESTS_TEST_CONSOLE_H_ |
| +#define PPAPI_TESTS_TEST_CONSOLE_H_ |
| #include <string> |
| -#include <vector> |
| -#include "ppapi/c/dev/ppb_crypto_dev.h" |
| +#include "ppapi/c/ppb_console.h" |
| +#include "ppapi/c/ppb_var.h" |
|
dmichael (off chromium)
2012/12/12 19:09:07
total nit: These could both be forward references
|
| #include "ppapi/tests/test_case.h" |
| -class TestCrypto : public TestCase { |
| +class TestConsole : public TestCase { |
| public: |
| - TestCrypto(TestingInstance* instance); |
| + TestConsole(TestingInstance* instance); |
|
dmichael (off chromium)
2012/12/12 19:09:07
nit: explicit
|
| // TestCase implementation. |
| virtual bool Init(); |
| virtual void RunTests(const std::string& filter); |
| private: |
| - std::string TestGetRandomBytes(); |
| + std::string TestSmoke(); |
| - const PPB_Crypto_Dev* crypto_interface_; |
| + const PPB_Console* console_interface_; |
| + const PPB_Var* var_interface_; |
| }; |
| -#endif // PPAPI_TESTS_TEST_CRYPTO_H_ |
| +#endif // PPAPI_TESTS_TEST_CONSOLE_H_ |