org.apache.myfaces.custom.tree2
Class AbstractTreeTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.shale.test.base.AbstractJsfTestCase
              extended by org.apache.shale.test.base.AbstractViewControllerTestCase
                  extended by org.apache.myfaces.test.AbstractTomahawkViewControllerTestCase
                      extended by org.apache.myfaces.custom.tree2.AbstractTreeTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
HtmlTreeRendererTest, HtmlTreeTest, UITreeDataTest

public class AbstractTreeTestCase
extends AbstractTomahawkViewControllerTestCase

An abstract test case that sets up a Tree2 for testing using the structure below. - .. Root (0) | - .. A (0:0) | | | + .. AA (0:0:0) | | | + .. AB (0:0:1) | | | + .. AC (0:0:2) | | .. aca (0:0:2:0) | | .. acb (0:0:2:1) | + .. B (0:1) | | | + .. BA (0:1:0) | | | + .. BB (0:1:1) | | .. C (0:2) | | .. d (0:3)


Field Summary
 
Fields inherited from class org.apache.shale.test.base.AbstractJsfTestCase
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
 
Constructor Summary
AbstractTreeTestCase(String name)
          Constructor
 
Method Summary
protected  void setUp()
          See abstract class
static junit.framework.Test suite()
           
 
Methods inherited from class org.apache.myfaces.test.AbstractTomahawkViewControllerTestCase
assertIdExists, tearDown
 
Methods inherited from class org.apache.shale.test.base.AbstractViewControllerTestCase
checkMessageCount, checkMessageCount
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractTreeTestCase

public AbstractTreeTestCase(String name)
Constructor

Parameters:
name - String
Method Detail

setUp

protected void setUp()
              throws Exception
See abstract class

Overrides:
setUp in class AbstractTomahawkViewControllerTestCase
Throws:
Exception

suite

public static junit.framework.Test suite()


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.