1
2
3
4
5
6
7
8
9
10
11 package org.mule.providers.quartz;
12
13 import org.mule.tck.providers.AbstractConnectorTestCase;
14 import org.mule.umo.provider.UMOConnector;
15
16 public class QuartzConnectorTestCase extends AbstractConnectorTestCase
17 {
18
19 public QuartzConnectorTestCase()
20 {
21 super();
22 this.setDisposeManagerPerSuite(true);
23 }
24
25
26
27
28
29
30
31 public UMOConnector createConnector() throws Exception
32 {
33 QuartzConnector c = new QuartzConnector();
34 c.setName("QuartzConnector");
35 c.initialise();
36 return c;
37 }
38
39
40
41
42
43
44 public Object getValidMessage() throws Exception
45 {
46 return "test";
47 }
48
49
50
51
52
53
54 public String getTestEndpointURI()
55 {
56 return "quartz:/myService?repeatInterval=1000";
57 }
58 }