163164165166167168169170171172173
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 1, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof AddRequest ) { assertTrue( true ); }
199200201202203204205206207208209
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 1, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof CompareRequest ) { assertTrue( true ); }
235236237238239240241242243244245
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 1, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof AbandonRequest ) { assertTrue( true ); }
271272273274275276277278279280281
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 1, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof DelRequest ) { assertTrue( true ); }
307308309310311312313314315316317
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 1, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof ExtendedRequest ) { assertTrue( true ); }
343344345346347348349350351352353
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 1, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof ModifyDNRequest ) { assertTrue( true ); }
379380381382383384385386387388389
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 1, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof ModifyRequest ) { assertTrue( true ); }
415416417418419420421422423424425
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 1, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof SearchRequest ) { assertTrue( true ); }
451452453454455456457458459460461
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof AddRequest ) { assertTrue( true ); }
487488489490491492493494495496497
BatchRequest batchRequest = parser.getBatchRequest(); assertEquals( 2, batchRequest.getRequests().size() ); LdapMessage request = batchRequest.getCurrentRequest(); if ( request instanceof CompareRequest ) { assertTrue( true ); }