Minor clean up for refdata.*
authorTeemu Murtola <teemu.murtola@gmail.com>
Wed, 17 Jun 2015 10:53:54 +0000 (13:53 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 17 Jun 2015 20:10:57 +0000 (22:10 +0200)
commit660a03acebaf0d18f9b92defffd6b19c7e818d93
treec688084eb4d9a8bdf294ad9c0021acb291a5f1e6
parent52d658d50e8e77ca1c92e70801b44e179cb1f647
Minor clean up for refdata.*

- Remove global functions that are no longer necessary.  All the state
  about the reference data mode is stored internally in refdata.cpp.
  These were remnants from an old implementation where the code was
  split into multiple .cpp files to support compilation of testutils/
  without libxml2 dependencies.
- Make the self-tests for the reference data code not use the source
  tree as a location for the transient data they create.

In addition to clarifying the code, these should make it harder to
misuse the constructor intended for self-testing, since it will be
difficult to pass Jenkins if someone tries to use it for other tests.

Change-Id: I204ddadfc224a79c587f0588a4d510b7b8486f9b
.gitignore
src/testutils/refdata.cpp
src/testutils/refdata.h
src/testutils/tests/.gitignore [deleted file]