Sha256: 99279c2139ce025e83cb4326bd1f74352ed43f80feb732895fa13b96bf64dbb8

Contents?: true

Size: 971 Bytes

Versions: 1

Compression:

Stored size: 971 Bytes

Contents

# test harness

	
require 'test/unit/testcase'
require 'test/unit/assertions'
include Test::Unit::Assertions
include Test::Unit  
def rwdschedule_all_tests 
	print "in rwdschedule all tests\n"
  $testrwdscheduletestcase = TestSuite.new
	test_runrwdschedule
end

def test_runrwdschedule


	begin
  testasserts = 0
  print "Starting rwdschedule tests!\n"
     runselectiontab
     assert_equal("selectiontab",@rwd_tab) ; testasserts += 1
    runrwdschedulemenu10   
    assert_equal("viewrwdscheduleconfiguration",@rwd_tab) ; testasserts += 1    
        loadrwdscheduleconfiguration
    assert_equal("rwdschedule.cnf",@a_schconfigurationfilename) ; testasserts += 1    
     
 $stderr.print "tests completed succesfully!\n"
 $stderr.print testasserts, " asserts performed\n"

	rescue  NotImplementedError, Exception
		$stderr.print $!

	end
  
end



def teststobedown
 runtinkerhelpabout
          assert_equal("rwdtinkerhelpwindow",@rwd_tab)  ; testasserts += 1
end




Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rwdschedule-1.02 code/superant.com.schedule/test_cases.rb