Index: ppapi/tests/test_net_address_private.h |
diff --git a/ppapi/tests/test_net_address_private.h b/ppapi/tests/test_net_address_private.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fbd7dc14579880d3798f472774571eec34573512 |
--- /dev/null |
+++ b/ppapi/tests/test_net_address_private.h |
@@ -0,0 +1,29 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_H_ |
+#define PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_H_ |
+ |
+#include <string> |
+ |
+#include "ppapi/c/private/ppb_net_address_private.h" |
yzshen1
2011/11/11 18:55:28
I think this include can be moved into .cc file.
viettrungluu
2011/11/11 19:07:40
Done.
|
+#include "ppapi/tests/test_case.h" |
+ |
+class TestNetAddressPrivate : public TestCase { |
yzshen1
2011/11/11 18:55:28
Please also add the test to ppapi_uitest.cc, so th
viettrungluu
2011/11/11 19:07:40
Done.
|
+ public: |
+ explicit TestNetAddressPrivate(TestingInstance* instance); |
+ |
+ // TestCase implementation. |
+ virtual bool Init(); |
+ virtual void RunTest(); |
+ |
+ private: |
+ std::string TestAreEqual(); |
+ std::string TestAreHostsEqual(); |
+ std::string TestDescribe(); |
+ std::string TestReplacePort(); |
+ std::string TestGetAnyAddress(); |
+}; |
+ |
+#endif // PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_H_ |