org.ujac.util.exi.test
Class BeanAccessTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ujac.util.exi.test.BaseExpressionTest
              extended by org.ujac.util.exi.test.BeanAccessTest
All Implemented Interfaces:
junit.framework.Test

public class BeanAccessTest
extends BaseExpressionTest

Name: BeanAccessTest
Description: Tests expressions, which access bean properties.

Author:
lauerc

Nested Class Summary
 class BeanAccessTest.TestBean
          A class for testing purposes.
 
Field Summary
 
Fields inherited from class org.ujac.util.exi.test.BaseExpressionTest
exi, formatHelper, properties
 
Constructor Summary
BeanAccessTest()
           
 
Method Summary
protected  void setUp()
           
 void testAnd()
          Tests the 'and' operation.
 void testOr()
          Tests the 'or' operation.
 void testPropertyAccess()
          Tests the '.' operation.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

BeanAccessTest

public BeanAccessTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class BaseExpressionTest
Throws:
Exception
See Also:
TestCase.setUp()

testAnd

public void testAnd()
             throws ExpressionException
Tests the 'and' operation.

Throws:
ExpressionException - In case an expression evaluation fails.

testOr

public void testOr()
            throws ExpressionException
Tests the 'or' operation.

Throws:
ExpressionException - In case an expression evaluation fails.

testPropertyAccess

public void testPropertyAccess()
                        throws ExpressionException
Tests the '.' operation.

Throws:
ExpressionException - In case an expression evaluation fails.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.