Examples of target()


Examples of org.fest.swing.fixture.JOptionPaneFixture.target()

public class JOptionPaneFinder_findOptionPane_byType_Test extends JOptionPaneFinder_TestCase {
  @Test
  public void should_find_JOptionPane() {
    clickMessageButton();
    JOptionPaneFixture found = JOptionPaneFinder.findOptionPane().using(robot);
    assertThat(found.target()).isNotNull();
  }

  @Test
  public void should_find_JOptionPane_before_given_timeout_expires() {
    window.launchDelay(200);
View Full Code Here

Examples of org.fest.swing.fixture.JOptionPaneFixture.target()

  @Test
  public void should_find_JOptionPane_before_given_timeout_expires() {
    window.launchDelay(200);
    clickMessageButton();
    JOptionPaneFixture found = JOptionPaneFinder.findOptionPane().withTimeout(500, MILLISECONDS).using(robot);
    assertThat(found.target()).isNotNull();
  }

  @Test
  public void should_find_JOptionPane_before_given_timeout_in_ms_expires() {
    window.launchDelay(200);
View Full Code Here

Examples of org.fest.swing.fixture.JOptionPaneFixture.target()

  @Test
  public void should_find_JOptionPane_before_given_timeout_in_ms_expires() {
    window.launchDelay(200);
    clickMessageButton();
    JOptionPaneFixture found = JOptionPaneFinder.findOptionPane().withTimeout(500).using(robot);
    assertThat(found.target()).isNotNull();
  }

  @Test(expected = WaitTimedOutError.class)
  public void should_fail_if_JOptionPane_not_found() {
    JOptionPaneFinder.findOptionPane().using(robot);
View Full Code Here

Examples of org.fest.swing.fixture.JOptionPaneFixture.target()

  @Test
  public void should_find_JOptionPane() {
    clickMessageButton();
    JOptionPaneFixture found = JOptionPaneFinder.findOptionPane(matcher).using(robot);
    assertThat(found.target()).isNotNull();
  }

  @Test
  public void should_find_JOptionPane_before_given_timeout_expires() {
    window.launchDelay(200);
View Full Code Here

Examples of org.fest.swing.fixture.JOptionPaneFixture.target()

  @Test
  public void should_find_JOptionPane_before_given_timeout_expires() {
    window.launchDelay(200);
    clickMessageButton();
    JOptionPaneFixture found = JOptionPaneFinder.findOptionPane(matcher).withTimeout(500, MILLISECONDS).using(robot);
    assertThat(found.target()).isNotNull();
  }

  @Test
  public void should_find_JOptionPane_before_given_timeout_in_ms_expires() {
    window.launchDelay(200);
View Full Code Here

Examples of org.fest.swing.fixture.JOptionPaneFixture.target()

  @Test
  public void should_find_JOptionPane_before_given_timeout_in_ms_expires() {
    window.launchDelay(200);
    clickMessageButton();
    JOptionPaneFixture found = JOptionPaneFinder.findOptionPane(matcher).withTimeout(500).using(robot);
    assertThat(found.target()).isNotNull();
  }

  @Test(expected = WaitTimedOutError.class)
  public void should_fail_if_JOptionPane_not_found() {
    JOptionPaneFinder.findOptionPane(matcher).using(robot);
View Full Code Here

Examples of org.glassfish.jersey.client.JerseyClient.target()

    public void testDisabledCookies() {
        ClientConfig cc = new ClientConfig();
        cc.property(JettyClientProperties.DISABLE_COOKIES, true);
        cc.connectorProvider(new JettyConnectorProvider());
        JerseyClient client = JerseyClientBuilder.createClient(cc);
        WebTarget r = client.target(getBaseUri());

        assertEquals("NO-COOKIE", r.request().get(String.class));
        assertEquals("NO-COOKIE", r.request().get(String.class));

        final JettyConnector connector = (JettyConnector) client.getConfiguration().getConnector();
View Full Code Here

Examples of org.jacorb.orb.portableInterceptor.ClientRequestInfoImpl.target()

            // if stateful, remove from connection
            if (reply.client_context_id > 0)
                connection.purgeSASContext(reply.client_context_id);

            // if context not found, resend with empty context cache
            if (reply.major_status == 2) throw new org.omg.PortableInterceptor.ForwardRequest(ri.target());
        }
    }

    public void receive_other(org.omg.PortableInterceptor.ClientRequestInfo ri)
        throws org.omg.PortableInterceptor.ForwardRequest
View Full Code Here

Examples of org.jacorb.orb.portableInterceptor.ServerRequestInfoImpl.target()

        // check policy
        SASPolicyValues sasValues = null;
        try
        {
            ObjectImpl oi =
                (ObjectImpl)ri.target();
            org.jacorb.orb.Delegate d =
                (org.jacorb.orb.Delegate)oi._get_delegate();
            SASPolicy policy =
                (SASPolicy)d.getPOA().getPolicy(SAS_POLICY_TYPE.value);
            if (policy != null)
View Full Code Here

Examples of org.jboss.jandex.AnnotationInstance.target()

  private AccessType determineClassAccessType(AccessType defaultAccessType) {
    // default to the hierarchy access type to start with
    AccessType accessType = defaultAccessType;

    AnnotationInstance accessAnnotation = JandexHelper.getSingleAnnotation( classInfo, JPADotNames.ACCESS );
    if ( accessAnnotation != null && accessAnnotation.target().getClass().equals( ClassInfo.class ) ) {
      accessType = JandexHelper.getEnumValue( accessAnnotation, "value", AccessType.class );
    }

    return accessType;
  }
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.