| 10218 | }; |
| 10219 | |
| 10220 | bool useColourOnPlatform() { |
| 10221 | return |
| 10222 | #if defined(CATCH_PLATFORM_MAC) || defined(CATCH_PLATFORM_IPHONE) |
| 10223 | !isDebuggerActive() && |
| 10224 | #endif |
| 10225 | #if !(defined(__DJGPP__) && defined(__STRICT_ANSI__)) |
| 10226 | isatty(STDOUT_FILENO) |
| 10227 | #else |
| 10228 | false |
| 10229 | #endif |
| 10230 | ; |
| 10231 | } |
| 10232 | IColourImpl* platformColourInstance() { |
| 10233 | ErrnoGuard guard; |
| 10234 | IConfigPtr config = getCurrentContext().getConfig(); |
no test coverage detected