This commit was generated by cvs2svn to compensate for changes in r12269,
[u/mrichter/AliRoot.git] / SHUTTLE / test / README
1 This directory contains several tests devided in two groups:
2 (for all tests SHUTTLE package must be built)
3
4 1) Unit tests: TestAliSimpleValue.C TestMessage.C
5         usage: aliroot TestAliSimpleValue.C
6
7 2) General tests and examples: TestClient.C TestServer.C TestShuttle.C 
8         TestShuttleConfig.C
9
10 For TestServer.C and TestShuttle.C test directory must be built.
11
12 TestShuttleConfig.C and TestShuttle.C require ldap server (see SHUTTLE/schema).
13
14
15 usage: (in aliroot)
16         TestClient.C - Simple client macros using AliDCSClient.
17         .x TestClient.C("<host>", <port>, "<alias_list>", <startTime_offset>,
18                 <endTime_offset>)
19
20         <host> - Amanda server host.
21         <port> - Amanda server port.
22         
23         <alias_list> - coma separated list of aliases 
24                 (e.g. "HighVol01,HighVol02").
25         <startTime_offset> - StartTime offset from the current moment.
26         <endTime_offset> - EndTime offset from the current moment.
27
28         
29         TestServer.C - Test server. Could be connected with TestClient.C
30         .x TestServer.C("<port>")
31         <port> - Port which the server will listen to.
32         
33
34         TestShuttle.C
35         .x TestShuttle.C
36
37         TestShuttleConfig.C
38         .x TestShuttleConfig.C
39
40