Esempio n. 1
0
 @Test
 public void testConfigSetProperty() throws Exception {
   assertFalse(
       test.execute("config-set --key key1 --value userValue1", 15, TimeUnit.SECONDS)
           instanceof Failed);
   test.clearScreen();
   assertFalse(test.execute("config-list", 15, TimeUnit.SECONDS) instanceof Failed);
   assertThat(test.getStdOut(), containsString("key1=user: [userValue1]"));
 }
Esempio n. 2
0
 @Before
 public void setUp() throws Exception {
   test.clearScreen();
 }