unified_matchers 0.1.5.0

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.
@@ -0,0 +1,40 @@
1
+ ---
2
+
3
+ UnifiedMatchers Sanity Single Requires Test Suite: !S::Iterate
4
+
5
+ over: !pathlist <<pwd>>/../../lib/(**/*).rb
6
+ iter: [it_file, it_name]
7
+ test:
8
+ <<it_name>>: !S::Suite
9
+ attributes: !S::Cmd
10
+ command: <<ruby>>
11
+ exit: 0
12
+ error: ""
13
+ output: !re 0 failures, 0 errors$
14
+ args: -I<<pwd>>/../../lib
15
+ contents:
16
+ - require:
17
+ input: |
18
+ require 'unified_matchers'
19
+ require '<<it_name>>'
20
+ require 'test/unit'
21
+ class TC_ < Test::Unit::TestCase
22
+ def test_definitions
23
+ assert($LOADED_FEATURES.include?('<<it_name>>.rb'),
24
+ "<<it_name>> not in $LOADED_FEATURES")
25
+ end
26
+ end
27
+ - lazy loading:
28
+ input: |
29
+ require 'unified_matchers'
30
+ require 'test/unit'
31
+ class TC_ < Test::Unit::TestCase
32
+ def test_definitions
33
+ assert_nothing_raised('cannot camelmize <<it_name>>') do
34
+ @camel = '<<it_name>>'.camelize
35
+ end
36
+ assert_nothing_raised("#@camel not defined?") do
37
+ @camel.constantize
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,10 @@
1
+ ---
2
+
3
+ UnifiedMatchers Sanity Test Suite: !S::Iterate
4
+
5
+ over: !pathlist <<pwd>>/(sanity/**/*.yml)
6
+ iter: [it_file, it_name]
7
+
8
+ test:
9
+ <<it_name>>: !S::Import
10
+ import : <<it_file>>
@@ -0,0 +1,12 @@
1
+ ---
2
+
3
+ Unit tests of UnifiedMatchers: !S::Iterate
4
+ over: !pathlist <<pwd>>/{unit,../lib}/(**/*).rb
5
+ iter: [ it_file, it_name ]
6
+ test:
7
+ Unit test <<it_name>>: !S::RUnit
8
+ requires : <<pwd>>/../lib/unified_matchers
9
+ input : !path <<it_name>>.rb
10
+ uttk_unit_options : --mode import # --uttk no
11
+ verbose : true
12
+ dir : <<pwd>>
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.9.0
3
+ specification_version: 1
4
+ name: unified_matchers
5
+ version: !ruby/object:Gem::Version
6
+ version: 0.1.5.0
7
+ date: 2007-01-14 00:00:00 +01:00
8
+ summary: UnifiedMatchers
9
+ require_paths:
10
+ - lib
11
+ email:
12
+ - nicolas.pouillard@gmail.com
13
+ - gaelle.champarnaud@gmail.com
14
+ homepage: http://api.feydakins.org/unified_matchers
15
+ rubyforge_project: unified_matchers
16
+ description: ""
17
+ autorequire:
18
+ default_executable:
19
+ bindir: bin
20
+ has_rdoc: false
21
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
22
+ requirements:
23
+ - - ">"
24
+ - !ruby/object:Gem::Version
25
+ version: 0.0.0
26
+ version:
27
+ platform: ruby
28
+ signing_key:
29
+ cert_chain:
30
+ post_install_message:
31
+ authors:
32
+ - Nicolas Pouillard
33
+ - "Ga\xC3\xABlle Champarnaud"
34
+ files:
35
+ - lib/unified_matchers.rb
36
+ - lib/unified_matchers/assertions.rb
37
+ - lib/unified_matchers/case_equality_based_matcher.rb
38
+ - lib/unified_matchers/diff_matcher.rb
39
+ - lib/unified_matchers/equality_based_matcher.rb
40
+ - lib/unified_matchers/gnu_diff_matcher.rb
41
+ - lib/unified_matchers/helpers.rb
42
+ - lib/unified_matchers/lcs_diff_matcher.rb
43
+ - lib/unified_matchers/matcher_result.rb
44
+ - lib/unified_matchers/matcher_results.rb
45
+ - lib/unified_matchers/stream_matcher.rb
46
+ - lib/unified_matchers/strict_equality_based_matcher.rb
47
+ - lib/unified_matchers/unified_matcher.rb
48
+ - lib/unified_matchers/version_id.rb
49
+ - test/check-pkg-unified_matchers.yml
50
+ - test/check.yml
51
+ - test/fixtures
52
+ - test/functional
53
+ - test/pkg
54
+ - test/sanity
55
+ - test/sanity-suite.yml
56
+ - test/unit
57
+ - test/unit-suite.yml
58
+ - test/fixtures/bird.txt
59
+ - test/fixtures/birds.txt
60
+ - test/fixtures/my.file
61
+ - test/fixtures/pluralizer
62
+ - test/sanity/multiple-requires.yml
63
+ - test/sanity/single-requires.yml
64
+ - AUTHORS
65
+ - ChangeLog
66
+ - NEWS
67
+ - Rakefile
68
+ - README
69
+ - SPEC.gemspec
70
+ - SPEC.yml
71
+ test_files: []
72
+
73
+ rdoc_options: []
74
+
75
+ extra_rdoc_files: []
76
+
77
+ executables: []
78
+
79
+ extensions: []
80
+
81
+ requirements: []
82
+
83
+ dependencies:
84
+ - !ruby/object:Gem::Dependency
85
+ name: core_ex
86
+ version_requirement:
87
+ version_requirements: !ruby/object:Gem::Version::Requirement
88
+ requirements:
89
+ - - ~>
90
+ - !ruby/object:Gem::Version
91
+ version: 0.6.5
92
+ version: