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

Side by Side Diff: chrome/browser/ui/webui/identity_internals/identity_internals_ui_browsertest.js

Issue 365513002: Port identity_internals to mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rework to use promises. Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698