I'm running into a weird problem when running andr...
# android
n
I'm running into a weird problem when running android instrumentation tests with the gradle plugin
2.2.0-alphax
. Basically I have an interface
User
and a data class
TestUser
that implements that interface. Now when I have an instance of
TestUser
and do the following:
Copy code
println(user)
println("login=${user.login}")
.. this is the output:
Copy code
TestUser(login=login, id=0, avatarUrl=avatarUrl, htmlUrl=htmlUrl, followersUrl=followersUrl, followingUrl=followingUrl, gistsUrl=gistsUrl, subscriptionsUrl=subscriptionsUrl, organizationsUrl=organizationsUrl, eventsUrl=eventsUrl, receivedEventsUrl=receivedEventsUrl, type=type, name=name, company=company, blog=blog, email=email, hireable=true, bio=bio, publicRepos=1, publicGists=2, privateGists=7, collaborators=9)
login=organizationsUrl
It seems like the property values are shuffled somehow, but consistently between builds. If I remove an unrelated piece of dead code the values are shuffled differently. What the heck is happening here?