ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
testSuccess () | |
testFail () | |
testChain () | |
testChainPromise () | |
testPendingResult () | |
testPendingFail () | |
testExecutorSuccess () | |
testExecutorFail () | |
testFulfillTwice () | |
testRejectTwice () | |
testFromFailureHandler () | |
testAll () | |
testAllReject () | |
testAllRejectThenResolve () | |
testWaitResolve () | |
testWaitWillNeverResolve () | |
testWaitRejectedException () | |
testWaitRejectedScalar () | |
testWaitRejectedNonScalar () | |
Definition at line 8 of file PromiseTest.php.
Sabre\Event\Promise\PromiseTest::testAll | ( | ) |
Definition at line 199 of file PromiseTest.php.
References Sabre\Event\Promise\$value, Sabre\Event\Promise\all(), and Sabre\Event\Loop\run().
Sabre\Event\Promise\PromiseTest::testAllReject | ( | ) |
Definition at line 221 of file PromiseTest.php.
References Sabre\Event\Promise\$value, Sabre\Event\Promise\all(), and Sabre\Event\Loop\run().
Sabre\Event\Promise\PromiseTest::testAllRejectThenResolve | ( | ) |
Definition at line 246 of file PromiseTest.php.
References Sabre\Event\Promise\$value, Sabre\Event\Promise\all(), and Sabre\Event\Loop\run().
Sabre\Event\Promise\PromiseTest::testChain | ( | ) |
Definition at line 40 of file PromiseTest.php.
References $promise, Sabre\Event\Promise\$value, Sabre\Event\Loop\run(), and Sabre\Event\Promise\then().
Sabre\Event\Promise\PromiseTest::testChainPromise | ( | ) |
Definition at line 58 of file PromiseTest.php.
References $promise, Sabre\Event\Promise\$value, Sabre\Event\Loop\run(), and Sabre\Event\Promise\then().
Sabre\Event\Promise\PromiseTest::testExecutorFail | ( | ) |
Definition at line 129 of file PromiseTest.php.
References $promise, $result, $success, and Sabre\Event\Loop\run().
Sabre\Event\Promise\PromiseTest::testExecutorSuccess | ( | ) |
Definition at line 112 of file PromiseTest.php.
References $promise, $result, $success, and Sabre\Event\Loop\run().
Sabre\Event\Promise\PromiseTest::testFail | ( | ) |
Definition at line 25 of file PromiseTest.php.
References $promise, Sabre\Event\Promise\$value, and Sabre\Event\Loop\run().
Sabre\Event\Promise\PromiseTest::testFromFailureHandler | ( | ) |
Definition at line 172 of file PromiseTest.php.
References $ok, $promise, Sabre\Event\Loop\run(), and Sabre\Event\Promise\then().
Sabre\Event\Promise\PromiseTest::testFulfillTwice | ( | ) |
Sabre\Event\Promise\PromiseTest::testPendingFail | ( | ) |
Definition at line 96 of file PromiseTest.php.
References $promise, Sabre\Event\Promise\$value, and Sabre\Event\Loop\run().
Sabre\Event\Promise\PromiseTest::testPendingResult | ( | ) |
Definition at line 80 of file PromiseTest.php.
References $promise, Sabre\Event\Promise\$value, and Sabre\Event\Loop\run().
Sabre\Event\Promise\PromiseTest::testRejectTwice | ( | ) |
Sabre\Event\Promise\PromiseTest::testSuccess | ( | ) |
Definition at line 10 of file PromiseTest.php.
References $promise, Sabre\Event\Promise\$value, and Sabre\Event\Loop\run().
Sabre\Event\Promise\PromiseTest::testWaitRejectedException | ( | ) |
Definition at line 294 of file PromiseTest.php.
References $promise, and Sabre\Event\Loop\nextTick().
Sabre\Event\Promise\PromiseTest::testWaitRejectedNonScalar | ( | ) |
Definition at line 326 of file PromiseTest.php.
References $promise, and Sabre\Event\Loop\nextTick().
Sabre\Event\Promise\PromiseTest::testWaitRejectedScalar | ( | ) |
Definition at line 310 of file PromiseTest.php.
References $promise, and Sabre\Event\Loop\nextTick().
Sabre\Event\Promise\PromiseTest::testWaitResolve | ( | ) |
Definition at line 271 of file PromiseTest.php.
References $promise, and Sabre\Event\Loop\nextTick().
Sabre\Event\Promise\PromiseTest::testWaitWillNeverResolve | ( | ) |