Diego Lovison created ISPN-9383:
-----------------------------------
Summary: TestNG Reporter will generate a new testcase in Polarion when
toString point to hashCode
Key: ISPN-9383
URL:
https://issues.jboss.org/browse/ISPN-9383
Project: Infinispan
Issue Type: Bug
Reporter: Diego Lovison
We are using the test method Name(arguments) to store the informations in Polarion
Here are some examples:
{noformat}
org.infinispan.persistence.APINonTxPersistenceTest,testLockedStreamActuallyLocks([org.infinispan.api.APINonTxTest$$Lambda$2157/681959835@68a0620f,
false])
org.infinispan.persistence.APINonTxPersistenceTest,testLockedStreamActuallyLocks([org.infinispan.api.APINonTxTest$$Lambda$2152/1823898408@b34c679,
false])
org.infinispan.persistence.APINonTxPersistenceTest,testLockedStreamActuallyLocks([org.infinispan.api.APINonTxTest$$Lambda$2158/2043784776@18572695,
false])
org.infinispan.persistence.APINonTxPersistenceTest,testLockedStreamActuallyLocks([org.infinispan.api.APINonTxTest$$Lambda$2157/681959835@68a0620f,
true])
org.infinispan.persistence.APINonTxPersistenceTest,testLockedStreamActuallyLocks([org.infinispan.api.APINonTxTest$$Lambda$2154/349749176@1a859768,
true])
{noformat}
In this case, every time that we will run the test, the toString of the lambda expression
will change and Polarion will generate a new test case.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)