You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/06/28 15:23:00 UTC
[jira] [Commented] (GEODE-5285) Make PdxInstanceImplTest a unit
test instead of an integration test
[ https://issues.apache.org/jira/browse/GEODE-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526423#comment-16526423 ]
ASF subversion and git services commented on GEODE-5285:
--------------------------------------------------------
Commit 3246b4ed36a8f7aa61039e9bea335898665fbb65 in geode's branch refs/heads/develop from Michael "Sarge" Dodge
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=3246b4e ]
GEODE-5285: Improve unit test coverage for PdxInstanceImpl. (#2085)
- Add unit test for PdxInstance.getField().
- Add unit test for PdxInstance.hasField().
- Add unit test for PdxInstance.isEnum().
- Add unit test for PdxInstance.getClassName().
- Add unit test for PdxInstance.getFieldNames().
- Add unit test for PdxInstance.isIdentityField().
> Make PdxInstanceImplTest a unit test instead of an integration test
> -------------------------------------------------------------------
>
> Key: GEODE-5285
> URL: https://issues.apache.org/jira/browse/GEODE-5285
> Project: Geode
> Issue Type: Improvement
> Components: client/server
> Reporter: Michael Dodge
> Assignee: Michael Dodge
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.7.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> PdxInstanceImplTest had to use the category of IntegrationTest because there were uses of static singletons buried deep in the code where they could not be mocked. Modify the code as necessary so that PdxInstanceImplTest uses the category of UnitTest.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)