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

Side by Side Diff: media/midi/midi_manager_alsa_unittest.cc

Issue 2418493002: //media/midi: use top level namespace midi rather than media.midi (Closed)
Patch Set: TAG name change s/media_midi/midi/ Created 4 years, 2 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
« no previous file with comments | « media/midi/midi_manager_alsa.cc ('k') | media/midi/midi_manager_android.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "media/midi/midi_manager_alsa.h" 5 #include "media/midi/midi_manager_alsa.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace media {
13 namespace midi { 12 namespace midi {
14 13
15 class MidiManagerAlsaTest : public ::testing::Test { 14 class MidiManagerAlsaTest : public ::testing::Test {
16 protected: 15 protected:
17 void SetUp() override { 16 void SetUp() override {
18 // Pre-instantiate typical MidiPort instances that are often used in 17 // Pre-instantiate typical MidiPort instances that are often used in
19 // following tests. 18 // following tests.
20 19
21 // Inputs. port_input_0_ == port_input_1_. 20 // Inputs. port_input_0_ == port_input_1_.
22 port_input_0_.reset(new MidiManagerAlsa::MidiPort( 21 port_input_0_.reset(new MidiManagerAlsa::MidiPort(
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 EXPECT_EQ(1, alsa_seq_state_0_.card_client_count()); 698 EXPECT_EQ(1, alsa_seq_state_0_.card_client_count());
700 } 699 }
701 700
702 TEST_F(MidiManagerAlsaTest, AlsaCards) { 701 TEST_F(MidiManagerAlsaTest, AlsaCards) {
703 // TODO(agoode): test add/remove of alsa cards. 702 // TODO(agoode): test add/remove of alsa cards.
704 } 703 }
705 704
706 // TODO(agoode): Test old -> new state event generation, using mocks. 705 // TODO(agoode): Test old -> new state event generation, using mocks.
707 706
708 } // namespace midi 707 } // namespace midi
709 } // namespace media
OLDNEW
« no previous file with comments | « media/midi/midi_manager_alsa.cc ('k') | media/midi/midi_manager_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698