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

Side by Side Diff: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest_chromeos.cc

Issue 1920353002: Implement create attribute API functions for BTLE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@api_changes
Patch Set: owners Created 4 years, 7 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 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 <memory> 5 #include <memory>
6 6
7 #include "chrome/browser/apps/app_browsertest_util.h" 7 #include "chrome/browser/apps/app_browsertest_util.h"
8 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" 8 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h"
9 #include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h" 9 #include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h"
10 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" 10 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 IN_PROC_BROWSER_TEST_F(BluetoothLowEnergyApiTestChromeOs, 102 IN_PROC_BROWSER_TEST_F(BluetoothLowEnergyApiTestChromeOs,
103 RegisterAdvertisement) { 103 RegisterAdvertisement) {
104 EnterKioskSession(); 104 EnterKioskSession();
105 SetAutoLaunchApp(); 105 SetAutoLaunchApp();
106 ASSERT_TRUE(RunPlatformAppTest( 106 ASSERT_TRUE(RunPlatformAppTest(
107 "api_test/bluetooth_low_energy/register_advertisement")) 107 "api_test/bluetooth_low_energy/register_advertisement"))
108 << message_; 108 << message_;
109 } 109 }
110 110
111 IN_PROC_BROWSER_TEST_F(BluetoothLowEnergyApiTestChromeOs, CreateService) {
112 ASSERT_TRUE(
113 RunPlatformAppTest("api_test/bluetooth_low_energy/"
114 "create_service"))
115 << message_;
116 }
117
118 IN_PROC_BROWSER_TEST_F(BluetoothLowEnergyApiTestChromeOs,
119 CreateCharacteristic) {
120 ASSERT_TRUE(
121 RunPlatformAppTest("api_test/bluetooth_low_energy/"
122 "create_characteristic"))
123 << message_;
124 }
125
126 IN_PROC_BROWSER_TEST_F(BluetoothLowEnergyApiTestChromeOs, CreateDescriptor) {
127 ASSERT_TRUE(
128 RunPlatformAppTest("api_test/bluetooth_low_energy/"
129 "create_descriptor"))
130 << message_;
131 }
132
111 } // namespace 133 } // namespace
112 } // namespace extensions 134 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698