log.info( "Expected=" + expected );
}
}
if( allOrderings ) {
final PermutationGenerator g = new PermutationGenerator( query.getAtoms()
.size() );
while( g.hasMore() ) {
ok &= runSingleAskTest( query.reorder( g.getNext() ), expected );
}
}
else {
ok = runSingleAskTest( query, expected );
}
return ok;
}
else {
ResultSetRewindable expected = null;
if( !noCheck ) {
expected = ResultSetFactory.makeRewindable( JenaIOUtils
.parseResultSet( resultURI ) );
final List<?> expectedList = ResultSetFormatter.toList( expected );
if( expected.size() > 10 ) {
if( log.isLoggable( Level.INFO ) ) {
log.log( Level.INFO, "Expected=" + expectedList.subList( 0, 9 )
+ " ... " + expectedList.size() );
}
}
else {
if( log.isLoggable( Level.INFO ) ) {
log.info( "Expected=" + expectedList );
}
}
}
if( allOrderings ) {
final PermutationGenerator g = new PermutationGenerator( query.getAtoms()
.size() );
while( g.hasMore() ) {
ok &= runSingleSelectTest( query.reorder( g.getNext() ), expected );
}
}
else {
ok = runSingleSelectTest( query, expected );
}