aboutsummaryrefslogtreecommitdiffstats
path: root/PolicyEngineUtils/src/test/java/org/onap/policy/utils/test/DummyBackUpHandler.java
diff options
context:
space:
mode:
authorParshad Patel <pars.patel@samsung.com>2018-12-27 19:52:56 +0900
committerParshad Patel <pars.patel@samsung.com>2018-12-27 19:53:12 +0900
commit31e122b8c77b933db7475b2889efcfba83e378b5 (patch)
tree2f51671d03b3f677bdeb758d44333173b6e9434d /PolicyEngineUtils/src/test/java/org/onap/policy/utils/test/DummyBackUpHandler.java
parentffdaf107b89321de081a4f122cf83393c196d769 (diff)
Rename test classes in policy/engine
Make test classes name consitence by adding 'Test' at end of junit test classes and adding 'Support' or 'Dummy' at start of util or dummy type of test classes Issue-ID: POLICY-1281 Change-Id: I5fa65d0cfc95edc8f2fe0ca678a43d2011a39670 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
Diffstat (limited to 'PolicyEngineUtils/src/test/java/org/onap/policy/utils/test/DummyBackUpHandler.java')
-rw-r--r--PolicyEngineUtils/src/test/java/org/onap/policy/utils/test/DummyBackUpHandler.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/PolicyEngineUtils/src/test/java/org/onap/policy/utils/test/DummyBackUpHandler.java b/PolicyEngineUtils/src/test/java/org/onap/policy/utils/test/DummyBackUpHandler.java
new file mode 100644
index 000000000..15fb33944
--- /dev/null
+++ b/PolicyEngineUtils/src/test/java/org/onap/policy/utils/test/DummyBackUpHandler.java
@@ -0,0 +1,38 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * PolicyEngineUtils
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. 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.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.policy.utils.test;
+
+import org.onap.policy.api.PDPNotification;
+import org.onap.policy.utils.BackUpHandler;
+
+public class DummyBackUpHandler implements BackUpHandler{
+
+ @Override
+ public void notificationReceived(PDPNotification notification) {
+ System.out.println("Received Notification from PDP. ");
+ }
+
+ @Override
+ public void runOnNotification(PDPNotification notification) {
+ System.out.println("Running main Notification Function. ");
+ }
+
+}