Added test for the new errors in DrawText elements.
This commit is contained in:
parent
11cb826c06
commit
ff6282eca1
|
|
@ -0,0 +1,17 @@
|
|||
EESchema Schematic File Version 4
|
||||
EELAYER 30 0
|
||||
EELAYER END
|
||||
$Descr A4 11693 8268
|
||||
encoding utf-8
|
||||
Sheet 1 1
|
||||
Title ""
|
||||
Date ""
|
||||
Rev ""
|
||||
Comp ""
|
||||
Comment1 ""
|
||||
Comment2 ""
|
||||
Comment3 ""
|
||||
Comment4 ""
|
||||
$EndDescr
|
||||
Text GLabel 1600 2300 2 50
|
||||
$EndSCHEMATC
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
EESchema Schematic File Version 4
|
||||
EELAYER 30 0
|
||||
EELAYER END
|
||||
$Descr A4 11693 8268
|
||||
encoding utf-8
|
||||
Sheet 1 1
|
||||
Title ""
|
||||
Date ""
|
||||
Rev ""
|
||||
Comp ""
|
||||
Comment1 ""
|
||||
Comment2 ""
|
||||
Comment3 ""
|
||||
Comment4 ""
|
||||
$EndDescr
|
||||
Text GLabel 1600 2300 2 50 BiDi ~ AA
|
||||
$EndSCHEMATC
|
||||
|
|
@ -154,6 +154,14 @@ def test_sch_errors_bad_text():
|
|||
setup_ctx('bad_text', 'Malformed .?Text.?')
|
||||
|
||||
|
||||
def test_sch_errors_bad_text2():
|
||||
setup_ctx('bad_text2', 'Missing .?Text.? shape')
|
||||
|
||||
|
||||
def test_sch_errors_bad_text3():
|
||||
setup_ctx('bad_text3', 'Not a number in .?Text.?')
|
||||
|
||||
|
||||
def test_sch_errors_bad_wire():
|
||||
setup_ctx('bad_wire', 'Malformed wire')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue