OLD | NEW |
(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_AUDIO_H_ |
| 6 #define PAPPI_TESTS_TEST_AUDIO_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "ppapi/tests/test_case.h" |
| 11 |
| 12 struct PPB_Audio; |
| 13 struct PPB_AudioConfig; |
| 14 struct PPB_Core; |
| 15 |
| 16 class TestAudio : public TestCase { |
| 17 public: |
| 18 explicit TestAudio(TestingInstance* instance) : TestCase(instance) {} |
| 19 |
| 20 // TestCase implementation. |
| 21 virtual bool Init(); |
| 22 virtual void RunTests(const std::string& filter); |
| 23 |
| 24 private: |
| 25 std::string TestCreation(); |
| 26 std::string TestDestroyNoStop(); |
| 27 std::string TestFailures(); |
| 28 |
| 29 const PPB_Audio* audio_interface_; |
| 30 const PPB_AudioConfig* audio_config_interface_; |
| 31 const PPB_Core* core_interface_; |
| 32 }; |
| 33 |
| 34 #endif // PAPPI_TESTS_TEST_AUDIO_H_ |
OLD | NEW |