|
||||||||||
| 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.TestServiceInvocation
public class TestServiceInvocation
Test that basic service invocation works as specified. Note: These tests assume that the JDBCConfigurationLoader is being used.
| Constructor Summary | |
|---|---|
TestServiceInvocation(java.lang.String name)
Constructs a test case with the given name. |
|
| Method Summary | |
|---|---|
void |
DONTtestSimpleWebServiceClient()
Invoke the configure server via its web service interface. |
void |
DONTtestWebServiceWithUrlViaAccessor()
THIS TEST SKIPPED UNTIL WE NEED WEB SERVICE SUPPORT |
VersionEffectiveDate |
getVersionEffectiveDate()
Always select the latest configuration. |
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testBeanShellInheritance()
Test that the BeanShell accessor's inheritance support is working. |
void |
testBeanShellService()
Test that services writen in BeanShell work correctly. |
void |
testBeanshellUrlLoader()
The Beanshell accessor supports the loading of scripts from URLs. |
void |
testDroolsAccessorCache()
|
void |
testDroolsDecisionTable()
The DroolsDecisionTableAccessor provides access to drools decision table based services. |
void |
testDroolsDecisionTableInheritance()
The DroolsDecisionTableAccessor provides support for "inheritance" which allows the rules defined in one rule spreadsheet to inherit rules from another. |
void |
testDroolsInheritance()
The DroolsDecisionTableAccessor provides access to drools decision table based services. |
void |
testDroolsMemoryLeak()
|
void |
testDroolsService()
|
void |
testDroolsServiceUrlScript()
|
void |
testJaninoInheritance()
The Janino Accessor supports inheritance by allowing Janino services to be 'chained'. |
void |
testJMSService()
|
void |
testMultiLineInvoke()
Test the "normal" multi line service invocation. |
void |
testServiceLogging()
|
void |
testSimpleJaninoService()
The Janino Accessor provides access to services whose logic is defined in a java like syntax. |
void |
testSingleLineInvoke()
Test the single line service invocation facility. |
void |
testXSLT()
|
void |
testXSLTPerformance()
|
| 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 TestServiceInvocation(java.lang.String name)
| Method Detail |
|---|
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic VersionEffectiveDate getVersionEffectiveDate()
getVersionEffectiveDate in interface CoreUsergetVersionEffectiveDate in class CoreUserTestCase
public void testBeanShellService()
throws java.lang.Exception
java.lang.Exception
public void testXSLT()
throws java.lang.Exception
java.lang.Exception
public void testXSLTPerformance()
throws java.lang.Exception
java.lang.Exception
public void testDroolsDecisionTable()
throws java.lang.Exception
java.lang.Exception
public void testDroolsDecisionTableInheritance()
throws java.lang.Exception
java.lang.Exception
public void testDroolsInheritance()
throws java.lang.Exception
java.lang.Exception
public void DONTtestSimpleWebServiceClient()
throws java.lang.Exception
java.lang.Exception
public void testDroolsService()
throws java.lang.Exception
java.lang.Exception
public void testDroolsServiceUrlScript()
throws java.lang.Exception
java.lang.Exception
public void testMultiLineInvoke()
throws java.lang.Exception
java.lang.Exception
public void DONTtestWebServiceWithUrlViaAccessor()
throws java.lang.Exception
java.lang.Exception
public void testSingleLineInvoke()
throws java.lang.Exception
java.lang.Exception
public void testServiceLogging()
throws java.lang.Exception
java.lang.Exception
public void testJMSService()
throws java.lang.Exception
java.lang.Exception
public void testDroolsAccessorCache()
throws java.lang.Exception
java.lang.Exception
public void testBeanShellInheritance()
throws java.lang.Exception
The test configuration (TestServiceInvocationDefaultConfig.xml) defines the BeanShell command
"TestBeanshellInheritanceService" which extends "TestBeanShellService". "TestBeanShellService"
applys a simple rule: if x<100 r=x+y; else r=2*x+y;). The inheriting service
adds it's own rule: if (x>1000) r=x-(2*y);
java.lang.Exception
public void testBeanshellUrlLoader()
throws java.lang.Exception
java.lang.Exception
public void testDroolsMemoryLeak()
throws java.lang.Exception
java.lang.Exception
public void testSimpleJaninoService()
throws java.lang.Exception
java.lang.Exception
public void testJaninoInheritance()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||