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