org.apache.commons.ognl.test
Class PrivateMemberTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.ognl.test.PrivateMemberTest
All Implemented Interfaces:
junit.framework.Test

public class PrivateMemberTest
extends junit.framework.TestCase

This is a test program for private access in OGNL. shows the failures and a summary.


Field Summary
protected  OgnlContext context
           
 
Constructor Summary
PrivateMemberTest(String name)
           
 
Method Summary
 void setUp()
           
static junit.framework.TestSuite suite()
           
 void testPrivateAccessor()
           
 void testPrivateField()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

context

protected OgnlContext context
Constructor Detail

PrivateMemberTest

public PrivateMemberTest(String name)
Method Detail

suite

public static junit.framework.TestSuite suite()

testPrivateAccessor

public void testPrivateAccessor()
                         throws OgnlException
Throws:
OgnlException

testPrivateField

public void testPrivateField()
                      throws OgnlException
Throws:
OgnlException

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase


Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.