Project

General

Profile

Bug #1264 ยป test_win32.patch

cfis (Charlie Savage), 03/11/2009 06:43 AM

View differences:

test/dl/test_win32.rb (working copy)
require 'dl/import'
require 'dl/types'
module Win32API
module Win32APITest
extend DL::Importer
dlload "kernel32.dll"
......
module DL
class TestWin32 < TestBase
def test_version()
platform = Win32API.get_version_ex().dwPlatformId
platform = Win32APITest.get_version_ex().dwPlatformId
case ENV['OS']
when 'Windows_NT'
expect = 2
    (1-1/1)