xml: bug 497959 add the possibility to update the current state
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Fri, 22 Jul 2016 19:52:24 +0000 (15:52 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Thu, 18 Aug 2016 17:27:17 +0000 (13:27 -0400)
commit8ab1a9651c237d2dc9ae30b629c00aeb5b321855
tree0300aa0f81965594c6471ebdc368dbe2cce87626
parent4bee337dff2bb5529c323bb0d45cbc2daff3fdbc
xml: bug 497959 add the possibility to update the current state

This adds an 'update' attribute to state values, such that it uses the
updateOngoingState method of the state system to change the value of the
current state instead of modifying it.

Change-Id: I44b80c1801b9dbbb4f858ba7e3c05434d84f9003
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/77797
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core.tests/common/org/eclipse/tracecompass/tmf/analysis/xml/core/tests/common/TmfXmlTestFiles.java
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core.tests/src/org/eclipse/tracecompass/tmf/analysis/xml/core/tests/model/TmfStateValueTest.java [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core.tests/test_traces/testTrace4.xml [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core.tests/test_xml_files/test_valid/test_state_values.xml [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/model/TmfXmlStateValue.java
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/model/readwrite/TmfXmlReadWriteStateValue.java
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/module/xmlStateProvider.xsd
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/stateprovider/TmfXmlStrings.java
This page took 0.029784 seconds and 5 git commands to generate.