aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/php/vendor/react/promise/tests/fixtures
diff options
context:
space:
mode:
authormarvin-borner@live.com2018-04-16 21:09:05 +0200
committermarvin-borner@live.com2018-04-16 21:09:05 +0200
commitcf14306c2b3f82a81f8d56669a71633b4d4b5fce (patch)
tree86700651aa180026e89a66064b0364b1e4346f3f /assets/php/vendor/react/promise/tests/fixtures
parent619b01b3615458c4ed78bfaeabb6b1a47cc8ad8b (diff)
Main merge to user management system - files are now at /main/public/
Diffstat (limited to 'assets/php/vendor/react/promise/tests/fixtures')
-rwxr-xr-xassets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestPromise.php21
-rwxr-xr-xassets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestThenable.php21
-rwxr-xr-xassets/php/vendor/react/promise/tests/fixtures/SimpleRejectedTestPromise.php21
-rwxr-xr-xassets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellable.php13
-rwxr-xr-xassets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellableThenable.php18
5 files changed, 0 insertions, 94 deletions
diff --git a/assets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestPromise.php b/assets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestPromise.php
deleted file mode 100755
index ef4d530..0000000
--- a/assets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestPromise.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-namespace React\Promise;
-
-class SimpleFulfilledTestPromise implements PromiseInterface
-{
- public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null)
- {
- try {
- if ($onFulfilled) {
- $onFulfilled('foo');
- }
-
- return new self();
- } catch (\Throwable $exception) {
- return new RejectedPromise($exception);
- } catch (\Exception $exception) {
- return new RejectedPromise($exception);
- }
- }
-}
diff --git a/assets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestThenable.php b/assets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestThenable.php
deleted file mode 100755
index 3f66f63..0000000
--- a/assets/php/vendor/react/promise/tests/fixtures/SimpleFulfilledTestThenable.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-namespace React\Promise;
-
-class SimpleFulfilledTestThenable
-{
- public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null)
- {
- try {
- if ($onFulfilled) {
- $onFulfilled('foo');
- }
-
- return new self();
- } catch (\Throwable $exception) {
- return new RejectedPromise($exception);
- } catch (\Exception $exception) {
- return new RejectedPromise($exception);
- }
- }
-}
diff --git a/assets/php/vendor/react/promise/tests/fixtures/SimpleRejectedTestPromise.php b/assets/php/vendor/react/promise/tests/fixtures/SimpleRejectedTestPromise.php
deleted file mode 100755
index b30a226..0000000
--- a/assets/php/vendor/react/promise/tests/fixtures/SimpleRejectedTestPromise.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-namespace React\Promise;
-
-class SimpleRejectedTestPromise implements PromiseInterface
-{
- public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null)
- {
- try {
- if ($onRejected) {
- $onRejected('foo');
- }
-
- return new self();
- } catch (\Throwable $exception) {
- return new RejectedPromise($exception);
- } catch (\Exception $exception) {
- return new RejectedPromise($exception);
- }
- }
-}
diff --git a/assets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellable.php b/assets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellable.php
deleted file mode 100755
index f232a68..0000000
--- a/assets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellable.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-
-namespace React\Promise;
-
-class SimpleTestCancellable
-{
- public $cancelCalled = false;
-
- public function cancel()
- {
- $this->cancelCalled = true;
- }
-}
diff --git a/assets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellableThenable.php b/assets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellableThenable.php
deleted file mode 100755
index c0f1593..0000000
--- a/assets/php/vendor/react/promise/tests/fixtures/SimpleTestCancellableThenable.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-namespace React\Promise;
-
-class SimpleTestCancellableThenable
-{
- public $cancelCalled = false;
-
- public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null)
- {
- return new self();
- }
-
- public function cancel()
- {
- $this->cancelCalled = true;
- }
-}