ObjFW  Check-in [251b8a6c5f]

Overview
Comment:OTOrderedDictionary: Remove debug statement
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | objfwtest
Files: files | file ages | folders
SHA3-256: 251b8a6c5f6716bfc77407a3aa768da26c6611dddfaef1083d89fa7b90c0274e
User & Date: js on 2024-02-13 22:49:39
Other Links: branch diff | manifest | tags
Context
2024-02-13
23:02
Migrate OFTCPSocketTests to ObjFWTest check-in: d3b3fd8845 user: js tags: objfwtest
22:49
OTOrderedDictionary: Remove debug statement check-in: 251b8a6c5f user: js tags: objfwtest
22:43
Merge trunk into branch "objfwtest" check-in: ac3ec432a6 user: js tags: objfwtest
Changes

Modified src/test/OTOrderedDictionary.m from [6f48fb899d] to [fea7c7d9b6].

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
		_keys = mutableKeys;

		mutableObjects = [[OFMutableArray alloc]
		    initWithCapacity: count];
		_objects = mutableObjects;

		for (size_t i = 0; i < count; i++) {
			OFLog(@"key=%@, value=%@", keys[i], objects[i]);
			[mutableKeys addObject: keys[i]];
			[mutableObjects addObject: objects[i]];
		}

		[mutableKeys makeImmutable];
		[mutableObjects makeImmutable];
	} @catch (id e) {







<







31
32
33
34
35
36
37

38
39
40
41
42
43
44
		_keys = mutableKeys;

		mutableObjects = [[OFMutableArray alloc]
		    initWithCapacity: count];
		_objects = mutableObjects;

		for (size_t i = 0; i < count; i++) {

			[mutableKeys addObject: keys[i]];
			[mutableObjects addObject: objects[i]];
		}

		[mutableKeys makeImmutable];
		[mutableObjects makeImmutable];
	} @catch (id e) {