diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-10-05 23:03:43 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-10-05 23:03:43 +0000 |
commit | 08e093e6aecfff0605b34d7138560998d0334ccd (patch) | |
tree | bae4823c3c8357c9b5b59482980a9e6561de3923 /harmony-tests | |
parent | 1ff9989b099fa716fda9571da56ced253a613698 (diff) | |
parent | a912bd88ce8001c65d367d06cde1680bd344b9ce (diff) | |
download | libcore-08e093e6aecfff0605b34d7138560998d0334ccd.zip libcore-08e093e6aecfff0605b34d7138560998d0334ccd.tar.gz libcore-08e093e6aecfff0605b34d7138560998d0334ccd.tar.bz2 |
am a912bd88: Merge "Fix RuntimeTest.freeMemory" into lmp-dev
* commit 'a912bd88ce8001c65d367d06cde1680bd344b9ce':
Fix RuntimeTest.freeMemory
Diffstat (limited to 'harmony-tests')
-rw-r--r-- | harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/RuntimeTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/RuntimeTest.java b/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/RuntimeTest.java index 11b7769..03a4aa0 100644 --- a/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/RuntimeTest.java +++ b/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/RuntimeTest.java @@ -114,7 +114,7 @@ public class RuntimeTest extends junit.framework.TestCase { * java.lang.Runtime#maxMemory() */ public void test_memory() { - assertTrue("freeMemory <= 0", r.freeMemory() > 0); + assertTrue("freeMemory < 0", r.freeMemory() >= 0); assertTrue("totalMemory() < freeMemory()", r.totalMemory() >= r.freeMemory()); assertTrue("maxMemory() < totalMemory()", r.maxMemory() >= r.totalMemory()); } |