build: reformat repo to new clang@1.4.0 (#36613)

PR Close #36613
This commit is contained in:
Joey Perrott
2020-04-13 16:40:21 -07:00
committed by atscott
parent 5e80e7e216
commit 698b0288be
1160 changed files with 31667 additions and 24000 deletions

View File

@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import {ExpectedConditions, browser, by, element, protractor} from 'protractor';
import {browser, by, element, ExpectedConditions, protractor} from 'protractor';
import {verifyNoBrowserErrors} from '../../../../e2e_util/e2e_util';

View File

@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import {ExpectedConditions, browser, by, element, protractor} from 'protractor';
import {browser, by, element, ExpectedConditions, protractor} from 'protractor';
import {verifyNoBrowserErrors} from '../../../../e2e_util/e2e_util';
@ -27,7 +27,6 @@ describe('WebWorkers Kitchen Sink', function() {
const elem = element(by.css(selector));
browser.wait(ExpectedConditions.textToBePresentInElement(elem, 'hello world!'), 5000);
expect(elem.getText()).toEqual('hello world!');
});
it('should change greeting', () => {

View File

@ -6,14 +6,13 @@
* found in the LICENSE file at https://angular.io/license
*/
import {ExpectedConditions, browser, by, element, protractor} from 'protractor';
import {browser, by, element, ExpectedConditions, protractor} from 'protractor';
import {verifyNoBrowserErrors} from '../../../../e2e_util/e2e_util';
const URL = '/';
describe('MessageBroker', function() {
afterEach(() => {
verifyNoBrowserErrors();
browser.ignoreSynchronization = false;

View File

@ -69,7 +69,9 @@ describe('WebWorker Router', () => {
browser.wait(() => {
const deferred = protractor.promise.defer();
const elem = element(by.css(contentSelector));
elem.getText().then((text: string) => { return deferred.fulfill(text === expected); });
elem.getText().then((text: string) => {
return deferred.fulfill(text === expected);
});
return deferred.promise;
}, 5000);
}
@ -77,8 +79,9 @@ describe('WebWorker Router', () => {
function waitForUrl(regex: RegExp): void {
browser.wait(() => {
const deferred = protractor.promise.defer();
browser.getCurrentUrl().then(
(url: string) => { return deferred.fulfill(url.match(regex) !== null); });
browser.getCurrentUrl().then((url: string) => {
return deferred.fulfill(url.match(regex) !== null);
});
return deferred.promise;
}, 5000);
}

View File

@ -26,7 +26,6 @@ describe('WebWorkers Todo', function() {
waitForBootstrap();
expect(element(by.css('#todoapp header')).getText()).toEqual('todos');
});
});
function waitForBootstrap(): void {