mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-27 15:03:21 -04:00
Better error messages if test cases with missing signals are used.
This commit is contained in:
parent
532e17eae5
commit
f3d78c6280
@ -1,7 +1,9 @@
|
||||
Release Notes
|
||||
|
||||
planned as v0.11
|
||||
- Added floating gate FETs
|
||||
- Added floating gate FETs.
|
||||
- Better detecting of missing signals in test cases.
|
||||
- Better plausibility checks if diodes are used.
|
||||
|
||||
v0.10, released on 09. Apr 2017
|
||||
- User can select the expressions representation format in the settings dialog.
|
||||
|
@ -75,16 +75,16 @@ public class TestResult {
|
||||
}
|
||||
}
|
||||
|
||||
for (String name : names)
|
||||
if (!usedSignals.contains(name))
|
||||
throw new TestingDataException(Lang.get("err_testSignal_N_notFound", name));
|
||||
|
||||
if (inputs.size() == 0)
|
||||
throw new TestingDataException(Lang.get("err_noTestInputSignalsDefined"));
|
||||
|
||||
if (outputs.size() == 0)
|
||||
throw new TestingDataException(Lang.get("err_noTestOutputSignalsDefined"));
|
||||
|
||||
for (String name : names)
|
||||
if (!usedSignals.contains(name))
|
||||
throw new TestingDataException(Lang.get("err_testSignal_N_notFound", name));
|
||||
|
||||
model.init();
|
||||
|
||||
for (Value[] rowWithDontCare : lines) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user