| 10207 | }; |
| 10208 | |
| 10209 | bool useColourOnPlatform() { |
| 10210 | return |
| 10211 | #if defined(CATCH_PLATFORM_MAC) || defined(CATCH_PLATFORM_IPHONE) |
| 10212 | !isDebuggerActive() && |
| 10213 | #endif |
| 10214 | #if !(defined(__DJGPP__) && defined(__STRICT_ANSI__)) |
| 10215 | isatty(STDOUT_FILENO) |
| 10216 | #else |
| 10217 | false |
| 10218 | #endif |
| 10219 | ; |
| 10220 | } |
| 10221 | IColourImpl* platformColourInstance() { |
| 10222 | ErrnoGuard guard; |
| 10223 | IConfigPtr config = getCurrentContext().getConfig(); |
no test coverage detected