- source files and Makefiles need never be executable - scripts are run directly by their interpreters in the test suites, so also do not need to be executable
34 lines
399 B
Ruby
34 lines
399 B
Ruby
#!/usr/bin/env ruby
|
|
#
|
|
# Put script description here.
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#
|
|
|
|
require 'swig_assert'
|
|
require 'abstract_access'
|
|
|
|
include Abstract_access
|
|
|
|
begin
|
|
a = A.new
|
|
rescue TypeError
|
|
swig_assert(true, binding, 'A.new')
|
|
end
|
|
|
|
begin
|
|
b = B.new
|
|
rescue TypeError
|
|
swig_assert(true, binding, 'B.new')
|
|
end
|
|
|
|
begin
|
|
c = C.new
|
|
rescue TypeError
|
|
swig_assert(true, binding, 'C.new')
|
|
end
|
|
|
|
swig_assert( 'D.new' )
|
|
|