diff options
Diffstat (limited to 'common-be-tests-utils/src/main/java/org/openecomp/sdc/be/test/util/TestResourcesHandler.java')
-rw-r--r-- | common-be-tests-utils/src/main/java/org/openecomp/sdc/be/test/util/TestResourcesHandler.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/common-be-tests-utils/src/main/java/org/openecomp/sdc/be/test/util/TestResourcesHandler.java b/common-be-tests-utils/src/main/java/org/openecomp/sdc/be/test/util/TestResourcesHandler.java index 2e3b906a5d..8863f0024e 100644 --- a/common-be-tests-utils/src/main/java/org/openecomp/sdc/be/test/util/TestResourcesHandler.java +++ b/common-be-tests-utils/src/main/java/org/openecomp/sdc/be/test/util/TestResourcesHandler.java @@ -76,10 +76,6 @@ public class TestResourcesHandler { } } - public static byte[] getResourceAsByteArray(final Path resourcePath) throws IOException { - return getResourceAsByteArray(resourcePath.toString()); - } - /** * Reads a file in the given path. * The method forces an assertion fail if the resource could not be loaded. @@ -102,15 +98,4 @@ public class TestResourcesHandler { public static byte[] getResourceBytesOrFail(final Path resourcePath) { return getResourceBytesOrFail(resourcePath.toString()); } - - /** - * Gets the input stream of a resource file - * - * @param resourcePath The resource file path - * @return - * The resource input stream - */ - public static URL getFileUrl(final String resourcePath) { - return Thread.currentThread().getContextClassLoader().getResource(resourcePath); - } } |