Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

abbot.tester
Class JTreeTesterTest  view JTreeTesterTest download JTreeTesterTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byabbot.tester.JTreeTesterTest
All Implemented Interfaces:
junit.framework.Test

public class JTreeTesterTest
extends junit.framework.TestCase

Unit test to verify the JTreeTester class.


Field Summary
private  test.AbbotHelper helper
           
private  javax.swing.JScrollPane scrollPane
           
private  JTreeTester tester
           
private  javax.swing.JTree tree
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JTreeTesterTest(java.lang.String name)
          Create a new test case with the given name.
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testConvertPath()
           
 void testMakeVisible()
           
 void testSelectPath()
           
 void testSelectRow()
           
 void testToggleRow()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tester

private JTreeTester tester

tree

private javax.swing.JTree tree

scrollPane

private javax.swing.JScrollPane scrollPane

helper

private test.AbbotHelper helper
Constructor Detail

JTreeTesterTest

public JTreeTesterTest(java.lang.String name)
Create a new test case with the given name.

Method Detail

testConvertPath

public void testConvertPath()

testMakeVisible

public void testMakeVisible()

testSelectPath

public void testSelectPath()

testSelectRow

public void testSelectRow()

testToggleRow

public void testToggleRow()

setUp

protected void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


tearDown

protected void tearDown()
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


main

public static void main(java.lang.String[] args)