Expresso 5-5-0

com.jcorporate.expresso.core.controller.tests
Class BlockTests

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.jcorporate.expresso.services.test.ExpressoTestCase
              extended bycom.jcorporate.expresso.core.controller.tests.BlockTests
All Implemented Interfaces:
junit.framework.Test

public class BlockTests
extends ExpressoTestCase

Unit test for com.jcorporate.expresso.core.controller.Block objects.

Version:
$Revision: 1.8 $
Author:
Michael Rimov

Constructor Summary
BlockTests(String testName)
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
          Sets up and makes sure that ConfigManager is fully loaded and ready to go.
static junit.framework.Test suite()
          Filler Function to conform to log4j test suites.
 void testSimpleXML()
          Tests a very simple block XML Serialization
 void testXML()
          Test basic Block->XML->Block Serialization
 
Methods inherited from class com.jcorporate.expresso.services.test.ExpressoTestCase
getLog, tearDown
 
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

BlockTests

public BlockTests(String testName)
           throws Exception
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

setUp

public void setUp()
           throws Exception
Description copied from class: ExpressoTestCase
Sets up and makes sure that ConfigManager is fully loaded and ready to go.

Overrides:
setUp in class ExpressoTestCase
Throws:
Exception

suite

public static junit.framework.Test suite()
                                  throws Exception
Filler Function to conform to log4j test suites.

Throws:
Exception

testSimpleXML

public void testSimpleXML()
                   throws Exception
Tests a very simple block XML Serialization

Throws:
Exception

testXML

public void testXML()
             throws Exception
Test basic Block->XML->Block Serialization

Throws:
Exception

Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.