test_x509_certificate_private.h 715 B

12345678910111213141516171819202122232425
  1. // Copyright (c) 2012 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_X509_CERTIFICATE_PRIVATE_H_
  5. #define PPAPI_TESTS_TEST_X509_CERTIFICATE_PRIVATE_H_
  6. #include <string>
  7. #include "ppapi/tests/test_case.h"
  8. class TestX509CertificatePrivate : public TestCase {
  9. public:
  10. explicit TestX509CertificatePrivate(TestingInstance* instance);
  11. // TestCase implementation.
  12. virtual bool Init();
  13. virtual void RunTests(const std::string& filter);
  14. private:
  15. std::string TestValidCertificate();
  16. std::string TestInvalidCertificate();
  17. };
  18. #endif // PPAPI_TESTS_TEST_X509_CERTIFICATE_PRIVATE_H_