org.kuali.rice.coreservice.impl.component
Class ComponentServiceImplTest

java.lang.Object
  extended by org.kuali.rice.coreservice.impl.component.ComponentServiceImplTest
Direct Known Subclasses:
ComponentServiceRemoteTest

public class ComponentServiceImplTest
extends Object

Unit test for ComponentServiceImpl.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
ComponentServiceImplTest()
           
 
Method Summary
 ComponentService getComponentService()
           
 void setComponentService(ComponentService componentService)
           
 void test_calculateChecksum_emptyList()
           
 void test_calculateChecksum_orderIndependent()
          Tests that the calculateChecksum method returns the same checksum regardless of the order of the elements given to it.
 void test_getActiveComponentsByNamespaceCode_blank_namespaceCode()
           
 void test_getActiveComponentsByNamespaceCode_empty_namespaceCode()
           
 void test_getActiveComponentsByNamespaceCode_exists()
           
 void test_getActiveComponentsByNamespaceCode_not_exists()
           
 void test_getActiveComponentsByNamespaceCode_null_namespaceCode()
           
 void test_getActiveComponentsByNamespaceCode_with_derived()
           
 void test_getAllComponentsByNamespaceCode_blank_namespaceCode()
           
 void test_getAllComponentsByNamespaceCode_empty_namespaceCode()
           
 void test_getAllComponentsByNamespaceCode_exists()
           
 void test_getAllComponentsByNamespaceCode_not_exists()
           
 void test_getAllComponentsByNamespaceCode_null_namespaceCode()
           
 void test_getAllComponentsByNamespaceCode_with_derived()
           
 void test_getComponentByCode_blank_componentCode()
           
 void test_getComponentByCode_blank_namespaceCode()
           
 void test_getComponentByCode_empty_componentCode()
           
 void test_getComponentByCode_empty_namespaceCode()
           
 void test_getComponentByCode_exists()
           
 void test_getComponentByCode_null_componentCode()
           
 void test_getComponentByCode_null_namespaceCode()
           
 void test_getComponentsByCode_not_exists()
           
 void test_getDerivedComponentSet_blank_componentSetId()
           
 void test_getDerivedComponentSet_empty_componentSetId()
           
 void test_getDerivedComponentSet_not_exists()
           
 void test_getDerivedComponentSet_null_componentSetId()
           
 void test_publishDerivedComponents_blank_componentSetId()
           
 void test_publishDerivedComponents_empty_components_withExisting_componentSet()
          Tests attempting to publish an empty list of components in a situation where there are already components for the component set.
 void test_publishDerivedComponents_empty_componentSetId()
           
 void test_publishDerivedComponents_invalidComponentSetId_onComponents()
           
 void test_publishDerivedComponents_null_components()
           
 void test_publishDerivedComponents_null_componentSetId()
           
 void test_publishDerivedComponents()
           
 void test_translateCollections_both()
           
 void test_translateCollections_components()
           
 void test_translateCollections_derivedComponents()
           
 void test_translateCollections_emptyList()
           
 void test_translateCollections_nullList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentServiceImplTest

public ComponentServiceImplTest()
Method Detail

setComponentService

public void setComponentService(ComponentService componentService)

getComponentService

public ComponentService getComponentService()

test_getComponentByCode_null_namespaceCode

public void test_getComponentByCode_null_namespaceCode()
                                                throws Exception
Throws:
Exception

test_getComponentByCode_empty_namespaceCode

public void test_getComponentByCode_empty_namespaceCode()
                                                 throws Exception
Throws:
Exception

test_getComponentByCode_blank_namespaceCode

public void test_getComponentByCode_blank_namespaceCode()
                                                 throws Exception
Throws:
Exception

test_getComponentByCode_null_componentCode

public void test_getComponentByCode_null_componentCode()
                                                throws Exception
Throws:
Exception

test_getComponentByCode_empty_componentCode

public void test_getComponentByCode_empty_componentCode()
                                                 throws Exception
Throws:
Exception

test_getComponentByCode_blank_componentCode

public void test_getComponentByCode_blank_componentCode()
                                                 throws Exception
Throws:
Exception

test_getComponentByCode_exists

public void test_getComponentByCode_exists()
                                    throws Exception
Throws:
Exception

test_getComponentsByCode_not_exists

public void test_getComponentsByCode_not_exists()
                                         throws Exception
Throws:
Exception

test_getAllComponentsByNamespaceCode_null_namespaceCode

public void test_getAllComponentsByNamespaceCode_null_namespaceCode()
                                                             throws Exception
Throws:
Exception

test_getAllComponentsByNamespaceCode_empty_namespaceCode

public void test_getAllComponentsByNamespaceCode_empty_namespaceCode()
                                                              throws Exception
Throws:
Exception

test_getAllComponentsByNamespaceCode_blank_namespaceCode

public void test_getAllComponentsByNamespaceCode_blank_namespaceCode()
                                                              throws Exception
Throws:
Exception

test_getAllComponentsByNamespaceCode_exists

public void test_getAllComponentsByNamespaceCode_exists()
                                                 throws Exception
Throws:
Exception

test_getAllComponentsByNamespaceCode_not_exists

public void test_getAllComponentsByNamespaceCode_not_exists()
                                                     throws Exception
Throws:
Exception

test_getAllComponentsByNamespaceCode_with_derived

public void test_getAllComponentsByNamespaceCode_with_derived()
                                                       throws Exception
Throws:
Exception

test_getActiveComponentsByNamespaceCode_null_namespaceCode

public void test_getActiveComponentsByNamespaceCode_null_namespaceCode()
                                                                throws Exception
Throws:
Exception

test_getActiveComponentsByNamespaceCode_empty_namespaceCode

public void test_getActiveComponentsByNamespaceCode_empty_namespaceCode()
                                                                 throws Exception
Throws:
Exception

test_getActiveComponentsByNamespaceCode_blank_namespaceCode

public void test_getActiveComponentsByNamespaceCode_blank_namespaceCode()
                                                                 throws Exception
Throws:
Exception

test_getActiveComponentsByNamespaceCode_exists

public void test_getActiveComponentsByNamespaceCode_exists()
                                                    throws Exception
Throws:
Exception

test_getActiveComponentsByNamespaceCode_not_exists

public void test_getActiveComponentsByNamespaceCode_not_exists()
                                                        throws Exception
Throws:
Exception

test_getActiveComponentsByNamespaceCode_with_derived

public void test_getActiveComponentsByNamespaceCode_with_derived()
                                                          throws Exception
Throws:
Exception

test_getDerivedComponentSet_null_componentSetId

public void test_getDerivedComponentSet_null_componentSetId()
                                                     throws Exception
Throws:
Exception

test_getDerivedComponentSet_empty_componentSetId

public void test_getDerivedComponentSet_empty_componentSetId()
                                                      throws Exception
Throws:
Exception

test_getDerivedComponentSet_blank_componentSetId

public void test_getDerivedComponentSet_blank_componentSetId()
                                                      throws Exception
Throws:
Exception

test_getDerivedComponentSet_not_exists

public void test_getDerivedComponentSet_not_exists()
                                            throws Exception
Throws:
Exception

test_publishDerivedComponents_null_componentSetId

public void test_publishDerivedComponents_null_componentSetId()
                                                       throws Exception
Throws:
Exception

test_publishDerivedComponents_empty_componentSetId

public void test_publishDerivedComponents_empty_componentSetId()
                                                        throws Exception
Throws:
Exception

test_publishDerivedComponents_blank_componentSetId

public void test_publishDerivedComponents_blank_componentSetId()
                                                        throws Exception
Throws:
Exception

test_publishDerivedComponents_invalidComponentSetId_onComponents

public void test_publishDerivedComponents_invalidComponentSetId_onComponents()
                                                                      throws Exception
Throws:
Exception

test_publishDerivedComponents_null_components

public void test_publishDerivedComponents_null_components()
                                                   throws Exception
Throws:
Exception

test_publishDerivedComponents_empty_components_withExisting_componentSet

public void test_publishDerivedComponents_empty_components_withExisting_componentSet()
                                                                              throws Exception
Tests attempting to publish an empty list of components in a situation where there are already components for the component set.

Throws:
Exception

test_publishDerivedComponents

public void test_publishDerivedComponents()
                                   throws Exception
Throws:
Exception

test_calculateChecksum_orderIndependent

public void test_calculateChecksum_orderIndependent()
                                             throws Exception
Tests that the calculateChecksum method returns the same checksum regardless of the order of the elements given to it.

Throws:
Exception

test_calculateChecksum_emptyList

public void test_calculateChecksum_emptyList()
                                      throws Exception
Throws:
Exception

test_translateCollections_nullList

public void test_translateCollections_nullList()
                                        throws Exception
Throws:
Exception

test_translateCollections_emptyList

public void test_translateCollections_emptyList()
                                         throws Exception
Throws:
Exception

test_translateCollections_components

public void test_translateCollections_components()
                                          throws Exception
Throws:
Exception

test_translateCollections_derivedComponents

public void test_translateCollections_derivedComponents()
                                                 throws Exception
Throws:
Exception

test_translateCollections_both

public void test_translateCollections_both()
                                    throws Exception
Throws:
Exception


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