Searched refs:ASCII_CONTENTS (Results 1 - 21 of 21) sorted by relevance

/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java49 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
352 retrCommandHandler.setFileContents(ASCII_CONTENTS);
361 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
365 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
370 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
406 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
411 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
420 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
425 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java61 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
378 retrCommandHandler.setFileContents(ASCII_CONTENTS);
387 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
391 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
396 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
435 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
440 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
452 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
457 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java59 private static final String ASCII_CONTENTS = "abcdef\r\nghijkl\r\nmnopqr"; field in class:StubFtpServerIntegrationTest
376 retrCommandHandler.setFileContents(ASCII_CONTENTS);
385 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
389 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
394 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
433 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
438 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
450 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
455 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java59 private static final String ASCII_CONTENTS = "abcdef\r\nghijkl\r\nmnopqr"; field in class:StubFtpServerIntegrationTest
376 retrCommandHandler.setFileContents(ASCII_CONTENTS);
385 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
389 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
394 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
433 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
438 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
450 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
455 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java61 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
378 retrCommandHandler.setFileContents(ASCII_CONTENTS);
387 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
391 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
396 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
435 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
440 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
452 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
457 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java61 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
378 retrCommandHandler.setFileContents(ASCII_CONTENTS);
387 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
391 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
396 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
435 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
440 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
452 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
457 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java61 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
378 retrCommandHandler.setFileContents(ASCII_CONTENTS);
387 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
391 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
396 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
435 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
440 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
452 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
457 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java61 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
378 retrCommandHandler.setFileContents(ASCII_CONTENTS);
387 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
391 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
396 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
435 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
440 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
452 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
457 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java61 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
378 retrCommandHandler.setFileContents(ASCII_CONTENTS);
387 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
391 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
396 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
435 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
440 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
452 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
457 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java49 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
339 retrCommandHandler.setFileContents(ASCII_CONTENTS);
348 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
352 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
357 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
393 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
398 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
407 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
412 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java49 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
339 retrCommandHandler.setFileContents(ASCII_CONTENTS);
348 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
352 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
357 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
393 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
398 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
407 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
412 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java49 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
366 retrCommandHandler.setFileContents(ASCII_CONTENTS);
375 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
379 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
384 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
423 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
428 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
440 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
445 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java49 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
339 retrCommandHandler.setFileContents(ASCII_CONTENTS);
348 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
352 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
357 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
393 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
398 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
407 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
412 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java49 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
339 retrCommandHandler.setFileContents(ASCII_CONTENTS);
348 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
352 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
357 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
393 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
398 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
407 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
412 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java49 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
339 retrCommandHandler.setFileContents(ASCII_CONTENTS);
348 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
352 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
357 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
393 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
398 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
407 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
412 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java49 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
351 retrCommandHandler.setFileContents(ASCII_CONTENTS);
360 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
364 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
369 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
405 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
410 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
419 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
424 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java48 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
350 retrCommandHandler.setFileContents(ASCII_CONTENTS);
359 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
363 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
368 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
404 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
409 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
418 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
423 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java48 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
350 retrCommandHandler.setFileContents(ASCII_CONTENTS);
359 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
363 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
368 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
404 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
409 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
418 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
423 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java49 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
352 retrCommandHandler.setFileContents(ASCII_CONTENTS);
361 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
365 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
370 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
406 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
411 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
420 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
425 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java49 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
352 retrCommandHandler.setFileContents(ASCII_CONTENTS);
361 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
365 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
370 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
406 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
411 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
420 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
425 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/stub/
H A DStubFtpServerIntegrationTest.java61 private static final String ASCII_CONTENTS = "abcdef\tghijklmnopqr"; field in class:StubFtpServerIntegrationTest
378 retrCommandHandler.setFileContents(ASCII_CONTENTS);
387 assertEquals("File contents", ASCII_CONTENTS, outputStream.toString());
391 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
396 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
435 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
440 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);
452 ByteArrayInputStream inputStream = new ByteArrayInputStream(ASCII_CONTENTS.getBytes());
457 assertEquals("File contents", ASCII_CONTENTS.getBytes(), contents);

Completed in 363 milliseconds