summaryrefslogtreecommitdiff
path: root/include/ScopedJavaUnicodeString.h
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2016-06-13 16:48:13 +0100
committerNarayan Kamath <narayan@google.com>2016-07-21 15:24:22 +0100
commit0cdeffff0cf4de8b8916a4634f1c3d2b68b59158 (patch)
tree7480ce7a4847935ffe4cd47a55ef24168b58c270 /include/ScopedJavaUnicodeString.h
parent9dd2543a530637488662d98389bb06a45231c092 (diff)
SerializationStressTest4 : Improve iteration tests.
In tests : - test_writeObject_Collections_UnmodifiableCollection - test_writeObject_Collections_SynchronizedCollection The construct : while (it1.hasNext()) { equals = equals && it1.next().equals(it2.next()); } is broken because the RHS of the logical-and expression need not be evaluated if equals == false. Also, the tests were assuming that the iteration order of the Sets in question were the same before / after serialization, which is not necessarily the case. Change-Id: I404b40d57c0ee13199fe0a8bd6d0e2c629d74a80
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions