|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.ail.coretest.CoreUserTestCase
com.ail.coretest.TestProductServices
public class TestProductServices
| Constructor Summary | |
|---|---|
TestProductServices(java.lang.String name)
Constructs a test case with the given name. |
|
| Method Summary | |
|---|---|
VersionEffectiveDate |
getVersionEffectiveDate()
Always select the latest configurations |
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testConfigurationSource()
When Configurations are "reset" the URL of they are loaded from is put into their source property. |
void |
testDefaultTypeInstantiation()
Each product definition must contain a "default" type. |
void |
testListProductsService()
The ListProducts service returns a list of all the products knowm to the system. |
void |
testNonDefaultProductTypeInstantiation()
Each product can define any number of named types. |
void |
testProductDefaultTypeInheritance()
A product definition that extends another may base its types on its parent's types. |
void |
testProductResetService()
|
void |
testRegisterUpdateRemoveHappyPath()
|
void |
testServicesViaCore()
The core class exposes the services offered by the core via easy to use interfaces. |
| Methods inherited from class com.ail.coretest.CoreUserTestCase |
|---|
getConfiguration, getConfigurationNamespace, getCore, getSecurityPrincipal, resetConfiguration, setConfiguration, setCore, setupSystemProperties, setVersionEffectiveDate |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, getName, run, run, runBare, setName, 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestProductServices(java.lang.String name)
| Method Detail |
|---|
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
public VersionEffectiveDate getVersionEffectiveDate()
getVersionEffectiveDate in interface CoreUsergetVersionEffectiveDate in class CoreUserTestCasepublic void testServicesViaCore()
public void testListProductsService()
public void testProductResetService()
public void testDefaultTypeInstantiation()
public void testNonDefaultProductTypeInstantiation()
public void testProductDefaultTypeInheritance()
TestProduct2 defines four attributes and values:
public void testRegisterUpdateRemoveHappyPath()
public void testConfigurationSource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||