站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

LDAPUserTestCase - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.identity
Class LDAPUserTestCase

java.lang.Object
  extended byjunit.framework.TestCase
      extended byorg.jboss.portal.test.identity.LDAPUserTestCase
All Implemented Interfaces:
UserTest.Context

public class LDAPUserTestCase
extends junit.framework.TestCase
implements UserTest.Context

Version:
$Revision: 5247 $
Author:
Julien Viet, Boleslaw Dawidowicz
See Also:
Serialized Form

Field Summary
private  DSConfig dsConfig
           
private static org.jboss.logging.Logger log
           
private  TestRuntimeContext runtimeContext
           
private  UserTest utc
          .
 
Constructor Summary
LDAPUserTestCase()
           
LDAPUserTestCase(DSConfig dsConfig)
           
LDAPUserTestCase(java.util.Map parametrization)
           
 
Method Summary
 void begin()
           
 void commit()
           
private  javax.naming.directory.DirContext getDirContext()
           
 java.lang.String getName()
          .
private  void removeContext(javax.naming.Context mainCtx, java.lang.String name)
           
protected  void setUp()
           
static TestSuite suite()
           
protected  void tearDown()
           
 void testSecondSimple()
           
 void testSimple()
           
 void testThirdSimple()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.jboss.logging.Logger log

runtimeContext

private TestRuntimeContext runtimeContext

dsConfig

private DSConfig dsConfig

utc

private UserTest utc
.

Constructor Detail

LDAPUserTestCase

public LDAPUserTestCase()

LDAPUserTestCase

public LDAPUserTestCase(java.util.Map parametrization)

LDAPUserTestCase

public LDAPUserTestCase(DSConfig dsConfig)
Method Detail

suite

public static TestSuite suite()
                       throws java.lang.Exception
Throws:
java.lang.Exception

getName

public java.lang.String getName()
.


setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

begin

public void begin()
Specified by:
begin in interface UserTest.Context

commit

public void commit()
Specified by:
commit in interface UserTest.Context

testSimple

public void testSimple()
                throws java.lang.Exception
Throws:
java.lang.Exception

testSecondSimple

public void testSecondSimple()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testThirdSimple

public void testThirdSimple()
                     throws java.lang.Exception
Throws:
java.lang.Exception

getDirContext

private javax.naming.directory.DirContext getDirContext()
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

removeContext

private void removeContext(javax.naming.Context mainCtx,
                           java.lang.String name)
                    throws java.lang.Exception
Throws:
java.lang.Exception