test_net_address.h 674 B

1234567891011121314151617181920212223242526
  1. // Copyright 2013 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. #ifndef PPAPI_TESTS_TEST_NET_ADDRESS_H_
  5. #define PPAPI_TESTS_TEST_NET_ADDRESS_H_
  6. #include <string>
  7. #include "ppapi/tests/test_case.h"
  8. class TestNetAddress : public TestCase {
  9. public:
  10. explicit TestNetAddress(TestingInstance* instance);
  11. // TestCase implementation.
  12. virtual bool Init();
  13. virtual void RunTests(const std::string& filter);
  14. private:
  15. std::string TestIPv4Address();
  16. std::string TestIPv6Address();
  17. std::string TestDescribeAsString();
  18. };
  19. #endif // PPAPI_TESTS_TEST_NET_ADDRESS_H_