import org.junit.BeforeClass;
import org.junit.Test;
+import static org.junit.Assert.assertNotNull;
public class AAIClientRESTExecutorTest {
} catch (AAIServiceException e) {
}
assert(true);
+ assertNotNull(nameValues);
}
@Test
} catch (AAIServiceException e) {
}
assert(true);
+ assertNotNull(nameValues);
}
@Test
} catch (AAIServiceException e) {
}
assert(true);
+ assertNotNull(nameValues);
}
@Test
} catch (AAIServiceException e) {
}
assert(true);
+ assertNotNull(nameValues);
}
@Test
} catch (AAIServiceException e) {
}
assert(true);
+ assertNotNull(nameValues);
}
public void setActionData() throws Exception {
final Action resolver = new Action();
resolver.setActionData( new ArrayList<ActionDatum>());
+ assertNotNull(resolver);
}
@Test
data.put("encrypted-access-flag","true");
QueryStatus resp = client.save("generic-vnf", false, false, "generic-vnf.vnf-id = '"+uuid+"'", data, "aaidata", ctx);
+ assertNotNull(ctx);
}
catch (Throwable e)
{
}
+ ;
}
@Test
assertTrue(response == QueryStatus.SUCCESS);
LOG.info("AAIResponse: " + response.toString());
}
- catch (Exception e)
- {
+ catch (Exception e) {
LOG.error("Caught exception", e);
fail("Caught exception");
}
data.put("encrypted-access-flag","true");
QueryStatus resp = client.update("generic-vnf", "generic-vnf.vnf-id = '"+uuid+"'", data, "aaidata", ctx);
-
+ assertNotNull(uuid);
}
catch (Throwable e)
{
try {
URL url = request.getRequestUrl("GET", null);
+ assertNotNull(url);
} catch (Exception exc) {
}
assert(true);
package org.onap.ccsdk.sli.adaptors.aai;
import static org.junit.Assert.fail;
+import static org.junit.Assert.assertNotNull;
import java.io.File;
import java.io.FileReader;
URL url = request.getRequestUrl("GET", null);
url.getPath();
LOG.info("Received response");
+ assertNotNull(nameValues);
+
} catch(Exception exc) {
LOG.info("Caught exception", exc);
}
}
}
LOG.info(nameValues.toString());
+ assertNotNull(nameValues);
}
}