google-nomulus/javatests/google/registry/xml
guyben 95647528b8 Clean up test "load resources" methods and classes
There is a big mix of different "load Resources" from different libraries
depending on where you were and what type of resource you want. Now there is a
clear hirarchy:

ResourceUtils:
  for use in actual (non-test) code, reads a file from a context directory

TestDataHelper (uses ResourceUtils):
  for use in tests, reads a file from a context directory + "/testdata". Also
  caches the resource so calling it multiple times with the same file will
  not read the file multiple times.

Library specific helpers (e.g. ToolsTestData) (uses TestDataHelper):
  for use in that library's tests only, reads from a specific testdata directory.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=177027533
2017-12-01 22:14:05 -05:00
..
testdata Add top-level python directory to opensource repo 2016-07-15 14:56:22 -04:00
BUILD Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
DateAdapterTest.java Remove unused Truth8.assertThat() imports in tests 2017-11-07 17:01:19 -05:00
UtcDateTimeAdapterTest.java Remove unused Truth8.assertThat() imports in tests 2017-11-07 17:01:19 -05:00
XmlTestUtils.java Remove unnecessary generic type arguments 2017-11-21 18:17:31 -05:00
XmlTestUtilsTest.java Clean up test "load resources" methods and classes 2017-12-01 22:14:05 -05:00