/lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/facet/taxonomy/writercache/cl2o/ |
H A D | TestCharBlockArray.java | 85 private static void assertEqualsInternal(String msg, StringBuilder expected, CharBlockArray actual) { argument 86 assertEquals(msg, expected.length(), actual.length()); 88 assertEquals(msg, expected.charAt(i), actual.charAt(i));
|
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/common/params/ |
H A D | ModifiableSolrParamsTest.java | 118 String[] actual) 120 assertEquals(prefix + "length: ", expected.length, actual.length); 123 assertEquals(prefix + " index " + i, expected[i], actual[i]); 116 compareArrays(String prefix, String[] expected, String[] actual) argument
|
/lucene-3.6.0/lucene/contrib/grouping/src/test/org/apache/lucene/search/grouping/ |
H A D | TermAllGroupHeadsCollectorTest.java | 283 // The actual group heads contains Lucene ids. Need to change them into our id value. 287 // Allows us the easily iterate and assert the actual and expected results. 339 private boolean arrayContains(int[] expected, int[] actual) { argument 340 if (expected.length != actual.length) { 346 for (int a : actual) { 360 private boolean openBitSetContains(int[] expectedDocs, FixedBitSet actual, int maxDoc) throws IOException { argument 361 if (expectedDocs.length != actual.cardinality()) { 373 if (!actual.get(docId)) {
|
H A D | TestGrouping.java | 1044 private void assertEquals(int[] docIDtoID, TopGroups expected, TopGroups actual, boolean verifyGroupValues, boolean verifyTotalGroupCount, boolean verifySortValues, boolean testScores) { argument 1046 assertNull(actual); 1049 assertNotNull(actual); 1051 assertEquals(expected.groups.length, actual.groups.length); 1052 assertEquals(expected.totalHitCount, actual.totalHitCount); 1053 assertEquals(expected.totalGroupedHitCount, actual.totalGroupedHitCount); 1055 assertEquals(expected.totalGroupCount, actual.totalGroupCount); 1063 final GroupDocs actualGroup = actual.groups[groupIDX]; 1082 //System.out.println(" actual doc=" + docIDtoID[actualFD.doc] + " score=" + actualFD.score);
|
/lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/facet/ |
H A D | FacetTestBase.java | 324 List<FacetResult> actual) { 326 String actualResults = resStringValueOnly(actual); 323 assertSameResults(List<FacetResult> expected, List<FacetResult> actual) argument
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestCompoundFile.java | 111 IndexInput actual, 118 actual.seek(seekTo); 119 assertSameStreams(msg + ", seek(mid)", expected, actual); 127 IndexInput actual) 132 assertSameStreams(msg + ", seek(0)", expected, actual, point); 136 assertSameStreams(msg + ", seek(mid)", expected, actual, point); 140 assertSameStreams(msg + ", seek(end-2)", expected, actual, point); 144 assertSameStreams(msg + ", seek(end-1)", expected, actual, point); 148 assertSameStreams(msg + ", seek(end)", expected, actual, point); 152 assertSameStreams(msg + ", seek(end+1)", expected, actual, poin 109 assertSameStreams(String msg, IndexInput expected, IndexInput actual, long seekTo) argument 125 assertSameSeekBehavior(String msg, IndexInput expected, IndexInput actual) argument [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestCompoundFile.java | 111 IndexInput actual, 118 actual.seek(seekTo); 119 assertSameStreams(msg + ", seek(mid)", expected, actual); 127 IndexInput actual) 132 assertSameStreams(msg + ", seek(0)", expected, actual, point); 136 assertSameStreams(msg + ", seek(mid)", expected, actual, point); 140 assertSameStreams(msg + ", seek(end-2)", expected, actual, point); 144 assertSameStreams(msg + ", seek(end-1)", expected, actual, point); 148 assertSameStreams(msg + ", seek(end)", expected, actual, point); 152 assertSameStreams(msg + ", seek(end+1)", expected, actual, poin 109 assertSameStreams(String msg, IndexInput expected, IndexInput actual, long seekTo) argument 125 assertSameSeekBehavior(String msg, IndexInput expected, IndexInput actual) argument [all...] |
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/ |
H A D | _TestUtil.java | 486 public static void assertEquals(TopDocs expected, TopDocs actual) { argument 487 Assert.assertEquals("wrong total hits", expected.totalHits, actual.totalHits); 488 Assert.assertEquals("wrong maxScore", expected.getMaxScore(), actual.getMaxScore(), 0.0); 489 Assert.assertEquals("wrong hit count", expected.scoreDocs.length, actual.scoreDocs.length); 492 final ScoreDoc actualSD = actual.scoreDocs[hitIDX];
|
H A D | LuceneTestCase.java | 668 * The actual number returned will be influenced by whether {@link #TEST_NIGHTLY} 684 * The actual number returned will be influenced by whether {@link #TEST_NIGHTLY} 709 static public void assertEquals(double expected, double actual) { argument 710 assertEquals(null, expected, actual); 714 static public void assertEquals(String message, double expected, double actual) { argument 715 assertEquals(message, Double.valueOf(expected), Double.valueOf(actual)); 719 static public void assertEquals(float expected, float actual) { argument 720 assertEquals(null, expected, actual); 724 static public void assertEquals(String message, float expected, float actual) { argument 725 assertEquals(message, Float.valueOf(expected), Float.valueOf(actual)); [all...] |
/lucene-3.6.0/lucene/contrib/highlighter/src/test/org/apache/lucene/search/vectorhighlight/ |
H A D | AbstractTestCase.java | 71 "Followings are the examples of customizable parameters and actual examples of customization:", 168 protected void assertCollectionQueries( Collection<Query> actual, Query... expected ){ argument 169 assertEquals( expected.length, actual.size() ); 171 assertTrue( actual.contains( query ) ); 380 // Followings are the examples of customizable parameters and actual examples of customization:
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/ |
H A D | _TestUtil.java | 691 public static void assertEquals(TopDocs expected, TopDocs actual) { argument 692 Assert.assertEquals("wrong total hits", expected.totalHits, actual.totalHits); 693 Assert.assertEquals("wrong maxScore", expected.getMaxScore(), actual.getMaxScore(), 0.0); 694 Assert.assertEquals("wrong hit count", expected.scoreDocs.length, actual.scoreDocs.length); 697 final ScoreDoc actualSD = actual.scoreDocs[hitIDX];
|
H A D | LuceneTestCase.java | 823 * The actual number returned will be influenced by whether {@link #TEST_NIGHTLY} 839 * The actual number returned will be influenced by whether {@link #TEST_NIGHTLY} 864 static public void assertEquals(double expected, double actual) { argument 865 assertEquals(null, expected, actual); 869 static public void assertEquals(String message, double expected, double actual) { argument 870 assertEquals(message, Double.valueOf(expected), Double.valueOf(actual)); 874 static public void assertEquals(float expected, float actual) { argument 875 assertEquals(null, expected, actual); 879 static public void assertEquals(String message, float expected, float actual) { argument 880 assertEquals(message, Float.valueOf(expected), Float.valueOf(actual)); [all...] |