Commit Graph

688 Commits

Author SHA1 Message Date
SET b8b4c87f25 Added test for successful BoM generation even when missing libs. 2020-08-14 19:58:47 -03:00
SET cd8b88124e Made the extra verbose tests more verborragic. 2020-08-14 19:58:00 -03:00
SET 094e821395 Excluded from coverage code I'm not currently using. 2020-08-14 19:57:12 -03:00
SET 422f8b134a Added SCH dependencies dump when using -vv or more 2020-08-14 19:33:38 -03:00
SET 09b7ed5eca Added tests for title block errors. 2020-08-14 19:26:39 -03:00
SET 76ed259053 Moved the error tests to a separated directory.
They are too much.
Also simplified the test code.
2020-08-14 19:15:50 -03:00
SET fa706c0083 Added tests for sub-sheets instantation 2020-08-14 18:59:20 -03:00
SET a237865787 Fixed missing argument in "Missing sub-sheet name" error 2020-08-14 18:58:34 -03:00
SET c15e971da2 Added tests for errors in the SCH bitmap element. 2020-08-14 18:41:12 -03:00
SET de897b45a3 Made the SCH bitmap parser stronger 2020-08-14 18:40:25 -03:00
SET 68c9b0c87d Fixed SchematicWire.load returning SchematicText 2020-08-14 18:39:33 -03:00
SET a30bddc3ce Added tests for errors in no/connections, entries and wires. 2020-08-14 18:18:55 -03:00
SET a1255590e2 Added test for various errors in the component instantiation. 2020-08-14 18:02:32 -03:00
SET 289766dbc0 Fixed extra parameters in warning call. 2020-08-14 18:01:41 -03:00
SET 05fe7fc62e Removed redundant code. 2020-08-14 18:01:03 -03:00
SET 6258b79023 Added test for errors in AR and basic fields. 2020-08-14 17:29:18 -03:00
SET 2452d000c7 Fixed the logic used to collect basic component fields 2020-08-14 17:28:44 -03:00
SET 844b678ace Added test for errors in component labels. 2020-08-14 16:53:50 -03:00
SET a8b92f41c9 Fixed the maximum index for internal component labels 2020-08-14 16:53:03 -03:00
SET 916aacafd6 Added more tests for the DCM and LIB errors. 2020-08-14 16:43:09 -03:00
SET 18a224adb9 Changed one of the nknown DCM entry errors to make them different. 2020-08-14 16:42:20 -03:00
SET 5d3cefe6ce Added tests for errors in library components. 2020-08-14 16:25:16 -03:00
SET e9f27e2b5e Fixed problems when failed to load a component from a lib. 2020-08-14 16:24:18 -03:00
SET 1767e66220 Added tests for errors in the libraries components fields 2020-08-14 15:58:00 -03:00
SET 5e55f661f8 Fixed calls to SchLibError with extra args 2020-08-14 15:57:08 -03:00
SET d4612a2521 Fixed use of DCM get_line for LIBs
Also modified both functions to raise SchLibError instead of SchFileError
2020-08-14 14:27:15 -03:00
SET 4f5f8d4187 Added tests for truncated libs and dcms 2020-08-14 14:14:19 -03:00
SET 65f8882669 Fixed the file name for errors in lib and dcm
While loading a schematic.
2020-08-14 14:13:20 -03:00
SET 177ee7e627 Added tests for SCH errors. 2020-08-14 13:47:23 -03:00
SET 0485ac4f5c Fixed problems for error situations in SCH files.
- 'Unexpected end of file' missed arguments
- LibComponentField used SchematicField
- Problems when a component stated with an empty line
2020-08-14 13:46:21 -03:00
SET 6ff4f59702 Added comment about misisng tests 2020-08-14 13:44:00 -03:00
SET 8616fa811d Updated the gitignore files. 2020-08-14 13:12:01 -03:00
SET 767bb4d4c6 Added style tests for HTML. 2020-08-14 13:06:27 -03:00
SET 437489acca Fixed missing style for the HTML test 2020-08-14 13:06:03 -03:00
SET a4082e617f Added test for custom style in HTML. 2020-08-14 13:02:45 -03:00
SET 92e4209ca4 Added tests for bogus and custom logo for HTML 2020-08-14 12:29:47 -03:00
SET 86d9854a9b Added test for URLs linked in HTML output. 2020-08-14 11:55:31 -03:00
SET 1879df2f6a Added test for the sort using en_US locale and a bogus locale. 2020-08-14 11:33:42 -03:00
SET 815e475b8d Added tests to exclude PCB and/or Stats info in CSV files. 2020-08-14 11:13:45 -03:00
SET ea8f318696 Added tests for TXT and quote_all 2020-08-14 10:21:21 -03:00
SET 552c3f861a Fixed separator for TSV and TXT 2020-08-14 10:20:29 -03:00
SET bcba581a01 Changed True -> true to make it uniform.
All YAML files are using lowecase.
2020-08-13 23:08:44 -03:00
SET 1782acfdea Added test case for inductor without unit.
Missing "H"
2020-08-13 23:08:04 -03:00
SET 07046f0d68 Updated README and generic example. 2020-08-13 23:07:21 -03:00
SET 7aaaa45eb2 Commented dead code.
Now that we guess the units from the prefix there is no need to match
missing units against known units.
2020-08-13 23:06:19 -03:00
SET 87a1a97e9a Added test for RLC normalization. 2020-08-13 22:46:53 -03:00
SET e35ef8ec3c Added options to normalize R, L and C values. 2020-08-13 22:45:25 -03:00
SET 7544f75a53 Fixed problems when comparing gray scale images. 2020-08-13 22:32:15 -03:00
SET ed538d9679 Reduced the calls to the complex value parsing in units.py
Now we call it just once for each component and store the result.
Then we use the stored value instead of computing it over and over.
In this way we save time and warnings about malformed values are
reported once. It reduced the number of warnings in the test case
from 39 to 3.
2020-08-13 21:43:28 -03:00
SET 2e4508ad50 Added code to tolerate KiCad version difference in images. 2020-08-13 20:18:59 -03:00