|
Add support for writing unit tests for Mojo-backed apps/extensions APIs.
This change adds the infrastructure for unit testing the JS parts of
apps and extensions APIs implemented on top of Mojo services. The test
environment provides a partial implementation of the JS test API
provided to browser tests. A TestServiceProvider implementation is
used to provide test implementations of the appropriate Mojo services to
the JS code.
BUG= 389016
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285792
Total comments: 14
Total comments: 4
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+724 lines, -123 lines) |
Patch |
 |
M |
extensions/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions.gyp
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/renderer/api_test_base.h
|
View
|
1
2
3
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/renderer/api_test_base.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+221 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/renderer/api_test_base_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/dispatcher.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/dispatcher.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+157 lines, -108 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/module_system.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/module_system_test.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
extensions/renderer/resources/browser_test_environment_specific_bindings.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/resources/extensions_renderer_resources.grd
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/resources/test_custom_bindings.js
|
View
|
1
2
3
4
5
6
|
4 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/script_context.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/test/DEPS
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/test/data/api_test_base_unittest.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/test/data/unit_test_environment_specific_bindings.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/test/extensions_unittests_main.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/test/test_extensions_client.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+46 lines, -6 lines |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|