concordion 0.9.8 → 0.9.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile.rb +6 -6
- data/lib/concordion.rb +15 -0
- data/nbproject/private/private.properties +2 -4
- data/nbproject/private/rake-d.txt +5 -5
- data/nbproject/project.properties +4 -8
- data/nbproject/project.xml +3 -4
- data/tests/basic_assert.html +19 -1
- data/tests/basic_set.html +20 -6
- data/tests/basic_text.html +19 -9
- data/tests/failing.html +20 -5
- data/tests/failing_test.rb +1 -8
- data/tests/link_style_css.html +13 -1
- data/tests/lookahead_assert_true.html +28 -5
- data/tests/mixed.html +18 -1
- data/tests/return_result.html +20 -3
- data/tests/tables/table.html +47 -5
- data/tests/tables/verify_rows.html +60 -1
- data/tests/user-reported/basic_assert_true.html +25 -2
- data/tests/user-reported/basic_assert_true_test.rb +0 -3
- data/tests/user-reported/rubyish.html +42 -0
- data/tests/user-reported/{no_parens_test.rb → rubyish_test.rb} +1 -1
- metadata +16 -225
- data/README +0 -10
- data/html/classes/ConcordionBinder.html +0 -176
- data/html/classes/ConcordionBinder.src/M000042.html +0 -18
- data/html/classes/ConcordionBinder.src/M000043.html +0 -23
- data/html/classes/ConcordionBinder.src/M000044.html +0 -20
- data/html/classes/ConcordionCSS.html +0 -146
- data/html/classes/ConcordionCSS.src/M000100.html +0 -18
- data/html/classes/ConcordionCSS.src/M000101.html +0 -20
- data/html/classes/ConcordionCSSDecorator.html +0 -242
- data/html/classes/ConcordionCSSDecorator.src/M000011.html +0 -25
- data/html/classes/ConcordionCSSDecorator.src/M000012.html +0 -18
- data/html/classes/ConcordionCSSDecorator.src/M000013.html +0 -18
- data/html/classes/ConcordionCSSDecorator.src/M000014.html +0 -18
- data/html/classes/ConcordionCSSDecorator.src/M000015.html +0 -18
- data/html/classes/ConcordionCSSDecorator.src/M000016.html +0 -18
- data/html/classes/ConcordionCSSDecorator.src/M000017.html +0 -20
- data/html/classes/ConcordionCSSDecorator.src/M000018.html +0 -29
- data/html/classes/ConcordionConfigMethods.html +0 -146
- data/html/classes/ConcordionConfigMethods.src/M000123.html +0 -30
- data/html/classes/ConcordionConfigMethods.src/M000124.html +0 -26
- data/html/classes/ConcordionConstants.html +0 -146
- data/html/classes/ConcordionConstants.src/M000121.html +0 -20
- data/html/classes/ConcordionConstants.src/M000122.html +0 -18
- data/html/classes/ConcordionEnvironment.html +0 -212
- data/html/classes/ConcordionEnvironment.src/M000022.html +0 -18
- data/html/classes/ConcordionEnvironment.src/M000023.html +0 -18
- data/html/classes/ConcordionEnvironment.src/M000024.html +0 -18
- data/html/classes/ConcordionEnvironment.src/M000025.html +0 -18
- data/html/classes/ConcordionEnvironment.src/M000026.html +0 -19
- data/html/classes/ConcordionEnvironment.src/M000027.html +0 -19
- data/html/classes/ConcordionErrorCondition.html +0 -179
- data/html/classes/ConcordionErrorCondition.src/M000032.html +0 -22
- data/html/classes/ConcordionErrorCondition.src/M000033.html +0 -25
- data/html/classes/ConcordionInstrumenter.html +0 -152
- data/html/classes/ConcordionInstrumenter.src/M000045.html +0 -30
- data/html/classes/ConcordionInstrumenter.src/M000046.html +0 -22
- data/html/classes/ConcordionInternalTestMethods.html +0 -213
- data/html/classes/ConcordionInternalTestMethods.src/M000094.html +0 -25
- data/html/classes/ConcordionInternalTestMethods.src/M000095.html +0 -23
- data/html/classes/ConcordionInternalTestMethods.src/M000096.html +0 -26
- data/html/classes/ConcordionInternalTestMethods.src/M000097.html +0 -29
- data/html/classes/ConcordionInternalTestMethods.src/M000098.html +0 -22
- data/html/classes/ConcordionInternalTestMethods.src/M000099.html +0 -18
- data/html/classes/ConcordionInvoker.html +0 -327
- data/html/classes/ConcordionInvoker.src/M000058.html +0 -18
- data/html/classes/ConcordionInvoker.src/M000059.html +0 -26
- data/html/classes/ConcordionInvoker.src/M000060.html +0 -23
- data/html/classes/ConcordionInvoker.src/M000061.html +0 -26
- data/html/classes/ConcordionInvoker.src/M000062.html +0 -27
- data/html/classes/ConcordionInvoker.src/M000063.html +0 -22
- data/html/classes/ConcordionInvoker.src/M000064.html +0 -25
- data/html/classes/ConcordionInvoker.src/M000065.html +0 -26
- data/html/classes/ConcordionInvoker.src/M000066.html +0 -18
- data/html/classes/ConcordionInvoker.src/M000067.html +0 -18
- data/html/classes/ConcordionInvoker.src/M000068.html +0 -18
- data/html/classes/ConcordionInvoker.src/M000069.html +0 -26
- data/html/classes/ConcordionInvoker.src/M000070.html +0 -35
- data/html/classes/ConcordionLookaheadHandler.html +0 -152
- data/html/classes/ConcordionLookaheadHandler.src/M000028.html +0 -18
- data/html/classes/ConcordionLookaheadHandler.src/M000029.html +0 -22
- data/html/classes/ConcordionParseResult.html +0 -369
- data/html/classes/ConcordionParseResult.src/M000076.html +0 -21
- data/html/classes/ConcordionParseResult.src/M000077.html +0 -18
- data/html/classes/ConcordionParseResult.src/M000078.html +0 -18
- data/html/classes/ConcordionParseResult.src/M000079.html +0 -18
- data/html/classes/ConcordionParseResult.src/M000080.html +0 -18
- data/html/classes/ConcordionParseResult.src/M000081.html +0 -18
- data/html/classes/ConcordionParseResult.src/M000082.html +0 -18
- data/html/classes/ConcordionParseResult.src/M000083.html +0 -18
- data/html/classes/ConcordionParseResult.src/M000084.html +0 -19
- data/html/classes/ConcordionParseResult.src/M000085.html +0 -18
- data/html/classes/ConcordionParseResult.src/M000086.html +0 -18
- data/html/classes/ConcordionParseResult.src/M000087.html +0 -21
- data/html/classes/ConcordionParseResult.src/M000088.html +0 -22
- data/html/classes/ConcordionParseResult.src/M000089.html +0 -22
- data/html/classes/ConcordionParser.html +0 -214
- data/html/classes/ConcordionParser.src/M000002.html +0 -21
- data/html/classes/ConcordionParser.src/M000003.html +0 -20
- data/html/classes/ConcordionParser.src/M000004.html +0 -20
- data/html/classes/ConcordionParser.src/M000005.html +0 -26
- data/html/classes/ConcordionProcessor.html +0 -176
- data/html/classes/ConcordionProcessor.src/M000019.html +0 -19
- data/html/classes/ConcordionProcessor.src/M000020.html +0 -22
- data/html/classes/ConcordionProcessor.src/M000021.html +0 -18
- data/html/classes/ConcordionReader.html +0 -144
- data/html/classes/ConcordionReader.src/M000001.html +0 -18
- data/html/classes/ConcordionState.html +0 -299
- data/html/classes/ConcordionState.src/M000052.html +0 -18
- data/html/classes/ConcordionState.src/M000053.html +0 -23
- data/html/classes/ConcordionState.src/M000054.html +0 -18
- data/html/classes/ConcordionState.src/M000055.html +0 -18
- data/html/classes/ConcordionState.src/M000056.html +0 -25
- data/html/classes/ConcordionState.src/M000057.html +0 -28
- data/html/classes/ConcordionStringUtility.html +0 -259
- data/html/classes/ConcordionStringUtility.src/M000102.html +0 -18
- data/html/classes/ConcordionStringUtility.src/M000103.html +0 -18
- data/html/classes/ConcordionStringUtility.src/M000104.html +0 -18
- data/html/classes/ConcordionStringUtility.src/M000105.html +0 -18
- data/html/classes/ConcordionStringUtility.src/M000106.html +0 -18
- data/html/classes/ConcordionStringUtility.src/M000107.html +0 -18
- data/html/classes/ConcordionStringUtility.src/M000108.html +0 -43
- data/html/classes/ConcordionStringUtility.src/M000109.html +0 -18
- data/html/classes/ConcordionStringUtility.src/M000110.html +0 -18
- data/html/classes/ConcordionStringWriter.html +0 -165
- data/html/classes/ConcordionStringWriter.src/M000030.html +0 -19
- data/html/classes/ConcordionStringWriter.src/M000031.html +0 -18
- data/html/classes/ConcordionTestCase.html +0 -220
- data/html/classes/ConcordionTestCase.src/M000006.html +0 -19
- data/html/classes/ConcordionTestCase.src/M000007.html +0 -19
- data/html/classes/ConcordionTestCase.src/M000008.html +0 -19
- data/html/classes/ConcordionTestCase.src/M000009.html +0 -18
- data/html/classes/ConcordionTestCase.src/M000010.html +0 -18
- data/html/classes/ConcordionTestMethods.html +0 -151
- data/html/classes/ConcordionTestMethods.src/M000092.html +0 -24
- data/html/classes/ConcordionUtility.html +0 -229
- data/html/classes/ConcordionUtility.src/M000114.html +0 -18
- data/html/classes/ConcordionUtility.src/M000115.html +0 -34
- data/html/classes/ConcordionUtility.src/M000116.html +0 -22
- data/html/classes/ConcordionUtility.src/M000117.html +0 -18
- data/html/classes/ConcordionUtility.src/M000118.html +0 -22
- data/html/classes/ConcordionUtility.src/M000119.html +0 -18
- data/html/classes/ConcordionUtility.src/M000120.html +0 -25
- data/html/classes/ConcordionVerifier.html +0 -219
- data/html/classes/ConcordionVerifier.src/M000071.html +0 -20
- data/html/classes/ConcordionVerifier.src/M000072.html +0 -20
- data/html/classes/ConcordionVerifier.src/M000073.html +0 -23
- data/html/classes/ConcordionVerifier.src/M000074.html +0 -22
- data/html/classes/ConcordionVerifier.src/M000075.html +0 -28
- data/html/classes/ConcordionWriter.html +0 -244
- data/html/classes/ConcordionWriter.src/M000034.html +0 -18
- data/html/classes/ConcordionWriter.src/M000035.html +0 -20
- data/html/classes/ConcordionWriter.src/M000036.html +0 -18
- data/html/classes/ConcordionWriter.src/M000037.html +0 -18
- data/html/classes/ConcordionWriter.src/M000038.html +0 -21
- data/html/classes/ConcordionWriter.src/M000039.html +0 -22
- data/html/classes/ConcordionWriter.src/M000040.html +0 -18
- data/html/classes/ConcordionWriter.src/M000041.html +0 -18
- data/html/classes/FailConditionally.html +0 -131
- data/html/classes/FailConditionally.src/M000090.html +0 -22
- data/html/classes/GoldmasterTestCase.html +0 -208
- data/html/classes/GoldmasterTestCase.src/M000047.html +0 -22
- data/html/classes/GoldmasterTestCase.src/M000048.html +0 -18
- data/html/classes/GoldmasterTestCase.src/M000049.html +0 -18
- data/html/classes/GoldmasterTestCase.src/M000050.html +0 -18
- data/html/classes/GoldmasterTestCase.src/M000051.html +0 -31
- data/html/classes/LoaderHelper.html +0 -138
- data/html/classes/LoaderHelper.src/M000093.html +0 -24
- data/html/classes/PluralToSingularUtility.html +0 -131
- data/html/classes/PluralToSingularUtility.src/M000091.html +0 -18
- data/html/classes/SnakeCaseUtility.html +0 -161
- data/html/classes/SnakeCaseUtility.src/M000111.html +0 -23
- data/html/classes/SnakeCaseUtility.src/M000112.html +0 -20
- data/html/classes/SnakeCaseUtility.src/M000113.html +0 -18
- data/html/created.rid +0 -1
- data/html/files/README.html +0 -123
- data/html/files/lib/concordion_binder_rb.html +0 -108
- data/html/files/lib/concordion_constants_rb.html +0 -101
- data/html/files/lib/concordion_css_decorator_rb.html +0 -109
- data/html/files/lib/concordion_css_rb.html +0 -101
- data/html/files/lib/concordion_environment_rb.html +0 -101
- data/html/files/lib/concordion_error_condition_rb.html +0 -108
- data/html/files/lib/concordion_instrumenter_rb.html +0 -101
- data/html/files/lib/concordion_invoker_rb.html +0 -109
- data/html/files/lib/concordion_lookahead_handler_rb.html +0 -101
- data/html/files/lib/concordion_parse_result_rb.html +0 -108
- data/html/files/lib/concordion_parser_rb.html +0 -110
- data/html/files/lib/concordion_processor_rb.html +0 -108
- data/html/files/lib/concordion_rb.html +0 -108
- data/html/files/lib/concordion_reader_rb.html +0 -108
- data/html/files/lib/concordion_state_rb.html +0 -112
- data/html/files/lib/concordion_string_utility_rb.html +0 -101
- data/html/files/lib/concordion_string_writer_rb.html +0 -101
- data/html/files/lib/concordion_test_case_rb.html +0 -119
- data/html/files/lib/concordion_test_methods_rb.html +0 -125
- data/html/files/lib/concordion_utility_rb.html +0 -109
- data/html/files/lib/concordion_verifier_rb.html +0 -108
- data/html/files/lib/concordion_writer_rb.html +0 -101
- data/html/files/lib/goldmaster_test_case_rb.html +0 -110
- data/html/files/lib/loader_helper_rb.html +0 -108
- data/html/files/lib/rcor_rb.html +0 -108
- data/html/fr_class_index.html +0 -54
- data/html/fr_file_index.html +0 -52
- data/html/fr_method_index.html +0 -150
- data/html/index.html +0 -24
- data/html/rdoc-style.css +0 -208
- data/nbproject/private/config.properties +0 -0
- data/nbproject/private/private.xml +0 -4
- data/tests/user-reported/no_parens.html +0 -15
@@ -1,299 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: ConcordionState</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">ConcordionState</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/concordion_state_rb.html">
|
59
|
-
lib/concordion_state.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
Object
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
<div id="description">
|
82
|
-
<p>
|
83
|
-
Concordion State manages memory for Concordion specs as they are being
|
84
|
-
parsed (e.g. when var is declared in a spec, this class holds the memory
|
85
|
-
reference).
|
86
|
-
</p>
|
87
|
-
|
88
|
-
</div>
|
89
|
-
|
90
|
-
|
91
|
-
</div>
|
92
|
-
|
93
|
-
<div id="method-list">
|
94
|
-
<h3 class="section-bar">Methods</h3>
|
95
|
-
|
96
|
-
<div class="name-list">
|
97
|
-
<a href="#M000052">TEXT_VAR</a>
|
98
|
-
<a href="#M000056">dereference</a>
|
99
|
-
<a href="#M000057">evaluate</a>
|
100
|
-
<a href="#M000055">get_variable</a>
|
101
|
-
<a href="#M000053">new</a>
|
102
|
-
<a href="#M000054">set_variable</a>
|
103
|
-
</div>
|
104
|
-
</div>
|
105
|
-
|
106
|
-
</div>
|
107
|
-
|
108
|
-
|
109
|
-
<!-- if includes -->
|
110
|
-
<div id="includes">
|
111
|
-
<h3 class="section-bar">Included Modules</h3>
|
112
|
-
|
113
|
-
<div id="includes-list">
|
114
|
-
<span class="include-name"><a href="ConcordionUtility.html">ConcordionUtility</a></span>
|
115
|
-
</div>
|
116
|
-
</div>
|
117
|
-
|
118
|
-
<div id="section">
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
<div id="attribute-list">
|
125
|
-
<h3 class="section-bar">Attributes</h3>
|
126
|
-
|
127
|
-
<div class="name-list">
|
128
|
-
<table>
|
129
|
-
<tr class="top-aligned-row context-row">
|
130
|
-
<td class="context-item-name">verification_variable</td>
|
131
|
-
<td class="context-item-value"> [R] </td>
|
132
|
-
<td class="context-item-desc"></td>
|
133
|
-
</tr>
|
134
|
-
<tr class="top-aligned-row context-row">
|
135
|
-
<td class="context-item-name">verifier</td>
|
136
|
-
<td class="context-item-value"> [R] </td>
|
137
|
-
<td class="context-item-desc"></td>
|
138
|
-
</tr>
|
139
|
-
</table>
|
140
|
-
</div>
|
141
|
-
</div>
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
<!-- if method_list -->
|
146
|
-
<div id="methods">
|
147
|
-
<h3 class="section-bar">Public Class methods</h3>
|
148
|
-
|
149
|
-
<div id="method-M000052" class="method-detail">
|
150
|
-
<a name="M000052"></a>
|
151
|
-
|
152
|
-
<div class="method-heading">
|
153
|
-
<a href="ConcordionState.src/M000052.html" target="Code" class="method-signature"
|
154
|
-
onclick="popupCode('ConcordionState.src/M000052.html');return false;">
|
155
|
-
<span class="method-name">TEXT_VAR</span><span class="method-args">()</span>
|
156
|
-
</a>
|
157
|
-
</div>
|
158
|
-
|
159
|
-
<div class="method-description">
|
160
|
-
</div>
|
161
|
-
</div>
|
162
|
-
|
163
|
-
<div id="method-M000053" class="method-detail">
|
164
|
-
<a name="M000053"></a>
|
165
|
-
|
166
|
-
<div class="method-heading">
|
167
|
-
<a href="ConcordionState.src/M000053.html" target="Code" class="method-signature"
|
168
|
-
onclick="popupCode('ConcordionState.src/M000053.html');return false;">
|
169
|
-
<span class="method-name">new</span><span class="method-args">()</span>
|
170
|
-
</a>
|
171
|
-
</div>
|
172
|
-
|
173
|
-
<div class="method-description">
|
174
|
-
</div>
|
175
|
-
</div>
|
176
|
-
|
177
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
178
|
-
|
179
|
-
<div id="method-M000056" class="method-detail">
|
180
|
-
<a name="M000056"></a>
|
181
|
-
|
182
|
-
<div class="method-heading">
|
183
|
-
<a href="ConcordionState.src/M000056.html" target="Code" class="method-signature"
|
184
|
-
onclick="popupCode('ConcordionState.src/M000056.html');return false;">
|
185
|
-
<span class="method-name">dereference</span><span class="method-args">(conc_call)</span>
|
186
|
-
</a>
|
187
|
-
</div>
|
188
|
-
|
189
|
-
<div class="method-description">
|
190
|
-
<p>
|
191
|
-
Deferences concordion method calls. For example if memory held:
|
192
|
-
</p>
|
193
|
-
<ul>
|
194
|
-
<li>foo => 12
|
195
|
-
|
196
|
-
</li>
|
197
|
-
<li>bar => 4
|
198
|
-
|
199
|
-
</li>
|
200
|
-
</ul>
|
201
|
-
<p>
|
202
|
-
Then the following mappings hold:
|
203
|
-
</p>
|
204
|
-
<ul>
|
205
|
-
<li>foo => 12
|
206
|
-
|
207
|
-
</li>
|
208
|
-
<li>foo.to_f => 12.0
|
209
|
-
|
210
|
-
</li>
|
211
|
-
<li>method(foo, bar) => method(12, 4)
|
212
|
-
|
213
|
-
</li>
|
214
|
-
</ul>
|
215
|
-
</div>
|
216
|
-
</div>
|
217
|
-
|
218
|
-
<div id="method-M000057" class="method-detail">
|
219
|
-
<a name="M000057"></a>
|
220
|
-
|
221
|
-
<div class="method-heading">
|
222
|
-
<a href="ConcordionState.src/M000057.html" target="Code" class="method-signature"
|
223
|
-
onclick="popupCode('ConcordionState.src/M000057.html');return false;">
|
224
|
-
<span class="method-name">evaluate</span><span class="method-args">(cpr, test_context, processor)</span>
|
225
|
-
</a>
|
226
|
-
</div>
|
227
|
-
|
228
|
-
<div class="method-description">
|
229
|
-
<p>
|
230
|
-
Evaluate an expression
|
231
|
-
</p>
|
232
|
-
<ol>
|
233
|
-
<li>Lookahead in the tag to see if needed variables are bound later.
|
234
|
-
|
235
|
-
</li>
|
236
|
-
<li>Bind a value to the variable from the spec, if needed. Returns early if
|
237
|
-
bound successfully.
|
238
|
-
|
239
|
-
</li>
|
240
|
-
<li>Update the current value of the iterator for verification commands, if
|
241
|
-
needed.
|
242
|
-
|
243
|
-
</li>
|
244
|
-
<li>Invoke the system under test
|
245
|
-
|
246
|
-
</li>
|
247
|
-
<li>Bind a value to the variable on the left hand side of an equation, if
|
248
|
-
needed.
|
249
|
-
|
250
|
-
</li>
|
251
|
-
<li>Hand the system under test return value to the concordion invoker, which
|
252
|
-
makes the assertion.
|
253
|
-
|
254
|
-
</li>
|
255
|
-
</ol>
|
256
|
-
</div>
|
257
|
-
</div>
|
258
|
-
|
259
|
-
<div id="method-M000055" class="method-detail">
|
260
|
-
<a name="M000055"></a>
|
261
|
-
|
262
|
-
<div class="method-heading">
|
263
|
-
<a href="ConcordionState.src/M000055.html" target="Code" class="method-signature"
|
264
|
-
onclick="popupCode('ConcordionState.src/M000055.html');return false;">
|
265
|
-
<span class="method-name">get_variable</span><span class="method-args">(variable)</span>
|
266
|
-
</a>
|
267
|
-
</div>
|
268
|
-
|
269
|
-
<div class="method-description">
|
270
|
-
</div>
|
271
|
-
</div>
|
272
|
-
|
273
|
-
<div id="method-M000054" class="method-detail">
|
274
|
-
<a name="M000054"></a>
|
275
|
-
|
276
|
-
<div class="method-heading">
|
277
|
-
<a href="ConcordionState.src/M000054.html" target="Code" class="method-signature"
|
278
|
-
onclick="popupCode('ConcordionState.src/M000054.html');return false;">
|
279
|
-
<span class="method-name">set_variable</span><span class="method-args">(variable, value)</span>
|
280
|
-
</a>
|
281
|
-
</div>
|
282
|
-
|
283
|
-
<div class="method-description">
|
284
|
-
</div>
|
285
|
-
</div>
|
286
|
-
|
287
|
-
|
288
|
-
</div>
|
289
|
-
|
290
|
-
|
291
|
-
</div>
|
292
|
-
|
293
|
-
|
294
|
-
<div id="validator-badges">
|
295
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
296
|
-
</div>
|
297
|
-
|
298
|
-
</body>
|
299
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>TEXT_VAR (ConcordionState)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/concordion_state.rb, line 14</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-constant">TEXT_VAR</span>
|
15
|
-
<span class="ruby-ivar">@@TEXT_VAR</span>
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>new (ConcordionState)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/concordion_state.rb, line 19</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
15
|
-
<span class="ruby-ivar">@memory</span> = {}
|
16
|
-
<span class="ruby-ivar">@lookahead_handler</span> = <span class="ruby-constant">ConcordionLookaheadHandler</span>.<span class="ruby-identifier">new</span>
|
17
|
-
<span class="ruby-ivar">@verifier</span> = <span class="ruby-constant">ConcordionVerifier</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
|
18
|
-
<span class="ruby-ivar">@invoker</span> = <span class="ruby-constant">ConcordionInvoker</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
|
19
|
-
<span class="ruby-ivar">@binder</span> = <span class="ruby-constant">ConcordionBinder</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
|
20
|
-
<span class="ruby-identifier">set_variable</span>(<span class="ruby-ivar">@@TEXT_VAR</span>, <span class="ruby-ivar">@@TEXT_VAR</span>)
|
21
|
-
<span class="ruby-keyword kw">end</span></pre>
|
22
|
-
</body>
|
23
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>set_variable (ConcordionState)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/concordion_state.rb, line 28</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_variable</span>(<span class="ruby-identifier">variable</span>, <span class="ruby-identifier">value</span>)
|
15
|
-
<span class="ruby-ivar">@memory</span>[<span class="ruby-identifier">variable</span>] = <span class="ruby-identifier">value</span>
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>get_variable (ConcordionState)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/concordion_state.rb, line 32</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_variable</span>(<span class="ruby-identifier">variable</span>)
|
15
|
-
<span class="ruby-ivar">@memory</span>[<span class="ruby-identifier">variable</span>]
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>dereference (ConcordionState)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/concordion_state.rb, line 46</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dereference</span>(<span class="ruby-identifier">conc_call</span>)
|
15
|
-
<span class="ruby-identifier">var_name</span> = <span class="ruby-identifier">concordion_variable_name</span>(<span class="ruby-identifier">conc_call</span>)
|
16
|
-
<span class="ruby-identifier">var</span> = <span class="ruby-identifier">get_variable</span>(<span class="ruby-identifier">var_name</span>)
|
17
|
-
|
18
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">has_property_reference?</span>(<span class="ruby-identifier">conc_call</span>)
|
19
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">var</span>
|
20
|
-
<span class="ruby-keyword kw">end</span>
|
21
|
-
|
22
|
-
<span class="ruby-identifier">var</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">concordion_property_reference</span>(<span class="ruby-identifier">conc_call</span>))
|
23
|
-
<span class="ruby-keyword kw">end</span></pre>
|
24
|
-
</body>
|
25
|
-
</html>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>evaluate (ConcordionState)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/concordion_state.rb, line 64</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">evaluate</span>(<span class="ruby-identifier">cpr</span>, <span class="ruby-identifier">test_context</span>, <span class="ruby-identifier">processor</span>)
|
15
|
-
<span class="ruby-ivar">@lookahead_handler</span>.<span class="ruby-identifier">handle_lookahead</span>(<span class="ruby-identifier">cpr</span>, <span class="ruby-identifier">test_context</span>, <span class="ruby-identifier">processor</span>)
|
16
|
-
|
17
|
-
<span class="ruby-keyword kw">return</span> { <span class="ruby-identifier">:result</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">true</span> } <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@binder</span>.<span class="ruby-identifier">bind_if_set_command</span>(<span class="ruby-identifier">cpr</span>)
|
18
|
-
|
19
|
-
<span class="ruby-ivar">@verifier</span>.<span class="ruby-identifier">update_if_verify_command</span>(<span class="ruby-identifier">cpr</span>)
|
20
|
-
|
21
|
-
<span class="ruby-identifier">sut_rv</span> = <span class="ruby-ivar">@invoker</span>.<span class="ruby-identifier">invoke_sut</span>(<span class="ruby-identifier">cpr</span>, <span class="ruby-identifier">test_context</span>)
|
22
|
-
<span class="ruby-ivar">@binder</span>.<span class="ruby-identifier">handle_assignment</span>(<span class="ruby-identifier">cpr</span>, <span class="ruby-identifier">sut_rv</span>)
|
23
|
-
<span class="ruby-identifier">conc_rv</span> = <span class="ruby-ivar">@invoker</span>.<span class="ruby-identifier">invoke_concordion</span>(<span class="ruby-identifier">cpr</span>, <span class="ruby-identifier">sut_rv</span>)
|
24
|
-
|
25
|
-
<span class="ruby-identifier">conc_rv</span>
|
26
|
-
<span class="ruby-keyword kw">end</span></pre>
|
27
|
-
</body>
|
28
|
-
</html>
|