test/test_cocoa_app.rb in sgl-0.3.1 vs test/test_cocoa_app.rb in sgl-0.4.0

- old
+ new

@@ -1,13 +1,13 @@ -#!/usr/bin/env ruby -# Copyright (C) 2004-2005 Kouichirou Eto, All rights reserved. +#!/usr/bin/env ruby -w +# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved. +# License: Ruby License -$LOAD_PATH.unshift("..") if !$LOAD_PATH.include?("..") +require File.dirname(__FILE__) + '/test_helper.rb' -if /cocoa/ =~ RUBY_PLATFORM +if /osx/ =~ RUBY_PLATFORM require "sgl/cocoa-app" -require "test/unit" class TestCocoaBasic < Test::Unit::TestCase def test_basic app = SGL::Application.new app.set_setup {