Class JTreeVerifySelectionTask

java.lang.Object
org.fest.swing.driver.JTreeVerifySelectionTask

final class JTreeVerifySelectionTask extends Object
Understands verification that a JTree has the expected selection.
Since:
1.2
  • Constructor Details

    • JTreeVerifySelectionTask

      private JTreeVerifySelectionTask()
  • Method Details

    • verifySelection

      @RunsInEDT static void verifySelection(JTree tree, int[] selection, org.fest.assertions.Description errMsg)
    • checkSelection

      @RunsInCurrentThread private static void checkSelection(JTree tree, int[] selection, org.fest.assertions.Description errMsg)
    • failNotEqualSelection

      private static AssertionError failNotEqualSelection(org.fest.assertions.Description msg, int[] expected, int[] actual)
    • verifySelection

      @RunsInEDT static void verifySelection(JTree tree, String[] selection, JTreePathFinder pathFinder, org.fest.assertions.Description errMsg)
    • checkSelection

      @RunsInCurrentThread private static void checkSelection(JTree tree, String[] selection, JTreePathFinder pathFinder, org.fest.assertions.Description errMsg)
    • failNotEqualSelection

      private static AssertionError failNotEqualSelection(org.fest.assertions.Description msg, String[] expected, TreePath[] actual)
    • failNoSelection

      private static void failNoSelection(org.fest.assertions.Description errorMessage)
    • verifyNoSelection

      @RunsInEDT static void verifyNoSelection(JTree tree, org.fest.assertions.Description errMsg)