ObjFW  History of tests/OFKernelEventObserverTests.m of 50de0da5bc429739

History of file tests/OFKernelEventObserverTests.m at check-in 50de0da5bc429739

2024-04-03
02:16
Change license to LGPLv3 only file: [11704d0412] check-in: [7413a728a7] user: js, branch: trunk, size: 3472 [annotate] [blame] [check-ins using] [diff]
2024-02-20
22:07
OFKernelEventObserverTests: Fix missing release file: [458149bcab] check-in: [89b96428b9] user: js, branch: trunk, size: 3264 [annotate] [blame] [check-ins using] [diff]
2024-02-18
19:29
Renamed new_tests/OFKernelEventObserverTests.m → tests/OFKernelEventObserverTests.m. Rename new tests file: [2177e01800] check-in: [7a84580fb6] user: js, branch: objfwtest, size: 3242 [annotate] [blame] [check-ins using] [diff]
11:08
Renamed tests/OFKernelEventObserverTests.m → new_tests/OFKernelEventObserverTests.m. Migrate OFKernelEventObserverTests to ObjFWTest file: [2177e01800] check-in: [aa56dd6d2a] user: js, branch: objfwtest, size: 3242 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [fd27260531] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 5176 [annotate] [blame] [check-ins using] [diff]
2023-05-21
11:04
OFTCPSocket: Return socket address bound to file: [25c104eb19] check-in: [fc161d1948] user: js, branch: trunk, size: 5176 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [aebf1c55e6] check-in: [8939cbdb52] user: js, branch: trunk, size: 5130 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [cec268df6c] check-in: [1a86b8175b] user: js, branch: trunk, size: 5130 [annotate] [blame] [check-ins using] [diff]
2021-05-08
23:22
tests: Align more with ObjFW style

ObjFW's style changed over the years, but the tests were never adjusted
to it. file: [f4ab45b387] check-in: [14f1e22d79] user: js, branch: trunk, size: 5130 [annotate] [blame] [check-ins using] [diff]

2021-04-18
15:55
Rename all functions in macros.h file: [e1e120ef88] check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 5091 [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
*.m: Fold methods into one line where it fits file: [decdd17638] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 5092 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [24325e2282] check-in: [374e1a1bfa] user: js, branch: trunk, size: 5134 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [d22c843df2] check-in: [c7f0229795] user: js, branch: trunk, size: 5223 [annotate] [blame] [check-ins using] [diff]
2019-09-29
15:58
Remove OFAutoreleasePool

OFAutoreleasePools have long been discouraged in favor of the runtime's
autorelease pools. file: [b7d7784260] check-in: [09be825f88] user: js, branch: trunk, size: 5220 [annotate] [blame] [check-ins using] [diff]

2019-06-17
02:33
Remove underscores from class names file: [acffe39aa3] check-in: [17d57e01ff] user: js, branch: trunk, size: 5222 [annotate] [blame] [check-ins using] [diff]
2019-03-25
00:21
tests: Use dot syntax file: [70f44cc10f] check-in: [b045cbb9c7] user: js, branch: trunk, size: 5230 [annotate] [blame] [check-ins using] [diff]
2019-02-17
22:44
tests: Only import ObjFW.h

This prevents forgetting to add an import to ObjFW.h, as the tests would
then not compile. file: [a86e902d78] check-in: [dc0c6c34ab] user: js, branch: trunk, size: 5236 [annotate] [blame] [check-ins using] [diff]

2019-01-03
19:13
Update copyright file: [33f43547cf] check-in: [0509d7a844] user: js, branch: trunk, size: 5365 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [c09fdf0858] check-in: [7e5c81e186] user: js, branch: trunk, size: 5359 [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
Do not use implicit method return types

Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. file: [a75e0308f8] check-in: [2f4e0df8be] user: js, branch: trunk, size: 5336 [annotate] [blame] [check-ins using] [diff]

2017-10-01
21:12
Fix testing the wrong OFKernelEventObserver file: [6f6df4db2e] check-in: [28078de81b] user: js, branch: trunk, size: 5322 [annotate] [blame] [check-ins using] [diff]
2017-07-30
21:40
tests: Drain between OFKernelObserver tests

This makes them not run out of resources on Nintendo 3DS. file: [a33e059e26] check-in: [5e0bfb59b4] user: js, branch: trunk, size: 5343 [annotate] [blame] [check-ins using] [diff]

17:25
Fix OFKernelEventObserver on Wii file: [6685f5b362] check-in: [a3e2130ab4] user: js, branch: 0.90, size: 5344 [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
Small code style change

Casts are now written like types in variable declarations. file: [f2b6e225cb] check-in: [4af49a13c3] user: js, branch: trunk, size: 5468 [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. file: [26a483d9d8] check-in: [44f45c2e35] user: js, branch: trunk, size: 5467 [annotate] [blame] [check-ins using] [diff]

2016-03-20
14:58
OFKernelEventObserverTests: Properly count fails file: [cdf33e2e44] check-in: [62d1d615f8] user: js, branch: 0.8, size: 5423 [annotate] [blame] [check-ins using] [diff]
14:58
OFKernelEventObserverTests: Properly count fails file: [4cca110d90] check-in: [b5277f0444] user: js, branch: trunk, size: 5461 [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
Update copyright

While at it, also update the mail address. file: [09cd1941db] check-in: [cec0f072f8] user: js, branch: 0.8, size: 5294 [annotate] [blame] [check-ins using] [diff]

00:41
Update copyright

While at it, also update the mail address. file: [2268f2ee07] check-in: [2a27cf3000] user: js, branch: trunk, size: 5332 [annotate] [blame] [check-ins using] [diff]

2015-11-29
14:20
Clean up optional protocols

Now that we can require GCC >= 4.6, we no longer need to have a category
on OFObject that adds the optional protocol to it. file: [87b1a72a6f] check-in: [ba62f00fac] user: js, branch: trunk, size: 5328 [annotate] [blame] [check-ins using] [diff]

2015-10-19
22:15
Add platform.h & make platform defines consistent file: [c39307bdbd] check-in: [1ba08eebc5] user: js, branch: trunk, size: 5296 [annotate] [blame] [check-ins using] [diff]
2015-05-10
00:42
OFKernelEventObserverTests: Prevent line wrap file: [70f76a2e2d] check-in: [504643ffee] user: js, branch: trunk, size: 5290 [annotate] [blame] [check-ins using] [diff]
2015-05-09
18:13
More OFKernelEventObserver refactoring

This was necessary because select(), poll() and kevent() on FreeBSD and
OS X would sometimes return 0 events, even if there are some, and
sometimes return the correct number of events that were pending, meaning
the number of events returned is unreliable. To make things worse,
whether it returns 0 or the number of events that were pending is
completely non-deterministic on both FreeBSD and OS X (running the same
tests multiple times in a row would make it sometimes work and sometimes
fail).

In order to prevent code from depending on the return value of
-[observeForTimeInterval:] (which would depend on select(), poll() and
kevent() returning the correct number), OFKernelObserver no longer
returns whether there were pending events. It is expected that
-[observe] or -[observeForTimeInterval:] is just called in a loop as
long as events should be handled.

The tests have been changed as well to reflect this. What they do now is
set a deadline and call -[observeForTimeInterval:] with a small timeout
in a loop until the deadline is reached or all events have been handled.

Note: DragonFlyBSD has not been tested, but will most likely behave like
FreeBSD and OS X. file: [8dbc611e84] check-in: [220513a3f5] user: js, branch: trunk, size: 5326 [annotate] [blame] [check-ins using] [diff]

2015-05-04
23:19
Test all OFKernelEventObserver implementations file: [c839b85266] check-in: [6430ae3309] user: js, branch: trunk, size: 3934 [annotate] [blame] [check-ins using] [diff]
2015-05-03
09:39
Improve OFKernelEventObserverTests file: [5bcda94d87] check-in: [3791ec8e42] user: js, branch: trunk, size: 3003 [annotate] [blame] [check-ins using] [diff]
2015-04-26
12:26
OFKernelEventObserverTests: Make old GCCs happy file: [ce29c0174f] check-in: [8697161608] user: js, branch: trunk, size: 2719 [annotate] [blame] [check-ins using] [diff]
08:10
Minor improvements, no functional change file: [664311d3cf] check-in: [57b6030b14] user: js, branch: trunk, size: 2751 [annotate] [blame] [check-ins using] [diff]
2015-04-20
20:46
Added: Add tests for OFKernelEventObserver file: [c4a91b451f] check-in: [d4a1b1966d] user: js, branch: trunk, size: 2752 [annotate] [blame] [check-ins using]