Inline text files in unit tests

Review Request #9971 — Created May 23, 2018 and submitted — Latest diff uploaded

Information

Review Board
master
38d669b...

Reviewers

Instead of the base test case opening and closing the same files
multiple times we have now moved the files inline with the code
resulting in a lower time complexity and a more streamline code design.

Re-ran the unit tests to make sure they behaved as expected.