summaryrefslogtreecommitdiffstats
path: root/catalog-dao/src/test/java
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2023-07-28 13:18:23 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-07-28 13:01:30 +0000
commit3858b54b0dbc432ee5848f56a7baf87f406f6639 (patch)
tree5d097d1d3b80914f8c5797290141e2268e1710df /catalog-dao/src/test/java
parent216ea4998de9ae4ee603d7f8f5f6725b218ca710 (diff)
Implement 'Rollback nested transaction'
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4585 Change-Id: I37c98e4f51f40e8d89c110e134499f3cf49181bd
Diffstat (limited to 'catalog-dao/src/test/java')
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/JanusGraphGenericDaoTest.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/JanusGraphGenericDaoTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/JanusGraphGenericDaoTest.java
index 549841c6cb..586ff9ecca 100644
--- a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/JanusGraphGenericDaoTest.java
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/JanusGraphGenericDaoTest.java
@@ -93,7 +93,7 @@ public class JanusGraphGenericDaoTest {
}
@Test
- public void testcheckEdgeProps() {
+ void testcheckEdgeProps() {
JanusGraph graph = janusGraphDao.getGraph().left().value();
JanusGraphVertex v1 = graph.addVertex();
v1.property("prop1", 123);
@@ -113,7 +113,7 @@ public class JanusGraphGenericDaoTest {
}
@Test
- public void testCrudNode() {
+ void testCrudNode() {
String id = "userId12345abc";
UserData userData = new UserData("Myname123", "Mylastname", id, "email123", "Tester",
@@ -153,7 +153,7 @@ public class JanusGraphGenericDaoTest {
}
@Test
- public void testGetByCategoryAndAll() {
+ void testGetByCategoryAndAll() {
// create 2 nodes
String id = "userId12345abc";
@@ -208,7 +208,7 @@ public class JanusGraphGenericDaoTest {
}
@Test
- public void testGetEdgesForNode() {
+ void testGetEdgesForNode() {
String id = "userId12345abc";
UserData userData = new UserData("Myname123", "Mylastname", id, "email123", UserRoleEnum.ADMIN.name(),
UserStatusEnum.ACTIVE.name(), null);
@@ -254,7 +254,7 @@ public class JanusGraphGenericDaoTest {
}
@Test
- public void testLockElement() {
+ void testLockElement() {
ResourceMetadataData resourceData = new ResourceMetadataData();
@@ -299,7 +299,7 @@ public class JanusGraphGenericDaoTest {
}
@Test
- public void testReLockElement() throws InterruptedException {
+ void testReLockElement() throws InterruptedException {
ResourceMetadataData resourceData = new ResourceMetadataData();
@@ -360,7 +360,7 @@ public class JanusGraphGenericDaoTest {
}
@Test
- public void testBoolean() {
+ void testBoolean() {
ResourceMetadataData resourceData = new ResourceMetadataData();
resourceData.getMetadataDataDefinition().setName("resourceForLock");
@@ -405,7 +405,7 @@ public class JanusGraphGenericDaoTest {
}
@Test
- public void testStringSearch() {
+ void testStringSearch() {
JanusGraph graph;
BaseConfiguration conf = new BaseConfiguration();
@@ -434,7 +434,7 @@ public class JanusGraphGenericDaoTest {
}
@Test
- public void testDuplicateResultDueToJanusGraphBug() {
+ void testDuplicateResultDueToJanusGraphBug() {
ResourceMetadataData resourceData1 = new ResourceMetadataData();
resourceData1.getMetadataDataDefinition().setUniqueId("A");
@@ -576,7 +576,7 @@ public class JanusGraphGenericDaoTest {
}
@Test
- public void testDuplicateResultUSeHasNotQueryDueToJanusGraphBug() {
+ void testDuplicateResultUSeHasNotQueryDueToJanusGraphBug() {
String name = "bbbb";