|
|
[Blimp] Refactor Blimp test engine with embedded test server and URL rewriting
Create test infrastructure to do end to end page loading tests in client
side.
The framework mainly builds in the blimp engine code, and deals with url
getting by the help of embedded test server. The main idea is to create
a main() function in blimp/engine/testing/app which should look similar
to the one in blimp/engine/app, using mostly same blimp engine methods,
and overrides/adding functions for testing needs.
Components in the test infrastructure should take care of:
- Set up embedded test server
- Create URL handler to take care of magic URLs
- Deliver related URL to test server and get full URL in server
- Rewrite the magic URLs and should pass it to LoadUrl
Need to add the test engine main function to be executable in BUILD.gn;
should mark it as 'testonly = true' to not interrupt with the normal
blimp function.
BUG= 656122
***
This CL fixed bug 656122. It won't be committed due to bug is marked as WontFix.
***
Total comments: 4
Total comments: 20
Total comments: 56
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+648 lines, -6 lines) |
Patch |
 |
M |
PRESUBMIT.py
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/BUILD.gn
|
View
|
1
2
3
4
|
4 chunks |
+97 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/blimp_browser_main_parts.h
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -5 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/blimp_browser_main_parts.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/blimp_content_browser_client.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/engine/app/blimp_content_browser_client.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/blimp_content_main_delegate.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/blimp_content_main_delegate.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/engine/testing/app/blimp_url_rewriter.h
|
View
|
1
2
3
4
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/engine/testing/app/blimp_url_rewriter.cc
|
View
|
1
2
3
4
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/engine/testing/app/blimp_url_rewriter_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+107 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/engine/testing/app/test_blimp_browser_main_parts.h
|
View
|
1
2
3
4
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/engine/testing/app/test_blimp_browser_main_parts.cc
|
View
|
1
2
3
4
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/engine/testing/app/test_blimp_content_browser_client.h
|
View
|
1
2
3
4
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/engine/testing/app/test_blimp_content_browser_client.cc
|
View
|
1
2
3
4
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/engine/testing/app/test_blimp_content_main_delegate.h
|
View
|
1
2
3
4
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/engine/testing/app/test_blimp_content_main_delegate.cc
|
View
|
1
2
3
4
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/engine/testing/app/test_blimp_main.cc
|
View
|
1
2
3
4
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/engine/testing/session/test_blimp_engine_session.h
|
View
|
1
2
3
4
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
blimp/engine/testing/session/test_blimp_engine_session.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
Total messages: 23 (8 generated)
|