1 package org
.eclipse
.linuxtools
.tmf
.core
.tests
.ctfadaptor
;
3 import org
.eclipse
.linuxtools
.tmf
.core
.ctfadaptor
.CtfTmfEventType
;
4 import org
.eclipse
.linuxtools
.tmf
.core
.event
.ITmfEventField
;
5 import org
.eclipse
.linuxtools
.tmf
.core
.event
.TmfEventField
;
7 import static org
.junit
.Assert
.*;
10 * The class <code>CtfTmfEventTypeTest</code> contains tests for the class <code>{@link CtfTmfEventType}</code>.
12 * @generatedBy CodePro at 03/05/12 2:29 PM
14 * @version $Revision: 1.0 $
16 public class CtfTmfEventTypeTest
{
18 * Run the CtfTmfEventType(String,String,ITmfEventField) constructor test.
22 * @generatedBy CodePro at 03/05/12 2:29 PM
25 public void testCtfTmfEventType_1()
27 String contextId
= "";
28 String eventName
= "";
29 ITmfEventField content
= new TmfEventField("", new ITmfEventField
[] {});
31 CtfTmfEventType result
= new CtfTmfEventType(contextId
, eventName
, content
);
33 // add additional test code here
34 assertNotNull(result
);
35 assertEquals("", result
.toString());
36 assertEquals("", result
.getName());
37 assertEquals("", result
.getContext());
41 * Run the String toString() method test.
45 * @generatedBy CodePro at 03/05/12 2:29 PM
48 public void testToString_1()
50 CtfTmfEventType fixture
= new CtfTmfEventType("", "", new TmfEventField("", new ITmfEventField
[] {}));
52 String result
= fixture
.toString();
54 // add additional test code here
55 assertEquals("", result
);
59 * Perform pre-test initialization.
62 * if the initialization fails for some reason
64 * @generatedBy CodePro at 03/05/12 2:29 PM
69 // add additional set up code here
73 * Perform post-test clean-up.
76 * if the clean-up fails for some reason
78 * @generatedBy CodePro at 03/05/12 2:29 PM
81 public void tearDown()
83 // Add additional tear down code here
89 * @param args the command line arguments
91 * @generatedBy CodePro at 03/05/12 2:29 PM
93 public static void main(String
[] args
) {
94 new org
.junit
.runner
.JUnitCore().run(CtfTmfEventTypeTest
.class);
This page took 0.031826 seconds and 5 git commands to generate.