Version 1
[yaffs-website] / vendor / phpunit / phpunit / src / Framework / Test.php
diff --git a/vendor/phpunit/phpunit/src/Framework/Test.php b/vendor/phpunit/phpunit/src/Framework/Test.php
new file mode 100644 (file)
index 0000000..4ad11af
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+/*
+ * This file is part of PHPUnit.
+ *
+ * (c) Sebastian Bergmann <sebastian@phpunit.de>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/**
+ * A Test can be run and collect its results.
+ *
+ * @since Interface available since Release 2.0.0
+ */
+interface PHPUnit_Framework_Test extends Countable
+{
+    /**
+     * Runs a test and collects its result in a TestResult instance.
+     *
+     * @param PHPUnit_Framework_TestResult $result
+     *
+     * @return PHPUnit_Framework_TestResult
+     */
+    public function run(PHPUnit_Framework_TestResult $result = null);
+}