Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Khouzam2012-05-03 22:55:57 +0000
committerMatthew Khouzam2012-05-03 22:56:58 +0000
commit3dc0613f6e647e5f8c5312b01a74d65ed243acc7 (patch)
treeb385d6c91e59a70be01788e77537be6bf4f3cc8b /lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java
parentab1843f1f0e06dbfb81360c81592c4efa714884e (diff)
downloadorg.eclipse.linuxtools-3dc0613f6e647e5f8c5312b01a74d65ed243acc7.tar.gz
org.eclipse.linuxtools-3dc0613f6e647e5f8c5312b01a74d65ed243acc7.tar.xz
org.eclipse.linuxtools-3dc0613f6e647e5f8c5312b01a74d65ed243acc7.zip
Improve test cases. Coverage of 85%+ and fix bugs.
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Diffstat (limited to 'lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java')
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java
index 49b150139e..acb3a658c2 100644
--- a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java
+++ b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java
@@ -156,7 +156,8 @@ public final class CtfTmfEvent implements ITmfEvent {
this.typeId = -1;
this.fileName = NO_STREAM;
this.eventName = EMPTY_CTF_EVENT_NAME;
- this.fContent = null;
+ this.fContent = new CtfTmfContent("", new CtfTmfEventField[0]);
+
}
// ------------------------------------------------------------------------

Back to the top