Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / _files / DataProviderIncompleteTest.php
diff --git a/vendor/phpunit/phpunit/tests/_files/DataProviderIncompleteTest.php b/vendor/phpunit/phpunit/tests/_files/DataProviderIncompleteTest.php
new file mode 100644 (file)
index 0000000..e0efb5b
--- /dev/null
@@ -0,0 +1,37 @@
+<?php
+class DataProviderIncompleteTest extends PHPUnit_Framework_TestCase
+{
+    /**
+     * @dataProvider incompleteTestProviderMethod
+     */
+    public function testIncomplete($a, $b, $c)
+    {
+        $this->assertTrue(true);
+    }
+
+    /**
+     * @dataProvider providerMethod
+     */
+    public function testAdd($a, $b, $c)
+    {
+        $this->assertEquals($c, $a + $b);
+    }
+
+    public function incompleteTestProviderMethod()
+    {
+        $this->markTestIncomplete('incomplete');
+
+        return array(
+          array(0, 0, 0),
+          array(0, 1, 1),
+        );
+    }
+
+    public static function providerMethod()
+    {
+        return array(
+          array(0, 0, 0),
+          array(0, 1, 1),
+        );
+    }
+}