tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwilli...@apache.org
Subject svn commit: r659693 - /incubator/tuscany/java/sca/vtest/java-api/processcomments.rb
Date Fri, 23 May 2008 22:30:08 GMT
Author: kwilliams
Date: Fri May 23 15:30:07 2008
New Revision: 659693

URL: http://svn.apache.org/viewvc?rev=659693&view=rev
Log:
Updates to comment processor

Modified:
    incubator/tuscany/java/sca/vtest/java-api/processcomments.rb

Modified: incubator/tuscany/java/sca/vtest/java-api/processcomments.rb
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/vtest/java-api/processcomments.rb?rev=659693&r1=659692&r2=659693&view=diff
==============================================================================
--- incubator/tuscany/java/sca/vtest/java-api/processcomments.rb (original)
+++ incubator/tuscany/java/sca/vtest/java-api/processcomments.rb Fri May 23 15:30:07 2008
@@ -17,12 +17,14 @@
     @Test
     public void atEndsConversation1() throws Exception {
 
+Current output is formatted for a wiki page
 
 Example command line usage
 >ruby processcomments.rb 
 
-Some TODO's
-Add logic to process number ranges such as "Lines 523-556" or "Lines 523 to 556"
+Some TODO's:
+  Add logic to process number ranges such as "Lines 523-556" or "Lines 523 to 556"
+  Provide HTML output
 
 =end
 class TestMethod
@@ -127,7 +129,6 @@
     text[/\S*TestCase/]
   end
 end
-
   
 def process_file(fn)
   text = String.new
@@ -135,12 +136,9 @@
   $testcases << TestCase.new(text)
 end
 
-####
-
 $num_files_processed = $num_test_methods = 0
 $testcases = Array.new
 
-
 Dir["**/*TestCase.java"].each do |filename|
   process_file(filename)
    $num_files_processed += 1
@@ -158,9 +156,8 @@
 #puts "Number of test methods = #{$num_test_methods}"
 #all_test_methods.sort.each {|tm| puts tm}
 
-
 #wiki output
-puts "1 Comment Processor Output"
+puts "1 SCA Specification Test mapping (Comment Processor Output)"
 puts "1.1 " + Dir.pwd + " Specification"
 puts "1.1 Test case files scanned " + Date.today.to_s
 puts "* Total files processed = #{$num_files_processed}"



Mime
View raw message