org.ujac.util.exi.test
Class BasicsTest

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

public class BasicsTest
extends BaseExpressionTest

Name: BasicsTest
Description: A test class for basic expression type operations.

Author:
lauerc

Field Summary
 
Fields inherited from class org.ujac.util.exi.test.BaseExpressionTest
exi, formatHelper, properties
 
Constructor Summary
BasicsTest()
           
 
Method Summary
protected  void setUp()
           
 void testAbs()
          Tests the 'abs' operation for numeric types.
 void testAnd()
          Tests the logical and operation for numeric types.
 void testEqual()
          Tests the '=='/'eq' operation for various types.
 void testFormat()
          Tests the 'format' operation for numeric types.
 void testInstanceof()
          Tests the 'instanceof' operation.
 void testIsDefined()
          Tests the isDefined operation for various types.
 void testNotEqual()
          Tests the '!='/'ne' operation for various types.
 void testOr()
          Tests the logical and operation for numeric types.
 void testToString()
          Tests the 'toString' 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

BasicsTest

public BasicsTest()
Method Detail

setUp

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

testIsDefined

public void testIsDefined()
                   throws ExpressionException
Tests the isDefined operation for various types.

Throws:
ExpressionException - In case an expression evaluation fails.

testEqual

public void testEqual()
               throws ExpressionException
Tests the '=='/'eq' operation for various types.

Throws:
ExpressionException - In case an expression evaluation fails.

testNotEqual

public void testNotEqual()
                  throws ExpressionException
Tests the '!='/'ne' operation for various types.

Throws:
ExpressionException - In case an expression evaluation fails.

testAbs

public void testAbs()
             throws ExpressionException
Tests the 'abs' operation for numeric types.

Throws:
ExpressionException - In case an expression evaluation fails.

testToString

public void testToString()
                  throws ExpressionException
Tests the 'toString' operation.

Throws:
ExpressionException - In case an expression evaluation fails.

testInstanceof

public void testInstanceof()
                    throws ExpressionException
Tests the 'instanceof' operation.

Throws:
ExpressionException - In case an expression evaluation fails.

testFormat

public void testFormat()
                throws ExpressionException
Tests the 'format' operation for numeric types.

Throws:
ExpressionException - In case an expression evaluation fails.

testAnd

public void testAnd()
             throws ExpressionException
Tests the logical and operation for numeric types.

Throws:
ExpressionException - In case an expression evaluation fails.

testOr

public void testOr()
            throws ExpressionException
Tests the logical and operation for numeric types.

Throws:
ExpressionException - In case an expression evaluation fails.


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