diff options
author | Ivan Dubrov <idubrov@guidewire.com> | 2016-04-06 12:05:39 -0700 |
---|---|---|
committer | Ivan Dubrov <idubrov@guidewire.com> | 2016-04-06 12:05:39 -0700 |
commit | 6d5bc6ba69310dcbb3b128cae7e7bf18b6982600 (patch) | |
tree | 26ac7d266a881018fdfd5f001092b42f069880be | |
parent | adc662028544e3413b61cf142679ffd8a7e588f2 (diff) | |
download | dcevm-6d5bc6ba69310dcbb3b128cae7e7bf18b6982600.tar.gz dcevm-6d5bc6ba69310dcbb3b128cae7e7bf18b6982600.zip |
Running test in a loop
-rw-r--r-- | dcevm/src/test/java7/com/github/dcevm/test/fields/StringFieldTest.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/dcevm/src/test/java7/com/github/dcevm/test/fields/StringFieldTest.java b/dcevm/src/test/java7/com/github/dcevm/test/fields/StringFieldTest.java index 209aa6d9..cf667d5f 100644 --- a/dcevm/src/test/java7/com/github/dcevm/test/fields/StringFieldTest.java +++ b/dcevm/src/test/java7/com/github/dcevm/test/fields/StringFieldTest.java @@ -69,10 +69,13 @@ public class StringFieldTest { public void testComplexFieldChange() { assert __version__() == 0; A a = new A(); - assertObjectOK(a); - __toVersion__(1); - assertObjectOK(a); - __toVersion__(0); - assertObjectOK(a); + + for (int i = 0; i < 100; i++) { + assertObjectOK(a); + __toVersion__(1); + assertObjectOK(a); + __toVersion__(0); + assertObjectOK(a); + } } } |