* ============LICENSE_END=========================================================
*/
-package org.onap.appc.listener.impl;
+package org.onap.appc.listener.LCM.impl;
-import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.util.Properties;
-
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.onap.appc.listener.demo.impl.ListenerImpl;
@Ignore
-public class TestListener {
+public class ListenerImplTest {
private static final String PROP_FILE = "/org/onap/appc/default.properties";
private Listener listener;
-
private Properties props;
@Before
listener = new ListenerImpl(new ListenerProperties("appc.ClosedLoop", props));
}
- @Test
- public void testListenerId() {
- String originalId = listener.getListenerId();
- String newId = originalId + "-new";
-
- listener.setListenerId(newId);
- assertEquals(newId, listener.getListenerId());
- }
-
@Test
public void testRun() {
try {
}
}
- @Test
- public void testUpdateProperties() {
-
- }
-
@Test
public void printSampleData() {
try {