From 6643e442c15a117a70bd6f2904afce7a47446b87 Mon Sep 17 00:00:00 2001
From: Risto Lahtela <24460436+AuroraLS3@users.noreply.github.com>
Date: Fri, 23 Apr 2021 10:39:36 +0300
Subject: [PATCH] Sorted out build issues
---
.../plan/delivery/rendering/html/structure/HtmlTableTest.java | 4 +++-
.../java/utilities/mocks/TestPlatformAbstractionLayer.java | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Plan/common/src/test/java/com/djrapitops/plan/delivery/rendering/html/structure/HtmlTableTest.java b/Plan/common/src/test/java/com/djrapitops/plan/delivery/rendering/html/structure/HtmlTableTest.java
index fd69ba906..cd7979251 100644
--- a/Plan/common/src/test/java/com/djrapitops/plan/delivery/rendering/html/structure/HtmlTableTest.java
+++ b/Plan/common/src/test/java/com/djrapitops/plan/delivery/rendering/html/structure/HtmlTableTest.java
@@ -60,7 +60,9 @@ class HtmlTableTest {
@Test
void dynamicTableProducesSameHtmlAsOldCode() {
// Produced by old code
- String expected = "
Col 1 | Col 2 | Col 3 |
---|
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
";
+ String expected = " Col 1 | Col 2 | Col 3 |
---|
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
" +
+ "1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
" +
+ "1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
1 | 2 | three |
";
Icon icon = Icon.called("test").build();
Table.Factory buildingTable = Table.builder()
diff --git a/Plan/common/src/test/java/utilities/mocks/TestPlatformAbstractionLayer.java b/Plan/common/src/test/java/utilities/mocks/TestPlatformAbstractionLayer.java
index 26d31e3d0..fb3a26d6e 100644
--- a/Plan/common/src/test/java/utilities/mocks/TestPlatformAbstractionLayer.java
+++ b/Plan/common/src/test/java/utilities/mocks/TestPlatformAbstractionLayer.java
@@ -99,6 +99,6 @@ public class TestPlatformAbstractionLayer implements PlatformAbstractionLayer {
@Override
public DependencyLoader getDependencyLoader() {
- return new DependencyLoader((URLClassLoader) getClass().getClassLoader(), getPluginLogger(), getPluginInformation());
+ return new DependencyLoader((URLClassLoader) getClass().getClassLoader(), getPluginInformation());
}
}