예제 #1
0
 @Test
 public void testBambooNotAllowed() throws Exception {
   try {
     janvil.copy(BAMBOO_192, BAMBOO_192, "");
     fail();
   } catch (JanvilRuntimeException e) {
     assertTrue(e.getMessage().contains("using an unsupported stack bamboo-mri-1.9.2"));
   }
 }
예제 #2
0
 @Test
 public void testPipelinesNoAppAccess_WithBody() throws Exception {
   try {
     janvil.copy("java", "java", "no access with body");
     fail();
   } catch (JanvilRuntimeException e) {
     assertEquals(e.getMessage(), "No access to app java");
   }
 }