aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/test/java/org/onap/policy/pap/main/parameters/CommonTestData.java
diff options
context:
space:
mode:
authorramverma <ram.krishna.verma@est.tech>2019-01-31 13:09:00 +0000
committerramverma <ram.krishna.verma@est.tech>2019-01-31 13:09:00 +0000
commit07b7ba00a053a26a5eef39070bff5297c630c5ce (patch)
tree475cc8ce35a140797d5527b924a307936beaaa61 /main/src/test/java/org/onap/policy/pap/main/parameters/CommonTestData.java
parentb4b7d79c3a90255d2f59fdc05ed4259a94b57fc2 (diff)
Create basic structure of pap component
1) Creating the basic code structure of pap component which includes main sub-module having Main, PapActivator, PapCommandLineArguments, PapParameterGroup & PapParameterHandler. Along with few exception classes. Basicalliy the structure follows the pattern developed in policy/distribution component. 2) Created the related unit test cases and required test resources. Change-Id: I67c82f9d072e6c8a306cb983accb693da70e58a2 Issue-ID: POLICY-1476 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Diffstat (limited to 'main/src/test/java/org/onap/policy/pap/main/parameters/CommonTestData.java')
-rw-r--r--main/src/test/java/org/onap/policy/pap/main/parameters/CommonTestData.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/main/src/test/java/org/onap/policy/pap/main/parameters/CommonTestData.java b/main/src/test/java/org/onap/policy/pap/main/parameters/CommonTestData.java
new file mode 100644
index 00000000..5e62ba68
--- /dev/null
+++ b/main/src/test/java/org/onap/policy/pap/main/parameters/CommonTestData.java
@@ -0,0 +1,32 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * 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=========================================================
+ */
+
+package org.onap.policy.pap.main.parameters;
+
+/**
+ * Class to hold/create all parameters for test cases.
+ *
+ * @author Ram Krishna Verma (ram.krishna.verma@est.tech)
+ */
+public class CommonTestData {
+
+ public static final String PAP_GROUP_NAME = "PapGroup";
+
+}