r2corba 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGES +159 -0
- data/LICENSE +59 -0
- data/README +62 -0
- data/THANKS +52 -0
- data/bin/r2corba +8 -0
- data/bin/ridlc +11 -0
- data/bin/rins +7 -0
- data/ext/ext.mwc +6 -0
- data/ext/extload/extload.c +60 -0
- data/ext/libr2tao/any.cpp +1543 -0
- data/ext/libr2tao/exception.cpp +202 -0
- data/ext/libr2tao/exception.h +104 -0
- data/ext/libr2tao/longdouble.cpp +173 -0
- data/ext/libr2tao/longdouble.h +31 -0
- data/ext/libr2tao/object.cpp +1150 -0
- data/ext/libr2tao/object.h +38 -0
- data/ext/libr2tao/orb.cpp +1029 -0
- data/ext/libr2tao/orb.h +36 -0
- data/ext/libr2tao/r2tao_export.h +45 -0
- data/ext/libr2tao/r2tao_ext.h +38 -0
- data/ext/libr2tao/required.cpp +463 -0
- data/ext/libr2tao/required.h +187 -0
- data/ext/libr2tao/typecode.cpp +888 -0
- data/ext/libr2tao/typecode.h +45 -0
- data/ext/libr2tao/values.cpp +2938 -0
- data/ext/libr2tao/values.h +396 -0
- data/ext/librpoa/iortable.cpp +250 -0
- data/ext/librpoa/poa.cpp +1076 -0
- data/ext/librpoa/poa.h +24 -0
- data/ext/librpoa/rpoa_export.h +44 -0
- data/ext/librpoa/servant.cpp +1338 -0
- data/ext/librpoa/servant.h +116 -0
- data/ext/librpoa/srvreq_fix.cpp +283 -0
- data/ext/librpoa/srvreq_fix.h +149 -0
- data/ext/librpol/policies.cpp +763 -0
- data/ext/librpol/policies.h +15 -0
- data/ext/librpol/rpol_export.h +44 -0
- data/lib/corba/cbase/IORMap.rb +33 -0
- data/lib/corba/cbase/ORB.rb +231 -0
- data/lib/corba/cbase/Request.rb +134 -0
- data/lib/corba/cbase/Streams.rb +129 -0
- data/lib/corba/cbase/Stub.rb +19 -0
- data/lib/corba/cbase/Typecode.rb +441 -0
- data/lib/corba/cbase/Values.rb +129 -0
- data/lib/corba/cbase/exception.rb +66 -0
- data/lib/corba/cbase/poa.rb +23 -0
- data/lib/corba/cbase/policies.rb +78 -0
- data/lib/corba/cbase/post_require.rb +14 -0
- data/lib/corba/cbase/require.rb +28 -0
- data/lib/corba/cmds/base.rb +85 -0
- data/lib/corba/cmds/test.rb +30 -0
- data/lib/corba/common/Any.rb +91 -0
- data/lib/corba/common/IDL.rb +104 -0
- data/lib/corba/common/ORB.rb +368 -0
- data/lib/corba/common/Object.rb +208 -0
- data/lib/corba/common/Request.rb +20 -0
- data/lib/corba/common/Servant.rb +108 -0
- data/lib/corba/common/Struct.rb +22 -0
- data/lib/corba/common/Stub.rb +79 -0
- data/lib/corba/common/Typecode.rb +1121 -0
- data/lib/corba/common/Union.rb +56 -0
- data/lib/corba/common/Values.rb +92 -0
- data/lib/corba/common/const.rb +22 -0
- data/lib/corba/common/exception.rb +68 -0
- data/lib/corba/common/require.rb +27 -0
- data/lib/corba/common/version.rb +22 -0
- data/lib/corba/idl/IDL.rb +21 -0
- data/lib/corba/idl/IORTable.pidl +62 -0
- data/lib/corba/idl/TAO_Ext.pidl +46 -0
- data/lib/corba/idl/require.rb +20 -0
- data/lib/corba/jbase/Any.rb +273 -0
- data/lib/corba/jbase/IORMap.rb +36 -0
- data/lib/corba/jbase/ORB.rb +99 -0
- data/lib/corba/jbase/Object.rb +98 -0
- data/lib/corba/jbase/Request.rb +226 -0
- data/lib/corba/jbase/Servant.rb +247 -0
- data/lib/corba/jbase/ServerRequest.rb +128 -0
- data/lib/corba/jbase/Streams.rb +671 -0
- data/lib/corba/jbase/Stub.rb +38 -0
- data/lib/corba/jbase/Typecode.rb +520 -0
- data/lib/corba/jbase/Values.rb +173 -0
- data/lib/corba/jbase/exception.rb +106 -0
- data/lib/corba/jbase/poa.rb +229 -0
- data/lib/corba/jbase/policies.rb +300 -0
- data/lib/corba/jbase/post_require.rb +14 -0
- data/lib/corba/jbase/require.rb +86 -0
- data/lib/corba/naming.rb +14 -0
- data/lib/corba/naming_service.rb +15 -0
- data/lib/corba/poa.rb +15 -0
- data/lib/corba/policies.rb +18 -0
- data/lib/corba/require.rb +17 -0
- data/lib/corba/svcs/ins/cos_naming.rb +426 -0
- data/lib/corba/svcs/ins/ins.rb +526 -0
- data/lib/corba/svcs/ins/naming_service.rb +119 -0
- data/lib/corba.rb +16 -0
- data/lib/ridlbe/ruby/config.rb +336 -0
- data/lib/ridlbe/ruby/require.rb +16 -0
- data/lib/ridlbe/ruby/walker.rb +1582 -0
- data/mkrf_conf_srcgem.rb +186 -0
- data/rakelib/bin.rake +80 -0
- data/rakelib/bin.rb +146 -0
- data/rakelib/build.rake +87 -0
- data/rakelib/config.rake +52 -0
- data/rakelib/config.rb +450 -0
- data/rakelib/ext.rake +242 -0
- data/rakelib/ext.rb +308 -0
- data/rakelib/ext_r2tao.rb +232 -0
- data/rakelib/gem.rake +212 -0
- data/rakelib/gem.rb +146 -0
- data/rakelib/package.rake +26 -0
- data/rakelib/test.rake +23 -0
- data/test/BiDirectional/Test.idl +34 -0
- data/test/BiDirectional/client.rb +132 -0
- data/test/BiDirectional/run_test.rb +68 -0
- data/test/BiDirectional/server.rb +169 -0
- data/test/CORBA_Services/Naming/BindingIterator/Test.idl +27 -0
- data/test/CORBA_Services/Naming/BindingIterator/client.rb +121 -0
- data/test/CORBA_Services/Naming/BindingIterator/run_test.rb +82 -0
- data/test/CORBA_Services/Naming/BindingIterator/server.rb +109 -0
- data/test/CORBA_Services/Naming/Corbaname/Test.idl +27 -0
- data/test/CORBA_Services/Naming/Corbaname/client.rb +85 -0
- data/test/CORBA_Services/Naming/Corbaname/run_test.rb +88 -0
- data/test/CORBA_Services/Naming/Corbaname/server.rb +135 -0
- data/test/CORBA_Services/Naming/Simple/Test.idl +27 -0
- data/test/CORBA_Services/Naming/Simple/client.rb +84 -0
- data/test/CORBA_Services/Naming/Simple/run_test.rb +82 -0
- data/test/CORBA_Services/Naming/Simple/server.rb +109 -0
- data/test/Collocation/Diamond.idl +39 -0
- data/test/Collocation/run_test.rb +52 -0
- data/test/Collocation/test.rb +195 -0
- data/test/Connect_Timeout/Test.idl +27 -0
- data/test/Connect_Timeout/client.rb +111 -0
- data/test/Connect_Timeout/run_test.rb +52 -0
- data/test/DII/Test.idl +27 -0
- data/test/DII/client.rb +115 -0
- data/test/DII/run_test.rb +69 -0
- data/test/DII/server.rb +95 -0
- data/test/DSI/Test.idl +27 -0
- data/test/DSI/client.rb +66 -0
- data/test/DSI/run_test.rb +69 -0
- data/test/DSI/server.rb +106 -0
- data/test/Exceptions/Test.idl +48 -0
- data/test/Exceptions/client.rb +118 -0
- data/test/Exceptions/run_test.rb +69 -0
- data/test/Exceptions/server.rb +131 -0
- data/test/Hello/Test.idl +27 -0
- data/test/Hello/client.rb +78 -0
- data/test/Hello/run_test.rb +71 -0
- data/test/Hello/server.rb +95 -0
- data/test/IDL_Test/Test.idl +113 -0
- data/test/IDL_Test/Test_inc.idl +17 -0
- data/test/IDL_Test/client.rb +102 -0
- data/test/IDL_Test/run_test.rb +69 -0
- data/test/IDL_Test/server.rb +99 -0
- data/test/IORMap/Test.idl +27 -0
- data/test/IORMap/client.rb +73 -0
- data/test/IORMap/run_test.rb +69 -0
- data/test/IORMap/server.rb +114 -0
- data/test/IORTable/Test.idl +27 -0
- data/test/IORTable/client.rb +75 -0
- data/test/IORTable/run_test.rb +69 -0
- data/test/IORTable/server.rb +130 -0
- data/test/Implicit_Conversion/Test.idl +31 -0
- data/test/Implicit_Conversion/client.rb +110 -0
- data/test/Implicit_Conversion/run_test.rb +69 -0
- data/test/Implicit_Conversion/server.rb +99 -0
- data/test/Multi_Threading/Multiple_ORB/Test.idl +27 -0
- data/test/Multi_Threading/Multiple_ORB/client.rb +82 -0
- data/test/Multi_Threading/Multiple_ORB/run_test.rb +71 -0
- data/test/Multi_Threading/Multiple_ORB/server.rb +108 -0
- data/test/Multi_Threading/Simple/Test.idl +27 -0
- data/test/Multi_Threading/Simple/client.rb +88 -0
- data/test/Multi_Threading/Simple/run_test.rb +69 -0
- data/test/Multi_Threading/Simple/server.rb +118 -0
- data/test/Multi_Threading/Threads/Test.idl +31 -0
- data/test/Multi_Threading/Threads/client.rb +80 -0
- data/test/Multi_Threading/Threads/run_test.rb +76 -0
- data/test/Multi_Threading/Threads/server.rb +119 -0
- data/test/Multi_Threading/Threads/watchdog.rb +87 -0
- data/test/Multiple_Servant_Interfaces/Test.idl +34 -0
- data/test/Multiple_Servant_Interfaces/client.rb +70 -0
- data/test/Multiple_Servant_Interfaces/run_test.rb +69 -0
- data/test/Multiple_Servant_Interfaces/server.rb +102 -0
- data/test/Nil/Test.idl +27 -0
- data/test/Nil/run_test.rb +52 -0
- data/test/Nil/test.rb +78 -0
- data/test/OBV/AbstractInterface/client.rb +179 -0
- data/test/OBV/AbstractInterface/run_test.rb +69 -0
- data/test/OBV/AbstractInterface/server.rb +149 -0
- data/test/OBV/AbstractInterface/test.idl +53 -0
- data/test/OBV/Custom/OBV.idl +18 -0
- data/test/OBV/Custom/OBV_impl.rb +40 -0
- data/test/OBV/Custom/client.rb +86 -0
- data/test/OBV/Custom/run_test.rb +69 -0
- data/test/OBV/Custom/server.rb +100 -0
- data/test/OBV/Simple/OBV.idl +15 -0
- data/test/OBV/Simple/OBV_impl.rb +26 -0
- data/test/OBV/Simple/client.rb +86 -0
- data/test/OBV/Simple/run_test.rb +69 -0
- data/test/OBV/Simple/server.rb +100 -0
- data/test/OBV/Simple_Event/Event.idl +15 -0
- data/test/OBV/Simple_Event/Event_impl.rb +26 -0
- data/test/OBV/Simple_Event/client.rb +86 -0
- data/test/OBV/Simple_Event/run_test.rb +69 -0
- data/test/OBV/Simple_Event/server.rb +100 -0
- data/test/OBV/Supports/client.rb +116 -0
- data/test/OBV/Supports/run_test.rb +69 -0
- data/test/OBV/Supports/server.rb +103 -0
- data/test/OBV/Supports/supports.idl +33 -0
- data/test/OBV/Supports/supports_impl.rb +57 -0
- data/test/OBV/Tree/client.rb +116 -0
- data/test/OBV/Tree/run_test.rb +69 -0
- data/test/OBV/Tree/server.rb +117 -0
- data/test/OBV/Tree/test.idl +32 -0
- data/test/OBV/Truncatable/Extra.idl +27 -0
- data/test/OBV/Truncatable/Truncatable.idl +105 -0
- data/test/OBV/Truncatable/Truncatable_impl.rb +86 -0
- data/test/OBV/Truncatable/client.rb +279 -0
- data/test/OBV/Truncatable/run_test.rb +69 -0
- data/test/OBV/Truncatable/server.rb +89 -0
- data/test/OBV/ValueBox/client.rb +497 -0
- data/test/OBV/ValueBox/run_test.rb +69 -0
- data/test/OBV/ValueBox/server.rb +271 -0
- data/test/OBV/ValueBox/valuebox.idl +101 -0
- data/test/OBV/ValueBox/vb_basic.idl +75 -0
- data/test/OBV/ValueBox/vb_struct.idl +68 -0
- data/test/OBV/ValueBox/vb_union.idl +21 -0
- data/test/Object/Test.idl +27 -0
- data/test/Object/client.rb +103 -0
- data/test/Object/run_test.rb +69 -0
- data/test/Object/server.rb +126 -0
- data/test/POA/Test.idl +27 -0
- data/test/POA/run_test.rb +52 -0
- data/test/POA/test.rb +112 -0
- data/test/Param_Test/Test.idl +182 -0
- data/test/Param_Test/client.rb +277 -0
- data/test/Param_Test/run_test.rb +69 -0
- data/test/Param_Test/server.rb +296 -0
- data/test/Performance/Simple/Test.idl +27 -0
- data/test/Performance/Simple/client.rb +90 -0
- data/test/Performance/Simple/run_test.rb +69 -0
- data/test/Performance/Simple/server.rb +95 -0
- data/test/Policies/Test.idl +27 -0
- data/test/Policies/run_test.rb +52 -0
- data/test/Policies/test.rb +144 -0
- data/test/Timeout/client.rb +207 -0
- data/test/Timeout/run_test.rb +69 -0
- data/test/Timeout/server.rb +109 -0
- data/test/Timeout/test.idl +19 -0
- data/test/lib/assert.rb +43 -0
- data/test/lib/test.rb +542 -0
- data/test/test_runner.rb +193 -0
- metadata +334 -0
data/test/test_runner.rb
ADDED
@@ -0,0 +1,193 @@
|
|
1
|
+
#--------------------------------------------------------------------
|
2
|
+
# test_runner.rb - main test runner
|
3
|
+
#
|
4
|
+
# Author: Martin Corino
|
5
|
+
#
|
6
|
+
# This program is free software; you can redistribute it and/or
|
7
|
+
# modify it under the terms of the R2CORBA LICENSE which is
|
8
|
+
# included with this program.
|
9
|
+
#
|
10
|
+
# Copyright (c) Remedy IT Expertise BV
|
11
|
+
# Chamber of commerce Rotterdam nr.276339, The Netherlands
|
12
|
+
#--------------------------------------------------------------------
|
13
|
+
|
14
|
+
require 'rbconfig'
|
15
|
+
require 'optparse'
|
16
|
+
|
17
|
+
if defined? RbConfig
|
18
|
+
RB_CONFIG = RbConfig::CONFIG
|
19
|
+
else
|
20
|
+
RB_CONFIG = Config::CONFIG
|
21
|
+
end
|
22
|
+
|
23
|
+
is_win32 = (RB_CONFIG['target_os'] =~ /win32/ || RB_CONFIG['target_os'] =~ /mingw32/) ? true : false
|
24
|
+
|
25
|
+
root_path = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
26
|
+
|
27
|
+
has_local_ridl = File.directory?(File.join(root_path, 'ridl'))
|
28
|
+
|
29
|
+
if defined?(JRUBY_VERSION)
|
30
|
+
ENV['JACORB_HOME'] ||= File.expand_path(File.join(root_path, 'jacorb'))
|
31
|
+
incdirs = [
|
32
|
+
has_local_ridl ? File.expand_path(File.join(root_path, 'ridl', 'lib')) : nil,
|
33
|
+
File.expand_path(File.join(root_path, 'lib')),
|
34
|
+
File.expand_path(File.join(root_path, 'ext')),
|
35
|
+
File.expand_path(File.join(ENV['JACORB_HOME'], 'lib')),
|
36
|
+
ENV['RUBYLIB'],
|
37
|
+
'.'
|
38
|
+
].compact
|
39
|
+
ENV['RUBYLIB'] = incdirs.join(File::PATH_SEPARATOR)
|
40
|
+
else
|
41
|
+
ace_root = ENV['ACE_ROOT'] || File.expand_path(File.join(root_path, 'ACE', 'ACE_wrappers'))
|
42
|
+
## setup the right environment for running tests
|
43
|
+
incdirs = [
|
44
|
+
has_local_ridl ? File.expand_path(File.join(root_path, 'ridl', 'lib')) : nil,
|
45
|
+
File.expand_path(File.join(root_path, 'lib')),
|
46
|
+
File.expand_path(File.join(root_path, 'ext')),
|
47
|
+
ENV['RUBYLIB'],
|
48
|
+
'.'
|
49
|
+
].compact
|
50
|
+
ENV['RUBYLIB'] = incdirs.join(File::PATH_SEPARATOR)
|
51
|
+
if is_win32
|
52
|
+
ENV['PATH'] = [
|
53
|
+
File.directory?(ace_root) ? File.join(ENV['ACE_ROOT'],'lib') : nil,
|
54
|
+
File.expand_path(File.join(root_path, 'ext')),
|
55
|
+
ENV['PATH']
|
56
|
+
].compact.join(File::PATH_SEPARATOR)
|
57
|
+
elsif RUBY_PLATFORM =~ /darwin/
|
58
|
+
ENV['DYLD_LIBRARY_PATH'] = [
|
59
|
+
File.directory?(ace_root) ? File.join(ENV['ACE_ROOT'],'lib') : nil,
|
60
|
+
ENV['DYLD_LIBRARY_PATH']
|
61
|
+
].compact.join(File::PATH_SEPARATOR)
|
62
|
+
ENV['DYLD_FALLBACK_LIBRARY_PATH'] = [
|
63
|
+
File.directory?(ace_root) ? File.join(ENV['ACE_ROOT'],'lib') : nil,
|
64
|
+
File.expand_path(File.join(root_path, 'ext')),
|
65
|
+
ENV['DYLD_FALLBACK_LIBRARY_PATH']
|
66
|
+
].compact.join(File::PATH_SEPARATOR)
|
67
|
+
else
|
68
|
+
ENV['LD_LIBRARY_PATH'] = [
|
69
|
+
File.directory?(ace_root) ? File.join(ENV['ACE_ROOT'],'lib') : nil,
|
70
|
+
ENV['LD_LIBRARY_PATH']
|
71
|
+
].compact.join(File::PATH_SEPARATOR)
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
module TestFinder
|
76
|
+
OPTIONS = {
|
77
|
+
:exclude => nil,
|
78
|
+
:runonly => nil,
|
79
|
+
:listonly => false,
|
80
|
+
:debug => !ENV['R2CORBA_DEBUG'].nil?
|
81
|
+
}
|
82
|
+
|
83
|
+
ROOT = File.expand_path(File.dirname(__FILE__))
|
84
|
+
|
85
|
+
class << self
|
86
|
+
## define test class
|
87
|
+
def define_test_runner
|
88
|
+
TestFinder.const_set(:TestRunner, Class.new(Test::Unit::TestCase) do
|
89
|
+
self.const_set(:PROG, RB_CONFIG['RUBY_INSTALL_NAME'])
|
90
|
+
def self.run_it(path, cmd)
|
91
|
+
cur_dir = Dir.getwd
|
92
|
+
Dir.chdir(path)
|
93
|
+
begin
|
94
|
+
Kernel.system(cmd)
|
95
|
+
return $?.exitstatus
|
96
|
+
ensure
|
97
|
+
Dir.chdir(cur_dir)
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end) unless defined?(TestFinder::TestRunner)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
def self.process_directory(path)
|
105
|
+
cmd = nil
|
106
|
+
unless OPTIONS[:listonly]
|
107
|
+
cmd = TestRunner::PROG + ' '
|
108
|
+
cmd << (ENV['R2CORBA_VERBOSE'].nil? ? '' : '-v ') <<
|
109
|
+
'run_test.rb ' <<
|
110
|
+
(OPTIONS[:debug] ? '-d' : '')
|
111
|
+
end
|
112
|
+
if File.directory?(path)
|
113
|
+
if File.exists?(File.join(path, 'run_test.rb'))
|
114
|
+
dir = path.gsub(/^#{ROOT.gsub('/', '\/')}\//, '')
|
115
|
+
return if (OPTIONS[:exclude] || []).any? {|match| /^#{match.gsub('/', '\/')}/ =~ dir }
|
116
|
+
unless OPTIONS[:listonly]
|
117
|
+
TestRunner.module_eval %Q{
|
118
|
+
def test_#{dir.gsub('/', '_')}
|
119
|
+
puts ""
|
120
|
+
puts "##### running test #{dir}"
|
121
|
+
puts ""
|
122
|
+
exstat = TestRunner.run_it('#{path}', "#{cmd}")
|
123
|
+
raise "Execution of test #{dir} failed with exitstatus \#\{exstat\}" unless exstat == 0
|
124
|
+
end
|
125
|
+
}
|
126
|
+
else
|
127
|
+
puts dir
|
128
|
+
end
|
129
|
+
else
|
130
|
+
Dir.glob(File.join(path, "*")) {|psub| self.process_directory(psub)}
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
def self.run(argv)
|
136
|
+
opts = OptionParser.new
|
137
|
+
script_name = File.basename($0)
|
138
|
+
opts.banner = "Usage: #{script_name} #{/r2corba/ =~ script_name ? 'test ' : nil}[options]"
|
139
|
+
|
140
|
+
opts.separator ""
|
141
|
+
|
142
|
+
opts.on("-x MATCH", "--exclude=MATCH",
|
143
|
+
"Do not run tests matching MATCH.",
|
144
|
+
"Default: nil") { |v| (OPTIONS[:exclude] ||= []) << v.to_s }
|
145
|
+
opts.on("-r MATCH", "--run=MATCH",
|
146
|
+
"Only run tests matching MATCH.",
|
147
|
+
"Default: nil (run all)") { |v| (OPTIONS[:runonly] ||= []) << v.to_s }
|
148
|
+
opts.on('-l', '--list',
|
149
|
+
'List tests, do not run.',
|
150
|
+
"Default: off") { OPTIONS[:listonly] = true }
|
151
|
+
opts.on("-d",
|
152
|
+
"Run with debugging output.",
|
153
|
+
"Default: ENV['R2CORBA_DEBUG'].nil? ? false : true") { OPTIONS[:debug] = true }
|
154
|
+
|
155
|
+
opts.separator ""
|
156
|
+
|
157
|
+
opts.on("-h", "--help",
|
158
|
+
"Show this help message.") { puts opts; exit }
|
159
|
+
|
160
|
+
opts.parse!(argv)
|
161
|
+
|
162
|
+
unless argv.empty?
|
163
|
+
(OPTIONS[:runonly] ||= []).concat(argv.collect {|a| a.gsub('\\', '/') })
|
164
|
+
end
|
165
|
+
argv.clear
|
166
|
+
|
167
|
+
unless OPTIONS[:listonly]
|
168
|
+
require 'test/unit'
|
169
|
+
|
170
|
+
define_test_runner
|
171
|
+
end
|
172
|
+
|
173
|
+
if OPTIONS[:runonly].nil?
|
174
|
+
Dir.glob(File.join(TestFinder::ROOT, "*")) do |p|
|
175
|
+
TestFinder.process_directory(p)
|
176
|
+
end
|
177
|
+
else
|
178
|
+
OPTIONS[:runonly].each do |match|
|
179
|
+
Dir.glob(File.join(TestFinder::ROOT, "#{match.to_s}*")) do |p|
|
180
|
+
TestFinder.process_directory(p)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
# add Ruby library path for test library
|
188
|
+
ENV['RUBYLIB'] = ((ENV['RUBYLIB'] || '').split(File::PATH_SEPARATOR)+[TestFinder::ROOT]).join(File::PATH_SEPARATOR)
|
189
|
+
|
190
|
+
if $0 == __FILE__
|
191
|
+
TestFinder.run(ARGV)
|
192
|
+
end
|
193
|
+
|
metadata
ADDED
@@ -0,0 +1,334 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: r2corba
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.4.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Martin Corino
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-08-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: ridl
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.2.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.2.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 10.0.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 10.0.1
|
41
|
+
description: 'OMG CORBA v. 3.3 compliant CORBA language mapping implementation for
|
42
|
+
Ruby. Depends on ridl gem for providing native Ruby IDL compiler. '
|
43
|
+
email: mcorino@remedy.nl
|
44
|
+
executables:
|
45
|
+
- ridlc
|
46
|
+
- rins
|
47
|
+
- r2corba
|
48
|
+
extensions:
|
49
|
+
- mkrf_conf_srcgem.rb
|
50
|
+
extra_rdoc_files: []
|
51
|
+
files:
|
52
|
+
- bin/ridlc
|
53
|
+
- bin/rins
|
54
|
+
- bin/r2corba
|
55
|
+
- ext/extload/extload.c
|
56
|
+
- ext/libr2tao/orb.cpp
|
57
|
+
- ext/libr2tao/required.cpp
|
58
|
+
- ext/libr2tao/any.cpp
|
59
|
+
- ext/libr2tao/object.cpp
|
60
|
+
- ext/libr2tao/exception.cpp
|
61
|
+
- ext/libr2tao/values.cpp
|
62
|
+
- ext/libr2tao/typecode.cpp
|
63
|
+
- ext/libr2tao/longdouble.cpp
|
64
|
+
- ext/librpol/policies.cpp
|
65
|
+
- ext/librpoa/servant.cpp
|
66
|
+
- ext/librpoa/srvreq_fix.cpp
|
67
|
+
- ext/librpoa/poa.cpp
|
68
|
+
- ext/librpoa/iortable.cpp
|
69
|
+
- ext/libr2tao/r2tao_ext.h
|
70
|
+
- ext/libr2tao/orb.h
|
71
|
+
- ext/libr2tao/values.h
|
72
|
+
- ext/libr2tao/object.h
|
73
|
+
- ext/libr2tao/required.h
|
74
|
+
- ext/libr2tao/exception.h
|
75
|
+
- ext/libr2tao/typecode.h
|
76
|
+
- ext/libr2tao/longdouble.h
|
77
|
+
- ext/libr2tao/r2tao_export.h
|
78
|
+
- ext/librpol/policies.h
|
79
|
+
- ext/librpol/rpol_export.h
|
80
|
+
- ext/librpoa/srvreq_fix.h
|
81
|
+
- ext/librpoa/rpoa_export.h
|
82
|
+
- ext/librpoa/servant.h
|
83
|
+
- ext/librpoa/poa.h
|
84
|
+
- ext/ext.mwc
|
85
|
+
- lib/corba/common/Servant.rb
|
86
|
+
- lib/corba/common/Object.rb
|
87
|
+
- lib/corba/common/ORB.rb
|
88
|
+
- lib/corba/common/version.rb
|
89
|
+
- lib/corba/common/require.rb
|
90
|
+
- lib/corba/common/Values.rb
|
91
|
+
- lib/corba/common/Struct.rb
|
92
|
+
- lib/corba/common/Any.rb
|
93
|
+
- lib/corba/common/IDL.rb
|
94
|
+
- lib/corba/common/Union.rb
|
95
|
+
- lib/corba/common/Typecode.rb
|
96
|
+
- lib/corba/common/Stub.rb
|
97
|
+
- lib/corba/common/exception.rb
|
98
|
+
- lib/corba/common/Request.rb
|
99
|
+
- lib/corba/common/const.rb
|
100
|
+
- lib/corba/jbase/Servant.rb
|
101
|
+
- lib/corba/jbase/Object.rb
|
102
|
+
- lib/corba/jbase/ORB.rb
|
103
|
+
- lib/corba/jbase/poa.rb
|
104
|
+
- lib/corba/jbase/require.rb
|
105
|
+
- lib/corba/jbase/Values.rb
|
106
|
+
- lib/corba/jbase/ServerRequest.rb
|
107
|
+
- lib/corba/jbase/Any.rb
|
108
|
+
- lib/corba/jbase/policies.rb
|
109
|
+
- lib/corba/jbase/Typecode.rb
|
110
|
+
- lib/corba/jbase/Stub.rb
|
111
|
+
- lib/corba/jbase/exception.rb
|
112
|
+
- lib/corba/jbase/IORMap.rb
|
113
|
+
- lib/corba/jbase/Streams.rb
|
114
|
+
- lib/corba/jbase/Request.rb
|
115
|
+
- lib/corba/jbase/post_require.rb
|
116
|
+
- lib/corba/naming_service.rb
|
117
|
+
- lib/corba/poa.rb
|
118
|
+
- lib/corba/require.rb
|
119
|
+
- lib/corba/idl/TAO_Ext.pidl
|
120
|
+
- lib/corba/idl/require.rb
|
121
|
+
- lib/corba/idl/IDL.rb
|
122
|
+
- lib/corba/idl/IORTable.pidl
|
123
|
+
- lib/corba/naming.rb
|
124
|
+
- lib/corba/cbase/ORB.rb
|
125
|
+
- lib/corba/cbase/poa.rb
|
126
|
+
- lib/corba/cbase/require.rb
|
127
|
+
- lib/corba/cbase/Values.rb
|
128
|
+
- lib/corba/cbase/policies.rb
|
129
|
+
- lib/corba/cbase/Typecode.rb
|
130
|
+
- lib/corba/cbase/Stub.rb
|
131
|
+
- lib/corba/cbase/exception.rb
|
132
|
+
- lib/corba/cbase/IORMap.rb
|
133
|
+
- lib/corba/cbase/Streams.rb
|
134
|
+
- lib/corba/cbase/Request.rb
|
135
|
+
- lib/corba/cbase/post_require.rb
|
136
|
+
- lib/corba/policies.rb
|
137
|
+
- lib/corba/svcs/ins/cos_naming.rb
|
138
|
+
- lib/corba/svcs/ins/naming_service.rb
|
139
|
+
- lib/corba/svcs/ins/ins.rb
|
140
|
+
- lib/corba/cmds/test.rb
|
141
|
+
- lib/corba/cmds/base.rb
|
142
|
+
- lib/ridlbe/ruby/require.rb
|
143
|
+
- lib/ridlbe/ruby/walker.rb
|
144
|
+
- lib/ridlbe/ruby/config.rb
|
145
|
+
- lib/corba.rb
|
146
|
+
- test/Hello/Test.idl
|
147
|
+
- test/Hello/run_test.rb
|
148
|
+
- test/Hello/server.rb
|
149
|
+
- test/Hello/client.rb
|
150
|
+
- test/Collocation/run_test.rb
|
151
|
+
- test/Collocation/test.rb
|
152
|
+
- test/Collocation/Diamond.idl
|
153
|
+
- test/Object/Test.idl
|
154
|
+
- test/Object/run_test.rb
|
155
|
+
- test/Object/server.rb
|
156
|
+
- test/Object/client.rb
|
157
|
+
- test/Nil/Test.idl
|
158
|
+
- test/Nil/run_test.rb
|
159
|
+
- test/Nil/test.rb
|
160
|
+
- test/Exceptions/Test.idl
|
161
|
+
- test/Exceptions/run_test.rb
|
162
|
+
- test/Exceptions/server.rb
|
163
|
+
- test/Exceptions/client.rb
|
164
|
+
- test/IORMap/Test.idl
|
165
|
+
- test/IORMap/run_test.rb
|
166
|
+
- test/IORMap/server.rb
|
167
|
+
- test/IORMap/client.rb
|
168
|
+
- test/Connect_Timeout/Test.idl
|
169
|
+
- test/Connect_Timeout/run_test.rb
|
170
|
+
- test/Connect_Timeout/client.rb
|
171
|
+
- test/Policies/Test.idl
|
172
|
+
- test/Policies/run_test.rb
|
173
|
+
- test/Policies/test.rb
|
174
|
+
- test/CORBA_Services/Naming/BindingIterator/Test.idl
|
175
|
+
- test/CORBA_Services/Naming/BindingIterator/run_test.rb
|
176
|
+
- test/CORBA_Services/Naming/BindingIterator/server.rb
|
177
|
+
- test/CORBA_Services/Naming/BindingIterator/client.rb
|
178
|
+
- test/CORBA_Services/Naming/Corbaname/Test.idl
|
179
|
+
- test/CORBA_Services/Naming/Corbaname/run_test.rb
|
180
|
+
- test/CORBA_Services/Naming/Corbaname/server.rb
|
181
|
+
- test/CORBA_Services/Naming/Corbaname/client.rb
|
182
|
+
- test/CORBA_Services/Naming/Simple/Test.idl
|
183
|
+
- test/CORBA_Services/Naming/Simple/run_test.rb
|
184
|
+
- test/CORBA_Services/Naming/Simple/server.rb
|
185
|
+
- test/CORBA_Services/Naming/Simple/client.rb
|
186
|
+
- test/DII/Test.idl
|
187
|
+
- test/DII/run_test.rb
|
188
|
+
- test/DII/server.rb
|
189
|
+
- test/DII/client.rb
|
190
|
+
- test/Performance/Simple/Test.idl
|
191
|
+
- test/Performance/Simple/run_test.rb
|
192
|
+
- test/Performance/Simple/server.rb
|
193
|
+
- test/Performance/Simple/client.rb
|
194
|
+
- test/lib/assert.rb
|
195
|
+
- test/lib/test.rb
|
196
|
+
- test/POA/Test.idl
|
197
|
+
- test/POA/run_test.rb
|
198
|
+
- test/POA/test.rb
|
199
|
+
- test/OBV/Tree/run_test.rb
|
200
|
+
- test/OBV/Tree/server.rb
|
201
|
+
- test/OBV/Tree/client.rb
|
202
|
+
- test/OBV/Tree/test.idl
|
203
|
+
- test/OBV/Custom/OBV_impl.rb
|
204
|
+
- test/OBV/Custom/run_test.rb
|
205
|
+
- test/OBV/Custom/OBV.idl
|
206
|
+
- test/OBV/Custom/server.rb
|
207
|
+
- test/OBV/Custom/client.rb
|
208
|
+
- test/OBV/Supports/run_test.rb
|
209
|
+
- test/OBV/Supports/server.rb
|
210
|
+
- test/OBV/Supports/client.rb
|
211
|
+
- test/OBV/Supports/supports.idl
|
212
|
+
- test/OBV/Supports/supports_impl.rb
|
213
|
+
- test/OBV/AbstractInterface/run_test.rb
|
214
|
+
- test/OBV/AbstractInterface/server.rb
|
215
|
+
- test/OBV/AbstractInterface/client.rb
|
216
|
+
- test/OBV/AbstractInterface/test.idl
|
217
|
+
- test/OBV/ValueBox/vb_basic.idl
|
218
|
+
- test/OBV/ValueBox/vb_struct.idl
|
219
|
+
- test/OBV/ValueBox/run_test.rb
|
220
|
+
- test/OBV/ValueBox/vb_union.idl
|
221
|
+
- test/OBV/ValueBox/valuebox.idl
|
222
|
+
- test/OBV/ValueBox/server.rb
|
223
|
+
- test/OBV/ValueBox/client.rb
|
224
|
+
- test/OBV/Simple/OBV_impl.rb
|
225
|
+
- test/OBV/Simple/run_test.rb
|
226
|
+
- test/OBV/Simple/OBV.idl
|
227
|
+
- test/OBV/Simple/server.rb
|
228
|
+
- test/OBV/Simple/client.rb
|
229
|
+
- test/OBV/Simple_Event/Event.idl
|
230
|
+
- test/OBV/Simple_Event/run_test.rb
|
231
|
+
- test/OBV/Simple_Event/server.rb
|
232
|
+
- test/OBV/Simple_Event/client.rb
|
233
|
+
- test/OBV/Simple_Event/Event_impl.rb
|
234
|
+
- test/OBV/Truncatable/run_test.rb
|
235
|
+
- test/OBV/Truncatable/Truncatable.idl
|
236
|
+
- test/OBV/Truncatable/server.rb
|
237
|
+
- test/OBV/Truncatable/client.rb
|
238
|
+
- test/OBV/Truncatable/Extra.idl
|
239
|
+
- test/OBV/Truncatable/Truncatable_impl.rb
|
240
|
+
- test/test_runner.rb
|
241
|
+
- test/Param_Test/Test.idl
|
242
|
+
- test/Param_Test/run_test.rb
|
243
|
+
- test/Param_Test/server.rb
|
244
|
+
- test/Param_Test/client.rb
|
245
|
+
- test/BiDirectional/Test.idl
|
246
|
+
- test/BiDirectional/run_test.rb
|
247
|
+
- test/BiDirectional/server.rb
|
248
|
+
- test/BiDirectional/client.rb
|
249
|
+
- test/Multi_Threading/Threads/Test.idl
|
250
|
+
- test/Multi_Threading/Threads/run_test.rb
|
251
|
+
- test/Multi_Threading/Threads/server.rb
|
252
|
+
- test/Multi_Threading/Threads/client.rb
|
253
|
+
- test/Multi_Threading/Threads/watchdog.rb
|
254
|
+
- test/Multi_Threading/Simple/Test.idl
|
255
|
+
- test/Multi_Threading/Simple/run_test.rb
|
256
|
+
- test/Multi_Threading/Simple/server.rb
|
257
|
+
- test/Multi_Threading/Simple/client.rb
|
258
|
+
- test/Multi_Threading/Multiple_ORB/Test.idl
|
259
|
+
- test/Multi_Threading/Multiple_ORB/run_test.rb
|
260
|
+
- test/Multi_Threading/Multiple_ORB/server.rb
|
261
|
+
- test/Multi_Threading/Multiple_ORB/client.rb
|
262
|
+
- test/Implicit_Conversion/Test.idl
|
263
|
+
- test/Implicit_Conversion/run_test.rb
|
264
|
+
- test/Implicit_Conversion/server.rb
|
265
|
+
- test/Implicit_Conversion/client.rb
|
266
|
+
- test/IDL_Test/Test.idl
|
267
|
+
- test/IDL_Test/run_test.rb
|
268
|
+
- test/IDL_Test/server.rb
|
269
|
+
- test/IDL_Test/client.rb
|
270
|
+
- test/IDL_Test/Test_inc.idl
|
271
|
+
- test/Timeout/run_test.rb
|
272
|
+
- test/Timeout/server.rb
|
273
|
+
- test/Timeout/client.rb
|
274
|
+
- test/Timeout/test.idl
|
275
|
+
- test/DSI/Test.idl
|
276
|
+
- test/DSI/run_test.rb
|
277
|
+
- test/DSI/server.rb
|
278
|
+
- test/DSI/client.rb
|
279
|
+
- test/IORTable/Test.idl
|
280
|
+
- test/IORTable/run_test.rb
|
281
|
+
- test/IORTable/server.rb
|
282
|
+
- test/IORTable/client.rb
|
283
|
+
- test/Multiple_Servant_Interfaces/Test.idl
|
284
|
+
- test/Multiple_Servant_Interfaces/run_test.rb
|
285
|
+
- test/Multiple_Servant_Interfaces/server.rb
|
286
|
+
- test/Multiple_Servant_Interfaces/client.rb
|
287
|
+
- LICENSE
|
288
|
+
- README
|
289
|
+
- THANKS
|
290
|
+
- CHANGES
|
291
|
+
- mkrf_conf_srcgem.rb
|
292
|
+
- rakelib/package.rake
|
293
|
+
- rakelib/ext_r2tao.rb
|
294
|
+
- rakelib/bin.rb
|
295
|
+
- rakelib/build.rake
|
296
|
+
- rakelib/gem.rb
|
297
|
+
- rakelib/config.rake
|
298
|
+
- rakelib/test.rake
|
299
|
+
- rakelib/ext.rake
|
300
|
+
- rakelib/bin.rake
|
301
|
+
- rakelib/gem.rake
|
302
|
+
- rakelib/config.rb
|
303
|
+
- rakelib/ext.rb
|
304
|
+
homepage: https://osportal.remedy.nl/projects/r2corba
|
305
|
+
licenses:
|
306
|
+
- R2CORBA
|
307
|
+
- ACE
|
308
|
+
- GPL
|
309
|
+
metadata: {}
|
310
|
+
post_install_message:
|
311
|
+
rdoc_options:
|
312
|
+
- --exclude=\.dll
|
313
|
+
- --exclude=\.so
|
314
|
+
- --exclude=\.pidlc
|
315
|
+
require_paths:
|
316
|
+
- lib
|
317
|
+
- ext
|
318
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
319
|
+
requirements:
|
320
|
+
- - '>='
|
321
|
+
- !ruby/object:Gem::Version
|
322
|
+
version: 1.8.6
|
323
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - '>='
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: '0'
|
328
|
+
requirements: []
|
329
|
+
rubyforge_project:
|
330
|
+
rubygems_version: 2.0.3
|
331
|
+
signing_key:
|
332
|
+
specification_version: 4
|
333
|
+
summary: CORBA language mapping implementation for Ruby
|
334
|
+
test_files: []
|