예제 #1
0
 @Test
 public void testToSystemError() {
   output = new StreamOutput(System.err);
   unix4j.echo("Hello ERROR").grep(GrepOption.ignoreCase, "error");
 }
예제 #2
0
 @Test
 public void testEchoGrepNoMatch() {
   unix4j.echo("Hello WORLD").grep("world");
 }
예제 #3
0
 @Test
 public void testEchoGrepMatchIgnoreCase() {
   unix4j.echo("Hello WORLD").grep(GrepOption.ignoreCase, "world");
 }
예제 #4
0
 @Test
 public void testEcho2() {
   unix4j.echo("Hello", "world");
 }