Tags: mitre/ts-inspec-objects
Tags
Fix describe block extraction bug (#18) * Add test for metadata in describe block Signed-off-by: Pavan Kumar Bondalapati <pbondalapati@mitre.org> * Apply cookstyle format * Add test cases for describe block * Handle describe block test cases * Update test description * Update JSON object after cookstyle format * Overhaul * Fix describe block extraction bug * Add test case for multi-line describe block * Add escaped newline after joining strings * added test case for keywords showing up inside strings in the test code Signed-off-by: Will Dower <wdower@mitre.org> * fixed whitespacing in test case for keywords in strings Signed-off-by: Will Dower <wdower@mitre.org> * changed test controls dir name * Rename test suite for describe block extraction * Add comments to helper functions * Implement enum to specify magic numbers * Eliminate unneeded function and update some variable names Signed-off-by: Emily Rodriguez <ecrodriguez@mm279976-pc.lan> * Add example of percent string/literal in comment * Transfer stack push/pop conditions to constants * Update file name for backticks.rb * Add test cases for delimiters in header * Add handling for variable delimiters * Remove dependency on getDistinctRanges() * Update package-lock.json from npm upgrade * Remove unnecessary index update * Delete commented index update * add comments and update some variable names for clarity Signed-off-by: Emily Rodriguez <ecrodriguez@mm279976-pc.lan> * update to include the filtering for only multiline ranges Signed-off-by: Emily Rodriguez <ecrodriguez@mm279976-pc.lan> --------- Signed-off-by: Pavan Kumar Bondalapati <pbondalapati@mitre.org> Signed-off-by: Will Dower <wdower@mitre.org> Signed-off-by: Emily Rodriguez <ecrodriguez@mm279976-pc.lan> Co-authored-by: Pavan Kumar Bondalapati <pbondalapati@mitre.org> Co-authored-by: Will Dower <wdower@mitre.org> Co-authored-by: George Dias <gdias@mitre.org> Co-authored-by: Emily Rodriguez <ecrodriguez@mm279976-pc.lan>
PreviousNext