コード例 #1
0
ファイル: ExampleTest.java プロジェクト: tools4j/unix4j
 @Test
 public void testToSystemError() {
   output = new StreamOutput(System.err);
   unix4j.echo("Hello ERROR").grep(GrepOption.ignoreCase, "error");
 }
コード例 #2
0
ファイル: ExampleTest.java プロジェクト: tools4j/unix4j
 @Test
 public void testEchoGrepNoMatch() {
   unix4j.echo("Hello WORLD").grep("world");
 }
コード例 #3
0
ファイル: ExampleTest.java プロジェクト: tools4j/unix4j
 @Test
 public void testEchoGrepMatchIgnoreCase() {
   unix4j.echo("Hello WORLD").grep(GrepOption.ignoreCase, "world");
 }
コード例 #4
0
ファイル: ExampleTest.java プロジェクト: tools4j/unix4j
 @Test
 public void testEcho2() {
   unix4j.echo("Hello", "world");
 }