Examples of reset()


Examples of syn3d.nodes.SceneNode.reset()

   
    if ((e.getKeyChar() == 'p') || (e.getKeyChar() == 'P')) {
      // Change the projection policy
      scene.changeProjection();
    } else if (( e.getKeyChar() == 'r') || (e.getKeyChar() == 'R')){
      scene.reset();
    } else if ( e.getKeyChar() == '\n') {
      // enter for auto-zoom
      scene.autoZoom();
    }
  }
View Full Code Here

Examples of tangowidget.command.listener.CommandListenerImpl.reset()

    assertThat(res).isEqualTo(values);

    // remove listener and check is no more notify
    widget.removeCommandListener(listenerSpy);
    listenerSpy.reset();
    tth.click(getButton(widget));

    assertEquals("listener shoudn't be notify", 0,
        listenerSpy.getNotifyCount());
View Full Code Here

Examples of tangowidget.util.listenerimpl.ActionListenerImpl.reset()

    this.tth.click(b);
    Sleeper.SECONDS.sleep(3);
    assertThat(ali.getNotifyCount()).isEqualTo(1);
    button.removeActionListener(ali);
    Sleeper.SECONDS.sleep(3);
    ali.reset();
    this.tth.click(b);
    Sleeper.SECONDS.sleep(3);
    assertThat(ali.getNotifyCount()).isEqualTo(0);
    // clean
    abb.stop();
View Full Code Here

Examples of tangowidget.util.listenerimpl.BooleanAttributeListenerImpl.reset()

        "writeBooleanValueChange method should be called",
        listenerTest.getNotification("writeBooleanValueChange").equals(
            deviceValue));

    widget.removeBooleanAttributeListener(listenerTest);
    listenerTest.reset();

    Sleeper.SECONDS.sleep(3);
    Assert.assertTrue("Listener should not be called",
        listenerTest.getNotifyCount() == 0);
View Full Code Here

Examples of tangowidget.util.listenerimpl.DeviceListenerImpl.reset()

        assertEquals("colorChange return the wrong value", ColorDeviceState.RUNNING.getColor(),
                listenerSpy.getNotification("colorChange"));

        // test listener is not notify after remove
        widget.removeDeviceListener(listenerSpy);
        listenerSpy.reset();

        switchStateOnDevice(0, m_deviceProxy);

        Sleeper.SECONDS.sleep(3);
        assertEquals("Listener should not be called", 0, listenerSpy.getNotifyCount());
View Full Code Here

Examples of tangowidget.util.listenerimpl.ITableListenerImpl.reset()

    // Assert.assertTrue(listenerTest.getNotification("selectedXChanged(double)").equals(xClick));
    // Assert.assertTrue(listenerTest.getNotification("selectedYChanged(int)").equals((int)yClick));
    // Assert.assertTrue(listenerTest.getNotification("selectedYChanged(double)").equals(yClick));

    widget.removeTableListener(listenerTest);
    listenerTest.reset();

    tth.mouseClickOnComponent(chart);
    Sleeper.SECONDS.sleep(1);

    Assert.assertTrue("listener should not be notified",
View Full Code Here

Examples of tangowidget.util.listenerimpl.IWidgetListenerImpl.reset()

    Assert.assertTrue(new Double(Double.parseDouble(value1))
        .equals(listenerTest.getNotification("doubleValueChanged")));

    // v�rifier que le remove du listener est correctement trait�
    widget.removeWidgetListener(listenerTest);
    listenerTest.reset();

    writeInTextField(txtField, jbEnvoyer, value2);

    Assert.assertTrue(!listenerTest.isNotified("doubleValueChanged"));
  }
View Full Code Here

Examples of tangowidget.util.listenerimpl.InputListenerImpl.reset()

        assertThat((String) listenerSpy.getNotification("stringValueChange")).isEqualTo("true");
        assertThat((Double) listenerSpy.getNotification("numberValueChange")).isEqualTo(1.0);

        // remove lister and check is no more lotify
        widget.removeInputListener(listenerSpy);
        listenerSpy.reset();
        switchComboBoxState(widget);

        assertThat(listenerSpy.getNotifyCount()).isEqualTo(0);

        widget.stop();
View Full Code Here

Examples of tcg.scada.iec.IecApdu.reset()

          keepReceiving_ = false;
          break;
        }
       
        //clear the request structure
        request.reset();
       
        //get the request
        status = false;
        try
        {
View Full Code Here

Examples of test.implementation.util.support.Trivial2MBean.reset()

           
      // typed proxy interface invocation
      mbean.doOperation();
      assertTrue(mbean.isOperationInvoked());
     
      mbean.reset();
     
      // detyped proxy invocation
      mbean2.invoke("doOperation", null, null);
      assertTrue(((Boolean)mbean2.getAttribute("OperationInvoked")).booleanValue());
     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.