timing: fix typos in segstore statistics test
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Mon, 24 Oct 2016 20:10:39 +0000 (16:10 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Wed, 26 Oct 2016 19:40:57 +0000 (15:40 -0400)
And update some javadoc for tests

Change-Id: I9e35865a37c4f2b62ec33b895ee2dc8ec8d0e2a1
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/83823
Reviewed-by: Hudson CI
analysis/org.eclipse.tracecompass.analysis.timing.core.tests/src/org/eclipse/tracecompass/analysis/timing/core/tests/segmentstore/statistics/SegmentStoreStatisticsTest.java

index 640b70ab179747af6fc01bf79372ec6b82d65e95..3735830a9b2f8a8db918f1a9339cb4f930a072f9 100644 (file)
@@ -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.
  * <ol>
  * <li>test the values vs some sample points calculated by hand (sanity test)
  * </li>
@@ -30,7 +30,6 @@ import org.junit.Test;
  * </ol>
  *
  * @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
This page took 0.026542 seconds and 5 git commands to generate.