Overview
Comment: | Nicer exception catching in tests. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
1c77f454843295d0e5ce048595827c83 |
User & Date: | js on 2008-12-21 15:54:29 |
Other Links: | manifest | tags |
Context
2008-12-21
| ||
16:06 | Nicer output for OFString tests. check-in: 70087a1b3b user: js tags: trunk | |
15:54 | Nicer exception catching in tests. check-in: 1c77f45484 user: js tags: trunk | |
15:42 | Initial UTF-8 support for OFString. check-in: b4a4e95798 user: js tags: trunk | |
Changes
Modified tests/OFArray/OFArray.m from [6fb90c3139] to [05d8ab25d4].
︙ | |||
15 16 17 18 19 20 21 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | - + + + - - - - - | #import <stdlib.h> #import <string.h> #import "OFArray.h" #import "OFExceptions.h" #define CATCH_EXCEPTION(code, exception) \ |
︙ | |||
94 95 96 97 98 99 100 | 91 92 93 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 126 127 | - + - | \ puts("Trying to access an index that does not exist..."); \ CATCH_EXCEPTION([a item: [a items]], OFOutOfRangeException); \ \ [a free]; \ \ puts("Creating new array and using it to build a string..."); \ |
Modified tests/OFObject/OFObject.m from [07688dcb04] to [28e0db1e33].
︙ | |||
14 15 16 17 18 19 20 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | - + + + - - - - - - | #import <stdio.h> #import <stdlib.h> #import "OFObject.h" #import "OFExceptions.h" #define CATCH_EXCEPTION(code, exception) \ |
︙ |