[ 
https://issues.apache.org/jira/browse/GEODE-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15138982#comment-15138982
 ] 

Anthony Baker commented on GEODE-879:
-------------------------------------

PDX serialization ignores packages beginning with "com.gemstone" so we have to 
use a different package name at least for the snapshot tests.

> Delete com.examples packages from under gemfire-core/src/test/
> --------------------------------------------------------------
>
>                 Key: GEODE-879
>                 URL: https://issues.apache.org/jira/browse/GEODE-879
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Kirk Lund
>
> There are three packages:
> com.examples (these appear to be completely unused):
> {noformat}
> LinkNode.java
> SuperClass.java
> TestObject.java
> {noformat}
> com.examples.ds (these also appear to be unused):
> {noformat}
> Address.java
> Company.java
> CompanySerializer.java
> Employee.java
> PutDataSerializer.java
> User.java
> {noformat}
> com.examples.snapshot (these are used by snapshot tests): 
> {noformat}
> MyDataSerializer.java
> MyObject.java
> MyObjectDataSerializable.java
> MyObjectPdx.java
> MyObjectPdxSerializable.java
> MyPdxSerializer.java
> {noformat}
> The snapshot tests using that 3rd package include: ClientSnapshotDUnitTest, 
> CacheSnapshotJUnitTest, ClientSnapshotDUnitTest, OfflineSnapshotJUnitTest, 
> ParallelSnapshotDUnitTest, PdxTypeExportDUnitTest, RegionSnapshotJUnitTest, 
> SnapshotByteArrayDUnitTest, SnapshotDUnitTest, SnapshotPerformanceDUnitTest, 
> WanSnapshotJUnitTest
> Perhaps this 3rd package could be repackaged in someway so that the classes 
> instead live in a com.gemstone.gemfire (eventually org.apache.geode) package. 
> They could then be repackaged or generated in some way for tests if they 
> really need to be outside the gemfire/geode packages for the validity of the 
> tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to