-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TEST] Added unit tests for MetadataServiceUtil and MetadataService … #800
base: master
Are you sure you want to change the base?
Conversation
Build Completed🔥 This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues. Build Commandsant -Dtestreports.dir=bin/reports/unit-test -f build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f build.xml jacoco-integration checkstyle Cleanup Commandsrm -r ~/.ivy2/local || echo no publish local to remove Changed files src/org/pentaho/platform/dataaccess/metadata/service/MetadataServiceUtil.java
test-src/org/pentaho/platform/dataaccess/metadata/service/MetadataServiceTest.java
test-src/org/pentaho/platform/dataaccess/metadata/service/MetadataServiceUtilTest.java Still Broken Tests:org.pentaho.platform.dataaccess.datasource.DataSourcePublishIT.testDSW_ACL:🔴 junit.framework.AssertionFailedError: expected:<404> but was:<409>
at org.pentaho.platform.dataaccess.datasource.DataSourcePublishIT.testDSW_ACL(DataSourcePublishIT.java:572)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRep org.pentaho.platform.dataaccess.datasource.DataSourcePublishIT.testMetadata_ACL:🔴 junit.framework.AssertionFailedError: expected:<404> but was:<409>
at org.pentaho.platform.dataaccess.datasource.DataSourcePublishIT.testMetadata_ACL(DataSourcePublishIT.java:445)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.Spri org.pentaho.platform.dataaccess.datasource.DataSourcePublishIT.testPublishDSW:🔴 com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class org.pentaho.platform.repository2.unified.webservices.RepositoryFileAclDto, and Java type class org.pentaho.platform.repository2.unified.webservices.RepositoryFileAclDto, and MIME media type text/plain; charset=iso-8859-1 was not found
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:630)
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586)
at org.pentaho.pl org.pentaho.platform.dataaccess.datasource.DataSourcePublishIT.testPublishMetadata:🔴 com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class org.pentaho.platform.repository2.unified.webservices.RepositoryFileAclDto, and Java type class org.pentaho.platform.repository2.unified.webservices.RepositoryFileAclDto, and MIME media type text/plain; charset=iso-8859-1 was not found
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:630)
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586)
at org.pentaho.pl Unit test coverage changeThese statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation. org.pentaho.platform.dataaccess.metadata.model.impl.Column
org.pentaho.platform.dataaccess.metadata.model.impl.Condition
org.pentaho.platform.dataaccess.metadata.model.impl.Order
org.pentaho.platform.dataaccess.metadata.model.impl.Parameter
org.pentaho.platform.dataaccess.metadata.model.impl.Query
org.pentaho.platform.dataaccess.metadata.service.MetadataService
org.pentaho.platform.dataaccess.metadata.service.MetadataServiceUtil
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
❌ Build failed in 30m 20sBuild command: mvn clean verify -B -e -Daudit -amd ❗ No tests found!Errors:Filtered log (click to expand)
ℹ️ This is an automatic message |
…classes