1%%
2%% %CopyrightBegin%
3%%
4%% Copyright Ericsson AB 2003-2016. All Rights Reserved.
5%%
6%% Licensed under the Apache License, Version 2.0 (the "License");
7%% you may not use this file except in compliance with the License.
8%% You may obtain a copy of the License at
9%%
10%%     http://www.apache.org/licenses/LICENSE-2.0
11%%
12%% Unless required by applicable law or agreed to in writing, software
13%% distributed under the License is distributed on an "AS IS" BASIS,
14%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15%% See the License for the specific language governing permissions and
16%% limitations under the License.
17%%
18%% %CopyrightEnd%
19%%
20
21-define(attr_table,ct_attributes).
22-define(conn_table,ct_connections).
23-define(board_table,ct_boards).
24-define(suite_table,ct_suite_data).
25-define(verbosity_table,ct_verbosity_table).
26-define(def_gl, ct_default_gl).
27
28-record(conn, {handle,
29	       targetref,
30	       address,
31	       callback}).
32
33-record(testspec, {spec_dir,
34	           nodes=[],
35		   init=[],
36		   label=[],
37		   profile=[],
38		   logdir=["."],
39		   logopts=[],
40		   basic_html=[],
41		   esc_chars=[],
42		   verbosity=[],
43		   silent_connections=[],
44		   cover=[],
45		   cover_stop=[],
46		   config=[],
47		   userconfig=[],
48		   event_handler=[],
49		   ct_hooks=[],
50		   enable_builtin_hooks=true,
51		   release_shell=false,
52		   include=[],
53		   auto_compile=[],
54		   abort_if_missing_suites=[],
55		   stylesheet=[],
56		   multiply_timetraps=[],
57		   scale_timetraps=[],
58		   create_priv_dir=[],
59		   alias=[],
60		   tests=[],
61		   unknown=[],
62		   merge_tests=true}).
63
64-record(cover, {app=none,
65		level=details,
66		excl_mods=[],
67		incl_mods=[],
68		cross=[],
69		src=[]}).
70
71-define(CT_EVMGR, ct_event).
72-define(CT_EVMGR_REF, ct_event).
73-define(CT_MEVMGR, ct_master_event).
74-define(CT_MEVMGR_REF, ct_master_event).
75
76-define(missing_suites_info, "missing_suites.info").
77-define(ct_config_txt, ct_config_plain).
78
79-define(ct_profile_file, ".common_test").
80
81-define(css_default, "ct_default.css").
82-define(sortable_table_name, "SortableTable").
83-define(jquery_script, "jquery-latest.js").
84-define(tablesorter_script, "jquery.tablesorter.min.js").
85
86%% Logging information for error handler
87-record(conn_log, {header=true,
88		   client,
89		   name,
90		   address,
91		   conn_pid,
92		   action,
93		   module}).
94