-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.texttest.gui
112 lines (103 loc) · 4.74 KB
/
config.texttest.gui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[interpreters]
storytext:storytext
[end]
# Settings for creation of test cases
use_case_record_mode:GUI
[run_dependent_text]
outputdyn2:process ID is{WORD -1}
*Config_*:{INTERNAL writedir}{REPLACE <test write dir>}
*Env_*:{INTERNAL writedir}{REPLACE <test write dir>}
# PyGTK 2.10 bug, can't be bothered to work round it in the code as it's already fixed
errors:IA__g_object_remove_toggle_ref: could{LINES 2}
errors:^$
# Common problem with Xvfb
errors:RANDR
# Written to a global location in GTK < 2.20, can cause clashes if tests run in parallel
errors:recently-used.xbel{LINES 2}
# Don't show the entire path!
dynamic_gui_log:^PATH=.*{REPLACE PATH=<path>}
dynamic_gui_log:{INTERNAL writedir}{REPLACE <test write dir>}
dynamic_gui_log:[^/]*[0-9]{2}[A-Za-z][a-z][a-z][0-9]{6}\.[0-9]*{REPLACE <target tmp dir>}
*gui_log:^-> [0-9]* \| (tkdiff|emacs|Dynamic){REPLACE -> <pid> | \1}
*gui_log:+ PID{WORD 3}
*gui_log:[0-9][0-9][A-Za-z][a-z][a-z][0-9][0-9]:[0-9][0-9]:[0-9][0-9]{REPLACE <date/time>}
*gui_log:TextTest source directory{LINES 2}{REPLACE <TextTest source info>}
*gui_log:^\'TextTest:\' \| [^ ]*${WORD -1}{REPLACE '<version>'}
*gui_log:^\'Python:\' \| [^ ]*${WORD -1}{REPLACE '<version>'}
*gui_log:>TextTest ([^ <]*)</span>${REPLACE >TextTest <version></span>}
*gui_log:view a file of size [0-9]* bytes{REPLACE view a file of size <file size> bytes}
# Swedish :) Perhaps should handle any computer language in theory, but this is an easy fix for today's development
*gui_log:Skift{REPLACE Shift}
*gui_log:Page_(Up|Down){REPLACE Page \1}
*gui_log:\'([A-Za-z]:)?/[^ ]*/log/logging.debug{REPLACE '<path_to_texttest>/log/logging.debug}
dynamic_gui_log:Adding entry completion 'Marked at{WORD -2}{REPLACE <date and time>}
dynamic_gui_log:Running on{WORD -1}{REPLACE <machine>}
dynamic_gui_log:result files on{WORD -1}{REPLACE <machine>}
dynamic_gui_log:succeeded on{WORD -1}{REPLACE <machine>}
dynamic_gui_log:FAILED on{WORD -2}{REPLACE <machine>}
dynamic_gui_log:not be run on{WORD -2}{REPLACE <machine>}
dynamic_gui_log:^(Reckoned to be )[^ ]*{REPLACE \1<percent>}
dynamic_gui_log:^\([0-9]* seconds?{REPLACE (<elapsed time>}
dynamic_gui_log:at [0-3][0-9]:[0-6][0-9]{REPLACE at <time of day>}
dynamic_gui_log:From log file reckoned
dynamic_gui_log:seconds on{WORD -1}
# Unfortunately race conditions mean we can't reliably look at these
dynamic_gui_log:Temporary Files
# Traffic tests. Can't filter them there because then we can't tell when they're different...
dynamic_gui_log:The time is now{WORD 5+}{REPLACE <ASCII time>}
dynamic_gui_log:The process ID is{WORD -1}{REPLACE <pid>}
dynamic_gui_log:[^ ]*(/bin/texttest){REPLACE <source directory>\1}
dynamic_gui_log:[0-9]{2}[A-Za-z][a-z][a-z][0-9]{6}{REPLACE <date string>}
dynamic_gui_log:Killing.*Xvfb process{WORD -1}
dynamic_gui_log:Killing running test{WORD -1}
gui_log:{INTERNAL writedir}{REPLACE <test write dir>}
gui_log:Viewing page 'from 3\.[1-3][0-9]'{->}Stock Button
gui_log:Viewing page 'trunk'{->}Stock Button
gui_log:Viewing page 'Quick Start'{->}Stock Button
gui_log:[^/]*[0-9]{2}[A-Za-z][a-z][a-z][0-9]{6}\.[0-9]*{REPLACE <target tmp dir>}
gui_log: File "
# diff output
dynamic_gui_log:1,2c1
jusecaseprops:{INTERNAL writedir}{REPLACE <test write dir>}
jusecaseprops:[^/]*[0-9]{2}[A-Za-z][a-z][a-z][0-9]{6}\.[0-9]*{REPLACE <target tmp dir>}
*Knownbugs*:\[Reported by.*at{WORD 3}{REPLACE <user>}
*Knownbugs*:\[Reported by.*at{WORD 5}{REPLACE <date/time>}
[unordered_text]
# start in the background, so order can be changed
externalmocks:CMD:tkdiff
externalmocks:CMD:emacs
externalmocks:CMD:xterm
[failure_severity]
*gui_log:1
[end]
# Files that are internal details of PyGTK
# we don't care if they change but we need them in a unique
# place to avoid clashes
test_data_ignore:gtk_recently_used
test_data_ignore:xdg_config_home
link_test_path:usecase_for_targetapp
link_test_path:storytext
[test_data_environment]
usecase_for_targetapp:USECASE_FAKE_REPLAY_SCRIPT
storytext:STORYTEXT_HOME
[collate_file]
*Config_*:Target*/config.*
*Config_*:Target*/*/config.*
*Config_*:Target*/*/*/config.*
*Env_*:Target*/environment*
*Env_*:Target*/*/environment*
*Env_*:Target*/*/*/environment*
*Options_*:Target*/options.*
*Options_*:Target*/*/options.*
*Options_*:Target*/*/*/options.*
outputdyn:texttesttmp/*/dynamic_run1/output.log
outputdyn2:texttesttmp/*/dynamic_run2/output.log
outputdyn3:texttesttmp/*/dynamic_run3/output.log
gui_select:texttesttmp/*/dynamic_run1/gui_select
gui_select_rerun:texttesttmp/*/dynamic_run1/*/gui_select
gui_select2:texttesttmp/*/dynamic_run2/gui_select
gui_select3:texttesttmp/*/dynamic_run3/gui_select
jusecaseprops:texttesttmp/*/*/*/jusecase.properties
filter*:TargetApp/filter_files/filter*
[definition_file_stems]
regenerate:*usecase