waynemot/RandoopScraper

Need to remove new-lines from strings

Opened this issue · 0 comments

Randoop doesn't allow new-line (^J) characters embedded into string literals due to the way it parses the literals list input file. This tool needs to remove the new-line characters from the string literals reported by Javaparser before saving them. Strangely it doesn't care about carriage return (^M) characters being embedded, at least on Mac OS and presumably Linux. It may be important in Windows but has not been tested there.