blob: 5618d03187218f11519a52ca9658184d689be5fb [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "build/build_config.h"
#include "chrome/browser/apps/platform_apps/app_browsertest_util.h"
#include "content/public/test/browser_test.h"
#include "extensions/test/extension_test_message_listener.h"
#include "rlz/buildflags/buildflags.h"
// Supported on all platforms, but on Windows only if RLZ is enabled.
#if !defined(OS_WIN) || BUILDFLAG(ENABLE_RLZ)
using MusicManagerPrivateTest = extensions::PlatformAppBrowserTest;
IN_PROC_BROWSER_TEST_F(MusicManagerPrivateTest, DeviceIdValueReturned) {
ASSERT_TRUE(RunExtensionTest(
"platform_apps/music_manager_private/device_id_value_returned",
{.launch_as_platform_app = true}))
<< message_;
}
#endif