Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
4 2 0 0 50% 5,982

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
1 0 0 0 100% 1
fr.paris.lutece.plugins.folderlisting.service 3 2 0 0 33,333% 4,982

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

Class Tests Errors Failures Skipped Success Rate Time
antrunsql 1 0 0 0 100% 1

fr.paris.lutece.plugins.folderlisting.service

Class Tests Errors Failures Skipped Success Rate Time
FolderServiceTest 3 2 0 0 33,333% 4,982

Test Cases

[Summary] [Package List] [Test Cases]

antrunsql

antrunsql 1

FolderServiceTest

testGetFoldersList 4,971
DAOUtil error : Table 'lutece.folderlisting_folders' doesn't exist - SQL statement : - Plugin : folderlisting Initial error print stack : com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'lutece.folderlisting_folders' doesn't exist at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.Util.getInstance(Util.java:386) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2127) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2293) at fr.paris.lutece.util.sql.DAOUtil.executeQuery(DAOUtil.java:254) at fr.paris.lutece.plugins.folderlisting.business.FolderListingDatabaseDAO.selectFolderListingDatabaseList(FolderListingDatabaseDAO.java:168) at fr.paris.lutece.plugins.folderlisting.business.FolderListingDatabaseHome.findFolderListingDatabasesList(FolderListingDatabaseHome.java:112) at fr.paris.lutece.plugins.folderlisting.service.FolderLoaderDatabase.getResources(FolderLoaderDatabase.java:65) at fr.paris.lutece.portal.service.resource.ResourceService.getResources(ResourceService.java:248) at fr.paris.lutece.plugins.folderlisting.service.FolderService.getFoldersList(FolderService.java:103) at fr.paris.lutece.plugins.folderlisting.service.FolderServiceTest.testGetFoldersList(FolderServiceTest.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at junit.framework.TestCase.runTest(TestCase.java:176) at junit.framework.TestCase.runBare(TestCase.java:141) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
testGetFolder 0,011
DAOUtil error : Table 'lutece.folderlisting_folders' doesn't exist - SQL statement : - Plugin : folderlisting Initial error print stack : com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'lutece.folderlisting_folders' doesn't exist at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.Util.getInstance(Util.java:386) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2127) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2293) at fr.paris.lutece.util.sql.DAOUtil.executeQuery(DAOUtil.java:254) at fr.paris.lutece.plugins.folderlisting.business.FolderListingDatabaseDAO.load(FolderListingDatabaseDAO.java:110) at fr.paris.lutece.plugins.folderlisting.business.FolderListingDatabaseHome.findByPrimaryKey(FolderListingDatabaseHome.java:102) at fr.paris.lutece.plugins.folderlisting.service.FolderLoaderDatabase.loadFolder(FolderLoaderDatabase.java:104) at fr.paris.lutece.plugins.folderlisting.service.FolderLoaderDatabase.getResource(FolderLoaderDatabase.java:85) at fr.paris.lutece.portal.service.resource.ResourceService.loadResource(ResourceService.java:229) at fr.paris.lutece.portal.service.resource.ResourceService.getResource(ResourceService.java:208) at fr.paris.lutece.plugins.folderlisting.service.FolderService.getFolder(FolderService.java:91) at fr.paris.lutece.plugins.folderlisting.service.FolderServiceTest.testGetFolder(FolderServiceTest.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at junit.framework.TestCase.runTest(TestCase.java:176) at junit.framework.TestCase.runBare(TestCase.java:141) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
testGetInstance 0

Failure Details

[Summary] [Package List] [Test Cases]


testGetFoldersList
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : Table 'lutece.folderlisting_folders' doesn't exist - SQL statement : - Plugin : folderlisting Initial error print stack : com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'lutece.folderlisting_folders' doesn't exist at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.Util.getInstance(Util.java:386) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2127) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2293) at fr.paris.lutece.util.sql.DAOUtil.executeQuery(DAOUtil.java:254) at fr.paris.lutece.plugins.folderlisting.business.FolderListingDatabaseDAO.selectFolderListingDatabaseList(FolderListingDatabaseDAO.java:168) at fr.paris.lutece.plugins.folderlisting.business.FolderListingDatabaseHome.findFolderListingDatabasesList(FolderListingDatabaseHome.java:112) at fr.paris.lutece.plugins.folderlisting.service.FolderLoaderDatabase.getResources(FolderLoaderDatabase.java:65) at fr.paris.lutece.portal.service.resource.ResourceService.getResources(ResourceService.java:248) at fr.paris.lutece.plugins.folderlisting.service.FolderService.getFoldersList(FolderService.java:103) at fr.paris.lutece.plugins.folderlisting.service.FolderServiceTest.testGetFoldersList(FolderServiceTest.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at junit.framework.TestCase.runTest(TestCase.java:176) at junit.framework.TestCase.runBare(TestCase.java:141) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
testGetFolder
fr.paris.lutece.portal.service.util.AppException: DAOUtil error : Table 'lutece.folderlisting_folders' doesn't exist - SQL statement : - Plugin : folderlisting Initial error print stack : com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'lutece.folderlisting_folders' doesn't exist at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.Util.getInstance(Util.java:386) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2127) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2293) at fr.paris.lutece.util.sql.DAOUtil.executeQuery(DAOUtil.java:254) at fr.paris.lutece.plugins.folderlisting.business.FolderListingDatabaseDAO.load(FolderListingDatabaseDAO.java:110) at fr.paris.lutece.plugins.folderlisting.business.FolderListingDatabaseHome.findByPrimaryKey(FolderListingDatabaseHome.java:102) at fr.paris.lutece.plugins.folderlisting.service.FolderLoaderDatabase.loadFolder(FolderLoaderDatabase.java:104) at fr.paris.lutece.plugins.folderlisting.service.FolderLoaderDatabase.getResource(FolderLoaderDatabase.java:85) at fr.paris.lutece.portal.service.resource.ResourceService.loadResource(ResourceService.java:229) at fr.paris.lutece.portal.service.resource.ResourceService.getResource(ResourceService.java:208) at fr.paris.lutece.plugins.folderlisting.service.FolderService.getFolder(FolderService.java:91) at fr.paris.lutece.plugins.folderlisting.service.FolderServiceTest.testGetFolder(FolderServiceTest.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at junit.framework.TestCase.runTest(TestCase.java:176) at junit.framework.TestCase.runBare(TestCase.java:141) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)