Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-model-expected.txt

Issue 2916743002: [DevTools] Introduce Common.List used as a backend for list controls (Closed)
Patch Set: addressed comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-model-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-model-expected.txt b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-model-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a078ea0c5547e9323a232a20dd22ef0ca6e6bdc8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-model-expected.txt
@@ -0,0 +1,46 @@
+Test ListModel API.
+Adding 0, 1, 2
+Replaced [] at index 0 with [0, 1, 2]
+Resulting list: [0, 1, 2]
+
+Replacing 0 with 5, 6, 7
+Replaced [0] at index 0 with [5, 6, 7]
+Resulting list: [5, 6, 7, 1, 2]
+
+Pushing 10
+Replaced [] at index 5 with [10]
+Resulting list: [5, 6, 7, 1, 2, 10]
+
+Popping 10
+Replaced [10] at index 5 with []
+Resulting list: [5, 6, 7, 1, 2]
+
+Removing 2
+Replaced [2] at index 4 with []
+Resulting list: [5, 6, 7, 1]
+
+Inserting 8
+Replaced [] at index 1 with [8]
+Resulting list: [5, 8, 6, 7, 1]
+
+Replacing with 0...20
+Replaced [5, 8, 6, 7, 1] at index 0 with [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
+Resulting list: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
+
+Replacing 7 with 27
+Replaced [7] at index 7 with [27]
+Resulting list: [0, 1, 2, 3, 4, 5, 6, 27, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
+
+Replacing 18, 19 with 28, 29
+Replaced [18, 19] at index 18 with [28, 29]
+Resulting list: [0, 1, 2, 3, 4, 5, 6, 27, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 28, 29]
+
+Replacing 1, 2, 3 with [31-43]
+Replaced [1, 2, 3] at index 1 with [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43]
+Resulting list: [0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 4, 5, 6, 27, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 28, 29]
+
+Replacing all but 29 with []
+Replaced [0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 4, 5, 6, 27, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 28] at index 0 with []
+Resulting list: [29]
+
+

Powered by Google App Engine
This is Rietveld 408576698