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

Quick Search    Search Deep

com.RuntimeCollective.bboard.test
Class DefaultBBoardTest  view DefaultBBoardTest download DefaultBBoardTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.RuntimeCollective.webapps.RuntimeTestCase
              extended bycom.RuntimeCollective.webapps.test.WebappsTestCase
                  extended bycom.RuntimeCollective.bboard.test.BBoardRealTest
                      extended bycom.RuntimeCollective.bboard.test.DefaultBBoardTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultBBoardTest
extends BBoardRealTest

This is the default BBoardTest class that new projects should use. It adapts the BBoardTestReal to the new standard way to organise our JUnit test scripts. Do not use the BBoardTest.java anymore. This class can be subclassed to specify eg a different default EBS.

Version:
$Id: DefaultBBoardTest.java,v 1.3 2003/09/30 15:12:44 joe Exp $

Field Summary
private static java.lang.String BOARD_CLASS_NAME
           
private static java.lang.String BOARD_LINK_CLASS_NAME
           
private static java.lang.String CONTENT_CLASS_NAME
           
protected  java.lang.String DEFAULT_STORE_CLASS
           
private static java.lang.String FILE_CLASS_NAME
           
private static java.lang.String FORWARD_LINK_CLASS_NAME
           
private static java.lang.String IMAGE_CLASS_NAME
           
private static java.lang.String LINK_CLASS_NAME
           
private static java.lang.String MESSAGE_CLASS_NAME
           
private static java.lang.String PERMISSIBLE_BOARD_CLASS_NAME
           
private static java.lang.String SIMPLE_BOARD_CLASS_NAME
           
private static java.lang.String SIMPLE_CONTENT_CLASS_NAME
           
private static java.lang.String SIMPLE_MESSAGE_CLASS_NAME
           
private static java.lang.String SIMPLE_TOPIC_CLASS_NAME
           
private static java.lang.String TEXT_COMPONENT_CLASS_NAME
           
private static java.lang.String TOPIC_CLASS_NAME
           
private static java.lang.String URLLINK_CLASS_NAME
           
private static java.lang.String USER_CLASS_NAME
           
 
Fields inherited from class com.RuntimeCollective.webapps.test.WebappsTestCase
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
DefaultBBoardTest(java.lang.String name)
           
 
Method Summary
protected  void setUp()
          This has been copied over from the theseus test cases, and will be updated to use the RuntimeTestCase init routines shortly
 
Methods inherited from class com.RuntimeCollective.bboard.test.BBoardRealTest
testConvertLinks, testSimpleBoard, testSimpleMessage, testSimpleTopic
 
Methods inherited from class com.RuntimeCollective.webapps.test.WebappsTestCase
checkBeanStore, getBeanNames, getNameId, getStoreClassForBeanName, initialiseBeanStore, initMailSession, initUserGroups, printBeanStoreClasses, registerBeanClass, registerBeanClass, resetBeanRegister, tearDown, testCheckEntityBeanStoreValid
 
Methods inherited from class com.RuntimeCollective.webapps.RuntimeTestCase
LogTestSection, main, setupRuntime
 
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

USER_CLASS_NAME

private static final java.lang.String USER_CLASS_NAME
See Also:
Constant Field Values

CONTENT_CLASS_NAME

private static final java.lang.String CONTENT_CLASS_NAME
See Also:
Constant Field Values

SIMPLE_CONTENT_CLASS_NAME

private static final java.lang.String SIMPLE_CONTENT_CLASS_NAME
See Also:
Constant Field Values

TEXT_COMPONENT_CLASS_NAME

private static final java.lang.String TEXT_COMPONENT_CLASS_NAME
See Also:
Constant Field Values

LINK_CLASS_NAME

private static final java.lang.String LINK_CLASS_NAME
See Also:
Constant Field Values

URLLINK_CLASS_NAME

private static final java.lang.String URLLINK_CLASS_NAME
See Also:
Constant Field Values

FORWARD_LINK_CLASS_NAME

private static final java.lang.String FORWARD_LINK_CLASS_NAME
See Also:
Constant Field Values

FILE_CLASS_NAME

private static final java.lang.String FILE_CLASS_NAME
See Also:
Constant Field Values

IMAGE_CLASS_NAME

private static final java.lang.String IMAGE_CLASS_NAME
See Also:
Constant Field Values

BOARD_CLASS_NAME

private static final java.lang.String BOARD_CLASS_NAME
See Also:
Constant Field Values

TOPIC_CLASS_NAME

private static final java.lang.String TOPIC_CLASS_NAME
See Also:
Constant Field Values

MESSAGE_CLASS_NAME

private static final java.lang.String MESSAGE_CLASS_NAME
See Also:
Constant Field Values

SIMPLE_BOARD_CLASS_NAME

private static final java.lang.String SIMPLE_BOARD_CLASS_NAME
See Also:
Constant Field Values

SIMPLE_TOPIC_CLASS_NAME

private static final java.lang.String SIMPLE_TOPIC_CLASS_NAME
See Also:
Constant Field Values

SIMPLE_MESSAGE_CLASS_NAME

private static final java.lang.String SIMPLE_MESSAGE_CLASS_NAME
See Also:
Constant Field Values

PERMISSIBLE_BOARD_CLASS_NAME

private static final java.lang.String PERMISSIBLE_BOARD_CLASS_NAME
See Also:
Constant Field Values

BOARD_LINK_CLASS_NAME

private static final java.lang.String BOARD_LINK_CLASS_NAME
See Also:
Constant Field Values

DEFAULT_STORE_CLASS

protected java.lang.String DEFAULT_STORE_CLASS
Constructor Detail

DefaultBBoardTest

public DefaultBBoardTest(java.lang.String name)
Method Detail

setUp

protected void setUp()
Description copied from class: com.RuntimeCollective.webapps.test.WebappsTestCase
This has been copied over from the theseus test cases, and will be updated to use the RuntimeTestCase init routines shortly