360361362363364365366367368
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( ScopeEnum.WHOLE_SUBTREE, searchRequest.getScope() ); }
405406407408409410411412413
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( LdapConstants.DEREF_ALWAYS, searchRequest.getDerefAliases() ); }
432433434435436437438439440
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( LdapConstants.DEREF_FINDING_BASE_OBJ, searchRequest.getDerefAliases() ); }
459460461462463464465466467
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( LdapConstants.DEREF_IN_SEARCHING, searchRequest.getDerefAliases() ); }
486487488489490491492493494
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( LdapConstants.NEVER_DEREF_ALIASES, searchRequest.getDerefAliases() ); }
523524525526527528529530531
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( 1000, searchRequest.getSizeLimit() ); }
560561562563564565566567568
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( 60, searchRequest.getTimeLimit() ); }
595596597598599600601602603
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertTrue( searchRequest.isTypesOnly() ); }
620621622623624625626627628
645646647648649650651652653
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertFalse( searchRequest.isTypesOnly() ); }