aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/feature-controlloop-usecases/src/test/java/org
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-07-30 18:05:02 -0400
committerJim Hahn <jrh3@att.com>2020-08-26 18:13:03 -0400
commitffdf210ad1e3f18dcc612e2587ed6d3742ab1e24 (patch)
treeb1eeddef4eda66c02ba5f111fed81eecd3e80d00 /controlloop/common/feature-controlloop-usecases/src/test/java/org
parent14c9b3e48963d9283d77d140bcbe1ee4d4d24200 (diff)
Move java code to rules
Added new usecases rules and feature. Updates per review comments: - kmodule.xml(s) Issue-ID: POLICY-2748 Change-Id: I2f5cb05a4269f98a3b0a778730434955f0919b4a Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/common/feature-controlloop-usecases/src/test/java/org')
-rw-r--r--controlloop/common/feature-controlloop-usecases/src/test/java/org/onap/policy/drools/apps/controlloop/feature/usecases/UsecasesFeatureTest.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/controlloop/common/feature-controlloop-usecases/src/test/java/org/onap/policy/drools/apps/controlloop/feature/usecases/UsecasesFeatureTest.java b/controlloop/common/feature-controlloop-usecases/src/test/java/org/onap/policy/drools/apps/controlloop/feature/usecases/UsecasesFeatureTest.java
new file mode 100644
index 000000000..ed1bba23d
--- /dev/null
+++ b/controlloop/common/feature-controlloop-usecases/src/test/java/org/onap/policy/drools/apps/controlloop/feature/usecases/UsecasesFeatureTest.java
@@ -0,0 +1,31 @@
+/*
+ * ============LICENSE_START=======================================================
+ * ONAP
+ * ================================================================================
+ * Copyright (C) 2018 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.drools.apps.controlloop.feature.usecases;
+
+import static org.junit.Assert.assertEquals;
+
+public class UsecasesFeatureTest {
+
+ @org.junit.Test
+ public void getSequenceNumber() {
+ assertEquals(UsecasesFeature.SEQNO, new UsecasesFeature().getSequenceNumber());
+ }
+}