| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 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. | |
| 4 | |
| 5 GEN_INCLUDE(['downloads_ui_browsertest_base.js']); | |
| 6 GEN('#include "chrome/browser/ui/webui/downloads_ui_supervised_browsertest.h"'); | |
| 7 | |
| 8 /** | |
| 9 * Fixture for Downloads WebUI testing for a supervised user. | |
| 10 * @extends {BaseDownloadsWebUITest} | |
| 11 * @constructor | |
| 12 */ | |
| 13 function DownloadsWebUIForSupervisedUsersTest() {} | |
| 14 | |
| 15 DownloadsWebUIForSupervisedUsersTest.prototype = { | |
| 16 __proto__: BaseDownloadsWebUITest.prototype, | |
| 17 | |
| 18 /** @override */ | |
| 19 typedefCppFixture: 'DownloadsWebUIForSupervisedUsersTest', | |
| 20 }; | |
| 21 | |
| 22 // Test UI for supervised users, removing entries should be disabled | |
| 23 // and removal controls should be hidden. | |
| 24 TEST_F('DownloadsWebUIForSupervisedUsersTest', 'SupervisedUsers', function() { | |
| 25 this.expectDeleteControlsVisible(false); | |
| 26 testDone(); | |
| 27 }); | |
| OLD | NEW |