org.jlense.test.testCases

Identifier: org.jlense.test.testCases

Description: This extension point is used to register test cases. Test cases may be run by the org.jlense.test.TestRunner application.

Configuration Markup:

   <!ELEMENT test >
   <!ATTLIST test
      class   CDATA #REQUIRED
   >

  • class - A class that implements the junit.framework.Test interface. Test classes are most often subclasses of the junit.framework.TestCase class.
  • Examples:

    The following is an example of a test case extension:

        <extension id="AccountTest" point="org.jlense.test.testCases">
           <test    name="AccountTest" 
                    class="org.jledger.ui.accounts.AccountTest"/>
        </extension>
        <extension id="ChartOfAccountsTest" point="org.jlense.test.testCases">
           <test    name="ChartOfAccountsTest" 
                    class="org.jledger.ui.accounts.ChartOfAccountsTest"/>
        </extension>
        <extension id="AccountTriggerTest" point="org.jlense.test.testCases">
           <test    name="AccountTriggerTest" 
                    class="org.jledger.ui.accounts.AccountTriggerTest"/>
        </extension>
        <extension id="AccountNotificationTest" point="org.jlense.test.testCases">
           <test    name="AccountNotificationTest" 
                    class="org.jledger.ui.accounts.AccountNotificationTest"/>
        </extension>