| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 GEN('#include "chrome/browser/ui/webui/identity_internals_ui_browsertest.h"'); | 5 GEN('#include "chrome/browser/ui/webui/identity_internals/identity_internals_ui_
browsertest.h"'); |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Test C++ fixture for downloads WebUI testing. | 8 * Test C++ fixture for downloads WebUI testing. |
| 9 * @constructor | 9 * @constructor |
| 10 * @extends {testing.Test} | 10 * @extends {testing.Test} |
| 11 */ | 11 */ |
| 12 function IdentityInternalsUIBrowserTest() {} | 12 function IdentityInternalsUIBrowserTest() {} |
| 13 | 13 |
| 14 /** | 14 /** |
| 15 * Base fixture for Downloads WebUI testing. | 15 * Base fixture for Downloads WebUI testing. |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 tokenRevokeDone.call(identity_internals, accessTokens); | 247 tokenRevokeDone.call(identity_internals, accessTokens); |
| 248 identity_internals.tokenRevokeDone = tokenRevokeDone; | 248 identity_internals.tokenRevokeDone = tokenRevokeDone; |
| 249 var tokenListAfter = this.getTokens(); | 249 var tokenListAfter = this.getTokens(); |
| 250 expectEquals(1, tokenListAfter.length); | 250 expectEquals(1, tokenListAfter.length); |
| 251 expectEquals(this.getAccessToken(tokenListBefore[0]), | 251 expectEquals(this.getAccessToken(tokenListBefore[0]), |
| 252 this.getAccessToken(tokenListAfter[0])); | 252 this.getAccessToken(tokenListAfter[0])); |
| 253 }.bind(this)); | 253 }.bind(this)); |
| 254 this.getRevokeButton(tokenListBefore[1]).click(); | 254 this.getRevokeButton(tokenListBefore[1]).click(); |
| 255 }); | 255 }); |
| 256 | 256 |
| OLD | NEW |