Beispiel #1
0
  @Test
  public void testRenderInitialization_setsOperationHandler() throws IOException {
    String id = getId(progressBar);
    lca.renderInitialization(progressBar);

    OperationHandler handler = RemoteObjectRegistry.getInstance().get(id).getHandler();
    assertTrue(handler instanceof ProgressBarOperationHandler);
  }
  @Test
  public void testRenderInitialization_setsOperationHandler() throws IOException {
    String id = getId(sc);
    lca.renderInitialization(sc);

    OperationHandler handler = RemoteObjectRegistry.getInstance().get(id).getHandler();
    assertTrue(handler instanceof ScrolledCompositeOperationHandler);
  }