Skip to content

Changes

Summary

  1. ctf.core.tests: Add JUnit tests for CTF2 Traces (details)
  2. ctf.core: Parse data stream of a trace (details)
Commit fb3a16ac47477bcbd46008cacd28ee9408d73c33 by Marco Miller
ctf.core.tests: Add JUnit tests for CTF2 Traces

Add unit tests for CTF2 prevalidation, node generation, and blob
definition/declaration. Should still add stream input tests and blob
declaration parses tests, but those can only be completed once CTF2
traces are added to the test-traces repo and those tests require clock
functionality which is yet to be added.

Change-Id: I69298f213fca72db443b2d7ed65818466261f54f
Signed-off-by: Sehr Moosabhoy <sehr.moosabhoy@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/203496
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-by: Marco Miller <marco.miller@ericsson.com>
The file was addedctf/org.eclipse.tracecompass.ctf.core.tests/src/org/eclipse/tracecompass/ctf/core/tests/types/BlobDefinitionTest.java
The file was modified ctf/org.eclipse.tracecompass.ctf.core.tests/src/org/eclipse/tracecompass/ctf/core/tests/trace/MetadataPrevalidationTest.java (diff)
The file was addedctf/org.eclipse.tracecompass.ctf.core.tests/src/org/eclipse/tracecompass/ctf/core/tests/types/BlobDeclarationTest.java
Commit eae996dc97d58f8b4ae3e31bc5a44c7f64bc0c44 by Marco Miller
ctf.core: Parse data stream of a trace

Implement parsing of data streams for CTF2 Traces. Testing of this patch
is postponed until after the follow-up patch [1].

[1]https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/203295

Change-Id: I6ce9273e46b1e970a77354346fb5814b061d2c81
Signed-off-by: Sehr Moosabhoy <sehr.moosabhoy@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/203294
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-by: Marco Miller <marco.miller@ericsson.com>
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/trace/CTFStreamInput.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/metadata/JsonDataStreamMetadataNode.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/metadata/tsdl/stream/StreamDeclarationParser.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/trace/Metadata.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/metadata/IOStructGen.java (diff)
The file was modified ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/metadata/tsdl/stream/StreamParser.java (diff)