Sorted out build issues

This commit is contained in:
Risto Lahtela 2021-04-23 10:39:36 +03:00
parent b6f1bb22c8
commit 6643e442c1
2 changed files with 4 additions and 2 deletions

View File

@ -60,7 +60,9 @@ class HtmlTableTest {
@Test
void dynamicTableProducesSameHtmlAsOldCode() {
// Produced by old code
String expected = "<div class=\"table-responsive\"><table class=\"table table-bordered table-striped table-hover player-plugin-table dataTable\"><thead><tr><th><i class=\" fa fa-test\"></i> Col 1</th><th><i class=\" fa fa-test\"></i> Col 2</th><th><i class=\" fa fa-test\"></i> Col 3</th></tr></thead><tbody><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr><tr><td>1</td><td>2</td><td>three</td></tr></tbody></table></div>";
String expected = "<div class=\"table-responsive\"><table class=\"table table-bordered table-striped table-hover player-plugin-table dataTable\"><thead><tr><th><i class=\" fa fa-test\"></i> Col 1</th><th><i class=\" fa fa-test\"></i> Col 2</th><th><i class=\" fa fa-test\"></i> Col 3</th></tr></thead><tbody><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr>" +
"<tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr>" +
"<tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr><tr><td data-order=\"1\">1</td><td data-order=\"2\">2</td><td>three</td></tr></tbody></table></div>";
Icon icon = Icon.called("test").build();
Table.Factory buildingTable = Table.builder()

View File

@ -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());
}
}