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

Side by Side Diff: webrtc/modules/audio_processing/test/conversational_speech/generator_unittest.cc

Issue 2749573002: Conversational Speech generator, unit test (Closed)
Patch Set: deps fixed Created 3 years, 9 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
(Empty)
1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #include "webrtc/modules/audio_processing/test/conversational_speech/config.h"
12 #include "webrtc/test/gtest.h"
13
14 namespace webrtc {
15 namespace test {
16 namespace {
17
18 const char* const audiotracks_path = "/path/to/audiotracks";
19 const char* const timing_filepath = "/path/to/timing_file.txt";
20 const char* const output_path = "/path/to/output_dir";
21
22 } // namespace
23
24 TEST(ConversationalSpeechTest, Settings) {
25 conversational_speech::Config config(
26 audiotracks_path, timing_filepath, output_path);
27
28 // Test getters.
29 EXPECT_EQ(config.audiotracks_path(), audiotracks_path);
30 EXPECT_EQ(config.timing_filepath(), timing_filepath);
31 EXPECT_EQ(config.output_path(), output_path);
32 }
33
34 } // namespace test
35 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698