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 public UMOConnector getConnector() throws Exception
31 {
32 QuartzConnector c = new QuartzConnector();
33 c.setName("QuartzConnector");
34 c.initialise();
35 return c;
36 }
37
38
39
40
41
42
43 public Object getValidMessage() throws Exception
44 {
45 return "test";
46 }
47
48
49
50
51
52
53 public String getTestEndpointURI()
54 {
55 return "quartz:/myService?repeatInterval=1000";
56 }
57 }