Beispiel #1
0
 @Test
 public void testUnsortedArrayMerge() {
   Json a1 = array(4, 35, 1, 65, 2, 456);
   Json a2 = array(65, 5, 3534, 4);
   a1.with(a2, object("sort", false));
   Assert.assertEquals(
       TU.set(a1.asJsonList()), TU.set(array(4, 35, 1, 65, 2, 456, 65, 5, 3534, 4).asJsonList()));
 }
Beispiel #2
0
    @Override
    public Boolean call() throws Exception {

      TU.waitFor(id, 2, "Simulated Robot");

      return true;
    }