Searched defs:oStream (Results 1 - 20 of 20) sorted by relevance

/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/protocols/http/
H A DCollectClientConnectionsFilterTest.java94 ServletOutputStream oStream = mock(ServletOutputStream.class);
96 when(response.getOutputStream()).thenReturn(oStream);
102 verifyUnauthorizedOutputMessage(response, oStream);
112 ServletOutputStream oStream = mock(ServletOutputStream.class);
113 when(response.getOutputStream()).thenReturn(oStream);
117 verifyUnauthorizedOutputMessage(response, oStream);
128 ServletOutputStream oStream) throws IOException
131 verify(oStream).println(
127 verifyUnauthorizedOutputMessage(HttpServletResponse response, ServletOutputStream oStream) argument
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/protocols/http/
H A DCollectClientConnectionsFilterTest.java93 ServletOutputStream oStream = mock(ServletOutputStream.class);
95 when(response.getOutputStream()).thenReturn(oStream);
101 verifyUnauthorizedOutputMessage(response, oStream);
111 ServletOutputStream oStream = mock(ServletOutputStream.class);
112 when(response.getOutputStream()).thenReturn(oStream);
116 verifyUnauthorizedOutputMessage(response, oStream);
127 ServletOutputStream oStream) throws IOException
130 verify(oStream).println(
126 verifyUnauthorizedOutputMessage(HttpServletResponse response, ServletOutputStream oStream) argument
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/protocols/http/
H A DCollectClientConnectionsFilterTest.java94 ServletOutputStream oStream = mock(ServletOutputStream.class);
96 when(response.getOutputStream()).thenReturn(oStream);
102 verifyUnauthorizedOutputMessage(response, oStream);
112 ServletOutputStream oStream = mock(ServletOutputStream.class);
113 when(response.getOutputStream()).thenReturn(oStream);
117 verifyUnauthorizedOutputMessage(response, oStream);
128 ServletOutputStream oStream) throws IOException
131 verify(oStream).println(
127 verifyUnauthorizedOutputMessage(HttpServletResponse response, ServletOutputStream oStream) argument
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/protocols/http/
H A DCollectClientConnectionsFilterTest.java93 ServletOutputStream oStream = mock(ServletOutputStream.class);
95 when(response.getOutputStream()).thenReturn(oStream);
101 verifyUnauthorizedOutputMessage(response, oStream);
111 ServletOutputStream oStream = mock(ServletOutputStream.class);
112 when(response.getOutputStream()).thenReturn(oStream);
116 verifyUnauthorizedOutputMessage(response, oStream);
127 ServletOutputStream oStream) throws IOException
130 verify(oStream).println(
126 verifyUnauthorizedOutputMessage(HttpServletResponse response, ServletOutputStream oStream) argument
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/protocols/http/
H A DCollectClientConnectionsFilterTest.java94 ServletOutputStream oStream = mock(ServletOutputStream.class);
96 when(response.getOutputStream()).thenReturn(oStream);
102 verifyUnauthorizedOutputMessage(response, oStream);
112 ServletOutputStream oStream = mock(ServletOutputStream.class);
113 when(response.getOutputStream()).thenReturn(oStream);
117 verifyUnauthorizedOutputMessage(response, oStream);
128 ServletOutputStream oStream) throws IOException
131 verify(oStream).println(
127 verifyUnauthorizedOutputMessage(HttpServletResponse response, ServletOutputStream oStream) argument
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/replication/server/
H A DMonitorTest.java512 private static final ByteArrayOutputStream oStream = field in class:MonitorTest
532 oStream.reset();
535 LDAPSearch.mainSearch(args3, false, oStream, eStream);
536 String entries = oStream.toString();
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/replication/server/
H A DMonitorTest.java409 private static final ByteArrayOutputStream oStream = field in class:MonitorTest
429 oStream.reset();
432 LDAPSearch.mainSearch(args3, false, oStream, eStream);
433 String entries = oStream.toString();
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/replication/server/
H A DMonitorTest.java512 private static final ByteArrayOutputStream oStream = field in class:MonitorTest
532 oStream.reset();
535 LDAPSearch.mainSearch(args3, false, oStream, eStream);
536 String entries = oStream.toString();
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/server/
H A DMonitorTest.java409 private static final ByteArrayOutputStream oStream = field in class:MonitorTest
429 oStream.reset();
432 LDAPSearch.mainSearch(args3, false, oStream, eStream);
433 String entries = oStream.toString();
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/server/
H A DMonitorTest.java512 private static final ByteArrayOutputStream oStream = field in class:MonitorTest
532 oStream.reset();
535 LDAPSearch.mainSearch(args3, false, oStream, eStream);
536 String entries = oStream.toString();
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/server/
H A DMonitorTest.java411 private static final ByteArrayOutputStream oStream = field in class:MonitorTest
431 oStream.reset();
434 LDAPSearch.mainSearch(args3, false, oStream, eStream);
435 String entries = oStream.toString();
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/
H A DAciTestCase.java178 private static final ByteArrayOutputStream oStream = new ByteArrayOutputStream(); field in class:AciTestCase
209 oStream.reset();
212 false, oStream, oStream);
213 Assert.assertEquals(rc, ret, "Returned error: " + oStream.toString());
214 return oStream.toString();
247 oStream.reset();
249 LDAPSearch.mainSearch(argList.toArray(args), false, oStream, oStream);
250 Assert.assertEquals(0, retVal, "Returned error: " + oStream
[all...]
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/
H A DAciTestCase.java166 private static final ByteArrayOutputStream oStream = new ByteArrayOutputStream(); field in class:AciTestCase
197 oStream.reset();
199 false, oStream, oStream);
200 Assert.assertEquals(ret, expectedRc, "Returned error: " + oStream);
201 return oStream.toString();
234 oStream.reset();
236 LDAPSearch.mainSearch(argList.toArray(args), false, oStream, oStream);
237 Assert.assertEquals(retVal, 0, "Returned error: " + oStream);
[all...]
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/
H A DAciTestCase.java178 private static final ByteArrayOutputStream oStream = new ByteArrayOutputStream(); field in class:AciTestCase
209 oStream.reset();
212 false, oStream, oStream);
213 Assert.assertEquals(rc, ret, "Returned error: " + oStream.toString());
214 return oStream.toString();
247 oStream.reset();
249 LDAPSearch.mainSearch(argList.toArray(args), false, oStream, oStream);
250 Assert.assertEquals(0, retVal, "Returned error: " + oStream
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/
H A DAciTestCase.java166 private static final ByteArrayOutputStream oStream = new ByteArrayOutputStream(); field in class:AciTestCase
197 oStream.reset();
199 false, oStream, oStream);
200 Assert.assertEquals(ret, expectedRc, "Returned error: " + oStream);
201 return oStream.toString();
234 oStream.reset();
236 LDAPSearch.mainSearch(argList.toArray(args), false, oStream, oStream);
237 Assert.assertEquals(retVal, 0, "Returned error: " + oStream);
[all...]
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/
H A DAciTestCase.java178 private static final ByteArrayOutputStream oStream = new ByteArrayOutputStream(); field in class:AciTestCase
209 oStream.reset();
212 false, oStream, oStream);
213 Assert.assertEquals(rc, ret, "Returned error: " + oStream.toString());
214 return oStream.toString();
247 oStream.reset();
249 LDAPSearch.mainSearch(argList.toArray(args), false, oStream, oStream);
250 Assert.assertEquals(0, retVal, "Returned error: " + oStream
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/authorization/dseecompat/
H A DAciTestCase.java165 private static final ByteArrayOutputStream oStream = new ByteArrayOutputStream(); field in class:AciTestCase
195 oStream.reset();
197 false, oStream, oStream);
198 Assert.assertEquals(ret, expectedRc, "Returned error: " + oStream);
199 return oStream.toString();
237 oStream.reset();
238 int retVal =LDAPModify.mainModify(argList.toArray(args), false, oStream, oStream);
239 Assert.assertEquals(retVal, 0, "Returned error: " + oStream);
[all...]
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/replication/
H A DExternalChangeLogTest.java1816 private static final ByteArrayOutputStream oStream = new ByteArrayOutputStream(); field in class:ExternalChangeLogTest
1835 oStream.reset();
1838 LDAPSearch.mainSearch(args3, false, oStream, eStream);
1840 return oStream.toString();
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/replication/
H A DExternalChangeLogTest.java1816 private static final ByteArrayOutputStream oStream = new ByteArrayOutputStream(); field in class:ExternalChangeLogTest
1835 oStream.reset();
1838 LDAPSearch.mainSearch(args3, false, oStream, eStream);
1840 return oStream.toString();
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/
H A DExternalChangeLogTest.java1816 private static final ByteArrayOutputStream oStream = new ByteArrayOutputStream(); field in class:ExternalChangeLogTest
1835 oStream.reset();
1838 LDAPSearch.mainSearch(args3, false, oStream, eStream);
1840 return oStream.toString();

Completed in 911 milliseconds