fit 1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. data/README.txt +203 -0
  2. data/Rakefile +111 -0
  3. data/bin/FitServer.rb +6 -0
  4. data/bin/fit +10 -0
  5. data/bin/fit.cgi +36 -0
  6. data/doc/examples/AllCombinations.html +55 -0
  7. data/doc/examples/AllFiles.html +60 -0
  8. data/doc/examples/AllPairs/function/cosine.html +57 -0
  9. data/doc/examples/AllPairs/function/sine.html +57 -0
  10. data/doc/examples/AllPairs/magnitude/180+30.html +45 -0
  11. data/doc/examples/AllPairs/magnitude/30.html +33 -0
  12. data/doc/examples/AllPairs/magnitude/360+30.html +45 -0
  13. data/doc/examples/AllPairs/magnitude/90-30.html +45 -0
  14. data/doc/examples/AllPairs/sign/change-sign.html +27 -0
  15. data/doc/examples/AllPairs/sign/multiply.html +31 -0
  16. data/doc/examples/AllPairs/sign/no-change.html +23 -0
  17. data/doc/examples/AllPairs.html +51 -0
  18. data/doc/examples/BinaryChop.html +89 -0
  19. data/doc/examples/CalculatorExample.html +108 -0
  20. data/doc/examples/ColumnIndex.html +43 -0
  21. data/doc/examples/ExampleTests.html +43 -0
  22. data/doc/examples/FitAcceptanceTests.html +53 -0
  23. data/doc/examples/GeoCoordinate.html +87 -0
  24. data/doc/examples/MusicExample.html +143 -0
  25. data/doc/examples/MusicExampleWithErrors.html +128 -0
  26. data/doc/examples/NetworkExample.html +47 -0
  27. data/doc/examples/WebPageExample.html +92 -0
  28. data/doc/examples/arithmetic.html +211 -0
  29. data/doc/examples/files/hp35bk.jpg +0 -0
  30. data/doc/examples/logo.gif +0 -0
  31. data/doc/fitnesse/FitNesse.RubY.AcceptanceTests.FixtureParameters.html +81 -0
  32. data/doc/fitnesse/FitNesse.RubY.AcceptanceTests.GracefulFixtureNames.html +87 -0
  33. data/doc/fitnesse/FitNesse.RubY.AcceptanceTests.GracefulMemberNames.html +73 -0
  34. data/doc/fitnesse/FitNesse.RubY.AcceptanceTests.ImportFixture.html +61 -0
  35. data/doc/fitnesse/FitNesse.RubY.AcceptanceTests.WaysToSpecifyaFixtureNamespace.html +81 -0
  36. data/doc/spec/annotation.html +3833 -0
  37. data/doc/spec/extensions.html +302 -0
  38. data/doc/spec/fixtures.html +5181 -0
  39. data/doc/spec/index.html +947 -0
  40. data/doc/spec/parse.html +3094 -0
  41. data/lib/eg/all_combinations.rb +44 -0
  42. data/lib/eg/all_files.rb +94 -0
  43. data/lib/eg/all_pairs.rb +172 -0
  44. data/lib/eg/arithmetic_column_fixture.rb +35 -0
  45. data/lib/eg/arithmetic_fixture.rb +29 -0
  46. data/lib/eg/binary_chop.rb +100 -0
  47. data/lib/eg/calculator.rb +69 -0
  48. data/lib/eg/column_index.rb +85 -0
  49. data/lib/eg/division.rb +13 -0
  50. data/lib/eg/echo_args_fixture.rb +9 -0
  51. data/lib/eg/example_tests.rb +84 -0
  52. data/lib/eg/music/Music.txt +38 -0
  53. data/lib/eg/music/browser.rb +60 -0
  54. data/lib/eg/music/display.rb +24 -0
  55. data/lib/eg/music/music.rb +67 -0
  56. data/lib/eg/music/music_library.rb +70 -0
  57. data/lib/eg/music/music_player.rb +77 -0
  58. data/lib/eg/music/realtime.rb +39 -0
  59. data/lib/eg/music/simulator.rb +81 -0
  60. data/lib/eg/nested/bob.rb +12 -0
  61. data/lib/eg/nested/bob_the_builder_fixture.rb +11 -0
  62. data/lib/eg/net/simulator.rb +69 -0
  63. data/lib/eg/page.rb +91 -0
  64. data/lib/eg/sqrt.rb +19 -0
  65. data/lib/fat/annotation_fixture.rb +83 -0
  66. data/lib/fat/color.rb +45 -0
  67. data/lib/fat/divide.rb +13 -0
  68. data/lib/fat/document_parse_fixture.rb +67 -0
  69. data/lib/fat/equals.rb +59 -0
  70. data/lib/fat/fixture_name_fixture.rb +67 -0
  71. data/lib/fat/html_to_text_fixture.rb +20 -0
  72. data/lib/fat/money.rb +18 -0
  73. data/lib/fat/output_fixture.rb +32 -0
  74. data/lib/fat/parse_fixture.rb +92 -0
  75. data/lib/fat/reference_fixture.rb +31 -0
  76. data/lib/fat/standard_annotation_fixture.rb +58 -0
  77. data/lib/fat/string_writer.rb +12 -0
  78. data/lib/fat/table.rb +23 -0
  79. data/lib/fat/table_parse_fixture.rb +33 -0
  80. data/lib/fat/text_to_html_fixture.rb +21 -0
  81. data/lib/fit/action_fixture.rb +65 -0
  82. data/lib/fit/column_fixture.rb +104 -0
  83. data/lib/fit/file_runner.rb +80 -0
  84. data/lib/fit/fit_protocol.rb +62 -0
  85. data/lib/fit/fit_server.rb +173 -0
  86. data/lib/fit/fixture.rb +309 -0
  87. data/lib/fit/fixture_loader.rb +75 -0
  88. data/lib/fit/import_fixture.rb +9 -0
  89. data/lib/fit/parse.rb +206 -0
  90. data/lib/fit/primitive_fixture.rb +52 -0
  91. data/lib/fit/row_fixture.rb +188 -0
  92. data/lib/fit/scientific_double.rb +70 -0
  93. data/lib/fit/summary.rb +46 -0
  94. data/lib/fit/timed_action_fixture.rb +35 -0
  95. data/lib/fit/type_adapter.rb +95 -0
  96. data/lib/fit/wiki_runner.rb +15 -0
  97. data/lib/fittask.rb +184 -0
  98. data/test/all_tests.rb +13 -0
  99. data/test/file_runner_test.rb +52 -0
  100. data/test/fit_server_test.rb +214 -0
  101. data/test/fixture_loader_test.rb +71 -0
  102. data/test/fixture_test.rb +41 -0
  103. data/test/fixtures/fail_fixture.rb +9 -0
  104. data/test/fixtures/pass_fixture.rb +9 -0
  105. data/test/framework_test.rb +51 -0
  106. data/test/parse_test.rb +101 -0
  107. data/test/row_fixture_test.rb +44 -0
  108. data/test/scientific_double_test.rb +35 -0
  109. data/test/type_adapter_test.rb +120 -0
  110. metadata +165 -0
@@ -0,0 +1,302 @@
1
+ <html xmlns:o="urn:schemas-microsoft-com:office:office"
2
+ xmlns:w="urn:schemas-microsoft-com:office:word"
3
+ xmlns:st1="urn:schemas-microsoft-com:office:smarttags"
4
+ xmlns="http://www.w3.org/TR/REC-html40">
5
+
6
+ <head>
7
+ <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
8
+ <meta name=ProgId content=Word.Document>
9
+ <meta name=Generator content="Microsoft Word 10">
10
+ <meta name=Originator content="Microsoft Word 10">
11
+ <link rel=File-List href="extensions_files/filelist.xml">
12
+ <title>Fit Specification</title>
13
+ <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
14
+ name="PersonName"/>
15
+ <!--[if gte mso 9]><xml>
16
+ <o:DocumentProperties>
17
+ <o:Author>Jim Little</o:Author>
18
+ <o:LastAuthor>Jim Little</o:LastAuthor>
19
+ <o:Revision>56</o:Revision>
20
+ <o:TotalTime>330</o:TotalTime>
21
+ <o:Created>2004-04-22T19:41:00Z</o:Created>
22
+ <o:LastSaved>2004-05-01T03:25:00Z</o:LastSaved>
23
+ <o:Pages>1</o:Pages>
24
+ <o:Words>49</o:Words>
25
+ <o:Characters>281</o:Characters>
26
+ <o:Lines>2</o:Lines>
27
+ <o:Paragraphs>1</o:Paragraphs>
28
+ <o:CharactersWithSpaces>329</o:CharactersWithSpaces>
29
+ <o:Version>10.3311</o:Version>
30
+ </o:DocumentProperties>
31
+ </xml><![endif]--><!--[if gte mso 9]><xml>
32
+ <w:WordDocument>
33
+ <w:Compatibility>
34
+ <w:ApplyBreakingRules/>
35
+ <w:UseFELayout/>
36
+ </w:Compatibility>
37
+ <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
38
+ </w:WordDocument>
39
+ </xml><![endif]--><!--[if !mso]><object
40
+ classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
41
+ <style>
42
+ st1\:*{behavior:url(#ieooui) }
43
+ </style>
44
+ <![endif]-->
45
+ <style>
46
+ <!--
47
+ /* Font Definitions */
48
+ @font-face
49
+ {font-family:SimSun;
50
+ panose-1:2 1 6 0 3 1 1 1 1 1;
51
+ mso-font-alt:\5B8B\4F53;
52
+ mso-font-charset:134;
53
+ mso-generic-font-family:auto;
54
+ mso-font-pitch:variable;
55
+ mso-font-signature:3 135135232 16 0 262145 0;}
56
+ @font-face
57
+ {font-family:"\@SimSun";
58
+ panose-1:2 1 6 0 3 1 1 1 1 1;
59
+ mso-font-charset:134;
60
+ mso-generic-font-family:auto;
61
+ mso-font-pitch:variable;
62
+ mso-font-signature:3 135135232 16 0 262145 0;}
63
+ /* Style Definitions */
64
+ p.MsoNormal, li.MsoNormal, div.MsoNormal
65
+ {mso-style-parent:"";
66
+ margin:0in;
67
+ margin-bottom:.0001pt;
68
+ mso-pagination:widow-orphan;
69
+ font-size:12.0pt;
70
+ font-family:"Times New Roman";
71
+ mso-fareast-font-family:SimSun;}
72
+ h1
73
+ {margin-top:12.0pt;
74
+ margin-right:0in;
75
+ margin-bottom:3.0pt;
76
+ margin-left:0in;
77
+ mso-pagination:widow-orphan;
78
+ page-break-after:avoid;
79
+ mso-outline-level:1;
80
+ font-size:16.0pt;
81
+ font-family:Arial;
82
+ font-weight:bold;}
83
+ h2
84
+ {mso-style-next:Normal;
85
+ margin-top:12.0pt;
86
+ margin-right:0in;
87
+ margin-bottom:3.0pt;
88
+ margin-left:0in;
89
+ mso-pagination:widow-orphan;
90
+ page-break-after:avoid;
91
+ mso-outline-level:2;
92
+ font-size:14.0pt;
93
+ font-family:Arial;
94
+ font-weight:bold;
95
+ font-style:italic;}
96
+ h3
97
+ {mso-style-next:Normal;
98
+ margin-top:12.0pt;
99
+ margin-right:0in;
100
+ margin-bottom:3.0pt;
101
+ margin-left:0in;
102
+ mso-pagination:widow-orphan;
103
+ page-break-after:avoid;
104
+ mso-outline-level:3;
105
+ font-size:13.0pt;
106
+ font-family:Arial;
107
+ font-weight:bold;}
108
+ a:link, span.MsoHyperlink
109
+ {color:blue;
110
+ text-decoration:underline;
111
+ text-underline:single;}
112
+ a:visited, span.MsoHyperlinkFollowed
113
+ {color:purple;
114
+ text-decoration:underline;
115
+ text-underline:single;}
116
+ p
117
+ {margin:0in;
118
+ margin-bottom:.0001pt;
119
+ mso-pagination:widow-orphan;
120
+ font-size:12.0pt;
121
+ font-family:"Times New Roman";
122
+ mso-fareast-font-family:SimSun;}
123
+ @page Section1
124
+ {size:8.5in 11.0in;
125
+ margin:1.0in 1.25in 1.0in 1.25in;
126
+ mso-header-margin:.5in;
127
+ mso-footer-margin:.5in;
128
+ mso-paper-source:0;}
129
+ div.Section1
130
+ {page:Section1;}
131
+ /* List Definitions */
132
+ @list l0
133
+ {mso-list-id:1196504600;
134
+ mso-list-type:hybrid;
135
+ mso-list-template-ids:-1387920668 -863591280 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
136
+ @list l0:level1
137
+ {mso-level-start-at:151;
138
+ mso-level-number-format:bullet;
139
+ mso-level-text:\F0B7;
140
+ mso-level-tab-stop:.5in;
141
+ mso-level-number-position:left;
142
+ text-indent:-.25in;
143
+ font-family:Symbol;
144
+ mso-fareast-font-family:SimSun;
145
+ mso-bidi-font-family:"Times New Roman";}
146
+ @list l0:level2
147
+ {mso-level-number-format:bullet;
148
+ mso-level-text:o;
149
+ mso-level-tab-stop:1.0in;
150
+ mso-level-number-position:left;
151
+ text-indent:-.25in;
152
+ font-family:"Courier New";}
153
+ @list l0:level3
154
+ {mso-level-tab-stop:1.5in;
155
+ mso-level-number-position:left;
156
+ text-indent:-.25in;}
157
+ @list l0:level4
158
+ {mso-level-tab-stop:2.0in;
159
+ mso-level-number-position:left;
160
+ text-indent:-.25in;}
161
+ @list l0:level5
162
+ {mso-level-tab-stop:2.5in;
163
+ mso-level-number-position:left;
164
+ text-indent:-.25in;}
165
+ @list l0:level6
166
+ {mso-level-tab-stop:3.0in;
167
+ mso-level-number-position:left;
168
+ text-indent:-.25in;}
169
+ @list l0:level7
170
+ {mso-level-tab-stop:3.5in;
171
+ mso-level-number-position:left;
172
+ text-indent:-.25in;}
173
+ @list l0:level8
174
+ {mso-level-tab-stop:4.0in;
175
+ mso-level-number-position:left;
176
+ text-indent:-.25in;}
177
+ @list l0:level9
178
+ {mso-level-tab-stop:4.5in;
179
+ mso-level-number-position:left;
180
+ text-indent:-.25in;}
181
+ @list l1
182
+ {mso-list-id:1435326726;
183
+ mso-list-template-ids:93368628;}
184
+ @list l1:level1
185
+ {mso-level-number-format:bullet;
186
+ mso-level-text:\F0B7;
187
+ mso-level-tab-stop:.5in;
188
+ mso-level-number-position:left;
189
+ text-indent:-.25in;
190
+ mso-ansi-font-size:10.0pt;
191
+ font-family:Symbol;}
192
+ @list l2
193
+ {mso-list-id:1472208156;
194
+ mso-list-template-ids:-202861740;}
195
+ @list l2:level1
196
+ {mso-level-number-format:bullet;
197
+ mso-level-text:\F0B7;
198
+ mso-level-tab-stop:.5in;
199
+ mso-level-number-position:left;
200
+ text-indent:-.25in;
201
+ mso-ansi-font-size:10.0pt;
202
+ font-family:Symbol;}
203
+ @list l2:level2
204
+ {mso-level-number-format:bullet;
205
+ mso-level-text:o;
206
+ mso-level-tab-stop:1.0in;
207
+ mso-level-number-position:left;
208
+ text-indent:-.25in;
209
+ mso-ansi-font-size:10.0pt;
210
+ font-family:"Courier New";
211
+ mso-bidi-font-family:"Times New Roman";}
212
+ ol
213
+ {margin-bottom:0in;}
214
+ ul
215
+ {margin-bottom:0in;}
216
+ -->
217
+ </style>
218
+ <!--[if gte mso 10]>
219
+ <style>
220
+ /* Style Definitions */
221
+ table.MsoNormalTable
222
+ {mso-style-name:"Table Normal";
223
+ mso-tstyle-rowband-size:0;
224
+ mso-tstyle-colband-size:0;
225
+ mso-style-noshow:yes;
226
+ mso-style-parent:"";
227
+ mso-padding-alt:0in 5.4pt 0in 5.4pt;
228
+ mso-para-margin:0in;
229
+ mso-para-margin-bottom:.0001pt;
230
+ mso-pagination:widow-orphan;
231
+ font-size:10.0pt;
232
+ font-family:"Times New Roman";}
233
+ table.MsoTableGrid
234
+ {mso-style-name:"Table Grid";
235
+ mso-tstyle-rowband-size:0;
236
+ mso-tstyle-colband-size:0;
237
+ border:solid windowtext 1.0pt;
238
+ mso-border-alt:solid windowtext .5pt;
239
+ mso-padding-alt:0in 5.4pt 0in 5.4pt;
240
+ mso-border-insideh:.5pt solid windowtext;
241
+ mso-border-insidev:.5pt solid windowtext;
242
+ mso-para-margin:0in;
243
+ mso-para-margin-bottom:.0001pt;
244
+ mso-pagination:widow-orphan;
245
+ font-size:10.0pt;
246
+ font-family:"Times New Roman";}
247
+ </style>
248
+ <![endif]-->
249
+ </head>
250
+
251
+ <body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
252
+
253
+ <div class=Section1>
254
+
255
+ <h1><a href="index.html">Fit Specification</a>: Implementation-Specific
256
+ Extensions</h1>
257
+
258
+ <p>&nbsp;</p>
259
+
260
+ <p><b>This version of Fit has no implementation-spe</b><st1:PersonName><b>c</b></st1:PersonName><b>ifi</b><st1:PersonName><b>c</b></st1:PersonName><b>
261
+ extensions.</b></p>
262
+
263
+ <p><o:p>&nbsp;</o:p></p>
264
+
265
+ <p>Developers: in your implementation of Fit, repla<st1:PersonName>c</st1:PersonName>e
266
+ this file with a Fit do<st1:PersonName>c</st1:PersonName>ument des<st1:PersonName>c</st1:PersonName>ribing
267
+ your extensions.<o:p></o:p></p>
268
+
269
+ <p><o:p>&nbsp;</o:p></p>
270
+
271
+ <div style='border:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:
272
+ solid windowtext .75pt;padding:0in 0in 1.0pt 0in'>
273
+
274
+ <p style='border:none;mso-border-bottom-alt:solid windowtext .75pt;padding:
275
+ 0in;mso-padding-alt:0in 0in 1.0pt 0in'><o:p>&nbsp;</o:p></p>
276
+
277
+ </div>
278
+
279
+ <p><o:p>&nbsp;</o:p></p>
280
+
281
+ <p><o:p>&nbsp;</o:p></p>
282
+
283
+ <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0
284
+ style='border-collapse:collapse;mso-padding-alt:0in 0in 0in 0in'>
285
+ <tr style='mso-yfti-irow:0;mso-yfti-lastrow:yes'>
286
+ <td valign=top style='padding:0in 5.4pt 0in 5.4pt'>
287
+ <p><span style='color:silver'>fit.Summary</span></p>
288
+ </td>
289
+ </tr>
290
+ </table>
291
+
292
+ <p><o:p>&nbsp;</o:p></p>
293
+
294
+ <p>Return to the <a href="index.html">beginning</a>.</p>
295
+
296
+ <p>&nbsp;</p>
297
+
298
+ </div>
299
+
300
+ </body>
301
+
302
+ </html>