Sha256: 44c1183442a3bd1a89f9bb147c4bf4613be06f51e63e2c33e71c9c36581a4530
Contents?: true
Size: 516 Bytes
Versions: 2
Compression:
Stored size: 516 Bytes
Contents
require 'ffi-win32-extensions' require 'test-unit' class TC_FFI_Win32_Extensions < Test::Unit::TestCase def setup @ptr = FFI::MemoryPointer.new(:char) end test 'read_array_of_strings' do assert_respond_to(@ptr, :read_array_of_string) end test 'windows_error_message' do assert_respond_to(FFI, :windows_error_message) end test 'raise_windows_error' do assert_respond_to(FFI, :raise_windows_error) end def teardown @ptr.free @ptr = nil end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ffi-win32-extensions-1.0.1 | test/test_ffi_extensions.rb |
ffi-win32-extensions-1.0.0 | test/test_ffi_extensions.rb |