tmf : fix the 'Not' condition in TmfXmlCondition
authorJean-Christian Kouame <jean-christian.kouame@ericsson.com>
Wed, 13 Jan 2016 22:47:09 +0000 (17:47 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 19 Jan 2016 21:10:19 +0000 (16:10 -0500)
commitf0fd2231c23406ecb90175619e451656d29fdde3
tree47011b140e95a86580b0149a41fe909adedc9660
parent192639cf6e6c027b30da3a3cf663d1d0ee028d77
tmf : fix the 'Not' condition in TmfXmlCondition

Now, a 'Not' condition "Not X" will create a subcondition using its
first children instead of itself; which was actually creating the
condition "X".
Also, this patch update TmfXmlConditionTest to validate the fix.

Change-Id: I5b14d345c652a8eb553728c56ba6933b87a56ddd
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/64309
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core.tests/src/org/eclipse/tracecompass/tmf/analysis/xml/core/tests/stateprovider/TmfXmlConditionTest.java
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core.tests/test_xml_files/test_valid/test_conditions.xml
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/tmf/analysis/xml/core/model/TmfXmlCondition.java
This page took 0.029829 seconds and 5 git commands to generate.