]> git.argeo.org Git - gpl/argeo-slc.git/blob - HelloWorldTest.java
96ad315492b2dec5bff82f628c6067a33cb65db2
[gpl/argeo-slc.git] / HelloWorldTest.java
1 package org.argeo.slc.demo.minimal;
2
3
4 public class HelloWorldTest {// extends TestCase {
5 /* public void testHelloWorld() throws Exception {
6 GenericBeanFactoryAccessor context = new GenericBeanFactoryAccessor(
7 createContext());
8 ExecutionFlow flow = context.getBean("main");
9 flow.run();
10 }
11
12 protected ConfigurableApplicationContext createContext() {
13 String[] locations = { "site/org.argeo.slc.demo.groovy/slc/main.xml",
14 "site/org.argeo.slc.demo.groovy/slc/imports.xml" };
15 FileSystemXmlApplicationContext context = new FileSystemXmlApplicationContext(
16 locations);
17 return context;
18 }
19 */
20 }