You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bruno P. Kinoshita (Jira)" <ji...@apache.org> on 2022/06/07 00:49:00 UTC
[jira] [Resolved] (COLLECTIONS-811) Consider integration Guava testlib tests
[ https://issues.apache.org/jira/browse/COLLECTIONS-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno P. Kinoshita resolved COLLECTIONS-811.
--------------------------------------------
Resolution: Fixed
> Consider integration Guava testlib tests
> ----------------------------------------
>
> Key: COLLECTIONS-811
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-811
> Project: Commons Collections
> Issue Type: Test
> Affects Versions: 4.4
> Reporter: Bruno P. Kinoshita
> Assignee: Bruno P. Kinoshita
> Priority: Minor
> Fix For: 4.5
>
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> In COLLECTIONS-802 an issue reported was found with the help of Google Guava testlib tests.
> Maybe we could either have something similar (i.e. build ourselves?), use Google Guava's testlib, or find another similar solution. From what I understood, it uses a factory function to create an implementation of a collection interface (e.g. Map) and then runs a series of functional tests over the created object, failing tests if a contract is broken (e.g. iterating a map doesn't leave the next-object as null, as it was the case of the 802 issue).
--
This message was sent by Atlassian Jira
(v8.20.7#820007)