Skip to content

Commit 9884a06

Browse files
authored
chore: refactor assertions to AssertJ, general test cleanup (ArcadeData#3283)
1 parent a7a4b71 commit 9884a06

176 files changed

Lines changed: 2750 additions & 2812 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bolt/src/test/java/com/arcadedb/bolt/BoltMultiLabelIT.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private Driver getDriver() {
6060
}
6161

6262
@Test
63-
void testCreateVertexWithMultipleLabels() {
63+
void createVertexWithMultipleLabels() {
6464
try (Driver driver = getDriver()) {
6565
try (Session session = driver.session(SessionConfig.forDatabase(getDatabaseName()))) {
6666
// Create vertex with two labels
@@ -84,7 +84,7 @@ void testCreateVertexWithMultipleLabels() {
8484
}
8585

8686
@Test
87-
void testCreateVertexWithThreeLabels() {
87+
void createVertexWithThreeLabels() {
8888
try (Driver driver = getDriver()) {
8989
try (Session session = driver.session(SessionConfig.forDatabase(getDatabaseName()))) {
9090
// Create vertex with three labels
@@ -108,7 +108,7 @@ void testCreateVertexWithThreeLabels() {
108108
}
109109

110110
@Test
111-
void testMatchByFirstLabel() {
111+
void matchByFirstLabel() {
112112
try (Driver driver = getDriver()) {
113113
try (Session session = driver.session(SessionConfig.forDatabase(getDatabaseName()))) {
114114
// Create multi-label vertex
@@ -126,7 +126,7 @@ void testMatchByFirstLabel() {
126126
}
127127

128128
@Test
129-
void testMatchBySecondLabel() {
129+
void matchBySecondLabel() {
130130
try (Driver driver = getDriver()) {
131131
try (Session session = driver.session(SessionConfig.forDatabase(getDatabaseName()))) {
132132
// Create multi-label vertex
@@ -144,7 +144,7 @@ void testMatchBySecondLabel() {
144144
}
145145

146146
@Test
147-
void testMatchByBothLabels() {
147+
void matchByBothLabels() {
148148
try (Driver driver = getDriver()) {
149149
try (Session session = driver.session(SessionConfig.forDatabase(getDatabaseName()))) {
150150
// Create multi-label vertex
@@ -162,7 +162,7 @@ void testMatchByBothLabels() {
162162
}
163163

164164
@Test
165-
void testLabelsFunction() {
165+
void labelsFunction() {
166166
try (Driver driver = getDriver()) {
167167
try (Session session = driver.session(SessionConfig.forDatabase(getDatabaseName()))) {
168168
// Create multi-label vertex
@@ -179,7 +179,7 @@ void testLabelsFunction() {
179179
}
180180

181181
@Test
182-
void testSingleLabelVertex() {
182+
void singleLabelVertex() {
183183
try (Driver driver = getDriver()) {
184184
try (Session session = driver.session(SessionConfig.forDatabase(getDatabaseName()))) {
185185
// Create single-label vertex
@@ -203,7 +203,7 @@ void testSingleLabelVertex() {
203203
}
204204

205205
@Test
206-
void testMixedSingleAndMultiLabelVertices() {
206+
void mixedSingleAndMultiLabelVertices() {
207207
try (Driver driver = getDriver()) {
208208
try (Session session = driver.session(SessionConfig.forDatabase(getDatabaseName()))) {
209209
// Create both single and multi-label vertices
@@ -222,7 +222,7 @@ void testMixedSingleAndMultiLabelVertices() {
222222
}
223223

224224
@Test
225-
void testNodeHasLabelMethod() {
225+
void nodeHasLabelMethod() {
226226
try (Driver driver = getDriver()) {
227227
try (Session session = driver.session(SessionConfig.forDatabase(getDatabaseName()))) {
228228
// Create multi-label vertex
@@ -241,7 +241,7 @@ void testNodeHasLabelMethod() {
241241
}
242242

243243
@Test
244-
void testMatchByNonExistentLabelCombination() {
244+
void matchByNonExistentLabelCombination() {
245245
try (Driver driver = getDriver()) {
246246
try (Session session = driver.session(SessionConfig.forDatabase(getDatabaseName()))) {
247247
// Create multi-label vertex without Manager
@@ -255,7 +255,7 @@ void testMatchByNonExistentLabelCombination() {
255255
}
256256

257257
@Test
258-
void testMultipleVerticesWithDifferentLabelCombinations() {
258+
void multipleVerticesWithDifferentLabelCombinations() {
259259
try (Driver driver = getDriver()) {
260260
try (Session session = driver.session(SessionConfig.forDatabase(getDatabaseName()))) {
261261
// Create vertices with different label combinations

0 commit comments

Comments
 (0)