ae_easy-test 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/AeEasy.html +116 -116
- data/doc/AeEasy/Core.html +116 -116
- data/doc/AeEasy/Core/Mock.html +114 -114
- data/doc/AeEasy/Core/Mock/FakeExecutor.html +1523 -1523
- data/doc/AeEasy/Core/Modk.html +104 -104
- data/doc/AeEasy/Core/Plugin.html +116 -116
- data/doc/AeEasy/Core/Plugin/ExecutorBehavior.html +186 -186
- data/doc/AeEasy/Test.html +520 -520
- data/doc/AeEasy/Test/Helper.html +1300 -1300
- data/doc/AeEasy/Test/RecordTask.html +1836 -1836
- data/doc/_index.html +238 -236
- data/doc/class_list.html +51 -51
- data/doc/css/full_list.css +58 -58
- data/doc/css/style.css +496 -496
- data/doc/file.README.html +69 -69
- data/doc/file_list.html +56 -56
- data/doc/frames.html +17 -17
- data/doc/index.html +69 -69
- data/doc/js/app.js +303 -292
- data/doc/js/full_list.js +216 -216
- data/doc/js/jquery.js +3 -3
- data/doc/method_list.html +435 -427
- data/doc/top-level-namespace.html +190 -109
- data/lib/ae_easy/test/version.rb +1 -1
- data/lib/ae_easy_override/core/mock/fake_executor.rb +1 -1
- metadata +2 -2
data/doc/AeEasy/Test.html
CHANGED
@@ -1,493 +1,493 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Module: AeEasy::Test
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
pathId = "AeEasy::Test";
|
19
|
-
relpath = '../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="../_index.html">Index (T)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">Test</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Module: AeEasy::Test
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<dl>
|
80
|
-
<dt>Defined in:</dt>
|
81
|
-
<dd>lib/ae_easy/test.rb<span class="defines">,<br />
|
82
|
-
lib/ae_easy/test/rake.rb,<br /> lib/ae_easy/test/helper.rb,<br /> lib/ae_easy/test/version.rb</span>
|
83
|
-
</dd>
|
84
|
-
</dl>
|
85
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
<h2>Defined Under Namespace</h2>
|
89
|
-
<p class="children">
|
90
|
-
|
91
|
-
|
92
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Test/Helper.html" title="AeEasy::Test::Helper (module)">Helper</a></span>
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Test/RecordTask.html" title="AeEasy::Test::RecordTask (class)">RecordTask</a></span>
|
97
|
-
|
98
|
-
|
99
|
-
</p>
|
100
|
-
|
101
|
-
|
102
|
-
<h2>
|
103
|
-
Constant Summary
|
104
|
-
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
105
|
-
</h2>
|
106
|
-
|
107
|
-
<dl class="constants">
|
108
|
-
|
109
|
-
<dt id="VERSION-constant" class="">VERSION =
|
110
|
-
<div class="docstring">
|
111
|
-
<div class="discussion">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Module: AeEasy::Test
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.19
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
pathId = "AeEasy::Test";
|
19
|
+
relpath = '../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../_index.html">Index (T)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">Test</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Module: AeEasy::Test
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/ae_easy/test.rb<span class="defines">,<br />
|
82
|
+
lib/ae_easy/test/rake.rb,<br /> lib/ae_easy/test/helper.rb,<br /> lib/ae_easy/test/version.rb</span>
|
83
|
+
</dd>
|
84
|
+
</dl>
|
85
|
+
|
86
|
+
</div>
|
87
|
+
|
88
|
+
<h2>Defined Under Namespace</h2>
|
89
|
+
<p class="children">
|
90
|
+
|
91
|
+
|
92
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Test/Helper.html" title="AeEasy::Test::Helper (module)">Helper</a></span>
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Test/RecordTask.html" title="AeEasy::Test::RecordTask (class)">RecordTask</a></span>
|
97
|
+
|
98
|
+
|
99
|
+
</p>
|
100
|
+
|
101
|
+
|
102
|
+
<h2>
|
103
|
+
Constant Summary
|
104
|
+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
105
|
+
</h2>
|
106
|
+
|
107
|
+
<dl class="constants">
|
108
|
+
|
109
|
+
<dt id="VERSION-constant" class="">VERSION =
|
110
|
+
<div class="docstring">
|
111
|
+
<div class="discussion">
|
112
112
|
|
113
113
|
<p>Gem version</p>
|
114
|
-
|
115
|
-
|
116
|
-
</div>
|
117
|
-
</div>
|
118
|
-
<div class="tags">
|
119
|
-
|
120
|
-
|
121
|
-
</div>
|
122
|
-
</dt>
|
123
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.
|
124
|
-
|
125
|
-
</dl>
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
<h2>
|
136
|
-
Class Method Summary
|
137
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
138
|
-
</h2>
|
139
|
-
|
140
|
-
<ul class="summary">
|
141
|
-
|
142
|
-
<li class="public ">
|
143
|
-
<span class="summary_signature">
|
144
|
-
|
145
|
-
<a href="#disable_test_mode-class_method" title="disable_test_mode (class method)">.<strong>disable_test_mode</strong> ⇒ Object </a>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
</span>
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
114
|
+
|
115
|
+
|
116
|
+
</div>
|
117
|
+
</div>
|
118
|
+
<div class="tags">
|
119
|
+
|
120
|
+
|
121
|
+
</div>
|
122
|
+
</dt>
|
123
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.3</span><span class='tstring_end'>"</span></span></pre></dd>
|
124
|
+
|
125
|
+
</dl>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
<h2>
|
136
|
+
Class Method Summary
|
137
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
138
|
+
</h2>
|
139
|
+
|
140
|
+
<ul class="summary">
|
141
|
+
|
142
|
+
<li class="public ">
|
143
|
+
<span class="summary_signature">
|
144
|
+
|
145
|
+
<a href="#disable_test_mode-class_method" title="disable_test_mode (class method)">.<strong>disable_test_mode</strong> ⇒ Object </a>
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
</span>
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
159
|
<span class="summary_desc"><div class='inline'>
|
160
160
|
<p>Disable test mode inside executors.</p>
|
161
|
-
</div></span>
|
162
|
-
|
163
|
-
</li>
|
164
|
-
|
165
|
-
|
166
|
-
<li class="public ">
|
167
|
-
<span class="summary_signature">
|
168
|
-
|
169
|
-
<a href="#enable_test_mode-class_method" title="enable_test_mode (class method)">.<strong>enable_test_mode</strong> ⇒ Object </a>
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
</span>
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
161
|
+
</div></span>
|
162
|
+
|
163
|
+
</li>
|
164
|
+
|
165
|
+
|
166
|
+
<li class="public ">
|
167
|
+
<span class="summary_signature">
|
168
|
+
|
169
|
+
<a href="#enable_test_mode-class_method" title="enable_test_mode (class method)">.<strong>enable_test_mode</strong> ⇒ Object </a>
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
</span>
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
183
|
<span class="summary_desc"><div class='inline'>
|
184
184
|
<p>Enable test mode inside executors.</p>
|
185
|
-
</div></span>
|
186
|
-
|
187
|
-
</li>
|
188
|
-
|
189
|
-
|
190
|
-
<li class="public ">
|
191
|
-
<span class="summary_signature">
|
192
|
-
|
193
|
-
<a href="#test_mode%3F-class_method" title="test_mode? (class method)">.<strong>test_mode?</strong> ⇒ Boolean </a>
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
</span>
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
185
|
+
</div></span>
|
186
|
+
|
187
|
+
</li>
|
188
|
+
|
189
|
+
|
190
|
+
<li class="public ">
|
191
|
+
<span class="summary_signature">
|
192
|
+
|
193
|
+
<a href="#test_mode%3F-class_method" title="test_mode? (class method)">.<strong>test_mode?</strong> ⇒ Boolean </a>
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
</span>
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
207
|
<span class="summary_desc"><div class='inline'>
|
208
208
|
<p>Check if test mode is enabled inside executors.</p>
|
209
|
-
</div></span>
|
210
|
-
|
211
|
-
</li>
|
212
|
-
|
213
|
-
|
214
|
-
<li class="public ">
|
215
|
-
<span class="summary_signature">
|
216
|
-
|
217
|
-
<a href="#verbose_log-class_method" title="verbose_log (class method)">.<strong>verbose_log</strong>(message, data = nil, log_caller = nil) ⇒ Object </a>
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
</span>
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
209
|
+
</div></span>
|
210
|
+
|
211
|
+
</li>
|
212
|
+
|
213
|
+
|
214
|
+
<li class="public ">
|
215
|
+
<span class="summary_signature">
|
216
|
+
|
217
|
+
<a href="#verbose_log-class_method" title="verbose_log (class method)">.<strong>verbose_log</strong>(message, data = nil, log_caller = nil) ⇒ Object </a>
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
</span>
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
231
|
<span class="summary_desc"><div class='inline'>
|
232
232
|
<p>Verbose data log within caller backtrace.</p>
|
233
|
-
</div></span>
|
234
|
-
|
235
|
-
</li>
|
236
|
-
|
237
|
-
|
238
|
-
<li class="public ">
|
239
|
-
<span class="summary_signature">
|
240
|
-
|
241
|
-
<a href="#verbose_match_diff-class_method" title="verbose_match_diff (class method)">.<strong>verbose_match_diff</strong>(type, diff, log_caller = nil) ⇒ Object </a>
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
</span>
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
233
|
+
</div></span>
|
234
|
+
|
235
|
+
</li>
|
236
|
+
|
237
|
+
|
238
|
+
<li class="public ">
|
239
|
+
<span class="summary_signature">
|
240
|
+
|
241
|
+
<a href="#verbose_match_diff-class_method" title="verbose_match_diff (class method)">.<strong>verbose_match_diff</strong>(type, diff, log_caller = nil) ⇒ Object </a>
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
</span>
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
255
255
|
<span class="summary_desc"><div class='inline'>
|
256
256
|
<p>Verbose a match diff.</p>
|
257
|
-
</div></span>
|
258
|
-
|
259
|
-
</li>
|
260
|
-
|
261
|
-
|
262
|
-
</ul>
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
<div id="class_method_details" class="method_details_list">
|
268
|
-
<h2>Class Method Details</h2>
|
269
|
-
|
270
|
-
|
271
|
-
<div class="method_details first">
|
272
|
-
<h3 class="signature first" id="disable_test_mode-class_method">
|
273
|
-
|
274
|
-
.<strong>disable_test_mode</strong> ⇒ <tt>Object</tt>
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
</h3><div class="docstring">
|
281
|
-
<div class="discussion">
|
257
|
+
</div></span>
|
258
|
+
|
259
|
+
</li>
|
260
|
+
|
261
|
+
|
262
|
+
</ul>
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
<div id="class_method_details" class="method_details_list">
|
268
|
+
<h2>Class Method Details</h2>
|
269
|
+
|
270
|
+
|
271
|
+
<div class="method_details first">
|
272
|
+
<h3 class="signature first" id="disable_test_mode-class_method">
|
273
|
+
|
274
|
+
.<strong>disable_test_mode</strong> ⇒ <tt>Object</tt>
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
</h3><div class="docstring">
|
281
|
+
<div class="discussion">
|
282
282
|
|
283
283
|
<p>Disable test mode inside executors.</p>
|
284
|
-
|
285
|
-
|
286
|
-
</div>
|
287
|
-
</div>
|
288
|
-
<div class="tags">
|
289
|
-
|
290
|
-
|
291
|
-
</div><table class="source_code">
|
292
|
-
<tr>
|
293
|
-
<td>
|
284
|
+
|
285
|
+
|
286
|
+
</div>
|
287
|
+
</div>
|
288
|
+
<div class="tags">
|
289
|
+
|
290
|
+
|
291
|
+
</div><table class="source_code">
|
292
|
+
<tr>
|
293
|
+
<td>
|
294
294
|
<pre class="lines">
|
295
295
|
|
296
296
|
|
297
297
|
16
|
298
298
|
17
|
299
|
-
18</pre>
|
300
|
-
</td>
|
301
|
-
<td>
|
299
|
+
18</pre>
|
300
|
+
</td>
|
301
|
+
<td>
|
302
302
|
<pre class="code"><span class="info file"># File 'lib/ae_easy/test.rb', line 16</span>
|
303
303
|
|
304
304
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_disable_test_mode'>disable_test_mode</span>
|
305
305
|
<span class='cvar'>@@test_mode</span> <span class='op'>=</span> <span class='kw'>false</span>
|
306
|
-
<span class='kw'>end</span></pre>
|
307
|
-
</td>
|
308
|
-
</tr>
|
309
|
-
</table>
|
310
|
-
</div>
|
311
|
-
|
312
|
-
<div class="method_details ">
|
313
|
-
<h3 class="signature " id="enable_test_mode-class_method">
|
314
|
-
|
315
|
-
.<strong>enable_test_mode</strong> ⇒ <tt>Object</tt>
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
</h3><div class="docstring">
|
322
|
-
<div class="discussion">
|
306
|
+
<span class='kw'>end</span></pre>
|
307
|
+
</td>
|
308
|
+
</tr>
|
309
|
+
</table>
|
310
|
+
</div>
|
311
|
+
|
312
|
+
<div class="method_details ">
|
313
|
+
<h3 class="signature " id="enable_test_mode-class_method">
|
314
|
+
|
315
|
+
.<strong>enable_test_mode</strong> ⇒ <tt>Object</tt>
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
</h3><div class="docstring">
|
322
|
+
<div class="discussion">
|
323
323
|
|
324
324
|
<p>Enable test mode inside executors.</p>
|
325
|
-
|
326
|
-
|
327
|
-
</div>
|
328
|
-
</div>
|
329
|
-
<div class="tags">
|
330
|
-
|
331
|
-
|
332
|
-
</div><table class="source_code">
|
333
|
-
<tr>
|
334
|
-
<td>
|
325
|
+
|
326
|
+
|
327
|
+
</div>
|
328
|
+
</div>
|
329
|
+
<div class="tags">
|
330
|
+
|
331
|
+
|
332
|
+
</div><table class="source_code">
|
333
|
+
<tr>
|
334
|
+
<td>
|
335
335
|
<pre class="lines">
|
336
336
|
|
337
337
|
|
338
338
|
11
|
339
339
|
12
|
340
|
-
13</pre>
|
341
|
-
</td>
|
342
|
-
<td>
|
340
|
+
13</pre>
|
341
|
+
</td>
|
342
|
+
<td>
|
343
343
|
<pre class="code"><span class="info file"># File 'lib/ae_easy/test.rb', line 11</span>
|
344
344
|
|
345
345
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_enable_test_mode'>enable_test_mode</span>
|
346
346
|
<span class='cvar'>@@test_mode</span> <span class='op'>=</span> <span class='kw'>true</span>
|
347
|
-
<span class='kw'>end</span></pre>
|
348
|
-
</td>
|
349
|
-
</tr>
|
350
|
-
</table>
|
351
|
-
</div>
|
352
|
-
|
353
|
-
<div class="method_details ">
|
354
|
-
<h3 class="signature " id="test_mode?-class_method">
|
355
|
-
|
356
|
-
.<strong>test_mode?</strong> ⇒ <tt>Boolean</tt>
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
</h3><div class="docstring">
|
363
|
-
<div class="discussion">
|
347
|
+
<span class='kw'>end</span></pre>
|
348
|
+
</td>
|
349
|
+
</tr>
|
350
|
+
</table>
|
351
|
+
</div>
|
352
|
+
|
353
|
+
<div class="method_details ">
|
354
|
+
<h3 class="signature " id="test_mode?-class_method">
|
355
|
+
|
356
|
+
.<strong>test_mode?</strong> ⇒ <tt>Boolean</tt>
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
</h3><div class="docstring">
|
363
|
+
<div class="discussion">
|
364
364
|
|
365
365
|
<p>Check if test mode is enabled inside executors.</p>
|
366
|
-
|
367
|
-
|
368
|
-
</div>
|
369
|
-
</div>
|
370
|
-
<div class="tags">
|
371
|
-
|
372
|
-
<p class="tag_title">Returns:</p>
|
373
|
-
<ul class="return">
|
374
|
-
|
375
|
-
<li>
|
376
|
-
|
377
|
-
|
378
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
—
|
366
|
+
|
367
|
+
|
368
|
+
</div>
|
369
|
+
</div>
|
370
|
+
<div class="tags">
|
371
|
+
|
372
|
+
<p class="tag_title">Returns:</p>
|
373
|
+
<ul class="return">
|
374
|
+
|
375
|
+
<li>
|
376
|
+
|
377
|
+
|
378
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
379
|
+
|
380
|
+
|
381
|
+
|
382
|
+
—
|
383
383
|
<div class='inline'>
|
384
384
|
<p>`true` when test mode enabled, else `false`.</p>
|
385
|
-
</div>
|
386
|
-
|
387
|
-
</li>
|
388
|
-
|
389
|
-
</ul>
|
390
|
-
|
391
|
-
</div><table class="source_code">
|
392
|
-
<tr>
|
393
|
-
<td>
|
385
|
+
</div>
|
386
|
+
|
387
|
+
</li>
|
388
|
+
|
389
|
+
</ul>
|
390
|
+
|
391
|
+
</div><table class="source_code">
|
392
|
+
<tr>
|
393
|
+
<td>
|
394
394
|
<pre class="lines">
|
395
395
|
|
396
396
|
|
397
397
|
23
|
398
398
|
24
|
399
|
-
25</pre>
|
400
|
-
</td>
|
401
|
-
<td>
|
399
|
+
25</pre>
|
400
|
+
</td>
|
401
|
+
<td>
|
402
402
|
<pre class="code"><span class="info file"># File 'lib/ae_easy/test.rb', line 23</span>
|
403
403
|
|
404
404
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_test_mode?'>test_mode?</span>
|
405
405
|
<span class='cvar'>@@test_mode</span> <span class='op'>||=</span> <span class='kw'>false</span>
|
406
|
-
<span class='kw'>end</span></pre>
|
407
|
-
</td>
|
408
|
-
</tr>
|
409
|
-
</table>
|
410
|
-
</div>
|
411
|
-
|
412
|
-
<div class="method_details ">
|
413
|
-
<h3 class="signature " id="verbose_log-class_method">
|
414
|
-
|
415
|
-
.<strong>verbose_log</strong>(message, data = nil, log_caller = nil) ⇒ <tt>Object</tt>
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
</h3><div class="docstring">
|
422
|
-
<div class="discussion">
|
406
|
+
<span class='kw'>end</span></pre>
|
407
|
+
</td>
|
408
|
+
</tr>
|
409
|
+
</table>
|
410
|
+
</div>
|
411
|
+
|
412
|
+
<div class="method_details ">
|
413
|
+
<h3 class="signature " id="verbose_log-class_method">
|
414
|
+
|
415
|
+
.<strong>verbose_log</strong>(message, data = nil, log_caller = nil) ⇒ <tt>Object</tt>
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
</h3><div class="docstring">
|
422
|
+
<div class="discussion">
|
423
423
|
|
424
424
|
<p>Verbose data log within caller backtrace.</p>
|
425
|
-
|
426
|
-
|
427
|
-
</div>
|
428
|
-
</div>
|
429
|
-
<div class="tags">
|
430
|
-
<p class="tag_title">Parameters:</p>
|
431
|
-
<ul class="param">
|
432
|
-
|
433
|
-
<li>
|
434
|
-
|
435
|
-
<span class='name'>message</span>
|
436
|
-
|
437
|
-
|
438
|
-
<span class='type'>(<tt>String</tt>)</span>
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
—
|
425
|
+
|
426
|
+
|
427
|
+
</div>
|
428
|
+
</div>
|
429
|
+
<div class="tags">
|
430
|
+
<p class="tag_title">Parameters:</p>
|
431
|
+
<ul class="param">
|
432
|
+
|
433
|
+
<li>
|
434
|
+
|
435
|
+
<span class='name'>message</span>
|
436
|
+
|
437
|
+
|
438
|
+
<span class='type'>(<tt>String</tt>)</span>
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
—
|
443
443
|
<div class='inline'>
|
444
444
|
<p>Message to display.</p>
|
445
|
-
</div>
|
446
|
-
|
447
|
-
</li>
|
448
|
-
|
449
|
-
<li>
|
450
|
-
|
451
|
-
<span class='name'>data</span>
|
452
|
-
|
453
|
-
|
454
|
-
<span class='type'>(<tt>Object</tt>, <tt>nil</tt>)</span>
|
455
|
-
|
456
|
-
|
457
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
458
|
-
|
459
|
-
|
460
|
-
—
|
445
|
+
</div>
|
446
|
+
|
447
|
+
</li>
|
448
|
+
|
449
|
+
<li>
|
450
|
+
|
451
|
+
<span class='name'>data</span>
|
452
|
+
|
453
|
+
|
454
|
+
<span class='type'>(<tt>Object</tt>, <tt>nil</tt>)</span>
|
455
|
+
|
456
|
+
|
457
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
458
|
+
|
459
|
+
|
460
|
+
—
|
461
461
|
<div class='inline'>
|
462
462
|
<p>(nil) Data to inspect.</p>
|
463
|
-
</div>
|
464
|
-
|
465
|
-
</li>
|
466
|
-
|
467
|
-
<li>
|
468
|
-
|
469
|
-
<span class='name'>log_caller</span>
|
470
|
-
|
471
|
-
|
472
|
-
<span class='type'>(<tt>Array</tt>)</span>
|
473
|
-
|
474
|
-
|
475
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
476
|
-
|
477
|
-
|
478
|
-
—
|
463
|
+
</div>
|
464
|
+
|
465
|
+
</li>
|
466
|
+
|
467
|
+
<li>
|
468
|
+
|
469
|
+
<span class='name'>log_caller</span>
|
470
|
+
|
471
|
+
|
472
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
473
|
+
|
474
|
+
|
475
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
476
|
+
|
477
|
+
|
478
|
+
—
|
479
479
|
<div class='inline'>
|
480
480
|
<p>(nil) Log caller. Defaults to method caller.</p>
|
481
|
-
</div>
|
482
|
-
|
483
|
-
</li>
|
484
|
-
|
485
|
-
</ul>
|
486
|
-
|
487
|
-
|
488
|
-
</div><table class="source_code">
|
489
|
-
<tr>
|
490
|
-
<td>
|
481
|
+
</div>
|
482
|
+
|
483
|
+
</li>
|
484
|
+
|
485
|
+
</ul>
|
486
|
+
|
487
|
+
|
488
|
+
</div><table class="source_code">
|
489
|
+
<tr>
|
490
|
+
<td>
|
491
491
|
<pre class="lines">
|
492
492
|
|
493
493
|
|
@@ -496,9 +496,9 @@
|
|
496
496
|
34
|
497
497
|
35
|
498
498
|
36
|
499
|
-
37</pre>
|
500
|
-
</td>
|
501
|
-
<td>
|
499
|
+
37</pre>
|
500
|
+
</td>
|
501
|
+
<td>
|
502
502
|
<pre class="code"><span class="info file"># File 'lib/ae_easy/test.rb', line 32</span>
|
503
503
|
|
504
504
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_verbose_log'>verbose_log</span> <span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_log_caller'>log_caller</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
@@ -506,73 +506,73 @@
|
|
506
506
|
<span class='id identifier rubyid_caller_infos'>caller_infos</span> <span class='op'>=</span> <span class='id identifier rubyid_log_caller'>log_caller</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>:</span><span class='tstring_end'>"</span></span>
|
507
507
|
<span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>nil</span><span class='tstring_end'>'</span></span> <span class='op'>:</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_pretty_generate'>pretty_generate</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
508
508
|
<span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_caller_infos'>caller_infos</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_caller_infos'>caller_infos</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'> - </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_message'>message</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_text'>text</span><span class='embexpr_end'>}</span><span class='tstring_content'>\n\n</span><span class='tstring_end'>"</span></span>
|
509
|
-
<span class='kw'>end</span></pre>
|
510
|
-
</td>
|
511
|
-
</tr>
|
512
|
-
</table>
|
513
|
-
</div>
|
514
|
-
|
515
|
-
<div class="method_details ">
|
516
|
-
<h3 class="signature " id="verbose_match_diff-class_method">
|
517
|
-
|
518
|
-
.<strong>verbose_match_diff</strong>(type, diff, log_caller = nil) ⇒ <tt>Object</tt>
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
</h3><div class="docstring">
|
525
|
-
<div class="discussion">
|
509
|
+
<span class='kw'>end</span></pre>
|
510
|
+
</td>
|
511
|
+
</tr>
|
512
|
+
</table>
|
513
|
+
</div>
|
514
|
+
|
515
|
+
<div class="method_details ">
|
516
|
+
<h3 class="signature " id="verbose_match_diff-class_method">
|
517
|
+
|
518
|
+
.<strong>verbose_match_diff</strong>(type, diff, log_caller = nil) ⇒ <tt>Object</tt>
|
519
|
+
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
|
524
|
+
</h3><div class="docstring">
|
525
|
+
<div class="discussion">
|
526
526
|
|
527
527
|
<p>Verbose a match diff.</p>
|
528
|
-
|
529
|
-
|
530
|
-
</div>
|
531
|
-
</div>
|
532
|
-
<div class="tags">
|
533
|
-
<p class="tag_title">Parameters:</p>
|
534
|
-
<ul class="param">
|
535
|
-
|
536
|
-
<li>
|
537
|
-
|
538
|
-
<span class='name'>diff</span>
|
539
|
-
|
540
|
-
|
541
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
—
|
528
|
+
|
529
|
+
|
530
|
+
</div>
|
531
|
+
</div>
|
532
|
+
<div class="tags">
|
533
|
+
<p class="tag_title">Parameters:</p>
|
534
|
+
<ul class="param">
|
535
|
+
|
536
|
+
<li>
|
537
|
+
|
538
|
+
<span class='name'>diff</span>
|
539
|
+
|
540
|
+
|
541
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
—
|
546
546
|
<div class='inline'>
|
547
547
|
<p>Match diff to verbose.</p>
|
548
|
-
</div>
|
549
|
-
|
550
|
-
</li>
|
551
|
-
|
552
|
-
<li>
|
553
|
-
|
554
|
-
<span class='name'>log_caller</span>
|
555
|
-
|
556
|
-
|
557
|
-
<span class='type'>(<tt>Array</tt>)</span>
|
558
|
-
|
559
|
-
|
560
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
561
|
-
|
562
|
-
|
563
|
-
—
|
548
|
+
</div>
|
549
|
+
|
550
|
+
</li>
|
551
|
+
|
552
|
+
<li>
|
553
|
+
|
554
|
+
<span class='name'>log_caller</span>
|
555
|
+
|
556
|
+
|
557
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
558
|
+
|
559
|
+
|
560
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
561
|
+
|
562
|
+
|
563
|
+
—
|
564
564
|
<div class='inline'>
|
565
565
|
<p>(nil) Log caller. Defaults to method caller.</p>
|
566
|
-
</div>
|
567
|
-
|
568
|
-
</li>
|
569
|
-
|
570
|
-
</ul>
|
571
|
-
|
572
|
-
|
573
|
-
</div><table class="source_code">
|
574
|
-
<tr>
|
575
|
-
<td>
|
566
|
+
</div>
|
567
|
+
|
568
|
+
</li>
|
569
|
+
|
570
|
+
</ul>
|
571
|
+
|
572
|
+
|
573
|
+
</div><table class="source_code">
|
574
|
+
<tr>
|
575
|
+
<td>
|
576
576
|
<pre class="lines">
|
577
577
|
|
578
578
|
|
@@ -583,9 +583,9 @@
|
|
583
583
|
47
|
584
584
|
48
|
585
585
|
49
|
586
|
-
50</pre>
|
587
|
-
</td>
|
588
|
-
<td>
|
586
|
+
50</pre>
|
587
|
+
</td>
|
588
|
+
<td>
|
589
589
|
<pre class="code"><span class="info file"># File 'lib/ae_easy/test.rb', line 43</span>
|
590
590
|
|
591
591
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_verbose_match_diff'>verbose_match_diff</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_diff'>diff</span><span class='comma'>,</span> <span class='id identifier rubyid_log_caller'>log_caller</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
@@ -595,22 +595,22 @@
|
|
595
595
|
<span class='kw'>unless</span> <span class='id identifier rubyid_diff'>diff</span><span class='lbracket'>[</span><span class='symbol'>:expected</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_diff'>diff</span><span class='lbracket'>[</span><span class='symbol'>:expected</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_count'>count</span> <span class='op'><</span> <span class='int'>1</span>
|
596
596
|
<span class='id identifier rubyid_verbose_log'>verbose_log</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Non matching expected </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>: </span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_diff'>diff</span><span class='lbracket'>[</span><span class='symbol'>:expected</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_log_caller'>log_caller</span>
|
597
597
|
<span class='kw'>end</span>
|
598
|
-
<span class='kw'>end</span></pre>
|
599
|
-
</td>
|
600
|
-
</tr>
|
601
|
-
</table>
|
602
|
-
</div>
|
603
|
-
|
604
|
-
</div>
|
605
|
-
|
606
|
-
</div>
|
607
|
-
|
608
|
-
<div id="footer">
|
609
|
-
Generated on
|
610
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
611
|
-
0.9.
|
612
|
-
</div>
|
613
|
-
|
614
|
-
</div>
|
615
|
-
</body>
|
598
|
+
<span class='kw'>end</span></pre>
|
599
|
+
</td>
|
600
|
+
</tr>
|
601
|
+
</table>
|
602
|
+
</div>
|
603
|
+
|
604
|
+
</div>
|
605
|
+
|
606
|
+
</div>
|
607
|
+
|
608
|
+
<div id="footer">
|
609
|
+
Generated on Thu Apr 25 19:39:30 2019 by
|
610
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
611
|
+
0.9.19 (ruby-2.5.3).
|
612
|
+
</div>
|
613
|
+
|
614
|
+
</div>
|
615
|
+
</body>
|
616
616
|
</html>
|