Part-DB.Part-DB-server/tests/Services
frank-f 7a6b045030
Improve parameter parsing (#583)
* DigiKey: Skip empty values

* Move improved range detection from LCSCProvider to ParameterDTO class
Improve numeric value detection by moving extra info to value_text

* ParameterDTO: Add micro unit prefix

* Bring $value_text2 to a defined state

* ParameterDTO: Don't overwrite $unit if it's not empty

* ParameterDTO: Don't overwrite $unit if it's not empty

* Correct some inaccuacies in comments

* Added tests and fixed certain edge cases in parsing parameters

* Added more tests for parameter parsing

---------

Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2024-04-15 22:33:27 +02:00
..
Attachments Applied rectors phpunit 9 migrations to tests 2023-06-11 15:15:55 +02:00
EntityMergers/Mergers Properly merge the PartAssociations pointing towards the parts 2023-11-24 23:36:09 +01:00
Formatters Applied rector to test files 2023-06-11 14:18:53 +02:00
ImportExportSystem Correcty handle already existing elements in mass creation 2024-03-10 00:51:37 +01:00
InfoProviderSystem Improve parameter parsing (#583) 2024-04-15 22:33:27 +02:00
LabelSystem Added placeholders filter to utilize the placeholders in twig mode 2024-03-06 21:00:49 +01:00
LogSystem Use a enum for level in LogEntries 2023-06-18 17:25:55 +02:00
Misc Added declare strict types to all files 2023-06-11 18:59:07 +02:00
Parameters Dont split up links when extracting parameters from notes and description 2024-01-06 15:14:07 +01:00
Parts Renamed Storelocation entity to StorageLocation 2023-09-04 22:57:40 +02:00
ProjectSystem Added declare strict types to all files 2023-06-11 18:59:07 +02:00
Trees Applied rector to test files 2023-06-11 14:18:53 +02:00
UserSystem Added system to restrict permissions based on API token level 2023-08-28 21:20:59 +02:00
ElementTypeNameGeneratorTest.php Applied rector to test files 2023-06-11 14:18:53 +02:00