? remove-auto-t-236535-3.patch
? simpletest
? simpletest-remove-auto-t-236535-4.patch
? simpletest_1.0.1beta2.tar.gz
Index: drupal_test_case.php
===================================================================
RCS file: /cvs/drupal/contributions/modules/simpletest/drupal_test_case.php,v
retrieving revision 1.58
diff -u -p -r1.58 drupal_test_case.php
--- drupal_test_case.php	21 Mar 2008 23:29:49 -0000	1.58
+++ drupal_test_case.php	21 Mar 2008 23:53:58 -0000
@@ -645,7 +645,7 @@ class DrupalTestCase extends UnitTestCas
         $curl_options = array(CURLOPT_URL => $url_target);
         $ret = $this->curlExec($curl_options);
       }
-      $this->assertTrue($ret, ' [browser] clicked link '. t($label) . " ($url_target) from $url_before");
+      $this->assertTrue($ret, " [browser] clicked link $label ($url_target) from $url_before");
     }
     return $ret;
   }
Index: tests/functional/locale.test
===================================================================
RCS file: /cvs/drupal/contributions/modules/simpletest/tests/functional/locale.test,v
retrieving revision 1.3
diff -u -p -r1.3 locale.test
--- tests/functional/locale.test	16 Mar 2008 23:30:55 -0000	1.3
+++ tests/functional/locale.test	21 Mar 2008 23:54:01 -0000
@@ -78,7 +78,7 @@ class LocaleModuleTest extends DrupalTes
     $this->assertWantedRaw($language_indicator, 'Name is untranslated');
     // It's presumed that this is the only result. Given the random name, it's
     // reasonable.
-    $this->clickLink('edit');
+    $this->clickLink(t('edit'));
     // We save the lid from the path.
     $lid = preg_replace('/\D/', '', substr($this->getUrl(), strlen($base_url)));
     // No t() here, it's surely not translated yet.
Index: tests/functional/menu.test
===================================================================
RCS file: /cvs/drupal/contributions/modules/simpletest/tests/functional/menu.test,v
retrieving revision 1.2
diff -u -p -r1.2 menu.test
--- tests/functional/menu.test	16 Mar 2008 23:30:55 -0000	1.2
+++ tests/functional/menu.test	21 Mar 2008 23:54:03 -0000
@@ -159,7 +159,7 @@ class MenuModuleEnable extends DrupalTes
     $web_user = $this->drupalCreateUserRolePerm(array('administer menu'));
     $this->drupalLoginUser($web_user);
     $this->drupalGet('admin/build/menu-customize/navigation');
-    $this->clickLink('edit', 0);
+    $this->clickLink(t('edit'), 0);
     $url = $this->getUrl();
     preg_match('/\d+/', $url, $matches);
     $item = menu_link_load($matches[0]);
Index: tests/functional/node.test
===================================================================
RCS file: /cvs/drupal/contributions/modules/simpletest/tests/functional/node.test,v
retrieving revision 1.4
diff -u -p -r1.4 node.test
--- tests/functional/node.test	21 Mar 2008 23:29:49 -0000	1.4
+++ tests/functional/node.test	21 Mar 2008 23:54:05 -0000
@@ -287,7 +287,7 @@ class StoryEditTest extends DrupalTestCa
     $node = node_load(array('title' => $edit['title']));
     $this->assertNotNull($node, 'Node found in database');
 
-    $this->clickLink('Edit');
+    $this->clickLink(t('Edit'));
     $editurl = url("node/$node->nid/edit", array('absolute' => true));
     $acturl = $this->getURL();
     $this->assertEqual($editurl, $acturl);
Index: tests/functional/user.test
===================================================================
RCS file: /cvs/drupal/contributions/modules/simpletest/tests/functional/user.test,v
retrieving revision 1.4
diff -u -p -r1.4 user.test
--- tests/functional/user.test	21 Mar 2008 23:29:49 -0000	1.4
+++ tests/functional/user.test	21 Mar 2008 23:54:09 -0000
@@ -80,7 +80,7 @@ class UserRegistrationTest extends Drupa
     $this->assertEqual($user->pass, md5($new_pass), 'Correct password in database');
 
     /* logout */
-    $this->clickLink('Log out');
+    $this->clickLink(t('Log out'));
     $this->assertNoText($user->name, 'Logged out');
 
     /* login again */
