Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005044 [Squeak] System tweak N/A 09-22-06 16:49 09-22-06 16:49
Reporter cbarham View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.9
Summary 0005044: Sunit-Tools Equal/Hash TestCase improvement and tests
Description Replaced the equalsHashTester as it was not checking anything significant. Taking the cue from the Junitx.extensions class EqualsHashCodeTester, and assuming that the the equality 'contract' of most implementations of #= are similar to the Java specified contract, I have reworked the testcases where possible to use the new class EqualsHashCodeTestCase. From the majority of test I implemented using this class, the assumption regarding how equality works in Squeak seems to hold (except for where classes deliberately use identity equality).

Change Set attached.

Implementation based on [^]
Tests for broad alignment with the contract specified (for Java) at [^]

This is my first submission, and was done as I wanted a better understanding of Sunit. Therefore I am unsure I have all the correct Squeak idioms.

Before I continue and write more tests for the remaining implementations of #= can I get some feedback on the work so far? Is it 'squeaky' enough :-)
Additional Information
Attached Files [^] (3,670 bytes) 09-22-06 16:49

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
09-22-06 16:49 cbarham New Issue
09-22-06 16:49 cbarham File Added:

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
29 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker