Commit graph

32 commits

Author SHA1 Message Date
Benjamin Schaaf 65980326a1 Add timeouts to avoid the compile time effects of rdmd on tests passing 2019-05-05 18:02:26 +10:00
Benjamin Schaaf c3f5ebb9fd Implement vibe.core.process for subprocess handling similar to std.process 2019-05-05 15:27:57 +10:00
Sönke Ludwig cb6a79a86f Make the test for #115 actually fail if a socket gets leaked. 2019-01-20 11:16:53 +01:00
Sönke Ludwig 00bf61b3b7 Make the test for #115 actually fail if a socket gets leaked. 2019-01-19 15:47:39 +01:00
WebFreak001 9d6b34c73a release ref on failing connectTCP
fix #115
2019-01-09 00:18:43 +01:00
Hiroki Noda a408aac808 Use monotonic clock for timeout 2018-12-24 06:22:53 +09:00
WebFreak001 c8ab6ae2f8 Make waitForData not assert fail on close fix #110 2018-12-20 02:10:40 +01:00
Sönke Ludwig 9e526194e7 Add test for issue #104. 2018-11-23 15:51:10 +01:00
Sönke Ludwig 4394374364 Fix race-condition in test case.
The wait() call without arguments could miss the initial emit(), if called too late, which could easily happen on VMs with less predictable timing.
2018-10-27 00:44:00 +02:00
Sönke Ludwig c88964337a Add test for issue #66. 2018-03-06 23:39:57 +01:00
Sönke Ludwig f0bdaa0778 Increase test timeout. 2018-02-23 15:49:49 +01:00
Sönke Ludwig 0ff503afa6 Add test case for #58. 2018-02-23 01:25:10 +01:00
Sönke Ludwig aa300d39ca Increase test delays to accommodate for the polling directory watcher. 2017-12-01 20:32:07 +01:00
Sönke Ludwig fcf98c2016 Merge branch 'master' into trailing-whitespace 2017-07-19 00:08:33 +02:00
Sönke Ludwig d7b2173cb3 Implement TCPListener.stopListening and fix the vibe.core.net.1726 test.
The test fix follows the fix in the vibe.d repository: rejectedsoftware/vibe.d#f960427e5974c176c58b516647895a2af4ea181b
2017-07-18 11:55:39 +02:00
Sebastian Wilzbach 8f89733a86 Remove all trailing whitespace
sed 's/[ \t]*$//' -i **/*.d
2017-07-03 12:19:27 +02:00
Sönke Ludwig 52ead0891f
Add test for rejectedsoftware/vibe.d#1726. 2017-05-16 09:40:18 +02:00
Dentcho Bankov aef2936abd Fix for #11. Cross port of fix for #1742 from vibe.d 2017-04-15 00:04:08 +03:00
Sönke Ludwig 5a8d5a2fea
Add tests from vibe-d:core. 2017-02-17 00:55:16 +01:00
Sönke Ludwig 99bc332a81
Allow script based tests and fix test package recipes. 2017-02-17 00:49:40 +01:00
Sönke Ludwig 68430a1ea4
Fix file pointer management in FileStream. Fixes rejectedsoftware/vibe.d#1684. 2017-02-16 23:37:41 +01:00
Sönke Ludwig 9ab0f07b2d Fix compile error in file test. 2016-12-19 21:57:52 +01:00
Sönke Ludwig 3a9b977dc4 Fix test dependency paths. 2016-10-24 08:37:32 +02:00
Sönke Ludwig cd3e756dd6 Convert all tests to single-file packages. 2016-10-24 08:32:16 +02:00
Sönke Ludwig c08f101549 Update for eventcore 0.5.0 and the latest DMD beta. 2016-10-24 08:22:49 +02:00
Sönke Ludwig 5bbf07beb8 Fix FileStream.close and let the file test clean up after itself. 2016-10-06 22:15:25 +02:00
Sönke Ludwig cf75d968d5 Base FileStream on eventcore. 2016-10-06 22:06:51 +02:00
Sönke Ludwig 051254ace1 Fix test compilation. 2016-06-18 10:00:20 +02:00
Sönke Ludwig a9905ddcd9 Make the test packages compilable. 2016-06-18 08:19:06 +02:00
Sönke Ludwig 179d93f09d Add test for issue #1452.
TCP connection should not crash the program if they are closed from within a finalizer. Instead, give a warning if such a class has leaked.

(cherry picked from commit 2c0adbc56170571991781cebf1e3aac1549828ad)
2016-04-10 14:40:39 +02:00
Sönke Ludwig 9e6436fce3 Add test for issue #1429.
UDP receive timeout doesn't work for the libevent driver.

(cherry picked from commit 443e0713ded4d2eaf5e9bc6c24ed79069d2a92dd)

(cherry picked from commit 6997dc304c2d09511c409bd18f847bac330a06a3)
2016-04-10 14:40:39 +02:00
Sönke Ludwig 8f66cc9827 Add test for issue #1441.
(cherry picked from commit ac11197a4b0af00833114ec400df2bca07e874e3)
2016-04-10 14:40:38 +02:00