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

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

Issue 2513423003: DevTools: Convert inspector-unit tests to use reusable test harness (Closed)
Patch Set: clean diff Created 4 years, 1 month 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/trie-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/trie-expected.txt b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/trie-expected.txt
deleted file mode 100644
index 39e8db96aa0300ff844c342a4c7b09e9ebd63ddb..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/trie-expected.txt
+++ /dev/null
@@ -1,124 +0,0 @@
-Verify "trie" functionality.
-
-test: testAddWord
-trie.add("hello")
-trie.has("he") = false
-trie.has("hello") = true
-trie.has("helloo") = false
-
-test: testAddWords
-trie.add("foo")
-trie.add("bar")
-trie.add("bazz")
-trie.has("f") = false
-trie.has("ba") = false
-trie.has("baz") = false
-trie.has("bar") = true
-trie.has("bazz") = true
-
-test: testRemoveWord
-trie.add("foo")
-trie.remove("f") = false
-trie.remove("fo") = false
-trie.remove("fooo") = false
-trie.has("foo") = true
-trie.remove("foo") = true
-trie.has("foo") = false
-
-test: testAddAfterRemove
-trie.add("foo")
-trie.remove("foo") = true
-trie.add("bar")
-trie.has("foo") = false
-trie.has("bar") = true
-
-test: testWordOverwrite
-trie.add("foo")
-trie.add("foo")
-trie.remove("foo") = true
-trie.has("foo") = false
-
-test: testRemoveNonExisting
-trie.add("foo")
-trie.remove("bar") = false
-trie.remove("baz") = false
-trie.has("foo") = true
-
-test: testEmptyWord
-trie.add("")
-trie.has("") = true
-trie.remove("") = true
-trie.has("") = false
-
-test: testAllWords
-trie.add("foo")
-trie.add("bar")
-trie.add("bazzz")
-trie.words() = [
- foo,
- bar,
- bazzz
-]
-trie.words("f") = [
- foo
-]
-trie.words("g") = []
-trie.words("b") = [
- bar,
- bazzz
-]
-trie.words("ba") = [
- bar,
- bazzz
-]
-trie.words("bar") = [
- bar
-]
-trie.words("barz") = []
-trie.words("baz") = [
- bazzz
-]
-
-test: testOneCharWords
-trie.add("a")
-trie.add("b")
-trie.add("c")
-trie.words() = [
- a,
- b,
- c
-]
-
-test: testChainWords
-trie.add("f")
-trie.add("fo")
-trie.add("foo")
-trie.add("foo")
-trie.words() = [
- f,
- fo,
- foo
-]
-
-test: testClearTrie
-trie.add("foo")
-trie.add("bar")
-trie.words() = [
- foo,
- bar
-]
-trie.clear()
-trie.words() = []
-
-test: testLongestPrefix
-trie.add("fo")
-trie.add("food")
-trie.longestPrefix("fear", false) = "f"
-trie.longestPrefix("fear", true) = ""
-trie.longestPrefix("football", false) = "foo"
-trie.longestPrefix("football", true) = "fo"
-trie.longestPrefix("bar", false) = ""
-trie.longestPrefix("bar", true) = ""
-trie.longestPrefix("foo", false) = "foo"
-trie.longestPrefix("foo", true) = "fo"
-

Powered by Google App Engine
This is Rietveld 408576698