org.kuali.rice.krad.data.provider
Class ProviderRegistryImplTest

java.lang.Object
  extended by org.kuali.rice.krad.data.provider.ProviderRegistryImplTest

public class ProviderRegistryImplTest
extends Object

Tests ProviderRegistryImpl


Constructor Summary
ProviderRegistryImplTest()
           
 
Method Summary
 void setup()
           
 void testConcurrency()
          Verifies ProviderRegistryImpl is threadsafe
 void testEmpty()
          Test empty state
 void testGetPersistenceProviderIllegalArgument()
           
 void testGetProvidersForTypeIllegalArgument()
           
 void testRegisterDuplicateProviders()
          Verifies duplicate providers can't be registered
 void testRegisterPersistenceProviders()
          Tests registration and lookup of multiple PersistenceProviders
 void testRegisterProviderIllegalArgument()
           
 void testRegisterProviders()
          Registers various Provider implementations and tests getters
 void testRegisterUnregister()
          Tests unregistering after registering
 void testUnregisterProviderIllegalArgument()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderRegistryImplTest

public ProviderRegistryImplTest()
Method Detail

setup

public void setup()

testEmpty

public void testEmpty()
Test empty state


testRegisterProviderIllegalArgument

public void testRegisterProviderIllegalArgument()

testUnregisterProviderIllegalArgument

public void testUnregisterProviderIllegalArgument()

testGetProvidersForTypeIllegalArgument

public void testGetProvidersForTypeIllegalArgument()

testGetPersistenceProviderIllegalArgument

public void testGetPersistenceProviderIllegalArgument()

testRegisterProviders

public void testRegisterProviders()
Registers various Provider implementations and tests getters


testRegisterDuplicateProviders

public void testRegisterDuplicateProviders()
Verifies duplicate providers can't be registered


testRegisterUnregister

public void testRegisterUnregister()
Tests unregistering after registering


testConcurrency

public void testConcurrency()
                     throws InterruptedException
Verifies ProviderRegistryImpl is threadsafe

Throws:
InterruptedException

testRegisterPersistenceProviders

public void testRegisterPersistenceProviders()
Tests registration and lookup of multiple PersistenceProviders



Copyright © 2005–2014 The Kuali Foundation. All rights reserved.