Overview
Comment: | utils/objfw-new: Add --test to create tests |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | objfwtest |
Files: | files | file ages | folders |
SHA3-256: |
7f12b95f9cdb5997243b79e4c509a99d |
User & Date: | js on 2024-02-13 02:06:48 |
Other Links: | branch diff | manifest | tags |
Context
2024-02-13
| ||
02:16 | ObjFWTest: Proper plurals in output check-in: d2b609cdd2 user: js tags: objfwtest | |
02:06 | utils/objfw-new: Add --test to create tests check-in: 7f12b95f9c user: js tags: objfwtest | |
01:53 | Migrate OFBlockTests to ObjFWTest check-in: 75bdc50ac9 user: js tags: objfwtest | |
Changes
Modified utils/objfw-new/Makefile from [b67c1400ab] to [8cc4a388ef].
1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | + | include ../../extra.mk PROG = objfw-new${PROG_SUFFIX} SRCS = NewApp.m \ NewClass.m \ NewTest.m \ ObjFWNew.m \ Property.m include ../../buildsys.mk ${PROG}: ${LIBOBJFW_DEP_LVL2} ${LIBOBJFWRT_DEP_LVL2} |
︙ |
Added utils/objfw-new/NewTest.m version [0991f0679f].
|
Modified utils/objfw-new/ObjFWNew.m from [5f604351d2] to [0b89b26b9a].
︙ | |||
23 24 25 26 27 28 29 30 31 32 33 34 35 36 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | + - + + - - - + + + + - + + - + | #import "OFString.h" @interface ObjFWNew: OFObject <OFApplicationDelegate> @end extern void newApp(OFString *); extern void newClass(OFString *, OFString *, OFMutableArray *); extern void newTest(OFString *); OF_APPLICATION_DELEGATE(ObjFWNew) static void help(OFStream *stream, bool full, int status) { [stream writeFormat: |
︙ | |||
90 91 92 93 94 95 96 | 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | + - + + + | case ':': case '=': help(OFStdErr, false, 1); break; } } if (app + class + test != 1 || |