Skip to content

Commit d0a9e0b

Browse files
committed
run-tests.php: class for test file loading
This moves a bunch of code outside of run_tests(), making it a bit more manageable. Additionally, accessors provide better readability than isset() and friends. This is a minimal patch that moves the code but does not refactor much. For the sake of reviewing experience, it does not involve further refactoring which could include: * Removing setSection() * Fixing up the mess with hasSection() vs. sectionNotEmpty(), only one of which is really needed. * Moving more repetitive code into the new class. All of this will be done with later commits.
1 parent 3d11743 commit d0a9e0b

File tree

1 file changed

+345
-251
lines changed

1 file changed

+345
-251
lines changed

0 commit comments

Comments
 (0)