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

Side by Side Diff: ports/devenv/tests/devenv_large_test.js

Issue 1415743013: Run jshint over all JavaScript files (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@repo_conf
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « ports/devenv/tests/common.js ('k') | ports/devenv/tests/devenv_small_test.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2014 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* globals TEST_F, ASSERT_EQ, ASSERT_GT, chrometest, DevEnvTest */
8
7 'use strict'; 9 'use strict';
8 10
9 // Install several packages. 11 // Install several packages.
10 // This test must be run before any tests that use these packages. 12 // This test must be run before any tests that use these packages.
11 TEST_F(DevEnvTest, 'testPackageInstall', function() { 13 TEST_F(DevEnvTest, 'testPackageInstall', function() {
12 var self = this; 14 var self = this;
13 return Promise.resolve().then(function() { 15 return Promise.resolve().then(function() {
14 return self.installPackage('coreutils'); 16 return self.installPackage('coreutils');
15 }).then(function() { 17 }).then(function() {
16 return self.installPackage('zlib'); 18 return self.installPackage('zlib');
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 'curl https://nacltools.storage.googleapis.com/io2014/voronoi.zip -O'); 295 'curl https://nacltools.storage.googleapis.com/io2014/voronoi.zip -O');
294 }).then(function() { 296 }).then(function() {
295 return self.checkCommand('unzip voronoi.zip'); 297 return self.checkCommand('unzip voronoi.zip');
296 }).then(function() { 298 }).then(function() {
297 return self.readFile('/home/user/voronoi/Makefile'); 299 return self.readFile('/home/user/voronoi/Makefile');
298 }).then(function(data) { 300 }).then(function(data) {
299 // Check there's something in the makefile. 301 // Check there's something in the makefile.
300 ASSERT_GT(data.length, 100); 302 ASSERT_GT(data.length, 100);
301 }); 303 });
302 }); 304 });
OLDNEW
« no previous file with comments | « ports/devenv/tests/common.js ('k') | ports/devenv/tests/devenv_small_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698