You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org> on 2007/03/16 08:37:18 UTC
[jira] Updated: (ADFFACES-9) Brittleness in RowKeySetImplTest.java
and RowKeySetTreeImplTest.java
[ https://issues.apache.org/jira/browse/ADFFACES-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf updated ADFFACES-9:
--------------------------------------
Fix Version/s: 1.0.0-incubating-core
Affects Version/s: 1.0.0-incubating-core
> Brittleness in RowKeySetImplTest.java and RowKeySetTreeImplTest.java
> --------------------------------------------------------------------
>
> Key: ADFFACES-9
> URL: https://issues.apache.org/jira/browse/ADFFACES-9
> Project: MyFaces ADF-Faces
> Issue Type: Bug
> Components: Build
> Affects Versions: 1.0.0-incubating-core
> Reporter: Ryan Williams
> Assigned To: Adam Winer
> Priority: Minor
> Fix For: 1.0.0-incubating-core
>
> Attachments: test_patch.txt
>
>
> Some of the tests in RowKeySetImplTest.java and RowKeySetTreeImplTest.java are very brittle. They check the the length in bytes of a serialized object against a hard-coded value. I believe that this was intended as a sort of sanity check, but the tests fail for completely innocuous reasons, chief among them being a change in the packagename. We encountered this problem when repackaging internally, when repackaging to org.apache, and will encounter it again once a project name is decided upon. The tests should be changed so that they don't compare for equality with a particular value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.