aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* rename test -> testsAdam Janovsky2021-05-1013-3201/+0
|
* merge dev onto cc-feature-parityAdam Janovsky2021-05-101-0/+4
|\
| * fix labeling error progress saveAdam Janovsky2021-04-202-3/+6
| |
* | basically rebase of devAdam Janovsky2021-04-202-0/+3
| |
* | Extraction of cert_id, revocation of some testsAdam Janovsky2021-04-203-20/+26
| | | | | | | | | | | | | | - Cert_ids are now extracted - cert_id from frontpage is always preferred - If no frontpage cert_id is found, the most ocurring keyword is preferred - Some tests were revoked as heuristics should be computed after pdf processing
* | collect certification lab in heuristicsAdam Janovsky2021-04-202-3/+6
| |
* | delete print statement in testsAdam Janovsky2021-04-191-1/+0
| |
* | delete print statement in testsAdam Janovsky2021-04-191-3/+0
| |
* | refactor folder strucureAdam Janovsky2021-04-192-6/+6
|/
* cpe lists->sets in lookup dictsAdam Janovsky2021-04-191-4/+3
|
* rename get -> computeAdam Janovsky2021-04-191-1/+1
|
* fix test, do not store json nowAdam Janovsky2021-04-161-1/+1
|
* implement tests for cpe and cve stuffAdam Janovsky2021-04-164-0/+170
|
* implements function for manual cpe match verificationAdam Janovsky2021-04-162-3/+3
|
* fix testsAdam Janovsky2021-04-152-3/+9
|
* serialize non ascii characters to preserve link functionalityAdam Janovsky2021-04-151-1/+1
|
* set test csv file to windows-1252 encodingAdam Janovsky2021-04-153-26/+29
|
* move cpe match under heuristics fieldAdam Janovsky2021-04-133-9/+6
|
* add class for capturing heuristicly obtained dataAdam Janovsky2021-04-133-3/+18
|
* fix testsAdam Janovsky2021-03-023-3/+9
|
* Error messages of certificate are now serializedAdam Janovsky2021-02-242-3/+6
| | | | - Stored as a part of InternalState complex variable in json
* dgst is serialized as a field in certificateAdam Janovsky2021-02-232-4/+7
| | | | | - Previously as a part of dataset where certs changed to dictionary - For rendering at webserver, list is more convenient
* Serialize digest of the certificateAdam Janovsky2021-02-221-4/+4
|
* Introduce state variable of CCDatasetAdam Janovsky2021-02-202-0/+9
| | | | | | - The variable checks which actions were already performed - Dataset now checks if someone attempts to e.g. convert pdf->txt prior to downloading - Also, operations on certificates are performed only on those certs for which the preceeding operation was successful
* Add explicit certificate status active/archivedAdam Janovsky2021-02-203-3/+9
| | | | | | | - Status active or archived held as a string variable - Instead of implicit computation from not-valid-before/after - The status is computed from the filename of the csv/html source - The status is serialized into json
* Plug-in old extractions methods to new OOP frameAdam Janovsky2021-02-195-70/+86
| | | | | | | | - Tests for txt file processing still missing - The internals of the txt processing methods are still authored by petrs - They are however fully parallel and called in an OOP fashion - Overall, all results are gathered in a single json file - All results are implicitly paired
* Rethought way of processing certificatesAdam Janovsky2020-11-283-31/+56
| | | | | | - Every certificate now implements a static method for its processing - These are called in parallel - There's some code duplication at the moment, stuff can be simplified.
* Improve (de)serialization of objects from/in jsonAdam Janovsky2020-11-272-27/+17
| | | | | | | | - Every complex serialiazable object now inherits from `ComplexSerializableType` - All such objects now implement `to_dict()`, `from_dict()` methods - Some objects for which standalone json file makes sense implement `to_json()`, `from_json()` - Rewrite test and demos - Datasets `root_dir` is now not part of serialization, but only internal representation
* Fix cc_oop_test of pdf file conversionAdam Janovsky2020-11-271-5/+6
| | | | | | | It seems that pdftotext is not fully reproducible and gives platform specific results. So we dont check for full file equality, but rather for the existence of converted file. We further check that the created file size roughly matches the one freshly produced by Travis pdftotext.
* added test for CC pdf conversionAdam Janovsky2020-11-273-1/+1989
|
* get rid of convert_pdf() in testsAdam Janovsky2020-11-261-1/+0
|
* Test for download of pdf filesAdam Janovsky2020-11-251-0/+22
| | | | The test assumes that the files download correctly.
* fips: oop working (#15)Stanislav Boboň2020-11-201-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * FIPS Certificate constructor * Parsing of single certificate done * Downloading files * Create dataset of objects * demo + dumping + keyword extraction * wait for approval + everything changed * non trivial amount of changes to make this work * modified tests to work with new fips html files * merge comments resolved (first commit) * merge comments resolved (second commit) * realizing a better idea is to leave it alone * commit #3 Co-authored-by: Stanislav Boboň <xbobon@fi.muni.cz>
* simplified (de)serialization using explicit _type attributeAdam Janovsky2020-11-183-3/+11
|
* Added basic OOP tests for CC dataset and certAdam Janovsky2020-11-165-0/+864
|
* Add basic tests.J08nY2020-10-271-0/+42
|
* Update README, add logo, add docs, add test dir.J08nY2020-10-221-0/+15