diff options
Diffstat (limited to 'src/test/java/org/onap/aai/validation/test/util/TestEntity.java')
-rw-r--r-- | src/test/java/org/onap/aai/validation/test/util/TestEntity.java | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/test/java/org/onap/aai/validation/test/util/TestEntity.java b/src/test/java/org/onap/aai/validation/test/util/TestEntity.java index b94a875..6c35cf4 100644 --- a/src/test/java/org/onap/aai/validation/test/util/TestEntity.java +++ b/src/test/java/org/onap/aai/validation/test/util/TestEntity.java @@ -1,7 +1,10 @@ /** - * ============LICENSE_START=================================================== - * Copyright (c) 2018 Amdocs - * ============================================================================ + * ============LICENSE_START======================================================= + * org.onap.aai + * ================================================================================ + * Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved. + * Copyright (c) 2018-2019 European Software Marketing Ltd. + * ================================================================================ * 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 @@ -13,7 +16,7 @@ * 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. - * ============LICENSE_END===================================================== + * ============LICENSE_END========================================================= */ package org.onap.aai.validation.test.util; @@ -32,6 +35,18 @@ public class TestEntity { public File inputFile; public String expectedResultsFile; + /** + * Create a new test entity. + * + * @param root + * the top-level folder for the test suite + * @param inputFilePath + * the path to the input file to be tested + * @param inputEventsPath + * the folder containing the input file(s) + * @param outputEventsPath + * the folder to write the outputs to + */ public TestEntity(Path root, Path inputFilePath, String inputEventsPath, String outputEventsPath) { String rootUri = root.toUri().toString(); String resultsRoot = rootUri.replaceAll(inputEventsPath + "/$", outputEventsPath + "/"); |