1
2
3
4
5
6
7
8
9
10
11 package org.mule.example.scripting;
12
13 import org.mule.tck.FunctionalTestCase;
14
15 import java.util.Properties;
16
17 public abstract class AbstractScriptingExampleTestCase extends FunctionalTestCase
18 {
19
20 protected String getConfigResources()
21 {
22 return "change-machine.xml";
23 }
24
25 abstract protected String getScriptFile();
26
27 abstract protected String getCurrency();
28
29
30 protected Properties getStartUpProperties()
31 {
32 Properties props = new Properties();
33 props.put("scriptfile", getScriptFile());
34 props.put("currency", getCurrency());
35 return props;
36 }
37 }