<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,2 +1,3 @@
 old-dojo
 .DS_Store
+Icon?</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 #!/usr/bin/env ruby
 
-test_name_pattern = /void[[:space:]]+(test_[a-zA-Z0-9_]*)[[:space:]]*\(\)\;[[:space:]]*/
+test_name_pattern = /void[[:space:]]+((test|deveria|should)[a-zA-Z0-9_]*)[[:space:]]*\(\)\;[[:space:]]*/
 set_up_pattern = /void[[:space:]]+set_up[[:space:]]*\(\)\;[[:space:]]*/
 tear_down_pattern = /void[[:space:]]+tear_down[[:space:]]*\(\)\;[[:space:]]*/
 
@@ -12,16 +12,20 @@ def find_tests(filename, test, set_up, tear_down)
 	has_tear_down = false
 	tests = []
 	
-	File.open(filename, &quot;r&quot;) do |infile|		while (line = infile.gets) do			if line=~test then
+	File.open(filename, &quot;r&quot;) do |infile|
+		while (line = infile.gets) do
+			if line=~test then
 				tests &lt;&lt; $1
 			elsif line=~set_up then
 				has_set_up = true
 			elsif line=~tear_down then
 				has_tear_down = true
-			end		end	end
+			end
+		end
+	end
 	
 	[has_set_up, has_tear_down, tests]
-end
+end
 
 def print_main(output_name, filename, has_set_up, has_tear_down, tests)
 	output = File.new(output_name,'w')</diff>
      <filename>dojo_unit/scripts/generate_main_tests</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>767af69b448a3f08db024f6d29ea1d5929acd822</id>
    </parent>
  </parents>
  <author>
    <name>Fabs</name>
    <email>fabriciosn@gmail.com</email>
  </author>
  <url>http://github.com/dojosp/participant-s-projects/commit/2797540c406b01db610a8897883bbc3d4388b3d7</url>
  <id>2797540c406b01db610a8897883bbc3d4388b3d7</id>
  <committed-date>2009-04-02T05:18:54-07:00</committed-date>
  <authored-date>2009-04-02T05:18:54-07:00</authored-date>
  <message>Changing Test Pattern.

Pattern nows matches the following as valid test names, and generates it.

void test_fabs();
void testFabs();
void testeFabs();
void deveria_FazerPipoca();
void should_FazerPipoca();</message>
  <tree>e8dafc80aae7b7ee5e271385ae444373cea79b08</tree>
  <committer>
    <name>Fabs</name>
    <email>fabriciosn@gmail.com</email>
  </committer>
</commit>
