Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_H_ | |
| 6 #define PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #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.
| |
| 11 #include "ppapi/tests/test_case.h" | |
| 12 | |
| 13 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.
| |
| 14 public: | |
| 15 explicit TestNetAddressPrivate(TestingInstance* instance); | |
| 16 | |
| 17 // TestCase implementation. | |
| 18 virtual bool Init(); | |
| 19 virtual void RunTest(); | |
| 20 | |
| 21 private: | |
| 22 std::string TestAreEqual(); | |
| 23 std::string TestAreHostsEqual(); | |
| 24 std::string TestDescribe(); | |
| 25 std::string TestReplacePort(); | |
| 26 std::string TestGetAnyAddress(); | |
| 27 }; | |
| 28 | |
| 29 #endif // PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_H_ | |
| OLD | NEW |