示例#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");
 }