[Design the new POJO MicroContainer] - VFSStructureBuilderUnitTestCase todo
by alesj
How do you test if the classpath is correct?
I currently get 1 ClassPathEntry with "" path, but VFSDeploymentContext::getClassPath returns null.
Is this legit?
This is how I currently do it:
| protected void checkClassPath(VFSDeploymentContext context, ContextInfo contextInfo) throws Exception
| {
| List<ClassPathEntry> classPathEntries = contextInfo.getClassPath();
| List<VirtualFile> classPath = context.getClassPath();
|
| if (classPathEntries == null)
| assertNull(classPath);
| else
| {
| int cpeSize = classPathEntries.size();
| int cpSize = classPath != null ? classPath.size() : 0;
| assertTrue(cpeSize >= cpSize);
| for(int i = 0; i < cpeSize; i++)
| {
| ClassPathEntry entry = classPathEntries.get(i);
| VirtualFile file = (i < cpSize) ? classPath.get(i) : null;
| String path = entry.getPath();
| if ("".equals(path))
| assertTrue(file == null || "".equals(file.getPathName()));
| else
| {
| assertNotNull(file);
| assertEquals(path, file.getPathName());
| }
| }
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135937#4135937
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135937
18 years
[Design of JBoss jBPM] - Re: jBPM With Seam
by fady.matar
It's not about a separation even though I'd like to take that route as well.
What I would like to have is this:
1. Management console: Serving as the management of the whole system, identities, workflows deployment, notification engines, connection to other EAI, etc...
2. Workflow console: Task lists / group tasks / workflow status, etc..
3. BAM / BI console: Bam dashboard, Jasper Reports, BIRT, office integration, etc...
I'm in favor of a modular approach in this regards.
Cheers,
Fady
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135932#4135932
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135932
18 years