fix(execution): verify exact identity connections and untouched state
This commit is contained in:
1 parent
b646a9a88a
commit
11810eca4c
7 files changed
+673
-133
No files matched your search
@@ -265,8 +265,8 @@ class VBScriptTests(unittest.TestCase):
|
||||
def test_unassigned_target_or_changed_net_is_rejected(self):
|
||||
self.run_vbs('Require Not QPConnectionsMatch("|500|550|NET1|VCC" & vbLf, "|500|550|NET1|VCC" & vbLf), "target remains unassigned"\nRequire Not QPConnectionsMatch("1|500|550|NET2|GND" & vbLf, "|500|550|NET1|VCC" & vbLf), "net changed"')
|
||||
|
||||
def test_unassigned_pins_accept_library_geometry_translation_and_change(self):
|
||||
self.run_vbs('Require QPConnectionsMatch("1|1330|1170|NEWUID|SYS_RESET_N" & vbLf & "2|1330|1140|OTHERUID|GND" & vbLf, "|1328|1144|OLDUID|GND" & vbLf & "|1328|1174|OLDUID2|SYS_RESET_N" & vbLf), "valid topology was rejected after library geometry changed"')
|
||||
def test_unassigned_pins_reject_geometry_and_net_identity_changes(self):
|
||||
self.run_vbs('Require Not QPConnectionsMatch("1|1330|1170|NEWUID|SYS_RESET_N" & vbLf & "2|1330|1140|OTHERUID|GND" & vbLf, "|1328|1144|OLDUID|GND" & vbLf & "|1328|1174|OLDUID2|SYS_RESET_N" & vbLf), "network names alone falsely proved pin mapping"')
|
||||
|
||||
def test_missing_old_value_gets_hidden_style(self):
|
||||
self.run_vbs("""Dim Attr, Style, Original
|
||||
|
||||
Reference in new issue
Block a user