* ============LICENSE_END=========================================================
*/
-package org.openecomp.appc.listener.CL.model;
+package org.openecomp.appc.listener.demo.model;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import org.junit.Test;
-import org.openecomp.appc.listener.CL.model.Action;
-import org.openecomp.appc.listener.CL1607.model.Status;
+import org.openecomp.appc.listener.demo.model.Action;
+import org.openecomp.appc.listener.demo.model.Status;
public class TestEnums {
assertNull(Action.toAction("Unknown"));
assertNull(Action.toAction(null));
- assertEquals(4, Action.values().length);
+ assertEquals(6, Action.values().length);
}
@Test
public void testStatus() {
- assertEquals(Status.ACCEPTED, Status.toStatus("ACCEPTED"));
+ assertEquals(Status.ACCEPTED, Status.toStatus("accepted"));
assertEquals(Status.SUCCESS, Status.toStatus("SuCcEsS"));
assertEquals(Status.FAILURE, Status.toStatus("Failure"));
assertNull(Status.toStatus("Unknown"));