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

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

Issue 175383003: [PPAPI][MediaStream] Add browser tests for MediaStreamAudioTrack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browser_test
Patch Set: Created 6 years, 10 months 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PAPPI_TESTS_TEST_MEDIA_STREAM_VIDEO_TRACK_H_ 5 #ifndef PAPPI_TESTS_TEST_MEDIA_STREAM_AUDIO_TRACK_H_
6 #define PAPPI_TESTS_TEST_MEDIA_STREAM_VIDEO_TRACK_H_ 6 #define PAPPI_TESTS_TEST_MEDIA_STREAM_AUDIO_TRACK_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/cpp/media_stream_video_track.h" 10 #include "ppapi/cpp/media_stream_audio_track.h"
11 #include "ppapi/cpp/video_frame.h" 11 #include "ppapi/cpp/video_frame.h"
12 #include "ppapi/tests/test_case.h" 12 #include "ppapi/tests/test_case.h"
13 13
14 class TestMediaStreamVideoTrack : public TestCase { 14 class TestMediaStreamAudioTrack : public TestCase {
15 public: 15 public:
16 explicit TestMediaStreamVideoTrack(TestingInstance* instance); 16 explicit TestMediaStreamAudioTrack(TestingInstance* instance);
17 virtual ~TestMediaStreamVideoTrack(); 17 virtual ~TestMediaStreamAudioTrack();
18 18
19 private: 19 private:
20 // TestCase implementation. 20 // TestCase implementation.
21 virtual bool Init(); 21 virtual bool Init();
22 virtual void RunTests(const std::string& filter); 22 virtual void RunTests(const std::string& filter);
23 23
24 // Overrides. 24 // Overrides.
25 virtual void HandleMessage(const pp::Var& message_data); 25 virtual void HandleMessage(const pp::Var& message_data);
26 26
27 std::string TestCreate(); 27 std::string TestCreate();
28 std::string TestGetFrame(); 28 std::string TestGetBuffer();
29 std::string TestConfigure();
30 29
31 pp::MediaStreamVideoTrack video_track_; 30 pp::MediaStreamAudioTrack audio_track_;
32 31
33 NestedEvent event_; 32 NestedEvent event_;
34 }; 33 };
35 34
36 #endif // PAPPI_TESTS_TEST_MEDIA_STREAM_VIDEO_TRACK_H_ 35 #endif // PAPPI_TESTS_TEST_MEDIA_STREAM_AUDIO_TRACK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698