| 66 | }; |
| 67 | |
| 68 | static mailcore::String * temporaryFilenameForTest() |
| 69 | { |
| 70 | char tempfile[] = "/tmp/mailcore2-test-XXXXXX"; |
| 71 | char * result = mktemp(tempfile); |
| 72 | if (result == NULL) { |
| 73 | return NULL; |
| 74 | } |
| 75 | return mailcore::String::stringWithFileSystemRepresentation(tempfile); |
| 76 | } |
| 77 | |
| 78 | static mailcore::Data * testMessageBuilder() |
| 79 | { |
no outgoing calls
no test coverage detected