Introduce TmfLegacyExperiment
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / ctfadaptor / CtfTmfContentTest.java
1 package org.eclipse.linuxtools.tmf.core.tests.ctfadaptor;
2
3 import org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfContent;
4 import org.eclipse.linuxtools.tmf.core.event.ITmfEventField;
5 import org.junit.*;
6 import static org.junit.Assert.*;
7
8 /**
9 * The class <code>CtfTmfContentTest</code> contains tests for the class <code>{@link CtfTmfContent}</code>.
10 *
11 * @generatedBy CodePro at 03/05/12 2:29 PM
12 * @author ematkho
13 * @version $Revision: 1.0 $
14 */
15 public class CtfTmfContentTest {
16 /**
17 * Run the CtfTmfContent(String,ITmfEventField[]) constructor test.
18 *
19 * @throws Exception
20 *
21 * @generatedBy CodePro at 03/05/12 2:29 PM
22 */
23 @Test
24 public void testCtfTmfContent_1()
25 throws Exception {
26 String name = "";
27 ITmfEventField[] fields = new ITmfEventField[] {};
28
29 CtfTmfContent result = new CtfTmfContent(name, fields);
30
31 // add additional test code here
32 assertNotNull(result);
33 assertEquals("", result.toString());
34 assertEquals("", result.getName());
35 assertEquals(null, result.getValue());
36 }
37
38 /**
39 * Run the String toString() method test.
40 *
41 * @throws Exception
42 *
43 * @generatedBy CodePro at 03/05/12 2:29 PM
44 */
45 @Test
46 public void testToString_1()
47 throws Exception {
48 CtfTmfContent fixture = new CtfTmfContent("", new ITmfEventField[] {});
49
50 String result = fixture.toString();
51
52 // add additional test code here
53 assertEquals("", result);
54 }
55
56 /**
57 * Run the String toString() method test.
58 *
59 * @throws Exception
60 *
61 * @generatedBy CodePro at 03/05/12 2:29 PM
62 */
63 @Test
64 public void testToString_2()
65 throws Exception {
66 CtfTmfContent fixture = new CtfTmfContent("", new ITmfEventField[] {});
67
68 String result = fixture.toString();
69
70 // add additional test code here
71 assertEquals("", result);
72 }
73
74 /**
75 * Perform pre-test initialization.
76 *
77 * @throws Exception
78 * if the initialization fails for some reason
79 *
80 * @generatedBy CodePro at 03/05/12 2:29 PM
81 */
82 @Before
83 public void setUp()
84 throws Exception {
85 // add additional set up code here
86 }
87
88 /**
89 * Perform post-test clean-up.
90 *
91 * @throws Exception
92 * if the clean-up fails for some reason
93 *
94 * @generatedBy CodePro at 03/05/12 2:29 PM
95 */
96 @After
97 public void tearDown()
98 throws Exception {
99 // Add additional tear down code here
100 }
101
102 /**
103 * Launch the test.
104 *
105 * @param args the command line arguments
106 *
107 * @generatedBy CodePro at 03/05/12 2:29 PM
108 */
109 public static void main(String[] args) {
110 new org.junit.runner.JUnitCore().run(CtfTmfContentTest.class);
111 }
112 }
This page took 0.037955 seconds and 5 git commands to generate.