Permalink
Browse files

Ran tab2space. If someone turns around and says, "No, we actually use…

… tabs!" please run a space to tab convertor (I think MediaWiki has one)
  • Loading branch information...
1 parent f36b1a0 commit 29cb56fe3b82c19cf3f2ac0c197f25f6b163d153 edwardzyang committed Mar 2, 2008
Showing with 1,539 additions and 1,539 deletions.
  1. +81 −81 TODO.xml
  2. +9 −9 authentication.php
  3. +29 −29 autorun.php
  4. +9 −9 browser.php
  5. +26 −26 compatibility.php
  6. +9 −9 cookies.php
  7. +59 −59 default_reporter.php
  8. +11 −11 detached.php
  9. +6 −6 dumper.php
  10. +157 −157 eclipse.php
  11. +43 −43 encoding.php
  12. +228 −228 errors.php
  13. +152 −152 exceptions.php
  14. +8 −8 form.php
  15. +5 −5 frames.php
  16. +15 −15 http.php
  17. +8 −8 invoker.php
  18. +12 −12 mock_objects.php
  19. +5 −5 page.php
  20. +4 −4 parser.php
  21. +115 −115 reflection_php4.php
  22. +304 −304 reflection_php5.php
  23. +7 −7 remote.php
  24. +21 −21 reporter.php
  25. +27 −27 scorer.php
  26. +12 −12 selector.php
  27. +16 −16 shell_tester.php
  28. +11 −11 simpletest.php
  29. +8 −8 socket.php
  30. +53 −53 tag.php
  31. +34 −34 test_case.php
  32. +11 −11 unit_tester.php
  33. +7 −7 url.php
  34. +7 −7 user_agent.php
  35. +25 −25 web_tester.php
  36. +5 −5 xml.php
View
@@ -10,10 +10,10 @@
</section>
<section name="unit-tester" title="Unit tester">
<dl>
- <dt class="done">
- Make sure expectException() works correctly
- with setUp() and tearDown() methods (3).
- </dt>
+ <dt class="done">
+ Make sure expectException() works correctly
+ with setUp() and tearDown() methods (3).
+ </dt>
<dd>
In particular:
<ul>
@@ -24,67 +24,67 @@
</section>
<section name="reporter" title="Reporter">
<dl>
- <dt class="postponed">
- Add Eclipse support to DefaultReporter (2).
- </dt>
+ <dt class="postponed">
+ Add Eclipse support to DefaultReporter (2).
+ </dt>
<dd>
Need a way to detect the Eclipse environment (must talk to Steve) and
to use the EclipseReporter within the DefaultReporter in this case.
This removes a significant piece of set up from Steve&apos;s side.
</dd>
</dl>
- </section>
+ </section>
<section name="mock-objects" title="Mock objects">
<dl>
- <dt>
- Add throwOn() method for generating exceptions (4/6).
- </dt>
+ <dt>
+ Add throwOn() method for generating exceptions (4/6).
+ </dt>
<dd>
Can throw exceptions on certain method call or parameters in the
same way that a return value can be set.
</dd>
</dl>
- </section>
+ </section>
<section name="parser" title="Parser">
<dl>
- <dt class="done">
- Fix bug 1688238 with lost paths when absoluting a link (2).
- </dt>
- <dt class="done">
- Fix bug 1671539 with assertText picking up JavaScript (1).
- </dt>
- <dt class="done">
- Add U flag to regexes to allow unicode (3).
- </dt>
- </dl>
- </section>
+ <dt class="done">
+ Fix bug 1688238 with lost paths when absoluting a link (2).
+ </dt>
+ <dt class="done">
+ Fix bug 1671539 with assertText picking up JavaScript (1).
+ </dt>
+ <dt class="done">
+ Add U flag to regexes to allow unicode (3).
+ </dt>
+ </dl>
+ </section>
<section name="browser" title="Browser">
<dl>
- <dt>
- Acknowledge target attribute in base tag (3).
- </dt>
- <dt>
- Investigate bug 1706283 with incorrect proxy requests (3).
- </dt>
- <dd>
- <a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1706283&amp;group_id=76550&amp;atid=547455">
- see bug tracker 1706283
- </a>
- </dd>
- <dt class="done">
- Confirm bug 1656650 forms appearing as null is fixed (1).
- </dt>
- <dd>
- <a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1656650&amp;group_id=76550&amp;atid=547455">
- see bug tracker 1656650
- </a>
- </dd>
- <dt class="done">
- Fix bug 1642529 with radio buttons not working (3).
- </dt>
- <dt>
- Look at adding a file() loading command (4).
- </dt>
+ <dt>
+ Acknowledge target attribute in base tag (3).
+ </dt>
+ <dt>
+ Investigate bug 1706283 with incorrect proxy requests (3).
+ </dt>
+ <dd>
+ <a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1706283&amp;group_id=76550&amp;atid=547455">
+ see bug tracker 1706283
+ </a>
+ </dd>
+ <dt class="done">
+ Confirm bug 1656650 forms appearing as null is fixed (1).
+ </dt>
+ <dd>
+ <a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1656650&amp;group_id=76550&amp;atid=547455">
+ see bug tracker 1656650
+ </a>
+ </dd>
+ <dt class="done">
+ Fix bug 1642529 with radio buttons not working (3).
+ </dt>
+ <dt>
+ Look at adding a file() loading command (4).
+ </dt>
<dd>
This is just a scoping exercise.
There are times when you want to click on an HTML email, or you want
@@ -93,65 +93,65 @@
Is it easy (sub a couple of days work) to load a file when given
the file:// prefix on a URL?
</dd>
- </dl>
- </section>
+ </dl>
+ </section>
<section name="web-tester" title="Web tester">
<dl>
- <dt class="done">
- Fix issue 1605972 missing isLink(), probably by changing docs (1).
- </dt>
- </dl>
- </section>
+ <dt class="done">
+ Fix issue 1605972 missing isLink(), probably by changing docs (1).
+ </dt>
+ </dl>
+ </section>
<section name="documentation" title="Documentation">
<dl>
- <dt>
- Update core documentation snippets
- with the new features such as autoload (8).
- </dt>
+ <dt>
+ Update core documentation snippets
+ with the new features such as autoload (8).
+ </dt>
<dd>
Bit of a major job.
It means going through all of the core documentation and updating
it with new methods and features.
In particular, the introductory pages should switch to autoload.
- Should be checked : addTestFile.
+ Should be checked : addTestFile.
</dd>
- <dt class="done">
- Extension docs (1).
- </dt>
+ <dt class="done">
+ Extension docs (1).
+ </dt>
<dd>
Document the file structure for extension writers.
Also, deprecate the simpletest/ui/ folder in favour of putting everything
into simpletest/extension/.
</dd>
- </dl>
- </section>
+ </dl>
+ </section>
<section name="build" title="Build">
- </section>
+ </section>
</content>
<internal>
<link>
<a href="#iteration">Current iteration</a> is 1.0.1RC1.
</link>
<link>
- Items for
- <a href="#unit-tester">Unit tester</a>,
- <a href="#reporter">Reporter</a>,
- <a href="#mock-objects">Mock objects</a>,
- <a href="#parser">Parser</a>,
- <a href="#browser">Browser</a>,
- <a href="#web-tester">Web tester</a>,
- <a href="#documentation">Documentation</a> and
- <a href="#build">Build</a>.
+ Items for
+ <a href="#unit-tester">Unit tester</a>,
+ <a href="#reporter">Reporter</a>,
+ <a href="#mock-objects">Mock objects</a>,
+ <a href="#parser">Parser</a>,
+ <a href="#browser">Browser</a>,
+ <a href="#web-tester">Web tester</a>,
+ <a href="#documentation">Documentation</a> and
+ <a href="#build">Build</a>.
</link>
</internal>
- <external>
+ <external>
<link>
- Trackers for :
- <a href="https://sourceforge.net/tracker/?group_id=76550&amp;atid=547458">feature requests</a>,
- <a href="https://sourceforge.net/tracker/?group_id=76550&amp;atid=547455">bugs</a> and
- <a href="https://sourceforge.net/tracker/?group_id=76550&amp;atid=547457">patches</a>.
+ Trackers for :
+ <a href="https://sourceforge.net/tracker/?group_id=76550&amp;atid=547458">feature requests</a>,
+ <a href="https://sourceforge.net/tracker/?group_id=76550&amp;atid=547455">bugs</a> and
+ <a href="https://sourceforge.net/tracker/?group_id=76550&amp;atid=547457">patches</a>.
</link>
- </external>
+ </external>
<meta>
<keywords>
software development,
View
@@ -1,19 +1,19 @@
<?php
/**
- * Base include file for SimpleTest
- * @package SimpleTest
- * @subpackage WebTester
- * @version $Id$
+ * Base include file for SimpleTest
+ * @package SimpleTest
+ * @subpackage WebTester
+ * @version $Id$
*/
/**
- * include http class
+ * include http class
*/
require_once(dirname(__FILE__) . '/http.php');
/**
* Represents a single security realm's identity.
- * @package SimpleTest
- * @subpackage WebTester
+ * @package SimpleTest
+ * @subpackage WebTester
*/
class SimpleRealm {
var $_type;
@@ -125,8 +125,8 @@ function _isIn($part, $whole) {
/**
* Manages security realms.
- * @package SimpleTest
- * @subpackage WebTester
+ * @package SimpleTest
+ * @subpackage WebTester
*/
class SimpleAuthenticator {
var $_realms;
View
@@ -1,9 +1,9 @@
<?php
/**
- * Autorunner which runs all tests cases found in a file
- * that includes this module.
- * @package SimpleTest
- * @version $Id$
+ * Autorunner which runs all tests cases found in a file
+ * that includes this module.
+ * @package SimpleTest
+ * @version $Id$
*/
require_once dirname(__FILE__) . '/unit_tester.php';
require_once dirname(__FILE__) . '/mock_objects.php';
@@ -15,7 +15,7 @@
function simpletest_autorun() {
if (tests_have_run()) {
- return;
+ return;
}
$candidates = array_intersect(
capture_new_classes(),
@@ -30,34 +30,34 @@ classes_defined_in_initial_file());
}
}
- function tests_have_run() {
+ function tests_have_run() {
if ($context = SimpleTest::getContext()) {
- if ($context->getTest()) {
- return true;
- }
- }
- return false;
- }
-
- function initial_file() {
- static $file = false;
- if (! $file) {
- $file = reset(get_included_files());
- }
- return $file;
- }
-
- function classes_defined_in_initial_file() {
+ if ($context->getTest()) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ function initial_file() {
+ static $file = false;
+ if (! $file) {
+ $file = reset(get_included_files());
+ }
+ return $file;
+ }
+
+ function classes_defined_in_initial_file() {
if (! preg_match_all('~class\s+(\w+)~', file_get_contents(initial_file()), $matches)) {
- return array();
- }
- return array_map('strtolower', $matches[1]);
- }
-
- function capture_new_classes() {
+ return array();
+ }
+ return array_map('strtolower', $matches[1]);
+ }
+
+ function capture_new_classes() {
global $SIMPLETEST_AUTORUNNER_INITIAL_CLASSES;
return array_map('strtolower', array_diff(get_declared_classes(),
$SIMPLETEST_AUTORUNNER_INITIAL_CLASSES ?
$SIMPLETEST_AUTORUNNER_INITIAL_CLASSES : array()));
- }
+ }
?>
View
@@ -1,13 +1,13 @@
<?php
/**
- * Base include file for SimpleTest
- * @package SimpleTest
- * @subpackage WebTester
- * @version $Id$
+ * Base include file for SimpleTest
+ * @package SimpleTest
+ * @subpackage WebTester
+ * @version $Id$
*/
/**#@+
- * include other SimpleTest class files
+ * include other SimpleTest class files
*/
require_once(dirname(__FILE__) . '/simpletest.php');
require_once(dirname(__FILE__) . '/http.php');
@@ -24,8 +24,8 @@
/**
* Browser history list.
- * @package SimpleTest
- * @subpackage WebTester
+ * @package SimpleTest
+ * @subpackage WebTester
*/
class SimpleBrowserHistory {
var $_sequence;
@@ -154,8 +154,8 @@ function _dropFuture() {
* Simulated web browser. This is an aggregate of
* the user agent, the HTML parsing, request history
* and the last header set.
- * @package SimpleTest
- * @subpackage WebTester
+ * @package SimpleTest
+ * @subpackage WebTester
*/
class SimpleBrowser {
var $_user_agent;
Oops, something went wrong.

0 comments on commit 29cb56f

Please sign in to comment.