[arquillian-issues] [JBoss JIRA] (ARQ-1438) TestNG dataprovider with custom object return null values and duplicate output
Claudinei Sartori (JIRA)
jira-events at lists.jboss.org
Tue Jul 23 15:46:27 EDT 2013
Claudinei Sartori created ARQ-1438:
--------------------------------------
Summary: TestNG dataprovider with custom object return null values and duplicate output
Key: ARQ-1438
URL: https://issues.jboss.org/browse/ARQ-1438
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JBoss AS Containers
Affects Versions: 1.1.0.Final
Environment: Linux Ubuntu 13.04 64 Bits
Reporter: Claudinei Sartori
Expected
Use dataprovider with Arquillian with custom objects like using String, Integer, etc.
Actual behavior
When using a custom object with TestNG dataprovider and Arquillian the
attributes of object return "null" and output is duplicated.
Actual output
{quote}
[stdout] (http-localhost-127.0.0.1-8080-1) Count: br.com.xxx.ejb.entity.domain.Country at 1e62801
[stdout] (http-localhost-127.0.0.1-8080-1) Count: br.com.xxx.ejb.entity.domain.Country at 1e62801
[stdout] (http-localhost-127.0.0.1-8080-1) Count: br.com.xxx.ejb.entity.domain.Country at 1e62801
[stdout] (http-localhost-127.0.0.1-8080-1) Count: br.com.xxx.ejb.entity.domain.Country at 1e62801
[stdout] (http-localhost-127.0.0.1-8080-1) Count: br.com.xxx.ejb.entity.domain.Country at 1e62801
[stdout] (http-localhost-127.0.0.1-8080-1) Count: br.com.xxx.ejb.entity.domain.Country at 1e62801
[stdout] (http-localhost-127.0.0.1-8080-1) Count: br.com.xxx.ejb.entity.domain.Country at 1e62801
[stdout] (http-localhost-127.0.0.1-8080-1) Count: br.com.xxx.ejb.entity.domain.Country at 1e62801
[stdout] (http-localhost-127.0.0.1-8080-1) Count: br.com.xxx.ejb.entity.domain.Country at 1e62801
{quote}
Expected output
{quote}
[stdout] (http-localhost-127.0.0.1-8080-1) Count: br.com.xxx.ejb.entity.domain.Country at 1e62801
[stdout] (http-localhost-127.0.0.1-8080-1) Count: br.com.xxx.ejb.entity.domain.Country at 1e62801
[stdout] (http-localhost-127.0.0.1-8080-1) Count: br.com.xxx.ejb.entity.domain.Country at 1e62801
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list