|
Sheriff-O-Matic: Transition more unit tests to mocha.
I've switched from using requestAnimationFrame to setTimeout because:
1. requestAnimationFrame will cause timeouts if the tab is in the background while the tests are running
2. setTimeout is less verbose, since we can just pass the function name itself (requestAnimationFrame calls the function with a parameter, which would break the "done" function, so we have to wrap it in an anonymous function)
BUG= 400387
R=ojan@chromium.org,esprehn@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179988
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+227 lines, -485 lines) |
Patch |
 |
M |
Tools/GardeningServer/karma.conf.js
|
View
|
1
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Tools/GardeningServer/test/run-unit-tests.html
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Tools/GardeningServer/test/unit-tests.html
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
D |
Tools/GardeningServer/ui/ct-builder-grid-tests.html
|
View
|
|
1 chunk |
+0 lines, -88 lines |
0 comments
|
Download
|
 |
D |
Tools/GardeningServer/ui/ct-builder-tests.html
|
View
|
|
1 chunk |
+0 lines, -39 lines |
0 comments
|
Download
|
 |
D |
Tools/GardeningServer/ui/ct-commit-list-tests.html
|
View
|
|
1 chunk |
+0 lines, -64 lines |
0 comments
|
Download
|
 |
D |
Tools/GardeningServer/ui/ct-commit-tests.html
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
D |
Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard-tests.html
|
View
|
|
1 chunk |
+0 lines, -60 lines |
0 comments
|
Download
|
 |
D |
Tools/GardeningServer/ui/ct-failure-analyzer-tests.html
|
View
|
|
1 chunk |
+0 lines, -69 lines |
0 comments
|
Download
|
 |
M |
Tools/GardeningServer/ui/test/ct-builder-grid-tests.html
|
View
|
|
4 chunks |
+26 lines, -20 lines |
0 comments
|
Download
|
 |
M |
Tools/GardeningServer/ui/test/ct-builder-tests.html
|
View
|
|
1 chunk |
+9 lines, -17 lines |
0 comments
|
Download
|
 |
A + |
Tools/GardeningServer/ui/test/ct-commit-list-tests.html
|
View
|
|
1 chunk |
+36 lines, -37 lines |
0 comments
|
Download
|
 |
A + |
Tools/GardeningServer/ui/test/ct-commit-tests.html
|
View
|
|
1 chunk |
+17 lines, -12 lines |
0 comments
|
Download
|
 |
A + |
Tools/GardeningServer/ui/test/ct-embedded-flakiness-dashboard-tests.html
|
View
|
1
|
1 chunk |
+52 lines, -42 lines |
0 comments
|
Download
|
 |
A |
Tools/GardeningServer/ui/test/ct-failure-analyzer-tests.html
|
View
|
|
1 chunk |
+73 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Tools/GardeningServer/ui/test/ct-last-updated-tests.html
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|