OSDN Git Service

Initial revision
[pf3gnuchains/pf3gnuchains4x.git] / tix / tests / library / TestLib.txt
1 HIGH LEVEL INTERFACE FOR INTERACTIVE TESTING
2 --------------------------------------------
3 Click:
4
5      Simulates a the event when a user moves the mouse pointer into
6      the widget (if the cursor is still outside of the widget), press
7      the button and release it.
8
9
10 Double:
11
12      Simulates a the event when a user moves the mouse pointer into
13      the widget (if the cursor is still outside of the widget), double-click
14      the button and release it.
15
16
17 MESSAGE PRINTING
18 ----------------
19
20 PutP
21
22     Prints a progress message.
23
24 PutTitle
25
26     Prints the title of a test file
27
28 PutSubTitle
29
30     Print the title of a part of a test file
31
32 PutSubSubTitle
33
34     One more level than PutSubTitle
35
36 TestWarn
37
38     Print a warning message. This will be counted in the final report.
39
40 TestError {msg {printErrInfo 0} {abortMode cont}}
41
42     Print an error message. abortMode controls how the error affects
43     other test cases:
44
45         cont:           simply print the message and continue
46         abortfile:      skip other test cases in this file
47         abortall:       abort the all other tests and exit the test
48                         program.
49
50    printErrInfo specifies whether the "$errorInfo" variable should be
51    printed.
52
53