org.kuali.rice.krad.util
Class LegacyDetectorTest
java.lang.Object
org.kuali.rice.krad.util.LegacyDetectorTest
public class LegacyDetectorTest
- extends Object
Tests LegacyDetectionService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyDetectorTest
public LegacyDetectorTest()
setUp
public void setUp()
throws Exception
- Throws:
Exception
tearDown
public void tearDown()
throws Exception
- Throws:
Exception
testKnsDisabledByDefault
public void testKnsDisabledByDefault()
testKnsEnabledByConfig
public void testKnsEnabledByConfig()
testKnsDisabledByConfig
public void testKnsDisabledByConfig()
testLegacyDataFrameworkDisabledByDefault
public void testLegacyDataFrameworkDisabledByDefault()
testLegacyDataFrameworkEnabledByKnsByDefault
public void testLegacyDataFrameworkEnabledByKnsByDefault()
testLegacyDataFrameworkDisabledByKnsByDefault
public void testLegacyDataFrameworkDisabledByKnsByDefault()
testLegacyDataFrameworkEnabledByConfig
public void testLegacyDataFrameworkEnabledByConfig()
testLegacyDataFrameworkDisabledByConfig
public void testLegacyDataFrameworkDisabledByConfig()
testDataObjectNotLegacyWhenDisabled
public void testDataObjectNotLegacyWhenDisabled()
testDataObjectNotLegacyWhenNotLoaded
public void testDataObjectNotLegacyWhenNotLoaded()
testDataObjectIsLegacyWhenEnabledAndLoaded
public void testDataObjectIsLegacyWhenEnabledAndLoaded()
testUseLegacy_InContext
public void testUseLegacy_InContext()
testUseLegacy_LegacyFrameworkDisabled
public void testUseLegacy_LegacyFrameworkDisabled()
testUseLegacyForObject_PassingAClassIsBad
public void testUseLegacyForObject_PassingAClassIsBad()
- Verifies that if you pass an instance of java.lang.Class to useLegacyForObject, that it
throws an IllegalArgumentException since you should use the useLegacy method for that
testBeginLegacyContext_LegacyFrameworkDisabled
public void testBeginLegacyContext_LegacyFrameworkDisabled()
testEndLegacyContext_NoContext
public void testEndLegacyContext_NoContext()
testBeginEndLegacyContext
public void testBeginEndLegacyContext()
testNestedLegacyContext
public void testNestedLegacyContext()
testIllegallyNestedLegacyContext
public void testIllegallyNestedLegacyContext()
testIsOjbLoadedClass
public void testIsOjbLoadedClass()
testIsLegacyManaged_withBusinessObjectEntry
public void testIsLegacyManaged_withBusinessObjectEntry()
- Verifies that isLegacyManaged reports that the object is legacy managed if it has a BusinessObjectEntry and
nothing else.
testIsLegacyManaged_ojbLoaded
public void testIsLegacyManaged_ojbLoaded()
- Verifies that isLegacyManaged reports that the object is legacy managed if it is mapped in OJB.
testIsOjbLoadedClass_NoOjbOnClasspath
public void testIsOjbLoadedClass_NoOjbOnClasspath()
throws Exception
- Ensures false is returned form isOjbLoadedClass if OJB is not on the classpath.
- Throws:
Exception
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.