import org.apache.commons.io.IOUtils;
import org.json.JSONObject;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
import org.onap.ccsdk.sli.core.sli.SvcLogicContext;
import org.powermock.reflect.Whitebox;
ah.processArtifact(inParams, ctx);
}
+ @Ignore("Test is taking 60 seconds")
@Test(expected = Exception.class)
public void testStoreReferenceData() throws Exception {
MockArtifactHandlerNode ah = new MockArtifactHandlerNode();
assertTrue(true);
}
+ @Ignore("Test is taking 60 seconds")
@Test(expected = Exception.class)
public void testGetArtifactIDException() throws Exception {
ArtifactHandlerNode ah = new ArtifactHandlerNode();
Whitebox.invokeMethod(ah, "getArtifactID", yFileName);
}
+ @Ignore("Test is taking 60 seconds")
@Test(expected = Exception.class)
public void testStoreUpdateSdcArtifacts() throws Exception {
ArtifactHandlerNode ah = new ArtifactHandlerNode();
Whitebox.invokeMethod(ah, "storeUpdateSdcArtifacts", postData);
}
+ @Ignore("Test is taking 60 seconds")
@Test(expected = Exception.class)
public void testUpdateStoreArtifacts() throws Exception {
MockArtifactHandlerNode ah = new MockArtifactHandlerNode();
Whitebox.invokeMethod(ah, "cleanArtifactInstanceData", ctx);
}
+ @Ignore("Test is taking 60 seconds")
@Test(expected = Exception.class)
public void testUpdateYangContents() throws Exception {
MockArtifactHandlerNode ah = new MockArtifactHandlerNode();