C++程序  |  26行  |  718 B

// Copyright (c) 2012 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 PPAPPI_TESTS_TEST_X509_CERTIFICATE_PRIVATE_H_
#define PPAPPI_TESTS_TEST_X509_CERTIFICATE_PRIVATE_H_

#include <string>

#include "ppapi/tests/test_case.h"

class TestX509CertificatePrivate : public TestCase {
 public:
  explicit TestX509CertificatePrivate(TestingInstance* instance);

  // TestCase implementation.
  virtual bool Init();
  virtual void RunTests(const std::string& filter);

 private:
  std::string TestValidCertificate();
  std::string TestInvalidCertificate();
};

#endif  // PPAPPI_TESTS_TEST_X509_CERTIFICATE_PRIVATE_H_