aboutsummaryrefslogtreecommitdiffstats
path: root/utils/src/test/resources
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@ericsson.com>2018-07-30 17:13:22 +0100
committerliamfallon <liam.fallon@ericsson.com>2018-07-31 20:34:46 +0100
commit1b6404f2ab7fe93ecc0c7e4c91bc90c7aa94b42f (patch)
tree301e7ee74880a2d9155738d7489cde7d79eb3169 /utils/src/test/resources
parentc36939ee0e648f4ac28b9cdc538991ced0c603bd (diff)
Add resource handling utility class
Add ResourceUtils, a class that provides utility methods for dealing with Java resources on the classpath. Change-Id: Ie4df249315ad145aabdfb35bb827ffbf6d79e095 Issue-ID: POLICY-922 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'utils/src/test/resources')
-rw-r--r--utils/src/test/resources/testdir/testfile.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/utils/src/test/resources/testdir/testfile.xml b/utils/src/test/resources/testdir/testfile.xml
new file mode 100644
index 00000000..4de3db14
--- /dev/null
+++ b/utils/src/test/resources/testdir/testfile.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ============LICENSE_START=======================================================
+ Copyright (C) 2018 Ericsson. All rights reserved.
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ SPDX-License-Identifier: Apache-2.0
+ ============LICENSE_END=========================================================
+-->