ObjFW  Check-in [ec58cc5830]

Overview
Comment:ObjFWTest: Fix non-printed failure description
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ec58cc58306bbbe7cf1e95929edbf906da80a7b6f4d6aa85c6cdb519e9633795
User & Date: js on 2024-03-17 13:35:35
Other Links: manifest | tags
Context
2024-03-17
13:58
OFFileManagerTests: Skip xattrs if not supported check-in: e878e67397 user: js tags: trunk
13:35
ObjFWTest: Fix non-printed failure description check-in: ec58cc5830 user: js tags: trunk
13:22
README.md: Update MSYS2 and remove leading $ check-in: 50c35fa745 user: js tags: trunk
Changes

Modified src/test/OTAppDelegate.m from [63fb27780b] to [1017432031].

276
277
278
279
280
281
282

283
284

285

286
287
288
289
290
291
292
			[OFStdOut eraseLine];
			[OFStdOut setForegroundColor: [OFColor maroon]];
			[OFStdOut writeFormat: @"-[%@ ", class];
			[OFStdOut setForegroundColor: [OFColor red]];
			[OFStdOut writeFormat: @"%s", sel_getName(test)];
			[OFStdOut setForegroundColor: [OFColor maroon]];
			[OFStdOut writeLine: @"]: failed"];

			[OFStdOut writeLine: description];
		} else

			[OFStdOut writeLine: @"failed"];

		break;
	case StatusSkipped:
		if (OFStdOut.hasTerminal) {
			[OFStdOut setCursorColumn: 0];
			[OFStdOut eraseLine];
			[OFStdOut setForegroundColor: [OFColor gray]];
			[OFStdOut writeFormat: @"-[%@ ", class];







>
|
|
>
|
>







276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
			[OFStdOut eraseLine];
			[OFStdOut setForegroundColor: [OFColor maroon]];
			[OFStdOut writeFormat: @"-[%@ ", class];
			[OFStdOut setForegroundColor: [OFColor red]];
			[OFStdOut writeFormat: @"%s", sel_getName(test)];
			[OFStdOut setForegroundColor: [OFColor maroon]];
			[OFStdOut writeLine: @"]: failed"];
		} else
			[OFStdOut writeLine: @"failed"];

		if (description != nil)
			[OFStdOut writeLine: description];

		break;
	case StatusSkipped:
		if (OFStdOut.hasTerminal) {
			[OFStdOut setCursorColumn: 0];
			[OFStdOut eraseLine];
			[OFStdOut setForegroundColor: [OFColor gray]];
			[OFStdOut writeFormat: @"-[%@ ", class];