Searched refs:rarely (Results 1 - 8 of 8) sorted by relevance

/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/
H A DLuceneTestCase.java837 * Returns true if something should happen rarely,
842 public static boolean rarely(Random random) { method in class:LuceneTestCase
849 public static boolean rarely() { method in class:LuceneTestCase
850 return rarely(random);
854 return !rarely(random);
950 if (rarely(r)) {
959 if (rarely(r)) {
968 if (rarely(r)) {
977 if (rarely(r)) {
1002 if (rarely(
[all...]
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/function/
H A DTestCustomScoreQuery.java297 QueryUtils.check(random, q1, s, rarely());
298 QueryUtils.check(random, q2, s, rarely());
299 QueryUtils.check(random, q3, s, rarely());
300 QueryUtils.check(random, q4, s, rarely());
301 QueryUtils.check(random, q5, s, rarely());
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/
H A DLuceneTestCase.java682 * Returns true if something should happen rarely,
687 public static boolean rarely(Random random) { method in class:LuceneTestCase
694 public static boolean rarely() { method in class:LuceneTestCase
695 return rarely(random);
699 return !rarely(random);
791 if (rarely(r)) {
800 if (rarely(r)) {
835 if (rarely(r)) {
845 if (rarely(r)) {
1079 if (rarely(rando
[all...]
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/analysis/
H A DMockAnalyzer.java134 if (LuceneTestCase.rarely(random)) {
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/analysis/
H A DMockAnalyzer.java133 if (LuceneTestCase.rarely(random)) {
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestIndexInput.java98 if (rarely()) {
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/search/
H A DCheckHits.java183 QueryUtils.check(random, query,searcher, LuceneTestCase.rarely(random));
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java170 if (LuceneTestCase.rarely(randomState) || delegate instanceof NRTCachingDirectory) {

Completed in 70 milliseconds