diff graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/utilities/IntegerConditionProfileTest.java @ 16852:3c114b3e08c3

Truffle: renamed BooleanConditionProfile to BinaryConditionProfile and IntegerConditionProfile to CountingConditionProfile.
author Christian Humer <christian.humer@gmail.com>
date Mon, 18 Aug 2014 19:00:20 +0200
parents 2834af86f398
children fc6f12ee71e5
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/utilities/IntegerConditionProfileTest.java	Mon Aug 18 18:41:16 2014 +0200
+++ b/graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/utilities/IntegerConditionProfileTest.java	Mon Aug 18 19:00:20 2014 +0200
@@ -38,14 +38,14 @@
 
     @Test
     public void testInitial() {
-        IntegerConditionProfile profile = new IntegerConditionProfile();
+        CountingConditionProfile profile = new CountingConditionProfile();
         assertThat(profile.getTrueCount(), is(0));
         assertThat(profile.getFalseCount(), is(0));
     }
 
     @Theory
     public void testProfileOne(boolean value) {
-        IntegerConditionProfile profile = new IntegerConditionProfile();
+        CountingConditionProfile profile = new CountingConditionProfile();
         boolean result = profile.profile(value);
 
         assertThat(result, is(value));
@@ -55,7 +55,7 @@
 
     @Theory
     public void testProfileTwo(boolean value0, boolean value1) {
-        IntegerConditionProfile profile = new IntegerConditionProfile();
+        CountingConditionProfile profile = new CountingConditionProfile();
         boolean result0 = profile.profile(value0);
         boolean result1 = profile.profile(value1);
 
@@ -67,7 +67,7 @@
 
     @Theory
     public void testProfileThree(boolean value0, boolean value1, boolean value2) {
-        IntegerConditionProfile profile = new IntegerConditionProfile();
+        CountingConditionProfile profile = new CountingConditionProfile();
         boolean result0 = profile.profile(value0);
         boolean result1 = profile.profile(value1);
         boolean result2 = profile.profile(value2);