[TEST] Added unit tests for MetadataServiceUtil and MetadataService …#800
Open
rcanuto wants to merge 1 commit intopentaho:masterfrom
Open
[TEST] Added unit tests for MetadataServiceUtil and MetadataService …#800rcanuto wants to merge 1 commit intopentaho:masterfrom
rcanuto wants to merge 1 commit intopentaho:masterfrom
Conversation
Collaborator
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 checkstyleCleanup Commandsrm -r ~/.ivy2/local || echo no publish local to removeChanged 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.javaStill 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.SpringReporg.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.Spriorg.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.plorg.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.plUnit 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.
Collaborator
❌ 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…classes