| 850 | bool SC::TestReport::isSectionEnabled(StringSpan sectionName) const |
| 851 | { |
| 852 | return sectionToRun.isEmpty() || sectionName == sectionToRun; |
| 853 | } |
| 854 | |
| 855 | int SC::TestReport::getTestReturnCode() const { return startupFailure || numTestsFailed > 0 ? -1 : 0; } |
| 856 | |
| 857 | uint16_t SC::TestReport::mapPort(uint16_t basePort) const |
| 858 | { |
| 859 | const uint32_t mappedPort = static_cast<uint32_t>(basePort) + static_cast<uint32_t>(portOffset); |
| 860 | SC_TESTING_ASSERT_RELEASE(mappedPort <= 65535); |
no outgoing calls
no test coverage detected