minilab 1.0.0-mswin32
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.
- data/.document +2 -0
- data/CHANGES +2 -0
- data/LICENSE +19 -0
- data/README +107 -0
- data/Rakefile +145 -0
- data/config/environment.rb +15 -0
- data/config/objects.yml +22 -0
- data/lib/analog_io.rb +30 -0
- data/lib/digital_auxport_io.rb +49 -0
- data/lib/digital_configuration.rb +66 -0
- data/lib/digital_port_io.rb +68 -0
- data/lib/extension/extconf.rb +4 -0
- data/lib/extension/minilab_hardware.c +235 -0
- data/lib/extension/minilab_hardware.so +0 -0
- data/lib/library_translator.rb +48 -0
- data/lib/minilab.rb +149 -0
- data/lib/minilab_context.rb +39 -0
- data/lib/result_verifier.rb +14 -0
- data/test/integration/analog_input_output_test.rb +43 -0
- data/test/integration/connect_to_hardware_test.rb +13 -0
- data/test/integration/digital_input_output_test.rb +114 -0
- data/test/integration/integration_test.rb +53 -0
- data/test/integration/require_minilab_test.rb +9 -0
- data/test/system/analog_input.test +3 -0
- data/test/system/analog_output.test +37 -0
- data/test/system/digital_port_input.test +5 -0
- data/test/system/digital_port_output.test +39 -0
- data/test/system/digital_port_read_byte.test +26 -0
- data/test/system/digital_screw_terminals_input.test +2 -0
- data/test/system/digital_screw_terminals_output.test +11 -0
- data/test/system/minilab_driver.rb +85 -0
- data/test/test_helper.rb +11 -0
- data/test/unit/analog_io_test.rb +87 -0
- data/test/unit/digital_auxport_io_test.rb +114 -0
- data/test/unit/digital_configuration_test.rb +136 -0
- data/test/unit/digital_port_io_test.rb +117 -0
- data/test/unit/library_translator_test.rb +100 -0
- data/test/unit/minilab_context_test.rb +82 -0
- data/test/unit/minilab_hardware_test.rb +83 -0
- data/test/unit/minilab_test.rb +131 -0
- data/test/unit/result_verifier_test.rb +33 -0
- data/vendor/behaviors/lib/behaviors.rb +50 -0
- data/vendor/behaviors/tasks/behaviors_tasks.rake +140 -0
- data/vendor/behaviors/test/behaviors_tasks_test.rb +71 -0
- data/vendor/behaviors/test/behaviors_test.rb +50 -0
- data/vendor/behaviors/test/tasks_test/Rakefile +16 -0
- data/vendor/behaviors/test/tasks_test/doc/behaviors.html +55 -0
- data/vendor/behaviors/test/tasks_test/lib/user.rb +2 -0
- data/vendor/behaviors/test/tasks_test/test/user_test.rb +17 -0
- data/vendor/constructor/Rakefile +44 -0
- data/vendor/constructor/config/environment.rb +12 -0
- data/vendor/constructor/lib/constructor.rb +132 -0
- data/vendor/constructor/test/constructor_test.rb +366 -0
- data/vendor/constructor/test/helper.rb +3 -0
- data/vendor/diy/README +26 -0
- data/vendor/diy/Rakefile +18 -0
- data/vendor/diy/lib/constructor.rb +114 -0
- data/vendor/diy/lib/diy.rb +329 -0
- data/vendor/diy/proto/context.rb +117 -0
- data/vendor/diy/proto/context.yml +20 -0
- data/vendor/diy/test/diy_test.rb +370 -0
- data/vendor/diy/test/files/broken_construction.yml +7 -0
- data/vendor/diy/test/files/cat/cat.rb +4 -0
- data/vendor/diy/test/files/cat/extra_conflict.yml +5 -0
- data/vendor/diy/test/files/cat/heritage.rb +2 -0
- data/vendor/diy/test/files/cat/needs_input.yml +3 -0
- data/vendor/diy/test/files/cat/the_cat_lineage.rb +1 -0
- data/vendor/diy/test/files/dog/dog_model.rb +4 -0
- data/vendor/diy/test/files/dog/dog_presenter.rb +4 -0
- data/vendor/diy/test/files/dog/dog_view.rb +2 -0
- data/vendor/diy/test/files/dog/file_resolver.rb +2 -0
- data/vendor/diy/test/files/dog/other_thing.rb +2 -0
- data/vendor/diy/test/files/dog/simple.yml +11 -0
- data/vendor/diy/test/files/donkey/foo.rb +8 -0
- data/vendor/diy/test/files/donkey/foo/bar/qux.rb +7 -0
- data/vendor/diy/test/files/fud/objects.yml +13 -0
- data/vendor/diy/test/files/fud/toy.rb +15 -0
- data/vendor/diy/test/files/gnu/objects.yml +14 -0
- data/vendor/diy/test/files/gnu/thinger.rb +8 -0
- data/vendor/diy/test/files/goat/base.rb +8 -0
- data/vendor/diy/test/files/goat/can.rb +6 -0
- data/vendor/diy/test/files/goat/goat.rb +6 -0
- data/vendor/diy/test/files/goat/objects.yml +12 -0
- data/vendor/diy/test/files/goat/paper.rb +6 -0
- data/vendor/diy/test/files/goat/plane.rb +8 -0
- data/vendor/diy/test/files/goat/shirt.rb +6 -0
- data/vendor/diy/test/files/goat/wings.rb +8 -0
- data/vendor/diy/test/files/horse/holder_thing.rb +4 -0
- data/vendor/diy/test/files/horse/objects.yml +7 -0
- data/vendor/diy/test/files/yak/core_model.rb +4 -0
- data/vendor/diy/test/files/yak/core_presenter.rb +4 -0
- data/vendor/diy/test/files/yak/core_view.rb +1 -0
- data/vendor/diy/test/files/yak/data_source.rb +1 -0
- data/vendor/diy/test/files/yak/fringe_model.rb +4 -0
- data/vendor/diy/test/files/yak/fringe_presenter.rb +4 -0
- data/vendor/diy/test/files/yak/fringe_view.rb +1 -0
- data/vendor/diy/test/files/yak/my_objects.yml +21 -0
- data/vendor/diy/test/test_helper.rb +40 -0
- data/vendor/hardmock/CHANGES +8 -0
- data/vendor/hardmock/LICENSE +7 -0
- data/vendor/hardmock/README +48 -0
- data/vendor/hardmock/Rakefile +100 -0
- data/vendor/hardmock/TODO +7 -0
- data/vendor/hardmock/config/environment.rb +12 -0
- data/vendor/hardmock/homepage/demo.rb +21 -0
- data/vendor/hardmock/homepage/hardmock_sample.png +0 -0
- data/vendor/hardmock/homepage/index.html +65 -0
- data/vendor/hardmock/init.rb +3 -0
- data/vendor/hardmock/lib/hardmock.rb +634 -0
- data/vendor/hardmock/lib/method_cleanout.rb +14 -0
- data/vendor/hardmock/rcov.rake +18 -0
- data/vendor/hardmock/test/functional/assert_error_test.rb +52 -0
- data/vendor/hardmock/test/functional/auto_verify_test.rb +192 -0
- data/vendor/hardmock/test/functional/direct_mock_usage_test.rb +396 -0
- data/vendor/hardmock/test/functional/hardmock_test.rb +380 -0
- data/vendor/hardmock/test/test_helper.rb +23 -0
- data/vendor/hardmock/test/unit/expectation_builder_test.rb +18 -0
- data/vendor/hardmock/test/unit/expector_test.rb +56 -0
- data/vendor/hardmock/test/unit/method_cleanout_test.rb +35 -0
- data/vendor/hardmock/test/unit/mock_control_test.rb +172 -0
- data/vendor/hardmock/test/unit/mock_test.rb +273 -0
- data/vendor/hardmock/test/unit/simple_expectation_test.rb +345 -0
- data/vendor/hardmock/test/unit/trapper_test.rb +60 -0
- data/vendor/hardmock/test/unit/verify_error_test.rb +34 -0
- data/vendor/systir/systir.rb +403 -0
- data/vendor/systir/test/unit/ui/xml/testrunner.rb +192 -0
- data/vendor/systir/test/unit/ui/xml/xmltestrunner.xslt +109 -0
- metadata +235 -0
@@ -0,0 +1,192 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
#
|
4
|
+
# Copyright (c) 2005, Gregory D. Fast
|
5
|
+
# All rights reserved.
|
6
|
+
#
|
7
|
+
# Redistribution and use in source and binary forms, with or without
|
8
|
+
# modification, are permitted provided that the following conditions
|
9
|
+
# are met:
|
10
|
+
#
|
11
|
+
# * Redistributions of source code must retain the above copyright
|
12
|
+
# notice, this list of conditions and the following disclaimer.
|
13
|
+
#
|
14
|
+
# * Redistributions in binary form must reproduce the above copyright
|
15
|
+
# notice, this list of conditions and the following disclaimer in the
|
16
|
+
# documentation and/or other materials provided with the distribution.
|
17
|
+
#
|
18
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
19
|
+
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
20
|
+
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
21
|
+
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
22
|
+
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
23
|
+
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
24
|
+
# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
25
|
+
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
26
|
+
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
27
|
+
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
28
|
+
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
29
|
+
#
|
30
|
+
|
31
|
+
require 'test/unit/ui/testrunnermediator'
|
32
|
+
require 'test/unit/ui/testrunnerutilities'
|
33
|
+
require 'test/unit/ui/console/testrunner'
|
34
|
+
require 'test/unit/autorunner'
|
35
|
+
require 'rexml/document'
|
36
|
+
|
37
|
+
module Test
|
38
|
+
module Unit
|
39
|
+
module UI
|
40
|
+
module XML
|
41
|
+
|
42
|
+
#
|
43
|
+
# XML::TestRunner - generate xml output for test results
|
44
|
+
#
|
45
|
+
# Example use:
|
46
|
+
#
|
47
|
+
# $ ruby -rtest/unit/ui/xml/testrunner test/test_1.rb --runner=xml
|
48
|
+
#
|
49
|
+
# By default, XML::TestRunner will output to stdout.
|
50
|
+
# You can set the environment variable $XMLTEST_OUTPUT to
|
51
|
+
# a filename to send the output to that file.
|
52
|
+
#
|
53
|
+
# The summary file created by this testrunner is XML, but
|
54
|
+
# this module also includes a stylesheet
|
55
|
+
# (test/unit/ui/xml/xmltestrunner.xslt) which converts it to
|
56
|
+
# HTML. Copy the XSLT file into the same directory as the
|
57
|
+
# test results file, and open the results file with a browser.
|
58
|
+
#
|
59
|
+
# ---
|
60
|
+
#
|
61
|
+
# (todo: use with rake)
|
62
|
+
#
|
63
|
+
class TestRunner < Test::Unit::UI::Console::TestRunner
|
64
|
+
|
65
|
+
def initialize(suite, output_level=NORMAL, io=STDOUT)
|
66
|
+
super(suite)
|
67
|
+
if io.is_a? String
|
68
|
+
fn = io
|
69
|
+
puts "Writing to #{fn}"
|
70
|
+
@io = File.open( fn, "w" )
|
71
|
+
@using_stdout = false
|
72
|
+
else
|
73
|
+
@io = io
|
74
|
+
@using_stdout = true
|
75
|
+
end
|
76
|
+
create_document
|
77
|
+
end
|
78
|
+
|
79
|
+
def create_document
|
80
|
+
@doc = REXML::Document.new
|
81
|
+
@doc << REXML::XMLDecl.new
|
82
|
+
|
83
|
+
pi = REXML::Instruction.new(
|
84
|
+
"xml-stylesheet",
|
85
|
+
"type='text/xsl' href='xmltestrunner.xslt' "
|
86
|
+
)
|
87
|
+
@doc << pi
|
88
|
+
|
89
|
+
e = REXML::Element.new("testsuite")
|
90
|
+
e.attributes['rundate'] = Time.now
|
91
|
+
@doc << e
|
92
|
+
end
|
93
|
+
|
94
|
+
def to_s
|
95
|
+
@doc.to_s
|
96
|
+
end
|
97
|
+
|
98
|
+
def start
|
99
|
+
@current_test = nil
|
100
|
+
# setup_mediator
|
101
|
+
@mediator = TestRunnerMediator.new( @suite )
|
102
|
+
suite_name = @suite.to_s
|
103
|
+
if @suite.kind_of?(Module)
|
104
|
+
suite_name = @suite.name
|
105
|
+
end
|
106
|
+
@doc.root.attributes['name'] = suite_name
|
107
|
+
# attach_to_mediator - define callbacks
|
108
|
+
@mediator.add_listener( TestResult::FAULT,
|
109
|
+
&method(:add_fault) )
|
110
|
+
@mediator.add_listener( TestRunnerMediator::STARTED,
|
111
|
+
&method(:started) )
|
112
|
+
@mediator.add_listener( TestRunnerMediator::FINISHED,
|
113
|
+
&method(:finished) )
|
114
|
+
@mediator.add_listener( TestCase::STARTED,
|
115
|
+
&method(:test_started) )
|
116
|
+
@mediator.add_listener( TestCase::FINISHED,
|
117
|
+
&method(:test_finished) )
|
118
|
+
# return start_mediator
|
119
|
+
return @mediator.run_suite
|
120
|
+
end
|
121
|
+
|
122
|
+
# callbacks
|
123
|
+
|
124
|
+
def add_fault( fault )
|
125
|
+
##STDERR.puts "Fault:"
|
126
|
+
@faults << fault
|
127
|
+
e = REXML::Element.new( "fault" )
|
128
|
+
e << REXML::CData.new( fault.long_display )
|
129
|
+
@current_test << e
|
130
|
+
end
|
131
|
+
|
132
|
+
def started( result )
|
133
|
+
#STDERR.puts "Started"
|
134
|
+
@result = result
|
135
|
+
end
|
136
|
+
|
137
|
+
def finished( elapsed_time )
|
138
|
+
#STDERR.puts "Finished"
|
139
|
+
res = REXML::Element.new( "result" )
|
140
|
+
summ = REXML::Element.new( "summary" )
|
141
|
+
summ.text = @result
|
142
|
+
res << summ
|
143
|
+
# @result is a Test::Unit::TestResults
|
144
|
+
res.attributes['passed'] = @result.passed?
|
145
|
+
res.attributes['testcount'] = @result.run_count
|
146
|
+
res.attributes['assertcount'] = @result.assertion_count
|
147
|
+
res.attributes['failures'] = @result.failure_count
|
148
|
+
res.attributes['errors'] = @result.error_count
|
149
|
+
@doc.root << res
|
150
|
+
|
151
|
+
e = REXML::Element.new( "elapsed-time" )
|
152
|
+
e.text = elapsed_time
|
153
|
+
@doc.root << e
|
154
|
+
@io.puts( @doc.to_s )
|
155
|
+
|
156
|
+
unless @using_stdout
|
157
|
+
puts @result
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
def test_started( name )
|
162
|
+
#STDERR.puts "Test: #{name} started"
|
163
|
+
e = REXML::Element.new( "test" )
|
164
|
+
e.attributes['name'] = name
|
165
|
+
#e.attributes['status'] = "failed"
|
166
|
+
@doc.root << e
|
167
|
+
@current_test = e
|
168
|
+
end
|
169
|
+
|
170
|
+
def test_finished( name )
|
171
|
+
#STDERR.puts "Test: #{name} finished"
|
172
|
+
# find //test[@name='name']
|
173
|
+
@current_test = nil
|
174
|
+
end
|
175
|
+
|
176
|
+
end
|
177
|
+
end
|
178
|
+
end
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
# "plug in" xmltestrunner into autorunner's list of known runners
|
183
|
+
# This enables the "--runner=xml" commandline option.
|
184
|
+
Test::Unit::AutoRunner::RUNNERS[:xml] = proc do |r|
|
185
|
+
require 'test/unit/ui/xml/testrunner'
|
186
|
+
Test::Unit::UI::XML::TestRunner
|
187
|
+
end
|
188
|
+
|
189
|
+
if __FILE__ == $0
|
190
|
+
Test::Unit::UI::XML::TestRunner.start_command_line_test
|
191
|
+
end
|
192
|
+
|
@@ -0,0 +1,109 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<xsl:stylesheet
|
3
|
+
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
4
|
+
>
|
5
|
+
|
6
|
+
<!--
|
7
|
+
|
8
|
+
Copyright (c) 2005, Gregory D. Fast
|
9
|
+
All rights reserved.
|
10
|
+
|
11
|
+
Redistribution and use in source and binary forms, with or without
|
12
|
+
modification, are permitted provided that the following conditions
|
13
|
+
are met:
|
14
|
+
|
15
|
+
* Redistributions of source code must retain the above copyright
|
16
|
+
notice, this list of conditions and the following disclaimer.
|
17
|
+
|
18
|
+
* Redistributions in binary form must reproduce the above copyright
|
19
|
+
notice, this list of conditions and the following disclaimer in the
|
20
|
+
documentation and/or other materials provided with the distribution.
|
21
|
+
|
22
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
23
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
24
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
25
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
26
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
27
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
28
|
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
29
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
30
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
31
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
32
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
33
|
+
|
34
|
+
-->
|
35
|
+
|
36
|
+
<xsl:output method="html" />
|
37
|
+
|
38
|
+
<xsl:template match="/testsuite">
|
39
|
+
<html>
|
40
|
+
<head>
|
41
|
+
<title>Test Suite Results for <xsl:value-of select="@name" /></title>
|
42
|
+
<style>
|
43
|
+
.error { color: #ff0000; }
|
44
|
+
.eresult {
|
45
|
+
background: #ffcccc;
|
46
|
+
color: #ff0000;
|
47
|
+
}
|
48
|
+
h1,h2 {
|
49
|
+
background: #cccccc;
|
50
|
+
color: #000055;
|
51
|
+
border: 1px dotted black;
|
52
|
+
}
|
53
|
+
</style>
|
54
|
+
</head>
|
55
|
+
<body>
|
56
|
+
<h1>Test Suite Results</h1>
|
57
|
+
|
58
|
+
<p>Results for: <xsl:value-of select="@name" /></p>
|
59
|
+
|
60
|
+
<p>
|
61
|
+
Test suite run at: <b><xsl:value-of select="@rundate" /></b>
|
62
|
+
</p>
|
63
|
+
|
64
|
+
<h2>Summary</h2>
|
65
|
+
|
66
|
+
<p>
|
67
|
+
<xsl:if test="result[@passed = 'false']">
|
68
|
+
<xsl:attribute name="class">error</xsl:attribute>
|
69
|
+
</xsl:if>
|
70
|
+
<xsl:value-of select="result/summary/text()" />
|
71
|
+
</p>
|
72
|
+
<p>
|
73
|
+
Elapsed time: <xsl:value-of select="elapsed-time/text()" />
|
74
|
+
</p>
|
75
|
+
|
76
|
+
<table border="1">
|
77
|
+
<tr>
|
78
|
+
<th>Case</th>
|
79
|
+
<th>Result</th>
|
80
|
+
</tr>
|
81
|
+
<xsl:for-each select="test">
|
82
|
+
<tr>
|
83
|
+
<td>
|
84
|
+
<xsl:if test="fault/text()">
|
85
|
+
<xsl:attribute name="class">error</xsl:attribute>
|
86
|
+
</xsl:if>
|
87
|
+
<xsl:value-of select="@name" />
|
88
|
+
</td>
|
89
|
+
<td>
|
90
|
+
<xsl:choose>
|
91
|
+
<xsl:when test="fault/text()">
|
92
|
+
<xsl:attribute name="class">eresult</xsl:attribute>
|
93
|
+
<pre>
|
94
|
+
<xsl:value-of select="fault/text()" />
|
95
|
+
</pre>
|
96
|
+
</xsl:when>
|
97
|
+
<xsl:otherwise>
|
98
|
+
(pass)
|
99
|
+
</xsl:otherwise>
|
100
|
+
</xsl:choose>
|
101
|
+
</td>
|
102
|
+
</tr>
|
103
|
+
</xsl:for-each>
|
104
|
+
</table>
|
105
|
+
</body>
|
106
|
+
</html>
|
107
|
+
</xsl:template>
|
108
|
+
|
109
|
+
</xsl:stylesheet>
|
metadata
ADDED
@@ -0,0 +1,235 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.9.0
|
3
|
+
specification_version: 1
|
4
|
+
name: minilab
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 1.0.0
|
7
|
+
date: 2007-06-25 00:00:00 -04:00
|
8
|
+
summary: Ruby interface to Measurement Computing's miniLAB 1008
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: fletcher@atomicobject.com
|
12
|
+
homepage: http://atomicobject.com
|
13
|
+
rubyforge_project:
|
14
|
+
description:
|
15
|
+
autorequire:
|
16
|
+
default_executable:
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: true
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
24
|
+
version:
|
25
|
+
platform: mswin32
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
post_install_message:
|
29
|
+
authors:
|
30
|
+
- Matt Fletcher - Atomic Object, LLC
|
31
|
+
files:
|
32
|
+
- test/integration
|
33
|
+
- test/system
|
34
|
+
- test/test_helper.rb
|
35
|
+
- test/unit
|
36
|
+
- test/integration/analog_input_output_test.rb
|
37
|
+
- test/integration/connect_to_hardware_test.rb
|
38
|
+
- test/integration/digital_input_output_test.rb
|
39
|
+
- test/integration/integration_test.rb
|
40
|
+
- test/integration/require_minilab_test.rb
|
41
|
+
- test/system/analog_input.test
|
42
|
+
- test/system/analog_output.test
|
43
|
+
- test/system/digital_port_input.test
|
44
|
+
- test/system/digital_port_output.test
|
45
|
+
- test/system/digital_port_read_byte.test
|
46
|
+
- test/system/digital_screw_terminals_input.test
|
47
|
+
- test/system/digital_screw_terminals_output.test
|
48
|
+
- test/system/minilab_driver.rb
|
49
|
+
- test/unit/analog_io_test.rb
|
50
|
+
- test/unit/digital_auxport_io_test.rb
|
51
|
+
- test/unit/digital_configuration_test.rb
|
52
|
+
- test/unit/digital_port_io_test.rb
|
53
|
+
- test/unit/library_translator_test.rb
|
54
|
+
- test/unit/minilab_context_test.rb
|
55
|
+
- test/unit/minilab_hardware_test.rb
|
56
|
+
- test/unit/minilab_test.rb
|
57
|
+
- test/unit/result_verifier_test.rb
|
58
|
+
- config/environment.rb
|
59
|
+
- config/objects.yml
|
60
|
+
- vendor/behaviors
|
61
|
+
- vendor/constructor
|
62
|
+
- vendor/diy
|
63
|
+
- vendor/hardmock
|
64
|
+
- vendor/systir
|
65
|
+
- vendor/behaviors/lib
|
66
|
+
- vendor/behaviors/tasks
|
67
|
+
- vendor/behaviors/test
|
68
|
+
- vendor/behaviors/lib/behaviors.rb
|
69
|
+
- vendor/behaviors/tasks/behaviors_tasks.rake
|
70
|
+
- vendor/behaviors/test/behaviors_tasks_test.rb
|
71
|
+
- vendor/behaviors/test/behaviors_test.rb
|
72
|
+
- vendor/behaviors/test/tasks_test
|
73
|
+
- vendor/behaviors/test/tasks_test/doc
|
74
|
+
- vendor/behaviors/test/tasks_test/lib
|
75
|
+
- vendor/behaviors/test/tasks_test/Rakefile
|
76
|
+
- vendor/behaviors/test/tasks_test/test
|
77
|
+
- vendor/behaviors/test/tasks_test/doc/behaviors.html
|
78
|
+
- vendor/behaviors/test/tasks_test/lib/user.rb
|
79
|
+
- vendor/behaviors/test/tasks_test/test/user_test.rb
|
80
|
+
- vendor/constructor/config
|
81
|
+
- vendor/constructor/lib
|
82
|
+
- vendor/constructor/Rakefile
|
83
|
+
- vendor/constructor/test
|
84
|
+
- vendor/constructor/config/environment.rb
|
85
|
+
- vendor/constructor/lib/constructor.rb
|
86
|
+
- vendor/constructor/test/constructor_test.rb
|
87
|
+
- vendor/constructor/test/helper.rb
|
88
|
+
- vendor/diy/lib
|
89
|
+
- vendor/diy/proto
|
90
|
+
- vendor/diy/Rakefile
|
91
|
+
- vendor/diy/README
|
92
|
+
- vendor/diy/test
|
93
|
+
- vendor/diy/lib/constructor.rb
|
94
|
+
- vendor/diy/lib/diy.rb
|
95
|
+
- vendor/diy/proto/context.rb
|
96
|
+
- vendor/diy/proto/context.yml
|
97
|
+
- vendor/diy/test/diy_test.rb
|
98
|
+
- vendor/diy/test/files
|
99
|
+
- vendor/diy/test/test_helper.rb
|
100
|
+
- vendor/diy/test/files/broken_construction.yml
|
101
|
+
- vendor/diy/test/files/cat
|
102
|
+
- vendor/diy/test/files/dog
|
103
|
+
- vendor/diy/test/files/donkey
|
104
|
+
- vendor/diy/test/files/fud
|
105
|
+
- vendor/diy/test/files/gnu
|
106
|
+
- vendor/diy/test/files/goat
|
107
|
+
- vendor/diy/test/files/horse
|
108
|
+
- vendor/diy/test/files/yak
|
109
|
+
- vendor/diy/test/files/cat/cat.rb
|
110
|
+
- vendor/diy/test/files/cat/extra_conflict.yml
|
111
|
+
- vendor/diy/test/files/cat/heritage.rb
|
112
|
+
- vendor/diy/test/files/cat/needs_input.yml
|
113
|
+
- vendor/diy/test/files/cat/the_cat_lineage.rb
|
114
|
+
- vendor/diy/test/files/dog/dog_model.rb
|
115
|
+
- vendor/diy/test/files/dog/dog_presenter.rb
|
116
|
+
- vendor/diy/test/files/dog/dog_view.rb
|
117
|
+
- vendor/diy/test/files/dog/file_resolver.rb
|
118
|
+
- vendor/diy/test/files/dog/other_thing.rb
|
119
|
+
- vendor/diy/test/files/dog/simple.yml
|
120
|
+
- vendor/diy/test/files/donkey/foo
|
121
|
+
- vendor/diy/test/files/donkey/foo.rb
|
122
|
+
- vendor/diy/test/files/donkey/foo/bar
|
123
|
+
- vendor/diy/test/files/donkey/foo/bar/qux.rb
|
124
|
+
- vendor/diy/test/files/fud/objects.yml
|
125
|
+
- vendor/diy/test/files/fud/toy.rb
|
126
|
+
- vendor/diy/test/files/gnu/objects.yml
|
127
|
+
- vendor/diy/test/files/gnu/thinger.rb
|
128
|
+
- vendor/diy/test/files/goat/base.rb
|
129
|
+
- vendor/diy/test/files/goat/can.rb
|
130
|
+
- vendor/diy/test/files/goat/goat.rb
|
131
|
+
- vendor/diy/test/files/goat/objects.yml
|
132
|
+
- vendor/diy/test/files/goat/paper.rb
|
133
|
+
- vendor/diy/test/files/goat/plane.rb
|
134
|
+
- vendor/diy/test/files/goat/shirt.rb
|
135
|
+
- vendor/diy/test/files/goat/wings.rb
|
136
|
+
- vendor/diy/test/files/horse/holder_thing.rb
|
137
|
+
- vendor/diy/test/files/horse/objects.yml
|
138
|
+
- vendor/diy/test/files/yak/core_model.rb
|
139
|
+
- vendor/diy/test/files/yak/core_presenter.rb
|
140
|
+
- vendor/diy/test/files/yak/core_view.rb
|
141
|
+
- vendor/diy/test/files/yak/data_source.rb
|
142
|
+
- vendor/diy/test/files/yak/fringe_model.rb
|
143
|
+
- vendor/diy/test/files/yak/fringe_presenter.rb
|
144
|
+
- vendor/diy/test/files/yak/fringe_view.rb
|
145
|
+
- vendor/diy/test/files/yak/my_objects.yml
|
146
|
+
- vendor/hardmock/CHANGES
|
147
|
+
- vendor/hardmock/config
|
148
|
+
- vendor/hardmock/homepage
|
149
|
+
- vendor/hardmock/init.rb
|
150
|
+
- vendor/hardmock/lib
|
151
|
+
- vendor/hardmock/LICENSE
|
152
|
+
- vendor/hardmock/Rakefile
|
153
|
+
- vendor/hardmock/rcov.rake
|
154
|
+
- vendor/hardmock/README
|
155
|
+
- vendor/hardmock/test
|
156
|
+
- vendor/hardmock/TODO
|
157
|
+
- vendor/hardmock/config/environment.rb
|
158
|
+
- vendor/hardmock/homepage/demo.rb
|
159
|
+
- vendor/hardmock/homepage/hardmock_sample.png
|
160
|
+
- vendor/hardmock/homepage/index.html
|
161
|
+
- vendor/hardmock/lib/hardmock.rb
|
162
|
+
- vendor/hardmock/lib/method_cleanout.rb
|
163
|
+
- vendor/hardmock/test/functional
|
164
|
+
- vendor/hardmock/test/test_helper.rb
|
165
|
+
- vendor/hardmock/test/unit
|
166
|
+
- vendor/hardmock/test/functional/assert_error_test.rb
|
167
|
+
- vendor/hardmock/test/functional/auto_verify_test.rb
|
168
|
+
- vendor/hardmock/test/functional/direct_mock_usage_test.rb
|
169
|
+
- vendor/hardmock/test/functional/hardmock_test.rb
|
170
|
+
- vendor/hardmock/test/unit/expectation_builder_test.rb
|
171
|
+
- vendor/hardmock/test/unit/expector_test.rb
|
172
|
+
- vendor/hardmock/test/unit/method_cleanout_test.rb
|
173
|
+
- vendor/hardmock/test/unit/mock_control_test.rb
|
174
|
+
- vendor/hardmock/test/unit/mock_test.rb
|
175
|
+
- vendor/hardmock/test/unit/simple_expectation_test.rb
|
176
|
+
- vendor/hardmock/test/unit/trapper_test.rb
|
177
|
+
- vendor/hardmock/test/unit/verify_error_test.rb
|
178
|
+
- vendor/systir/systir.rb
|
179
|
+
- vendor/systir/test
|
180
|
+
- vendor/systir/test/unit
|
181
|
+
- vendor/systir/test/unit/ui
|
182
|
+
- vendor/systir/test/unit/ui/xml
|
183
|
+
- vendor/systir/test/unit/ui/xml/testrunner.rb
|
184
|
+
- vendor/systir/test/unit/ui/xml/xmltestrunner.xslt
|
185
|
+
- lib/analog_io.rb
|
186
|
+
- lib/digital_auxport_io.rb
|
187
|
+
- lib/digital_configuration.rb
|
188
|
+
- lib/digital_port_io.rb
|
189
|
+
- lib/extension
|
190
|
+
- lib/library_translator.rb
|
191
|
+
- lib/minilab.rb
|
192
|
+
- lib/minilab_context.rb
|
193
|
+
- lib/result_verifier.rb
|
194
|
+
- Rakefile
|
195
|
+
- README
|
196
|
+
- LICENSE
|
197
|
+
- CHANGES
|
198
|
+
- .document
|
199
|
+
- lib/extension//minilab_hardware.c
|
200
|
+
- lib/extension//minilab_hardware.so
|
201
|
+
- lib/extension//extconf.rb
|
202
|
+
test_files:
|
203
|
+
- test/unit/analog_io_test.rb
|
204
|
+
- test/unit/digital_auxport_io_test.rb
|
205
|
+
- test/unit/digital_configuration_test.rb
|
206
|
+
- test/unit/digital_port_io_test.rb
|
207
|
+
- test/unit/library_translator_test.rb
|
208
|
+
- test/unit/minilab_context_test.rb
|
209
|
+
- test/unit/minilab_hardware_test.rb
|
210
|
+
- test/unit/minilab_test.rb
|
211
|
+
- test/unit/result_verifier_test.rb
|
212
|
+
- test/integration/analog_input_output_test.rb
|
213
|
+
- test/integration/connect_to_hardware_test.rb
|
214
|
+
- test/integration/digital_input_output_test.rb
|
215
|
+
- test/integration/integration_test.rb
|
216
|
+
- test/integration/require_minilab_test.rb
|
217
|
+
rdoc_options:
|
218
|
+
- --line-numbers
|
219
|
+
- --inline-source
|
220
|
+
- --main
|
221
|
+
- README
|
222
|
+
- --title
|
223
|
+
- minilab
|
224
|
+
extra_rdoc_files:
|
225
|
+
- README
|
226
|
+
- CHANGES
|
227
|
+
- LICENSE
|
228
|
+
executables: []
|
229
|
+
|
230
|
+
extensions: []
|
231
|
+
|
232
|
+
requirements: []
|
233
|
+
|
234
|
+
dependencies: []
|
235
|
+
|