Browse CVS Repository
Contents of /exerb/exerb/test/test-preload.rb
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( show annotations)
( download)
Mon Sep 7 18:17:37 2009 UTC
(14 years, 7 months ago)
by arton
Branch: MAIN
CVS Tags: release510, release500, release520, ChangeLog, release530, release540, HEAD
add preload test
| 1 |
|
| 2 |
#==============================================================================# |
| 3 |
# $Id: test-argv.rb,v 1.5 2005/04/15 09:42:52 yuya Exp $ |
| 4 |
#==============================================================================# |
| 5 |
|
| 6 |
require 'testcase' |
| 7 |
|
| 8 |
#==============================================================================# |
| 9 |
|
| 10 |
class PreloadTestCase < Test::Unit::TestCase |
| 11 |
include ExerbTestCase |
| 12 |
|
| 13 |
def name |
| 14 |
return 'test-preload' |
| 15 |
end |
| 16 |
|
| 17 |
def test_preload |
| 18 |
assert_equal("10\n", execute_cmd("#{@name}\\#{@name}.exe || if errorlevel 10 echo 10")) |
| 19 |
end |
| 20 |
|
| 21 |
end # PreloadTestCase |
| 22 |
|
| 23 |
#==============================================================================# |
| 24 |
#==============================================================================# |
|