Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: test/all.js

Issue 29890593: Noissue - Enable test runner to run on Windows and add documentation (Closed)
Left Patch Set: Created Sept. 24, 2018, 2:45 p.m.
Right Patch Set: Use double quotes Created Sept. 24, 2018, 4:53 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « package.json ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 18 matching lines...) Expand all
29 { 29 {
30 this.timeout(0); 30 this.timeout(0);
31 31
32 before(function() 32 before(function()
33 { 33 {
34 return Promise.all([ 34 return Promise.all([
35 module.ensureBrowser(), 35 module.ensureBrowser(),
36 new Promise((resolve, reject) => 36 new Promise((resolve, reject) =>
37 { 37 {
38 exec( 38 exec(
39 `bash -c 'python build.py devenv -t ${module.platform}'`, 39 `bash -c "python build.py devenv -t ${module.platform}"`,
40 (error, stdout, stderr) => 40 (error, stdout, stderr) =>
41 { 41 {
42 if (error) 42 if (error)
43 { 43 {
44 console.error(stderr); 44 console.error(stderr);
45 reject(error); 45 reject(error);
46 } 46 }
47 else resolve(stdout); 47 else resolve(stdout);
48 } 48 }
49 ); 49 );
(...skipping 24 matching lines...) Expand all
74 delete require.cache[require.resolve(modulePath)]; 74 delete require.cache[require.resolve(modulePath)];
75 require(modulePath); 75 require(modulePath);
76 } 76 }
77 77
78 after(function() 78 after(function()
79 { 79 {
80 this.driver.quit(); 80 this.driver.quit();
81 }); 81 });
82 }); 82 });
83 } 83 }
LEFTRIGHT
« package.json ('k') | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld