google-nomulus/javatests/google/registry/xjc
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 mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
BUILD Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
JaxbFragmentTest.java Remove implicit uses of platform default charset 2017-11-07 16:59:51 -05:00
XjcObjectTest.java Remove unused Truth8.assertThat() imports in tests 2017-11-07 17:01:19 -05:00
XmlTestdataTest.java Clean up test "load resources" methods and classes 2017-12-01 22:14:05 -05:00