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

Unified Diff: third_party/re2/re2/testing/exhaustive_test.cc

Issue 1544433002: Replace RE2 import with a dependency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-Added LICENSE and OWNERS file Created 5 years 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
« no previous file with comments | « third_party/re2/re2/testing/exhaustive3_test.cc ('k') | third_party/re2/re2/testing/exhaustive_tester.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/re2/re2/testing/exhaustive_test.cc
diff --git a/third_party/re2/re2/testing/exhaustive_test.cc b/third_party/re2/re2/testing/exhaustive_test.cc
deleted file mode 100644
index fc40dee881b65d7953649c35913debe861b0b92c..0000000000000000000000000000000000000000
--- a/third_party/re2/re2/testing/exhaustive_test.cc
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2008 The RE2 Authors. All Rights Reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Exhaustive testing of regular expression matching.
-
-#include "util/test.h"
-#include "re2/testing/exhaustive_tester.h"
-
-namespace re2 {
-
-DECLARE_string(regexp_engines);
-
-// Test very simple expressions.
-TEST(EgrepLiterals, Lowercase) {
- EgrepTest(3, 2, "abc.", 3, "abc", "");
-}
-
-// Test mixed-case expressions.
-TEST(EgrepLiterals, MixedCase) {
- EgrepTest(3, 2, "AaBb.", 2, "AaBb", "");
-}
-
-// Test mixed-case in case-insensitive mode.
-TEST(EgrepLiterals, FoldCase) {
- // The punctuation characters surround A-Z and a-z
- // in the ASCII table. This looks for bugs in the
- // bytemap range code in the DFA.
- EgrepTest(3, 2, "abAB.", 2, "aBc@_~", "(?i:%s)");
-}
-
-// Test very simple expressions.
-TEST(EgrepLiterals, UTF8) {
- EgrepTest(3, 2, "ab.", 4, "a\xE2\x98\xBA", "");
-}
-
-} // namespace re2
-
« no previous file with comments | « third_party/re2/re2/testing/exhaustive3_test.cc ('k') | third_party/re2/re2/testing/exhaustive_tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698