jdk/test/tools/launcher/modules/listmods/ListModsTest.java
changeset 44545 83b611b88ac8
parent 43503 bc7f8619ab70
child 45004 ea3137042a61
equal deleted inserted replaced
44480:2c33418a6d57 44545:83b611b88ac8
   113         OutputAnalyzer output
   113         OutputAnalyzer output
   114             = executeTestJava("--list-modules", "java.rhubarb")
   114             = executeTestJava("--list-modules", "java.rhubarb")
   115                 .outputTo(System.out)
   115                 .outputTo(System.out)
   116                 .errorTo(System.out);
   116                 .errorTo(System.out);
   117         output.shouldNotContain("java.base");
   117         output.shouldNotContain("java.base");
   118         output.shouldContain("java.rhubarb not observable");
   118         output.shouldContain("java.rhubarb not found");
   119         assertTrue(output.getExitValue() == 0);
   119         assertTrue(output.getExitValue() == 0);
   120     }
   120     }
   121 
   121 
   122 
   122 
   123     @Test
   123     @Test