Skip to content

Commit 8a964b7

Browse files
committed
tests: Enhance test logging in build.gradle and update sample Blue IDs in test resources
1 parent f900851 commit 8a964b7

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ test {
6363
junitXml.required = false
6464
html.required = true
6565
}
66+
testLogging {
67+
events 'PASSED', 'FAILED', 'SKIPPED'
68+
showStandardStreams = true
69+
}
6670
}
6771

6872
ext.genResourcesDir = file("$buildDir/generated-resources")

src/test/java/blue/language/provider/ClasspathBasedNodeProviderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ void setUp() throws IOException {
2020

2121
@Test
2222
void testFetchByBlueId() {
23-
String knownBlueId = "8RTziohyZKuSMrybq9NfH1RroL91uwmAahV5KwfgiXKX";
23+
String knownBlueId = "7hSVRWdTCXpr4TKvf5dibF24vAxyqGuVERVrvgHrxzYs";
2424
List<Node> nodes = provider.fetchByBlueId(knownBlueId);
2525
assertNotNull(nodes);
2626
assertFalse(nodes.isEmpty());

src/test/resources/samples/Hattori2.blue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Celebrating Kill Bill Anniversary 2024
22
type:
3-
blueId: 8RTziohyZKuSMrybq9NfH1RroL91uwmAahV5KwfgiXKX
3+
blueId: 7hSVRWdTCXpr4TKvf5dibF24vAxyqGuVERVrvgHrxzYs
44
availableMenuItems:
55
appetizers:
66
- SakuraSpringSalad:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: My Voucher
22
type:
33
name: Celebrating Kill Bill Anniversary 2024
4-
blueId: 76W6FPpv3mZxtT6mKjgQ7iDjJjHUsfq9LBeySNiPqFgF
4+
blueId: Csue6YkqPiwPU8FbGctT8thc2GDv4QHZLzGKhcXDV1EJ
55
serialNumber: 30902345235
66
purchaseDate: 2024-04-01

src/test/resources/samples/Person.blue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ age:
66
pets:
77
type:
88
name: Pet
9-
blueId: 68Y1GazJSKJL1irezxJ3S4ZE7UCVXVswTRAhJf5RatK8
9+
blueId: GwjPFDPV5Ay9tSrAjk8W8ENfRUuLJ9QC9kdNp48YAo9M

0 commit comments

Comments
 (0)