aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamilo Bernal2013-04-25 10:24:06 (EDT)
committerCamilo Bernal2013-04-25 12:11:44 (EDT)
commit54f9dc9d9c7852db71bb3f9d58fa0f6c30a149a0 (patch)
treefeb8f0c17acd6214a4929c482aca86a1fb4ea4b0
parent216c1388f745b0e51a1bc1ca6ab1e7f3402f183f (diff)
downloadorg.eclipse.linuxtools-54f9dc9d9c7852db71bb3f9d58fa0f6c30a149a0.zip
org.eclipse.linuxtools-54f9dc9d9c7852db71bb3f9d58fa0f6c30a149a0.tar.gz
org.eclipse.linuxtools-54f9dc9d9c7852db71bb3f9d58fa0f6c30a149a0.tar.bz2
Perf: Minor fix for stat comparison test.refs/changes/06/12206/2
Change-Id: Ibd86ab7ad2de0f0e8f1ea133e071360b6a34695f Reviewed-on: https://git.eclipse.org/r/12206 Reviewed-by: Camilo Bernal <cabernal@redhat.com> IP-Clean: Camilo Bernal <cabernal@redhat.com> Tested-by: Camilo Bernal <cabernal@redhat.com>
-rw-r--r--perf/org.eclipse.linuxtools.perf.tests/src/org/eclipse/linuxtools/internal/perf/tests/StatsComparisonTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/perf/org.eclipse.linuxtools.perf.tests/src/org/eclipse/linuxtools/internal/perf/tests/StatsComparisonTest.java b/perf/org.eclipse.linuxtools.perf.tests/src/org/eclipse/linuxtools/internal/perf/tests/StatsComparisonTest.java
index aca2549..ad52b03 100644
--- a/perf/org.eclipse.linuxtools.perf.tests/src/org/eclipse/linuxtools/internal/perf/tests/StatsComparisonTest.java
+++ b/perf/org.eclipse.linuxtools.perf.tests/src/org/eclipse/linuxtools/internal/perf/tests/StatsComparisonTest.java
@@ -187,8 +187,9 @@ public class StatsComparisonTest extends TestCase {
assertEquals(StatComparisonData.toFloat(actualSamples),
StatComparisonData.toFloat(expectedSamples));
assertEquals(actualRest, expectedRest);
+ } else {
+ assertEquals(actualResultLines[i], curLine);
}
- assertEquals(actualResultLines[i], curLine);
}
diffDataReader.close();