mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-07 03:10:56 +01:00
Sorted out build issues
This commit is contained in:
parent
b6f1bb22c8
commit
6643e442c1
@ -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()
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user