Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: ppapi/tests/test_net_address_private.h

Issue 8527017: Pepper: Add tests for the PPB_NetAddress_Private interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698