? .DS_Store
? private_permissions_simpletest.patch
? rdf_namespace_alter.patch
? profiles/.DS_Store
? profiles/single_user_blog
? sites/.DS_Store
? sites/default/files
? sites/default/settings.php
? themes/garland/.DS_Store
Index: modules/simpletest/drupal_web_test_case.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/simpletest/drupal_web_test_case.php,v
retrieving revision 1.62
diff -u -p -r1.62 drupal_web_test_case.php
--- modules/simpletest/drupal_web_test_case.php	27 Nov 2008 07:07:01 -0000	1.62
+++ modules/simpletest/drupal_web_test_case.php	28 Nov 2008 04:25:36 -0000
@@ -617,7 +617,7 @@ class DrupalWebTestCase {
    */
   protected function drupalCreateUser($permissions = NULL) {
     // Create a role with the given permission set.
-    if (!($rid = $this->_drupalCreateRole($permissions))) {
+    if (!($rid = $this->drupalCreateRole($permissions))) {
       return FALSE;
     }
 
@@ -649,12 +649,7 @@ class DrupalWebTestCase {
    * @return
    *   Role ID of newly created role, or FALSE if role creation failed.
    */
-  protected function _drupalCreateRole(Array $permissions = NULL) {
-    // Generate string version of permissions list.
-    if ($permissions === NULL) {
-      $permissions = array('access comments', 'access content', 'post comments', 'post comments without approval');
-    }
-
+  protected function drupalCreateRole($permissions = array('access comments', 'access content', 'post comments', 'post comments without approval')) {
     if (!$this->checkPermissions($permissions)) {
       return FALSE;
     }
@@ -688,7 +683,7 @@ class DrupalWebTestCase {
    * @return
    *   TRUE or FALSE depending on whether the permissions are valid.
    */
-  protected function checkPermissions(Array $permissions, $reset = FALSE) {
+  private function checkPermissions(Array $permissions, $reset = FALSE) {
     static $available;
 
     if (!isset($available) || $reset) {
