|
chromium-build app now renders console from stored rows.
This CL:
* changes the logic in merge_console to construct the merged console from individual stored rows (which are stored by parse_master)
* keeps the old merged console rendering (putting data in ConsoleData, passing it to a template)
* passes all unittests and renders the console properly in dev_appserver mode
* removes the console_merger_utf8 test, as it is covered by test_console_handler_utf8 and test_parse_master
* paves the way for further changes in the next few days to handler.py to add propery query parameter handling
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=176458
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+30352 lines, -83695 lines) |
Patch |
 |
M |
app.py
|
View
|
1
2
3
|
13 chunks |
+359 lines, -301 lines |
0 comments
|
Download
|
 |
M |
app_test.py
|
View
|
1
2
3
|
6 chunks |
+114 lines, -108 lines |
0 comments
|
Download
|
 |
M |
handler.py
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
D |
tests/test_console_merger/chromium_chrome_console_input.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2206 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger/chromium_chromiumos_console_input.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2992 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger/chromium_main_console_input.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -10609 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger/chromium_memory_console_input.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1995 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger/chromium_merged_console.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -11118 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/latest_rev.txt
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/linux_categories_input.html
|
View
|
1
2
3
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/linux_console_input.html
|
View
|
1
2
3
|
1 chunk |
+3381 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/linux_row_input.txt
|
View
|
1
2
3
|
1 chunk |
+99 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/linux_summary_input.html
|
View
|
1
2
3
|
1 chunk |
+90 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
tests/test_console_merger/mac_categories_input.html
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/mac_console_input.html
|
View
|
1
2
3
|
1 chunk |
+3822 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/mac_row_input.txt
|
View
|
1
2
3
|
1 chunk |
+117 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/mac_summary_input.html
|
View
|
1
2
3
|
1 chunk |
+108 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/memory_categories_input.html
|
View
|
1
2
3
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/memory_console_input.html
|
View
|
1
2
3
|
1 chunk |
+4067 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/memory_row_input.txt
|
View
|
1
2
3
|
1 chunk |
+128 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/memory_summary_input.html
|
View
|
1
2
3
|
1 chunk |
+119 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/merged_console_output.html
|
View
|
1
2
3
|
1 chunk |
+1500 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/surroundings_input.html
|
View
|
1
2
3
|
1 chunk |
+815 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
tests/test_console_merger/win_categories_input.html
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/win_console_input.html
|
View
|
1
2
3
|
1 chunk |
+5531 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/win_row_input.txt
|
View
|
1
2
3
|
1 chunk |
+182 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger/win_summary_input.html
|
View
|
1
2
3
|
1 chunk |
+173 lines, -0 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger_splitrevs/chromium_chrome_console.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2216 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger_splitrevs/chromium_chromiumos_console.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3192 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger_splitrevs/chromium_console.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -10614 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger_splitrevs/chromium_memory_console.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1956 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger_splitrevs/chromium_merged_console.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -9499 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger_splitrevs/latest_rev.txt
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger_splitrevs/linux_categories_input.html
|
View
|
1
2
3
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger_splitrevs/linux_console_input.html
|
View
|
1
2
3
|
1 chunk |
+3381 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger_splitrevs/linux_row_input.txt
|
View
|
1
2
3
|
1 chunk |
+99 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger_splitrevs/linux_summary_input.html
|
View
|
1
2
3
|
1 chunk |
+90 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
tests/test_console_merger_splitrevs/mac_categories_input.html
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger_splitrevs/mac_console_input.html
|
View
|
1
2
3
|
1 chunk |
+3822 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger_splitrevs/mac_row_input.txt
|
View
|
1
2
3
|
1 chunk |
+117 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger_splitrevs/mac_summary_input.html
|
View
|
1
2
3
|
1 chunk |
+108 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger_splitrevs/merged_console_output.html
|
View
|
1
2
3
|
1 chunk |
+1264 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/test_console_merger_splitrevs/surroundings_input.html
|
View
|
1
2
3
|
1 chunk |
+815 lines, -0 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger_utf8/chromium_chrome_console_input.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2241 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger_utf8/chromium_chromiumos_console_input.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3259 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger_utf8/chromium_main_console_input.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -10638 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger_utf8/chromium_memory_console_input.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1974 lines |
0 comments
|
Download
|
 |
D |
tests/test_console_merger_utf8/chromium_merged_console.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -8749 lines |
0 comments
|
Download
|
 |
M |
tests/test_parse_master/console-input.html
|
View
|
1
2
3
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/test_parse_master/console-input-handled.html
|
View
|
1
2
3
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/test_parse_master/expected-status.html
|
View
|
1
2
3
|
5 chunks |
+5 lines, -13 lines |
0 comments
|
Download
|
 |
A + |
tests/test_parse_master_utf8/console-input-handled.html
|
View
|
1
2
3
|
3 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
A + |
tests/test_parse_master_utf8/expected-comment.html
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
tests/test_parse_master_utf8/expected-details.html
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
tests/test_parse_master_utf8/expected-name.html
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
tests/test_parse_master_utf8/expected-rev.html
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
tests/test_parse_master_utf8/expected-status.html
|
View
|
1
2
3
|
5 chunks |
+5 lines, -13 lines |
0 comments
|
Download
|
 |
A + |
tests/test_parse_master_utf8/expected-summary.html
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|