Changeset 5826

Show
Ignore:
Timestamp:
10/04/06 19:58:04
Author:
jan
Message:

bla

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Rakefile

    r5824 r5826  
    1212 
    1313 
    14 desc "install sample Rakefile
     14desc "install sample Rakefile. Specify your SRC=x and TESTSRC=y for your source file locations.
    1515task :install do |t| 
    1616 
    1717  dstfile = File.join(Rake.original_dir, "../Rakefile") 
    1818     
    19   raise "Rakefile already existant, delete it first to proceed" if File.exists?(dstfile) 
     19  raise "\n#{dstfile} already exists, delete it first to proceed\n" if File.exists?(dstfile) 
    2020   
    2121  src = ENV['SRC'] || "src" 
  • trunk/lib/testng_task.rb

    r5825 r5826  
    2121        @name = name 
    2222        @dependencies = [] 
    23         @tests = JavaFileList.new 
     23        @tests = [] 
    2424        @outputdir = "test-output" 
    2525        @report = true 
     
    4949          end 
    5050          
    51           if suites.empty? 
     51          if suites.empty? && tests.respond_to?(:to_classes) 
    5252            testng.setTestClasses( tests.to_classes ) 
    5353          else