Skip to content

Commit

Permalink
HSEARCH-966 polish testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed Nov 8, 2011
1 parent 3c68aa9 commit 6e94067
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ public void testAllRelevantProgressMonitoringOperationsCalled() throws Interrupt
fullTextSession.createIndexer( LegacyCar.class )
.progressMonitor( monitor )
.startAndWait();
int resultSize = fullTextSession.createFullTextQuery( new MatchAllDocsQuery(), LegacyCar.class )
fullTextSession.createFullTextQuery( new MatchAllDocsQuery(), LegacyCar.class )
.getResultSize();
monitor.assertProgress();
}

private void initializeData(FullTextSession fullTextSession) {
private static void initializeData(FullTextSession fullTextSession) {
final Transaction transaction = fullTextSession.beginTransaction();
LegacyCar[] cars = new LegacyCar[10];
for ( int i = 0; i < cars.length; i++ ) {
Expand Down

0 comments on commit 6e94067

Please sign in to comment.