| 10111 | }; |
| 10112 | |
| 10113 | bool useColourOnPlatform() { |
| 10114 | return |
| 10115 | #if defined(CATCH_PLATFORM_MAC) || defined(CATCH_PLATFORM_IPHONE) |
| 10116 | !isDebuggerActive() && |
| 10117 | #endif |
| 10118 | #if !(defined(__DJGPP__) && defined(__STRICT_ANSI__)) |
| 10119 | isatty(STDOUT_FILENO) |
| 10120 | #else |
| 10121 | false |
| 10122 | #endif |
| 10123 | ; |
| 10124 | } |
| 10125 | IColourImpl* platformColourInstance() { |
| 10126 | ErrnoGuard guard; |
| 10127 | IConfigPtr config = getCurrentContext().getConfig(); |
no test coverage detected