tmf.xml: Add support for peek() stack operation
authorJean-Christian Kouame <jean-christian.kouame@ericsson.com>
Wed, 13 Jul 2016 17:38:49 +0000 (13:38 -0400)
committerJean-Christian Kouame <jean-christian.kouame@ericsson.com>
Wed, 24 Aug 2016 02:57:50 +0000 (22:57 -0400)
commitd64a8ad15c83d3c7df42cb0efea6d5b0679bbb0f
tree436be2358c4f647524a65d082a28677a95b41952
parentcf5a64e1700ac1dab47a19bdf067e06715244955
tmf.xml: Add support for peek() stack operation

This implements the peek operation for a stack of state value. On a
condition, the peek operation read the value at the top without
removing. On a state change, the peek operation will do nothing. A test
for a stack state value is provided.

Change-Id: I2192ee41171a7c6eabce2941466edbc168c1fa82
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/77274
Reviewed-by: Hudson CI
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core.tests/src/org/eclipse/tracecompass/tmf/analysis/xml/core/tests/model/TmfStateValueTest.java
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core.tests/src/org/eclipse/tracecompass/tmf/analysis/xml/core/tests/module/XmlUtilsTest.java
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core.tests/test_xml_files/test_valid/test_state_values.xml
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/model/readwrite/TmfXmlReadWriteStateValue.java
This page took 0.027791 seconds and 5 git commands to generate.