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

« back to all changes in this revision

Viewing changes to lttng/org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/trace/CTFTraceTest.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:
105
105
    @Test
106
106
    public void testAddStream() throws ParseException, CTFReaderException {
107
107
        Stream stream = new Stream(TestParams.createTrace());
108
 
        stream.setId(1L);
 
108
        stream.setId(1234);
109
109
        fixture.addStream(stream);
110
110
    }
111
111
 
332
332
     */
333
333
    @Test
334
334
    public void testGetClock_3() {
335
 
        String name = ""; //$NON-NLS-1$
 
335
        String name = "invisibleClock"; //$NON-NLS-1$
336
336
        CTFClock result = fixture.getClock(name);
337
337
        assertNull(result);
338
338
    }
343
343
     */
344
344
    @Test
345
345
    public void testSetClock_1() {
346
 
        String name = ""; //$NON-NLS-1$
 
346
        String name = "clockyClock"; //$NON-NLS-1$
347
347
        fixture.addClock(name, new CTFClock());
348
348
        CTFClock result = fixture.getClock(name);
349
349
 
382
382
     */
383
383
    @Test
384
384
    public void testLookupEnvironment_2() {
385
 
        String key = "test"; //$NON-NLS-1$
 
385
        String key = "otherTest"; //$NON-NLS-1$
386
386
        String result = fixture.lookupEnvironment(key);
387
387
        assertNull(result);
388
388
    }