Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: ppapi/tests/test_audio.h

Issue 8749017: Pepper: Add some basic tests for PPB_Audio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_audio_proxy.cc ('k') | ppapi/tests/test_audio.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_audio_proxy.cc ('k') | ppapi/tests/test_audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698