Ejemplo n.º 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);
  }
Ejemplo n.º 2
0
  @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);
  }