net.sf.jaxme.js.junit
Class BasicTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bynet.sf.jaxme.js.junit.BasicTest
All Implemented Interfaces:
junit.framework.Test

public class BasicTest
extends junit.framework.TestCase

Basic test

Author:
Jochen Wiedmann

Constructor Summary
BasicTest(java.lang.String pName)
           
 
Method Summary
 void assertEquals(java.lang.String s1, java.lang.String s2)
           
 java.lang.String getResult(JavaSource.Protection pProtection)
           
 JavaSource getSource(JavaSource.Protection pProtection)
           
 void testAbstract()
           
 void testDefaultProtection()
           
 void testNull()
           
 void testPlaceHolders()
           
 void testPrivate()
           
 void testProtected()
           
 void testPublic()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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

BasicTest

public BasicTest(java.lang.String pName)
Method Detail

getSource

public JavaSource getSource(JavaSource.Protection pProtection)

getResult

public java.lang.String getResult(JavaSource.Protection pProtection)

assertEquals

public void assertEquals(java.lang.String s1,
                         java.lang.String s2)

testNull

public void testNull()

testDefaultProtection

public void testDefaultProtection()

testPrivate

public void testPrivate()

testProtected

public void testProtected()

testPublic

public void testPublic()

testAbstract

public void testAbstract()

testPlaceHolders

public void testPlaceHolders()