Closes #15
This commit is contained in:
1 parent
0708316a37
commit
7022c84941
69 files changed
+2696
-1912
No files matched your search
@@ -23,6 +23,7 @@ namespace {
|
||||
DecodeDatabase SingleSignal(const DecodeSignal &signal) {
|
||||
DecodeFrame frame;
|
||||
frame.canId = 17U;
|
||||
frame.dlc = 16U;
|
||||
frame.signals.push_back(signal);
|
||||
return DecodeDatabase({frame});
|
||||
}
|
||||
@@ -212,7 +213,7 @@ void CoverageTest::invalidSignalStatus_data() {
|
||||
QTest::newRow((prefix + "-65").constData()) << order << start << 65U << 9U << int(SignalDecodeStatus::InvalidDefinition);
|
||||
QTest::newRow((prefix + "-empty").constData()) << order << start << 8U << 0U << int(SignalDecodeStatus::InsufficientPayload);
|
||||
QTest::newRow((prefix + "-short").constData()) << order << start << 16U << 1U << int(SignalDecodeStatus::InsufficientPayload);
|
||||
QTest::newRow((prefix + "-large-start").constData()) << order << std::numeric_limits<unsigned>::max() << 8U << 1U << int(SignalDecodeStatus::InsufficientPayload);
|
||||
QTest::newRow((prefix + "-large-start").constData()) << order << std::numeric_limits<unsigned>::max() << 8U << 1U << int(SignalDecodeStatus::InvalidDefinition);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user