1 // Copyright 2013 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.
5 #include "chrome/browser/apps/app_browsertest_util.h"
6 #include "chrome/browser/extensions/extension_test_message_listener.h"
8 // Supported on all platforms, but on Windows only if RLZ is enabled.
9 #if !defined(OS_WIN) || defined(ENABLE_RLZ)
11 class MusicManagerPrivateTest
: public extensions::PlatformAppBrowserTest
{
14 IN_PROC_BROWSER_TEST_F(MusicManagerPrivateTest
, DeviceIdValueReturned
) {
15 #if defined(OS_MACOSX) || defined(OS_LINUX)
16 // Note: Some MacOS/Linux trybots seem to run under VMware, which assigns
17 // MAC addresses that are blacklisted. We still want the test
18 // to succeed in that case.
19 const char* custom_arg
= "device_id_may_be_undefined";
21 const char* custom_arg
= NULL
;
23 ASSERT_TRUE(RunPlatformAppTestWithArg(
24 "platform_apps/music_manager_private/device_id_value_returned",