~ubuntu-branches/ubuntu/trusty/eclipse-linuxtools/trusty

« back to all changes in this revision

Viewing changes to lttng/org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/trace/TmfExperimentCheckpointIndexTest.java

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2013-05-13 21:43:22 UTC
  • mfrom: (1.2.1) (2.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130513214322-6frgd9du1n0w2uo7
Tags: 1.2.1-1
* Team upload.
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
/**
42
42
 * Test suite for the TmfCheckpointIndexTest class.
43
43
 */
44
 
@SuppressWarnings({ "nls" })
 
44
@SuppressWarnings({"nls","javadoc"})
45
45
public class TmfExperimentCheckpointIndexTest extends TestCase {
46
46
 
47
47
    // ------------------------------------------------------------------------
62
62
    // Housekeeping
63
63
    // ------------------------------------------------------------------------
64
64
 
65
 
    public TmfExperimentCheckpointIndexTest(final String name) throws Exception {
 
65
    /**
 
66
     * @param name the test name
 
67
     */
 
68
    public TmfExperimentCheckpointIndexTest(final String name) {
66
69
        super(name);
67
70
    }
68
71
 
112
115
    // Verify checkpoints
113
116
    // ------------------------------------------------------------------------
114
117
 
115
 
    public void testTmfTraceIndexing() throws Exception {
 
118
    @SuppressWarnings("null")
 
119
    public void testTmfTraceIndexing() {
116
120
        assertEquals("getCacheSize",   BLOCK_SIZE, fExperiment.getCacheSize());
117
121
        assertEquals("getTraceSize",   NB_EVENTS,  fExperiment.getNbEvents());
118
122
        assertEquals("getRange-start", 1,          fExperiment.getTimeRange().getStartTime().getValue());
146
150
    // Streaming
147
151
    // ------------------------------------------------------------------------
148
152
 
149
 
    public void testGrowingIndex() throws Exception {
 
153
    @SuppressWarnings("null")
 
154
    public void testGrowingIndex() {
150
155
 
151
156
        ITmfTrace<TmfEvent>[] testTraces = new TmfTraceStub[2];
152
157
        try {