(int error)
| 38 | } |
| 39 | |
| 40 | public static boolean isEnabled(int error) |
| 41 | { |
| 42 | if (!frameStarted) |
| 43 | { |
| 44 | return true; |
| 45 | } |
| 46 | else |
| 47 | { |
| 48 | ++countErrors; |
| 49 | |
| 50 | if (oneErrorEnabled) |
| 51 | { |
| 52 | oneErrorEnabled = false; |
| 53 | return true; |
| 54 | } |
| 55 | else |
| 56 | { |
| 57 | if (suppressed) |
| 58 | { |
| 59 | ++countErrorsSuppressed; |
| 60 | } |
| 61 | |
| 62 | return !suppressed; |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 | } |
no outgoing calls
no test coverage detected