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

Quick Search    Search Deep

com.RuntimeCollective.permission.test
Class PermissionTest  view PermissionTest download PermissionTest.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.permission.test.PermissionTestMethods
                      extended bycom.RuntimeCollective.permission.test.PermissionTest
All Implemented Interfaces:
junit.framework.Test

public class PermissionTest
extends PermissionTestMethods


Field Summary
 
Fields inherited from class com.RuntimeCollective.webapps.test.WebappsTestCase
DEFAULT_STORE_CLASS
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
PermissionTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
          RuntimeTestCase is a basic TestCase, which sets up 2 database in RuntimeDataSource and RuntimeParameters.
static void setupRuntime(java.lang.String[] args)
           
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 
Methods inherited from class com.RuntimeCollective.permission.test.PermissionTestMethods
LogTestSection, testSimplePermissible, testSimplePermissionRule
 
Methods inherited from class com.RuntimeCollective.webapps.test.WebappsTestCase
checkBeanStore, getBeanNames, getNameId, getStoreClassForBeanName, initialiseBeanStore, initMailSession, initUserGroups, printBeanStoreClasses, registerBeanClass, registerBeanClass, resetBeanRegister, setUp, testCheckEntityBeanStoreValid
 
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
 

Constructor Detail

PermissionTest

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

main

public static void main(java.lang.String[] args)
Description copied from class: com.RuntimeCollective.webapps.RuntimeTestCase
RuntimeTestCase is a basic TestCase, which sets up 2 database in RuntimeDataSource and RuntimeParameters. In each module, it should be extended into a ModuleTestCase. The ModuleTestCase will add module-specific RuntimeParameters, and register the required beans. Finally, each module will define one or many actual test cases, by extending ModuleTestCase. Example: - com.RuntimeCollective.content.test.ContentTestCase implements com.RuntimeCollective.webapps.RuntimeTestCase - com.RuntimeCollective.content.test.FileTest implements com.RuntimeCollective.content.test.ContentTestCase - com.RuntimeCollective.content.test.ImageTest implements com.RuntimeCollective.content.test.ContentTestCase


setupRuntime

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

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.