From: Geneviève Bastien Date: Mon, 24 Oct 2016 20:10:39 +0000 (-0400) Subject: timing: fix typos in segstore statistics test X-Git-Url: http://git.efficios.com/?p=deliverable%2Ftracecompass.git;a=commitdiff_plain;h=ea66bbfeddeab58c506d9ae4bd65c031d1136790 timing: fix typos in segstore statistics test And update some javadoc for tests Change-Id: I9e35865a37c4f2b62ec33b895ee2dc8ec8d0e2a1 Signed-off-by: Geneviève Bastien Reviewed-on: https://git.eclipse.org/r/83823 Reviewed-by: Hudson CI --- diff --git a/analysis/org.eclipse.tracecompass.analysis.timing.core.tests/src/org/eclipse/tracecompass/analysis/timing/core/tests/segmentstore/statistics/SegmentStoreStatisticsTest.java b/analysis/org.eclipse.tracecompass.analysis.timing.core.tests/src/org/eclipse/tracecompass/analysis/timing/core/tests/segmentstore/statistics/SegmentStoreStatisticsTest.java index 640b70ab17..3735830a9b 100644 --- a/analysis/org.eclipse.tracecompass.analysis.timing.core.tests/src/org/eclipse/tracecompass/analysis/timing/core/tests/segmentstore/statistics/SegmentStoreStatisticsTest.java +++ b/analysis/org.eclipse.tracecompass.analysis.timing.core.tests/src/org/eclipse/tracecompass/analysis/timing/core/tests/segmentstore/statistics/SegmentStoreStatisticsTest.java @@ -22,7 +22,7 @@ import org.eclipse.tracecompass.segmentstore.core.ISegment; import org.junit.Test; /** - * Test the staticsmodule. This is done with two tests. + * Test the segment store statistics calculations. This is done with two tests. *
    *
  1. test the values vs some sample points calculated by hand (sanity test) *
  2. @@ -30,7 +30,6 @@ import org.junit.Test; *
* * @author Matthew Khouzam - * */ public class SegmentStoreStatisticsTest { @@ -73,7 +72,7 @@ public class SegmentStoreStatisticsTest { } /** - * Test decrementing + * Test with segments of decrementing size */ @Test public void decrementingTest() { @@ -92,7 +91,7 @@ public class SegmentStoreStatisticsTest { } /** - * Test small + * Test a data set with a small number of segments */ @Test public void smallTest() { @@ -104,7 +103,7 @@ public class SegmentStoreStatisticsTest { } /** - * Test large + * Test a data set with a large number of segments */ @Test public void largeTest() { @@ -116,7 +115,7 @@ public class SegmentStoreStatisticsTest { } /** - * Test noise + * Test a random dataset where the distribution follows white noise */ @Test public void noiseTest() { @@ -132,7 +131,7 @@ public class SegmentStoreStatisticsTest { } /** - * Test gaussian noise + * Test a random dataset where the distribution follows gaussian noise */ @Test public void gaussianNoiseTest() { @@ -293,10 +292,10 @@ public class SegmentStoreStatisticsTest { } /** - * Test statistics nodes being merged. corner cases. + * Test corner cases when merging statistics nodes */ @Test - public void mergeStatisticsCorenerCaseNodesTest() { + public void mergeStatisticsCornerCaseNodesTest() { ISegment segment = new BasicSegment(1, 5); // Control statistics, not to be modified