Examples of TypeMatcher


Examples of org.apache.hivemind.test.TypeMatcher

                "Error building service foo: Unable to find constructor applicable for autowiring. "
                        + "Use explicit constructor parameters.",
                null,
                new ApplicationRuntimeException(""));
        elc.setMatcher(new AggregateArgumentsMatcher(new ArgumentMatcher[]
        { null, null, new TypeMatcher() }));

        replayControls();

        BuilderParameter parameter = new BuilderParameter();
View Full Code Here

Examples of org.apache.hivemind.test.TypeMatcher

                InitializerErrorRunnable.class,
                cause);

        errorLog.error(message, l, new ApplicationRuntimeException(""));
        errorLogc.setMatcher(new AggregateArgumentsMatcher(new ArgumentMatcher[]
        { null, null, new TypeMatcher() }));

        BuilderParameter p = new BuilderParameter();
        p.setClassName(InitializerErrorRunnable.class.getName());
        p.setLocation(l);
View Full Code Here

Examples of org.apache.hivemind.test.TypeMatcher

                InitializerErrorRunnable.class,
                cause);

        errorLog.error(message, l, new ApplicationRuntimeException(""));
        errorLogc.setMatcher(new AggregateArgumentsMatcher(new ArgumentMatcher[]
        { null, null, new TypeMatcher() }));

        BuilderParameter p = new BuilderParameter();
        p.setClassName(InitializerErrorRunnable.class.getName());
        p.setLocation(l);
View Full Code Here

Examples of org.apache.hivemind.test.TypeMatcher

        log.error(
                StrategyMessages.strategyWrongInterface(adapter, Number.class, Runnable.class),
                l,
                new ClassCastException());
        logc.setMatcher(new AggregateArgumentsMatcher(new ArgumentMatcher[]
        { null, null, new TypeMatcher() }));

        replayControls();

        new StrategyFactory().buildRegistry(fp, ar);
View Full Code Here

Examples of org.fest.swing.core.TypeMatcher

   * @throws ActionFailedException if an editor for the given cell cannot be found or cannot be activated.
   */
  @RunsInEDT
  protected final @Nullable <T extends Component> T waitForEditorActivation(@Nonnull JTable table, int row, int column,
      @Nonnull Class<T> supportedType) {
    return waitForEditorActivation(new TypeMatcher(supportedType, true), table, row, column, supportedType);
  }
View Full Code Here

Examples of org.fest.swing.core.TypeMatcher

  /** {@inheritDoc} */
  @RunsInEDT
  @Override
  public @Nonnull DialogFixture dialog(@Nonnull Timeout timeout) {
    TypeMatcher matcher = new TypeMatcher(Dialog.class, requireShowing());
    return findDialog(matcher, timeout);
  }
View Full Code Here

Examples of org.fest.swing.core.TypeMatcher

  /** {@inheritDoc} */
  @RunsInEDT
  @Override
  public @Nonnull JFileChooserFixture fileChooser(@Nonnull Timeout timeout) {
    TypeMatcher matcher = new TypeMatcher(JFileChooser.class, requireShowing());
    return findFileChooser(matcher, timeout);
  }
View Full Code Here

Examples of org.fest.swing.core.TypeMatcher

  /** {@inheritDoc} */
  @RunsInEDT
  @Override
  public @Nonnull JOptionPaneFixture optionPane(@Nonnull Timeout timeout) {
    TypeMatcher matcher = new TypeMatcher(JOptionPane.class, requireShowing());
    String description = "option pane to be found using matcher " + matcher;
    ComponentFoundCondition condition = new ComponentFoundCondition(description, robot().finder(), matcher);
    pause(condition, timeout);
    JOptionPane optionPane = (JOptionPane) condition.found();
    return new JOptionPaneFixture(robot(), checkNotNull(optionPane));
View Full Code Here

Examples of org.fest.swing.core.TypeMatcher

   * Creates a new {@link ComponentFinderTemplate}.
   *
   * @param componentType the type of the {@code Component} to find.
   */
  protected ComponentFinderTemplate(@Nonnull Class<? extends T> componentType) {
    this(new TypeMatcher(componentType, true));
  }
View Full Code Here

Examples of org.fest.swing.core.TypeMatcher

    return dialog(DEFAULT_DIALOG_LOOKUP_TIMEOUT);
  }

  /** {@inheritDoc} */
  public DialogFixture dialog(Timeout timeout) {
    TypeMatcher matcher = new TypeMatcher(Dialog.class, requireShowing());
    return findDialog(matcher, timeout);
  }
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.