1 package org
.eclipse
.linuxtools
.tmf
.core
.tests
.ctfadaptor
;
3 import org
.eclipse
.linuxtools
.tmf
.core
.ctfadaptor
.CtfTmfContent
;
4 import org
.eclipse
.linuxtools
.tmf
.core
.event
.ITmfEventField
;
6 import static org
.junit
.Assert
.*;
9 * The class <code>CtfTmfContentTest</code> contains tests for the class <code>{@link CtfTmfContent}</code>.
11 * @generatedBy CodePro at 03/05/12 2:29 PM
13 * @version $Revision: 1.0 $
15 public class CtfTmfContentTest
{
17 * Run the CtfTmfContent(String,ITmfEventField[]) constructor test.
21 * @generatedBy CodePro at 03/05/12 2:29 PM
24 public void testCtfTmfContent_1()
27 ITmfEventField
[] fields
= new ITmfEventField
[] {};
29 CtfTmfContent result
= new CtfTmfContent(name
, fields
);
31 // add additional test code here
32 assertNotNull(result
);
33 assertEquals("", result
.toString());
34 assertEquals("", result
.getName());
35 assertEquals(null, result
.getValue());
39 * Run the String toString() method test.
43 * @generatedBy CodePro at 03/05/12 2:29 PM
46 public void testToString_1()
48 CtfTmfContent fixture
= new CtfTmfContent("", new ITmfEventField
[] {});
50 String result
= fixture
.toString();
52 // add additional test code here
53 assertEquals("", result
);
57 * Run the String toString() method test.
61 * @generatedBy CodePro at 03/05/12 2:29 PM
64 public void testToString_2()
66 CtfTmfContent fixture
= new CtfTmfContent("", new ITmfEventField
[] {});
68 String result
= fixture
.toString();
70 // add additional test code here
71 assertEquals("", result
);
75 * Perform pre-test initialization.
78 * if the initialization fails for some reason
80 * @generatedBy CodePro at 03/05/12 2:29 PM
85 // add additional set up code here
89 * Perform post-test clean-up.
92 * if the clean-up fails for some reason
94 * @generatedBy CodePro at 03/05/12 2:29 PM
97 public void tearDown()
99 // Add additional tear down code here
105 * @param args the command line arguments
107 * @generatedBy CodePro at 03/05/12 2:29 PM
109 public static void main(String
[] args
) {
110 new org
.junit
.runner
.JUnitCore().run(CtfTmfContentTest
.class);
This page took 0.037955 seconds and 5 git commands to generate.