Sha256: eddffce52a8eefcb350ff8fc3ec06639efa7f41b334367f638a319d5adfc08d9
Contents?: true
Size: 804 Bytes
Versions: 2
Compression:
Stored size: 804 Bytes
Contents
##################################################################### # tc_network_winsock.rb # # Test case for the Windows::Winsock module. ##################################################################### require 'windows/network/winsock' require 'minitest/autorun' class WinsockFoo include Windows::Network::Winsock end class TC_Windows_Network_Winsock < MiniTest::Test def setup @foo = WinsockFoo.new end def test_numeric_constants assert_equal(0, WinsockFoo::NS_DEFAULT) end def test_method_constants assert_not_nil(WinsockFoo::GetTypeByName) end def test_method_mixins assert_respond_to(@foo, :gethostbyname) assert_respond_to(@foo, :GetTypeByName) end def teardown @foo = nil end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
windows-pr-1.2.6 | test/tc_network_winsock.rb |
windows-pr-1.2.5 | test/tc_network_winsock.rb |