org.apache.commons.jexl2.examples
Class MethodPropertyTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.jexl2.examples.MethodPropertyTest
All Implemented Interfaces:
junit.framework.Test

public class MethodPropertyTest
extends junit.framework.TestCase

Simple example to show how to access method and properties.

Since:
1.0

Nested Class Summary
static class MethodPropertyTest.Foo
          Helper example class.
 
Constructor Summary
MethodPropertyTest()
           
 
Method Summary
static void example(Output out)
          An example for method access.
static void main(String[] args)
          Command line entry point.
 void testExample()
          Unit test entry point.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodPropertyTest

public MethodPropertyTest()
Method Detail

example

public static void example(Output out)
                    throws Exception
An example for method access.

Throws:
Exception

testExample

public void testExample()
                 throws Exception
Unit test entry point.

Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Command line entry point.

Parameters:
args - command line arguments
Throws:
Exception - cos jexl does.


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.