org.ujac.util.exi.test
Class ConditionTest

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.ConditionTest
All Implemented Interfaces:
junit.framework.Test

public class ConditionTest
extends BaseExpressionTest

Name: ConditionTest
Description: A class testing conditional execution. Example: ${${a isDefined} ? a : ''}

Author:
lauerc

Field Summary
 
Fields inherited from class org.ujac.util.exi.test.BaseExpressionTest
exi, formatHelper, properties
 
Constructor Summary
ConditionTest()
           
 
Method Summary
protected  void setUp()
           
 void testCondition()
          Tests type casts.
 
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

ConditionTest

public ConditionTest()
Method Detail

setUp

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

testCondition

public void testCondition()
                   throws ExpressionException
Tests type casts.

Throws:
ExpressionException - In case an expression evaluation fails.


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