ObjFW  History of tests/OFArrayTests.m of f6cc2092af2a9dd2

History of file tests/OFArrayTests.m at check-in f6cc2092af2a9dd2

2024-04-03
02:16
Change license to LGPLv3 only file: [13dbe45147] check-in: [7413a728a7] user: js, branch: trunk, size: 7523 [annotate] [blame] [check-ins using] [diff]
2024-03-29
10:58
Add more tests for -[{copy,mutableCopy,hash}] file: [8617308e57] check-in: [1ef30f988c] user: js, branch: trunk, size: 7315 [annotate] [blame] [check-ins using] [diff]
2024-02-18
21:07
Deleted: Merge trunk into branch "asn1" check-in: [1779d5b5a7] user: js, branch: asn1, size: 0
19:29
Renamed new_tests/OFArrayTests.m → tests/OFArrayTests.m. Rename new tests file: [805893a2b1] check-in: [7a84580fb6] user: js, branch: objfwtest, size: 6947 [annotate] [blame] [check-ins using] [diff]
19:29
Renamed to tests/OFArrayTests.m. Rename new tests check-in: [7a84580fb6] user: js, branch: objfwtest, size: 0
2024-02-13
19:45
Remove some unneeded init methods from tests file: [805893a2b1] check-in: [7b5e4dedea] user: js, branch: objfwtest, size: 6947 [annotate] [blame] [check-ins using] [diff]
2024-02-12
22:58
ObjFWTest: Add OTAssert{Less,Greater}Than(OrEqual) file: [b5b1833cad] check-in: [eda31b70b6] user: js, branch: objfwtest, size: 7396 [annotate] [blame] [check-ins using] [diff]
2024-02-11
20:49
Renamed tests/OFArrayTests.m → new_tests/OFArrayTests.m. Migrate OFArrayTests to ObjFWTest file: [82ed4031a9] check-in: [7272d5b2cd] user: js, branch: objfwtest, size: 7389 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [1024ac5260] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 12850 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [08824c3292] check-in: [8939cbdb52] user: js, branch: trunk, size: 12850 [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:21
Rename OFURI to OFIRI file: [60972c86ec] check-in: [23272e6d43] user: js, branch: trunk, size: 12850 [annotate] [blame] [check-ins using] [diff]
2022-09-28
21:40
Rename OFUR{L -> I} in preparation for URI support file: [cc2ce2f7d0] check-in: [e7ab06503c] user: js, branch: trunk, size: 12850 [annotate] [blame] [check-ins using] [diff]
2022-08-30
00:48
OFObject: Small API change file: [80326b9933] check-in: [4ad0c363f3] user: js, branch: trunk, size: 12850 [annotate] [blame] [check-ins using] [diff]
2022-06-07
21:50
OFArray: Remove/replace all objects file: [b0ef1c947a] check-in: [a593419b75] user: js, branch: trunk, size: 12850 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [76dfc16c23] check-in: [1a86b8175b] user: js, branch: trunk, size: 12810 [annotate] [blame] [check-ins using] [diff]
2021-05-08
23:29
tests: Minor const improvement file: [0c4712974c] check-in: [c8663697ae] user: js, branch: trunk, size: 12810 [annotate] [blame] [check-ins using] [diff]
23:22
tests: Align more with ObjFW style

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

2021-04-17
14:13
Always prefix functions with the type file: [f58673a4b1] check-in: [eb0cfa6ff9] user: js, branch: new-naming-convention, size: 11734 [annotate] [blame] [check-ins using] [diff]
02:40
Rename all types in OFArray.h file: [6905bf8867] check-in: [e23daca6ef] user: js, branch: new-naming-convention, size: 11734 [annotate] [blame] [check-ins using] [diff]
00:44
of_range_t -> OFRange file: [03f79a56bf] check-in: [d975c53a43] user: js, branch: new-naming-convention, size: 11725 [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
*.m: Fold methods into one line where it fits file: [578f78bc93] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 11716 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [2e6d46311e] check-in: [374e1a1bfa] user: js, branch: trunk, size: 11807 [annotate] [blame] [check-ins using] [diff]
2020-08-25
00:11
OFNumber: Remove (u)int{8,16,32,64} methods

Since C guarantees minimum sizes for char, short, int, long and long
long, these can be used instead. file: [650205073d] check-in: [25c985fec1] user: js, branch: trunk, size: 11896 [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
Update copyright file: [52ca507d81] check-in: [c7f0229795] user: js, branch: trunk, size: 11900 [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: [54def65eb2] check-in: [09be825f88] user: js, branch: trunk, size: 11897 [annotate] [blame] [check-ins using] [diff]

2019-06-19
00:45
OFEnumerator: Remove -[reset]

It's not very useful and is a problem for the Foundation bridge, as
NSEnumerator does not have it. file: [501a7abef0] check-in: [7214a2c7af] user: js, branch: trunk, size: 11899 [annotate] [blame] [check-ins using] [diff]

2019-03-25
00:21
tests: Use dot syntax file: [e635773d52] check-in: [b045cbb9c7] user: js, branch: trunk, size: 11920 [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: [d070876349] check-in: [dc0c6c34ab] user: js, branch: trunk, size: 11954 [annotate] [blame] [check-ins using] [diff]

22:16
OFWindowsRegistryKey: Add write support file: [95d9e60793] check-in: [4c5f686a52] user: js, branch: trunk, size: 12143 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [d25eebe497] check-in: [0509d7a844] user: js, branch: trunk, size: 12143 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [90e3007c02] check-in: [7e5c81e186] user: js, branch: trunk, size: 12137 [annotate] [blame] [check-ins using] [diff]
2017-10-22
15:05
Make Apple GCC with -Wshadow happy file: [3b9dbd2a79] check-in: [a06354b42a] user: js, branch: trunk, size: 12114 [annotate] [blame] [check-ins using] [diff]
14:09
Make Apple GCC with -Wshadow happy file: [caf218a7ef] check-in: [31c0f5b89e] user: js, branch: 0.90, size: 12033 [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: [4fabdad1e7] check-in: [2f4e0df8be] user: js, branch: trunk, size: 12130 [annotate] [blame] [check-ins using] [diff]

2017-10-11
20:59
Fix shadowed variables and enable -Wshadow file: [bbcc951492] check-in: [836314f39a] user: js, branch: 0.90, size: 12049 [annotate] [blame] [check-ins using] [diff]
20:53
Fix shadowed variables and enable -Wshadow file: [ce6bbc2cf5] check-in: [00476e4430] user: js, branch: trunk, size: 12088 [annotate] [blame] [check-ins using] [diff]
2017-08-12
21:03
Add -[OFMutableArray sortUsingSelector:options:] file: [4017a0a9f1] check-in: [daa11c19cb] user: js, branch: trunk, size: 12031 [annotate] [blame] [check-ins using] [diff]
2017-07-20
22:28
Split OFURL into OFURL and OFMutableURL file: [b0ab3f0686] check-in: [3a5570ab20] user: js, branch: trunk, size: 11992 [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: [9dfa280d32] check-in: [4af49a13c3] user: js, branch: trunk, size: 11971 [annotate] [blame] [check-ins using] [diff]

2017-05-01
13:37
Add tests for generic OFArray / OFMutableArray

These are usually not used, as OFArray_adjacent and
OFMutableArray_adjacent are used instead. However, they are used if
someone creates their own subclass of OFArray / OFMutableArray. As they
are rarely used in production, it is important to run all tests on them. file: [c99073b249] check-in: [7fec2ef57e] user: js, branch: trunk, size: 11970 [annotate] [blame] [check-ins using] [diff]

13:26
Prepare OFArrayTests for different array classes file: [15bc3461c3] check-in: [d36735bfd9] user: js, branch: trunk, size: 10317 [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: [39574f1919] check-in: [44f45c2e35] user: js, branch: trunk, size: 10041 [annotate] [blame] [check-ins using] [diff]

2016-06-05
20:07
Fix -[OFArray valueForKey:]

Contrary to what the documentation stated, it did not actually call
super when the key was starting with an @. file: [1774d6c94a] check-in: [134c19b100] user: js, branch: trunk, size: 10035 [annotate] [blame] [check-ins using] [diff]

15:00
Implement Key Value Coding for OFArray

If the key starts with an @, the @ is stripped and the super method is
called. Otherwise, this returns the value for all objects / sets the
value for all objects. file: [75808adfc5] check-in: [05196e511a] user: js, branch: trunk, size: 9913 [annotate] [blame] [check-ins using] [diff]

2016-02-21
11:59
OFArray: Fix bug introduced by refactorization

Also improves the test to prevent this from happening again. file: [ea65aa5e42] check-in: [8a14ad35aa] user: js, branch: trunk, size: 9081 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

2015-11-29
14:26
Remove defines we no longer need

Now that we require GCC >= 4.6, those features are always available. file: [db4b803ef8] check-in: [be8db49635] user: js, branch: trunk, size: 9083 [annotate] [blame] [check-ins using] [diff]

2015-06-28
16:39
tests: Use __VA_ARGS__ for TEST() and clean up file: [a0e388f1bc] check-in: [07e630588d] user: js, branch: trunk, size: 9122 [annotate] [blame] [check-ins using] [diff]
2015-04-20
20:48
Remove a few now unnecessary imports file: [370db7500f] check-in: [0dbf08158c] user: js, branch: trunk, size: 9134 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [148a19ce4d] check-in: [cfd374b906] user: js, branch: trunk, size: 9154 [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
Update copyright. file: [b0bac4ab4f] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 9148 [annotate] [blame] [check-ins using] [diff]
2013-08-25
12:14
Add -[OFArray componentsJoinedByString:options:].

This allows to skip empty components. file: [007d7f7189] check-in: [f975b722df] user: js, branch: trunk, size: 9142 [annotate] [blame] [check-ins using] [diff]

2013-07-10
12:33
Get rid of a new Clang warning.

Clang now warns if the enumeration variable of a fast enumeration is not
used. file: [c4b233b4a6] check-in: [6143baaaee] user: js, branch: trunk, size: 8904 [annotate] [blame] [check-ins using] [diff]

2013-03-08
22:44
Document the block types.

This also removes "bool *stop" from some blocks where it does not make
sense. file: [4b9f82311d] check-in: [e8473b9db8] user: js, branch: trunk, size: 8890 [annotate] [blame] [check-ins using] [diff]

2013-03-04
17:20
Replace BOOL with bool.

The only places where BOOL is left are those where they are required by
the ABI. file: [4c7095914c] check-in: [c5ef582958] user: js, branch: trunk, size: 8907 [annotate] [blame] [check-ins using] [diff]

2013-01-14
00:39
OFArray: Add sorting with options. file: [a50d671c0a] check-in: [188586881d] user: js, branch: trunk, size: 8915 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [39ba49136f] check-in: [813c00ccf0] user: js, branch: trunk, size: 8758 [annotate] [blame] [check-ins using] [diff]
2012-10-03
15:41
Move definition of restricted to OFObject.h. file: [ed442f3f94] check-in: [7239333455] user: js, branch: trunk, size: 8752 [annotate] [blame] [check-ins using] [diff]
2012-06-06
13:14
Remove -[OFMutableArray removeNObjects:]. file: [550ae86871] check-in: [6f0ef1c5e1] user: js, branch: trunk, size: 8732 [annotate] [blame] [check-ins using] [diff]
12:15
-[addObject:atIndex:] -> -[insertObject:atIndex:].

For consistency with Foundation. file: [1073eae76a] check-in: [26f2ffa908] user: js, branch: trunk, size: 8896 [annotate] [blame] [check-ins using] [diff]

2012-03-12
11:54
OFArray: +[arrayWithCArray:length:] -> +[arrayWithObjects:count:].

This is required for the new array literals. file: [19f0fe9122] check-in: [008be86a16] user: js, branch: trunk, size: 8884 [annotate] [blame] [check-ins using] [diff]

2012-01-31
13:55
Remove forgotten debug output. file: [65511c9fb4] check-in: [2fd13b0adf] user: js, branch: trunk, size: 8969 [annotate] [blame] [check-ins using] [diff]
10:59
Add -[sortedArray] to OFArray. file: [59176fc44c] check-in: [b48145bb74] user: js, branch: trunk, size: 9023 [annotate] [blame] [check-ins using] [diff]
2012-01-08
02:03
More methods for OFArray and OFMutableArray. file: [2fd6511491] check-in: [72efa4f4f3] user: js, branch: trunk, size: 8740 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [196302b390] check-in: [ce70e17b38] user: js, branch: trunk, size: 8255 [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
Exceptions are now autoreleased.

This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.

So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. file: [723d9a0843] check-in: [e1e7ffa903] user: js, branch: trunk, size: 8249 [annotate] [blame] [check-ins using] [diff]

2011-08-03
00:30
Make OFArray an abstract class. file: [8332694435] check-in: [a855618045] user: js, branch: trunk, size: 8296 [annotate] [blame] [check-ins using] [diff]
2011-07-22
17:17
Add a test for -[foldUsingBlock:]. file: [964609bde3] check-in: [32d6b7282a] user: js, branch: trunk, size: 8118 [annotate] [blame] [check-ins using] [diff]
2011-04-04
23:02
Indent -[description] of collections. file: [5c7cef8543] check-in: [1df836eacc] user: js, branch: trunk, size: 7896 [annotate] [blame] [check-ins using] [diff]
2011-03-24
19:42
Get rid of OFExceptions.h. file: [0c0364260f] check-in: [cda44767f4] user: js, branch: trunk, size: 7868 [annotate] [blame] [check-ins using] [diff]
2011-02-07
19:22
Add -[containsObject(IdenticalTo):] to OFCollection. file: [6c578400a8] check-in: [0a6e073938] user: js, branch: trunk, size: 7815 [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
Change license. file: [304a51157c] check-in: [da6b3d26cb] user: js, branch: trunk, size: 7511 [annotate] [blame] [check-ins using] [diff]
2010-12-25
19:31
Add OFDate. file: [0481947edb] check-in: [39cb19595d] user: js, branch: trunk, size: 7255 [annotate] [blame] [check-ins using] [diff]
2010-12-12
01:21
Add -[mapped{Array,Dictionary}UsingBlock:]. file: [284bdfc798] check-in: [90c26dded5] user: js, branch: trunk, size: 7255 [annotate] [blame] [check-ins using] [diff]
00:38
Add -[filtered{Array,Dictionary}UsingBlock]. file: [07eb64f276] check-in: [42060f220c] user: js, branch: trunk, size: 7003 [annotate] [blame] [check-ins using] [diff]
2010-11-13
21:57
Add -[description] for OFObject, OFString, OFArray and OFDictionary. file: [c0fcdd0b1e] check-in: [9b50b86632] user: js, branch: trunk, size: 6862 [annotate] [blame] [check-ins using] [diff]
2010-09-23
22:53
Add -[objectsFromIndex:toIndex:] to OFArray. file: [c5886d17f7] check-in: [14e949de94] user: js, branch: trunk, size: 6781 [annotate] [blame] [check-ins using] [diff]
2010-09-19
02:34
Only handle the first matching object in OFMutalbeArray operations.

This only makes sense as we use "Object" in the method names, implying
it's only affecting one object. file: [895b4e152f] check-in: [de45535c23] user: js, branch: trunk, size: 6622 [annotate] [blame] [check-ins using] [diff]

2010-09-06
13:47
Make OFList conform to OFCollection and OFFastEnumeration protocol. file: [415ab0ae8e] check-in: [2cb79baae4] user: js, branch: trunk, size: 6614 [annotate] [blame] [check-ins using] [diff]
2010-09-05
23:23
Rename -[enumerator] to -[objectEnumerator] for consistency. file: [8f3081b30f] check-in: [ddb15601a2] user: js, branch: trunk, size: 6542 [annotate] [blame] [check-ins using] [diff]
2010-08-29
17:53
More methods using blocks. file: [f1dd14b8b5] check-in: [e84073d0f9] user: js, branch: trunk, size: 6530 [annotate] [blame] [check-ins using] [diff]
2010-08-28
18:54
Initial support for blocks. file: [ff3793f72c] check-in: [c5d65603d8] user: js, branch: trunk, size: 6209 [annotate] [blame] [check-ins using] [diff]
2010-04-17
15:46
Don't return self where not necessary, return void or something useful. file: [0fbf78cb38] check-in: [062a052b50] user: js, branch: trunk, size: 5465 [annotate] [blame] [check-ins using] [diff]
2010-04-07
21:06
Added: Rename tests files so they are named after the category they implement. file: [004dd7f704] check-in: [7bbce47bda] user: js, branch: trunk, size: 5437 [annotate] [blame] [check-ins using]