blob: aa847b5277d25f886bcb29d7a1ecc576c4505351 [file] [log] [blame]
// Copyright 2015 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.
/**
* TestFixture for Bluetooth pairing dialog WebUI testing.
* @extends {testing.Test}
* @constructor
*/
function BluetoothPairingDialogTest() {}
BluetoothPairingDialogTest.prototype = {
__proto__: testing.Test.prototype,
/** @override */
typedefCppFixture: 'BluetoothPairingDialogTest',
/** @override */
testGenCppIncludes: function() {
GEN('#include "chrome/browser/ui/webui/chromeos/' +
'bluetooth_pairing_dialog_browsertest-inl.h"');
},
/** @override */
testGenPreamble: function() {
GEN('ShowDialog();');
},
};
TEST_F('BluetoothPairingDialogTest', 'Basic', function() {
assertEquals('chrome://bluetooth-pairing/', document.location.href);
});