fixed duplicate names

This commit is contained in:
hneemann 2018-03-25 17:11:39 +02:00
parent 7afbfaffa2
commit 035a86218b
3 changed files with 19 additions and 2 deletions

View File

@ -57,7 +57,7 @@ public class TestInSimulator extends TestCase {
File examples = new File(Resources.getRoot(), "/dig/hdl"); File examples = new File(Resources.getRoot(), "/dig/hdl");
try { try {
int tested = new FileScanner(this::checkVHDLExport).noOutput().scan(examples); int tested = new FileScanner(this::checkVHDLExport).noOutput().scan(examples);
assertEquals(36, tested); assertEquals(37, tested);
} catch (FileScanner.SkipAllException e) { } catch (FileScanner.SkipAllException e) {
// if ghdl is not installed its also ok // if ghdl is not installed its also ok
} }

View File

@ -59,7 +59,7 @@ public class VHDLGeneratorTest extends TestCase {
File examples = new File(Resources.getRoot(), "/dig/hdl"); File examples = new File(Resources.getRoot(), "/dig/hdl");
try { try {
int tested = new FileScanner(this::checkVHDLExport).noOutput().scan(examples); int tested = new FileScanner(this::checkVHDLExport).noOutput().scan(examples);
assertEquals(36, tested); assertEquals(37, tested);
} catch (FileScanner.SkipAllException e) { } catch (FileScanner.SkipAllException e) {
// if ghdl is not installed its also ok // if ghdl is not installed its also ok
} }

View File

@ -66,6 +66,23 @@
</elementAttributes> </elementAttributes>
<pos x="140" y="100"/> <pos x="140" y="100"/>
</visualElement> </visualElement>
<visualElement>
<elementName>Testcase</elementName>
<elementAttributes>
<entry>
<string>Testdata</string>
<testData>
<dataString>S0 S1 S2 S3
0 0 1 1
0 1 0 1
1 0 1 0
1 1 1 1
</dataString>
</testData>
</entry>
</elementAttributes>
<pos x="-40" y="160"/>
</visualElement>
</visualElements> </visualElements>
<wires> <wires>
<wire> <wire>