diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2019-03-14 15:22:46 +0800 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2019-03-14 15:22:46 +0800 |
commit | 2b9836d721a4c16ddb0fab8bbf5cb5bbba44350a (patch) | |
tree | 861864a484535ca8a9590033cf5057133c9b4fb4 /csarvalidation/src/test | |
parent | ccfd67e81d078ceaa196b97a9383ad2c570e69ab (diff) |
Fix the csarvalidation build failure on windows
Issue-ID: VNFSDK-352
Change-Id: I1d9f8d297036256b4b8a756c4a1a8ace4b3d2e3c
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'csarvalidation/src/test')
-rw-r--r-- | csarvalidation/src/test/java/org/onap/cvc/csar/PnfManifestParserTest.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/csarvalidation/src/test/java/org/onap/cvc/csar/PnfManifestParserTest.java b/csarvalidation/src/test/java/org/onap/cvc/csar/PnfManifestParserTest.java index a925674..96a66c3 100644 --- a/csarvalidation/src/test/java/org/onap/cvc/csar/PnfManifestParserTest.java +++ b/csarvalidation/src/test/java/org/onap/cvc/csar/PnfManifestParserTest.java @@ -34,9 +34,7 @@ public class PnfManifestParserTest { @Before public void setUp() throws URISyntaxException, IOException { - String fileName = PnfManifestParserTest.class.getClassLoader().getResource("pnf/MainServiceTemplate.mf") - .toURI().getPath(); - pnfManifestParser = PnfManifestParser.getInstance(fileName); + pnfManifestParser = PnfManifestParser.getInstance("./src/test/resources/pnf/MainServiceTemplate.mf"); } @Test |