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