2326f6ce23cf37a10ff1e07229b272d26c5aba1e
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!-- ***************************************************************************
3 * Copyright (c) 2016 École Polytechnique de Montréal
5 * All rights reserved. This program and the accompanying materials are
6 * made available under the terms of the Eclipse Public License v1.0 which
7 * accompanies this distribution, and is available at
8 * http://www.eclipse.org/legal/epl-v10.html
11 * Geneviève Bastien - Initial API and implementation
12 *************************************************************************** -->
13 <tmfxml xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
14 xsi:
noNamespaceSchemaLocation=
"xmlDefinition.xsd">
16 <stateProvider id=
"test.xml.attributes" version=
"1">
18 <!-- Test to see that state values are updated or modified depending on the requested state change -->
19 <eventHandler eventName=
"entry">
21 <stateAttribute type=
"constant" value=
"update" />
22 <stateAttribute type=
"eventField" value=
"cpu" />
23 <stateValue type=
"string" value=
"UNKNOWN" />
26 <stateAttribute type=
"constant" value=
"modify" />
27 <stateAttribute type=
"eventField" value=
"cpu" />
28 <stateValue type=
"string" value=
"UNKNOWN" />
31 <eventHandler eventName=
"exit">
33 <stateAttribute type=
"constant" value=
"update" />
34 <stateAttribute type=
"eventField" value=
"cpu" />
35 <stateValue type=
"eventField" value=
"curState" update=
"true" />
38 <stateAttribute type=
"constant" value=
"update" />
39 <stateAttribute type=
"eventField" value=
"cpu" />
40 <stateValue type=
"null" />
43 <stateAttribute type=
"constant" value=
"modify" />
44 <stateAttribute type=
"eventField" value=
"cpu" />
45 <stateValue type=
"eventField" value=
"curState" />
This page took 0.043396 seconds and 4 git commands to generate.