Skip to content

Commit

Permalink
Use Minitest::Test instead of Minitest::Unit::Testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmo0920 committed Jun 22, 2016
1 parent ba95d02 commit d40ad81
Show file tree
Hide file tree
Showing 57 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion test/tc_clipboard.rb
Expand Up @@ -6,7 +6,7 @@
require 'windows/clipboard'
require 'minitest/autorun'

class TC_Windows_Clipboard < MiniTest::Unit::TestCase
class TC_Windows_Clipboard < MiniTest::Test
include Windows::Clipboard

def test_methods
Expand Down
2 changes: 1 addition & 1 deletion test/tc_com.rb
Expand Up @@ -6,7 +6,7 @@
require "windows/com"
require "minitest/autorun"

class TC_Windows_COM < MiniTest::Unit::TestCase
class TC_Windows_COM < MiniTest::Test
include Windows::COM

def test_method_constants
Expand Down
2 changes: 1 addition & 1 deletion test/tc_com_automation.rb
Expand Up @@ -6,7 +6,7 @@
require 'windows/com/automation'
require 'minitest/autorun'

class TC_Windows_COM_Automation < MiniTest::Unit::TestCase
class TC_Windows_COM_Automation < MiniTest::Test
include Windows::COM::Automation

def test_method_constants
Expand Down
2 changes: 1 addition & 1 deletion test/tc_console.rb
Expand Up @@ -6,7 +6,7 @@
require 'windows/console'
require 'minitest/autorun'

class TC_Windows_Console < MiniTest::Unit::TestCase
class TC_Windows_Console < MiniTest::Test
include Windows::Console

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/tc_debug.rb
Expand Up @@ -10,7 +10,7 @@ class DebugFoo
include Windows::Debug
end

class TC_Windows_Debug < MiniTest::Unit::TestCase
class TC_Windows_Debug < MiniTest::Test
def setup
@foo = DebugFoo.new
@ver = `ver`.chomp
Expand Down
2 changes: 1 addition & 1 deletion test/tc_device_io.rb
Expand Up @@ -10,7 +10,7 @@ class DeviceIOFoo
include Windows::DeviceIO
end

class TC_Windows_DeviceIO < MiniTest::Unit::TestCase
class TC_Windows_DeviceIO < MiniTest::Test
def setup
@foo = DeviceIOFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_directory.rb
Expand Up @@ -10,7 +10,7 @@ class DirectoryFoo
include Windows::Directory
end

class TC_Windows_Directory < MiniTest::Unit::TestCase
class TC_Windows_Directory < MiniTest::Test
def setup
@foo = DirectoryFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_error.rb
Expand Up @@ -6,7 +6,7 @@
require "windows/error"
require "minitest/autorun"

class TC_Windows_Error < MiniTest::Unit::TestCase
class TC_Windows_Error < MiniTest::Test
include Windows::Error

def test_numeric_constants
Expand Down
2 changes: 1 addition & 1 deletion test/tc_eventlog.rb
Expand Up @@ -10,7 +10,7 @@ class EventLogFoo
include Windows::EventLog
end

class TC_Windows_EventLog < MiniTest::Unit::TestCase
class TC_Windows_EventLog < MiniTest::Test
def setup
@foo = EventLogFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_file.rb
Expand Up @@ -10,7 +10,7 @@ class FileFoo
include Windows::File
end

class TC_Windows_File < MiniTest::Unit::TestCase
class TC_Windows_File < MiniTest::Test

def setup
@foo = FileFoo.new
Expand Down
2 changes: 1 addition & 1 deletion test/tc_file_mapping.rb
Expand Up @@ -10,7 +10,7 @@ class FileMappingFoo
include Windows::FileMapping
end

class TC_Windows_FileMapping < MiniTest::Unit::TestCase
class TC_Windows_FileMapping < MiniTest::Test

def setup
@foo = FileMappingFoo.new
Expand Down
2 changes: 1 addition & 1 deletion test/tc_filesystem.rb
Expand Up @@ -10,7 +10,7 @@ class FileSystemFoo
include Windows::FileSystem
end

class TC_Windows_FileSystem < MiniTest::Unit::TestCase
class TC_Windows_FileSystem < MiniTest::Test

def setup
@foo = FileSystemFoo.new
Expand Down
2 changes: 1 addition & 1 deletion test/tc_gdi_bitmap.rb
Expand Up @@ -6,7 +6,7 @@
require 'windows/gdi/bitmap'
require 'minitest/autorun'

class TC_Windows_GDI_Bitmap < MiniTest::Unit::TestCase
class TC_Windows_GDI_Bitmap < MiniTest::Test
include Windows::GDI::Bitmap

def test_methods
Expand Down
2 changes: 1 addition & 1 deletion test/tc_gdi_metafile.rb
Expand Up @@ -6,7 +6,7 @@
require 'windows/gdi/metafile'
require 'minitest/autorun'

class TC_Windows_GDI_MetaFile < MiniTest::Unit::TestCase
class TC_Windows_GDI_MetaFile < MiniTest::Test
include Windows::GDI::MetaFile

def test_methods
Expand Down
2 changes: 1 addition & 1 deletion test/tc_handle.rb
Expand Up @@ -10,7 +10,7 @@ class HandleFoo
include Windows::Handle
end

class TC_Windows_Handle < MiniTest::Unit::TestCase
class TC_Windows_Handle < MiniTest::Test
def setup
@foo = HandleFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_library.rb
Expand Up @@ -10,7 +10,7 @@ class LibraryFoo
include Windows::Library
end

class TC_Windows_Library < MiniTest::Unit::TestCase
class TC_Windows_Library < MiniTest::Test
def setup
@LibraryFoo = LibraryFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_limits.rb
Expand Up @@ -10,7 +10,7 @@ class LimitsFoo
include Windows::Limits
end

class TC_Windows_Limits < MiniTest::Unit::TestCase
class TC_Windows_Limits < MiniTest::Test
def setup
@foo = LimitsFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_mailslot.rb
Expand Up @@ -6,7 +6,7 @@
require 'windows/mailslot'
require 'minitest/autorun'

class TC_Windows_Mailslot < MiniTest::Unit::TestCase
class TC_Windows_Mailslot < MiniTest::Test
include Windows::Mailslot

def test_constants
Expand Down
2 changes: 1 addition & 1 deletion test/tc_memory.rb
Expand Up @@ -10,7 +10,7 @@ class MemoryFoo
include Windows::Memory
end

class TC_Windows_Memory < MiniTest::Unit::TestCase
class TC_Windows_Memory < MiniTest::Test
def setup
@foo = MemoryFoo.new
@path = "C:\\"
Expand Down
2 changes: 1 addition & 1 deletion test/tc_msvcrt_buffer.rb
Expand Up @@ -7,7 +7,7 @@
require 'windows/msvcrt/buffer'
require 'minitest/autorun'

class TC_Windows_MSVCRT_Buffer < MiniTest::Unit::TestCase
class TC_Windows_MSVCRT_Buffer < MiniTest::Test
include Windows::MSVCRT::Buffer

def test_method_constants
Expand Down
2 changes: 1 addition & 1 deletion test/tc_msvcrt_directory.rb
Expand Up @@ -7,7 +7,7 @@
require 'fileutils'
require 'minitest/autorun'

class TC_Windows_MSVCRT_Directory < MiniTest::Unit::TestCase
class TC_Windows_MSVCRT_Directory < MiniTest::Test
include Windows::MSVCRT::Directory

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/tc_msvcrt_file.rb
Expand Up @@ -10,7 +10,7 @@ class MFileFoo
include Windows::MSVCRT::File
end

class TC_Windows_MSVCRT_File < MiniTest::Unit::TestCase
class TC_Windows_MSVCRT_File < MiniTest::Test
def setup
@foo = MFileFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_msvcrt_io.rb
Expand Up @@ -10,7 +10,7 @@ class MIOFoo
include Windows::MSVCRT::IO
end

class TC_Windows_MSVCRT_IO < MiniTest::Unit::TestCase
class TC_Windows_MSVCRT_IO < MiniTest::Test
def setup
@foo = MIOFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_msvcrt_string.rb
Expand Up @@ -6,7 +6,7 @@
require 'windows/msvcrt/string'
require 'minitest/autorun'

class TC_Windows_MSVCRT_String < MiniTest::Unit::TestCase
class TC_Windows_MSVCRT_String < MiniTest::Test
include Windows::MSVCRT::String

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/tc_msvcrt_time.rb
Expand Up @@ -6,7 +6,7 @@
require 'windows/msvcrt/time'
require 'minitest/autorun'

class TC_Windows_MSVCRT_Time < MiniTest::Unit::TestCase
class TC_Windows_MSVCRT_Time < MiniTest::Test
include Windows::MSVCRT::Time

def test_method_constants
Expand Down
2 changes: 1 addition & 1 deletion test/tc_national.rb
Expand Up @@ -10,7 +10,7 @@ class NationalFoo
include Windows::National
end

class TC_Windows_National < MiniTest::Unit::TestCase
class TC_Windows_National < MiniTest::Test
def setup
@foo = NationalFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_network_management.rb
Expand Up @@ -10,7 +10,7 @@ class NetworkManagementFoo
include Windows::Network::Management
end

class TC_Windows_Network_Management < MiniTest::Unit::TestCase
class TC_Windows_Network_Management < MiniTest::Test
def setup
@foo = NetworkManagementFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_network_snmp.rb
Expand Up @@ -10,7 +10,7 @@ class NetworkSNMPFoo
include Windows::Network::SNMP
end

class TC_Windows_Network_SNMP < MiniTest::Unit::TestCase
class TC_Windows_Network_SNMP < MiniTest::Test
def setup
@foo = NetworkSNMPFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_network_winsock.rb
Expand Up @@ -10,7 +10,7 @@ class WinsockFoo
include Windows::Network::Winsock
end

class TC_Windows_Network_Winsock < MiniTest::Unit::TestCase
class TC_Windows_Network_Winsock < MiniTest::Test
def setup
@foo = WinsockFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_nio.rb
Expand Up @@ -10,7 +10,7 @@ class NIOFoo
include Windows::NIO
end

class TC_Windows_NIO < MiniTest::Unit::TestCase
class TC_Windows_NIO < MiniTest::Test
def setup
@foo = NIOFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_ntfs_winternl.rb
Expand Up @@ -8,7 +8,7 @@
require 'windows/error'
require 'minitest/autorun'

class TC_Windows_NTFS_Winternl < MiniTest::Unit::TestCase
class TC_Windows_NTFS_Winternl < MiniTest::Test
include Windows::Handle
include Windows::NTFS::Winternl
include Windows::Error
Expand Down
2 changes: 1 addition & 1 deletion test/tc_path.rb
Expand Up @@ -10,7 +10,7 @@ class PathFoo
include Windows::Path
end

class TC_Windows_Path < MiniTest::Unit::TestCase
class TC_Windows_Path < MiniTest::Test
def setup
@foo = PathFoo.new
@path = "C:\\"
Expand Down
2 changes: 1 addition & 1 deletion test/tc_pipe.rb
Expand Up @@ -10,7 +10,7 @@ class PipeFoo
include Windows::Pipe
end

class TC_Windows_Pipe < MiniTest::Unit::TestCase
class TC_Windows_Pipe < MiniTest::Test
def setup
@foo = PipeFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_process.rb
Expand Up @@ -6,7 +6,7 @@
require 'windows/process'
require 'minitest/autorun'

class TC_Windows_Process < MiniTest::Unit::TestCase
class TC_Windows_Process < MiniTest::Test
include Windows::Process

def test_constants
Expand Down
2 changes: 1 addition & 1 deletion test/tc_registry.rb
Expand Up @@ -10,7 +10,7 @@ class RegistryFoo
include Windows::Registry
end

class TC_Windows_Registry < MiniTest::Unit::TestCase
class TC_Windows_Registry < MiniTest::Test
def setup
@foo = RegistryFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_security.rb
Expand Up @@ -10,7 +10,7 @@ class SecurityFoo
include Windows::Security
end

class TC_Windows_Security < MiniTest::Unit::TestCase
class TC_Windows_Security < MiniTest::Test
def setup
@foo = SecurityFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_security_authentication.rb
Expand Up @@ -6,7 +6,7 @@
require 'windows/security/authentication'
require 'minitest/autorun'

class TC_Windows_Security_Authentication < MiniTest::Unit::TestCase
class TC_Windows_Security_Authentication < MiniTest::Test

include Windows::Security::Authentication

Expand Down
2 changes: 1 addition & 1 deletion test/tc_security_sspi.rb
Expand Up @@ -6,7 +6,7 @@
require 'windows/security/SSPI'
require 'minitest/autorun'

class TC_Windows_Security_SSPI < MiniTest::Unit::TestCase
class TC_Windows_Security_SSPI < MiniTest::Test
include Windows::Security::SSPI

def test_methods
Expand Down
2 changes: 1 addition & 1 deletion test/tc_service.rb
Expand Up @@ -10,7 +10,7 @@ class ServiceFoo
include Windows::Service
end

class TC_Windows_Service < MiniTest::Unit::TestCase
class TC_Windows_Service < MiniTest::Test
def setup
@foo = ServiceFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_shell.rb
Expand Up @@ -10,7 +10,7 @@ class ShellFoo
include Windows::Shell
end

class TC_Windows_Shell < MiniTest::Unit::TestCase
class TC_Windows_Shell < MiniTest::Test
def setup
@foo = ShellFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_socket.rb
Expand Up @@ -10,7 +10,7 @@ class SocketFoo
include Windows::Socket
end

class TC_Windows_Socket < MiniTest::Unit::TestCase
class TC_Windows_Socket < MiniTest::Test
def setup
@socket = SocketFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_sound.rb
Expand Up @@ -10,7 +10,7 @@ class SoundFoo
include Windows::Sound
end

class TC_Windows_Sound < MiniTest::Unit::TestCase
class TC_Windows_Sound < MiniTest::Test
def setup
@foo = SoundFoo.new
end
Expand Down
2 changes: 1 addition & 1 deletion test/tc_synchronize.rb
Expand Up @@ -6,7 +6,7 @@
require "windows/synchronize"
require "minitest/autorun"

class TC_Windows_Synchronize < MiniTest::Unit::TestCase
class TC_Windows_Synchronize < MiniTest::Test
include Windows::Synchronize

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/tc_system_info.rb
Expand Up @@ -6,7 +6,7 @@
require 'windows/system_info'
require 'minitest/autorun'

class TC_Windows_SystemInfo < MiniTest::Unit::TestCase
class TC_Windows_SystemInfo < MiniTest::Test
include Windows::SystemInfo

def test_numeric_constants
Expand Down

0 comments on commit d40ad81

Please sign in to comment.