aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-03-07 08:46:22 +1100
committerGitHub <noreply@github.com>2024-03-06 22:46:22 +0100
commit6da1f6daeea8383de0f363fcb007cc9df15afd45 (patch)
tree693a104b1dfaec685d9219bb96e4e2ab5d9fcf0e /src/test
parentde0f0e888a4c0767c8e8ca911113482a3b1f9d5c (diff)
downloadskyhanni-6da1f6daeea8383de0f363fcb007cc9df15afd45.tar.gz
skyhanni-6da1f6daeea8383de0f363fcb007cc9df15afd45.tar.bz2
skyhanni-6da1f6daeea8383de0f363fcb007cc9df15afd45.zip
Backend: Reformat code in all files in src directory (#1109)
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt9
-rw-r--r--src/test/resources/testdata/Item/10starnecronhead.json5
2 files changed, 10 insertions, 4 deletions
diff --git a/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt b/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt
index cdb171aa6..3a4a08c47 100644
--- a/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt
+++ b/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt
@@ -22,7 +22,8 @@ class VisitorToolTipParserTest {
@Test
fun testParseItemsNeeded() {
- val parsedData = VisitorTooltipParser.parse(lore,
+ val parsedData = VisitorTooltipParser.parse(
+ lore,
GardenConfig()
)
assert(parsedData.itemsNeeded.isNotEmpty()) {
@@ -35,7 +36,8 @@ class VisitorToolTipParserTest {
@Test
fun testParseRewards() {
- val parsedData = VisitorTooltipParser.parse(lore,
+ val parsedData = VisitorTooltipParser.parse(
+ lore,
GardenConfig()
)
assert(parsedData.rewards.isNotEmpty()) {
@@ -60,7 +62,8 @@ class VisitorToolTipParserTest {
@Test
fun testParseCopper() {
- val parsedData = VisitorTooltipParser.parse(lore,
+ val parsedData = VisitorTooltipParser.parse(
+ lore,
GardenConfig()
)
val copper = parsedData.rewards["Copper"]
diff --git a/src/test/resources/testdata/Item/10starnecronhead.json b/src/test/resources/testdata/Item/10starnecronhead.json
index 1e5bbe7b0..6c3123c6e 100644
--- a/src/test/resources/testdata/Item/10starnecronhead.json
+++ b/src/test/resources/testdata/Item/10starnecronhead.json
@@ -1 +1,4 @@
-{"type":"Item","data":"H4sIAAAAAAAAAHVW227bRhBdW7Eju0mdXoACRYFu2rSIIUsmRV3dCyBLskXHlBxJli0FgbAkl9TavKjk0rL8EQX6loei6JuBfoY/JR9SdJaULwlQwebuzp6ZOTO7M+Q6Qmm0zEy04TKPGgGx+E54HjnOElqp+5HHl9ZRihN7DT2injFZRwgtL6OUc+Gg1HKsuIIW66VkvYpSaK3FTLrnEDsE/L/raL0nTHZmHg3Am2qiF9QicknSq9myVSlkFUk2s0TXS9mKXLHKumxI1VIB9I4Cf0oDzmi4htKcXvIooKEgsZRGKwPiRHTpHZ35tlo/kMiJ7BhKd6Kf1pja8G2tP5y1+8eydmbP2w1N1tjslVqvMaN1cDFynXB07JyrrFYC3YnmDgva1Wu50x+cdRrn0rCvKsOT7rl2VZM6feOy7bYnnX5zNpyrYZ3VbNXbnev50VTfH3SG4Hdhhx23BtEwb7PDWszpipyY0fC0KxvuoDc63ZPJ6YEzqqt2h+1KhjdwFjhpdDqRTNgz5vFeOfYBXI8lftBnH8gEHuzN4hhVF/RatdLhvPrARpGTk6IzVA4mI+91pLsD6VDpOrQleBxfdPbVSw3iHO1rUvtkdN5pdF3tbM8duk2IWZuNzg7Y8MpQhq52NTwbXmmNAzbqDxWtYUuQp/yo37wcncF4osrtvulq/bYz6qmvYm4tCcbdat2TfoFTWkePTRZOHTKH+3PoBzQNwh/RtzfX5X1KAtwzQLaDb67NalmCofJSqZZKm2gTAD0eUM/mE7FtZMpVGKovM0pxM8ZlFCWfyxc3URag9YBxXJ8Qz6AJWi7+kMBhssDn8zmY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