Home | History | Annotate | Download | only in tests
      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 
      5 #ifndef PAPPI_TESTS_TEST_FLASH_H_
      6 #define PAPPI_TESTS_TEST_FLASH_H_
      7 
      8 #include <string>
      9 
     10 #include "ppapi/c/pp_stdint.h"
     11 #include "ppapi/c/private/ppb_flash.h"
     12 #include "ppapi/tests/test_case.h"
     13 #include "ppapi/utility/completion_callback_factory.h"
     14 
     15 class TestFlash : public TestCase {
     16  public:
     17   explicit TestFlash(TestingInstance* instance);
     18 
     19   // TestCase implementation.
     20   virtual void RunTests(const std::string& filter);
     21 
     22  private:
     23   // TODO(viettrungluu): Implement the commented-out tests.
     24   std::string TestSetInstanceAlwaysOnTop();
     25   // std::string TestDrawGlyphs();
     26   std::string TestGetProxyForURL();
     27   // std::string TestNavigate();
     28   std::string TestGetLocalTimeZoneOffset();
     29   std::string TestGetCommandLineArgs();
     30   std::string TestGetSetting();
     31   std::string TestSetCrashData();
     32 
     33   pp::CompletionCallbackFactory<TestFlash> callback_factory_;
     34 };
     35 
     36 #endif  // PAPPI_TESTS_TEST_FLASH_H_
     37