|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Tests for Aho_Corasick.H. More...
Go to the source code of this file.
Functions | |
| TEST (AhoCorasick, ClassicDictionary) | |
| TEST (AhoCorasick, OverlappingPatterns) | |
| TEST (AhoCorasick, BuildRequiredBeforeSearch) | |
| TEST (AhoCorasick, IncrementalBuildAfterPreviousBuild) | |
| TEST (AhoCorasick, EmptyPatternRejected) | |
| TEST (AhoCorasick, ClearAndRebuild) | |
| TEST (AhoCorasick, LargePatternSet) | |
| TEST (AhoCorasick, LongTextSearch) | |
| TEST (AhoCorasick, SingleCharPatterns) | |
| TEST (AhoCorasick, BinaryPatterns) | |
| TEST (AhoCorasick, EmptyText) | |
| TEST (AhoCorasick, NoMatchesFound) | |
| TEST (AhoCorasick, PrefixChainPatterns) | |
| TEST (AhoCorasick, PrefixChainWithSuffixOverlap) | |
| TEST (AhoCorasick, LongPrefixChain) | |
| TEST (AhoCorasick, PrefixPatternsMatchPositions) | |
| TEST (AhoCorasick, DeterministicStress) | |
Tests for Aho_Corasick.H.
Definition in file aho_corasick_test.cc.
| TEST | ( | AhoCorasick | , |
| BinaryPatterns | |||
| ) |
Definition at line 227 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Aho_Corasick::build(), and Aleph::Aho_Corasick::search().
| TEST | ( | AhoCorasick | , |
| BuildRequiredBeforeSearch | |||
| ) |
Definition at line 94 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), and Aleph::Aho_Corasick::search().
| TEST | ( | AhoCorasick | , |
| ClassicDictionary | |||
| ) |
Definition at line 45 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Aho_Corasick::build(), and Aleph::Aho_Corasick::search().
| TEST | ( | AhoCorasick | , |
| ClearAndRebuild | |||
| ) |
Definition at line 131 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Aho_Corasick::build(), Aleph::Aho_Corasick::clear(), Aleph::Aho_Corasick::contains_any(), Aleph::Aho_Corasick::is_built(), Aleph::Aho_Corasick::pattern(), Aleph::Aho_Corasick::pattern_count(), and Aleph::Aho_Corasick::search().
| TEST | ( | AhoCorasick | , |
| DeterministicStress | |||
| ) |
Definition at line 407 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Array< T >::append(), Aleph::Aho_Corasick::build(), m, Aleph::Aho_Corasick::pattern(), Aleph::Aho_Corasick::search(), and OhashCommon< HashTbl, Key >::size().
| TEST | ( | AhoCorasick | , |
| EmptyPatternRejected | |||
| ) |
Definition at line 125 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern().
| TEST | ( | AhoCorasick | , |
| EmptyText | |||
| ) |
Definition at line 246 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Aho_Corasick::build(), and Aleph::Aho_Corasick::search().
| TEST | ( | AhoCorasick | , |
| IncrementalBuildAfterPreviousBuild | |||
| ) |
Definition at line 101 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Aho_Corasick::build(), and Aleph::Aho_Corasick::search().
| TEST | ( | AhoCorasick | , |
| LargePatternSet | |||
| ) |
Definition at line 151 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Array< T >::append(), Aleph::Aho_Corasick::build(), m, Aleph::Aho_Corasick::pattern(), Aleph::Aho_Corasick::search(), and OhashCommon< HashTbl, Key >::size().
| TEST | ( | AhoCorasick | , |
| LongPrefixChain | |||
| ) |
Definition at line 344 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Array< T >::append(), Aleph::Aho_Corasick::build(), Aleph::Array< T >::create(), k, and Aleph::Aho_Corasick::search().
| TEST | ( | AhoCorasick | , |
| LongTextSearch | |||
| ) |
Definition at line 186 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Aho_Corasick::build(), Aleph::Aho_Corasick::pattern(), and Aleph::Aho_Corasick::search().
| TEST | ( | AhoCorasick | , |
| NoMatchesFound | |||
| ) |
Definition at line 257 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Aho_Corasick::build(), and Aleph::Aho_Corasick::search().
| TEST | ( | AhoCorasick | , |
| OverlappingPatterns | |||
| ) |
Definition at line 64 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Aho_Corasick::build(), Aleph::Aho_Corasick::contains_any(), m, and Aleph::Aho_Corasick::search().
| TEST | ( | AhoCorasick | , |
| PrefixChainPatterns | |||
| ) |
Definition at line 270 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Aho_Corasick::build(), and Aleph::Aho_Corasick::search().
| TEST | ( | AhoCorasick | , |
| PrefixChainWithSuffixOverlap | |||
| ) |
Definition at line 307 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Aho_Corasick::build(), and Aleph::Aho_Corasick::search().
| TEST | ( | AhoCorasick | , |
| PrefixPatternsMatchPositions | |||
| ) |
Definition at line 372 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Array< T >::append(), Aleph::Aho_Corasick::build(), Aleph::Aho_Corasick::search(), and Aleph::Array< T >::size().
| TEST | ( | AhoCorasick | , |
| SingleCharPatterns | |||
| ) |
Definition at line 212 of file aho_corasick_test.cc.
References Aleph::Aho_Corasick::add_pattern(), Aleph::Aho_Corasick::build(), and Aleph::Aho_Corasick::search().