summaryrefslogtreecommitdiff
path: root/DAnCE/tests/Parsing/InvalidDatatypeValue.cdp
blob: 9bfe45acebd8d3e6329a855dd9c9c08b76fe2b7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!--  -->
<Deployment:DeploymentPlan
   xmlns:Deployment="http://www.omg.org/Deployment"
   xmlns:xmi="http://www.omg.org/XMI"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
  <label>ParseError_TestDepl_1</label>
  <UUID>ParseError_TestDepl_1</UUID>

  <implementation xmi:id="ComponentImplementation">
    <name>ComponentImplementation</name>
    <source/>
    <artifact xmi:idref="Component_ExecArtifact" />
    <artifact xmi:idref="Component_SvntArtifact" />
    <execParameter>
      <!-- entrypoint as exec parameter (see 10.6.1) -->
      <name>component factory</name>
      <value>
        <type>
          <kind>tk_wrong</kind>
        </type>
        <value>
          <string>create_ParseErrorTest_Component_Impl</string>
        </value>
      </value>
    </execParameter>
    <execParameter>
      <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>create_ParseError_Test_ParseErrorTestComponent_Servant</string>
        </value>
      </value>
    </execParameter>
    <execParameter>
      <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>Component_svnt</string>
        </value>
      </value>
    </execParameter>
    <execParameter>
      <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>Component_exec</string>
        </value>
      </value>
    </execParameter>
  </implementation>

  <instance xmi:id="ComponentInstance1">
    <name>Component1</name>
    <node>ComponentNode</node>
    <source/>
    <implementation xmi:idref="ComponentImplementation" />
    <configProperty>
      <name>test</name>
      <value>
        <type>
          <kind>tk_ulong</kind>
        </type>
        <value>
          <ulong>5</ulong>
        </value>
      </value>
    </configProperty>
  </instance>

  <instance xmi:id="ComponentInstance2">
    <name>Component2</name>
    <node>ComponentNode</node>
    <source/>
    <implementation xmi:idref="ComponentImplementation" />
    <configProperty>
      <name>test</name>
      <value>
        <type>
          <kind>tk_ulong</kind>
        </type>
        <value>
          <ulong>5</ulong>
        </value>
      </value>
    </configProperty>
  </instance>

  <connection>
    <name>comp_connection</name>
    <deployRequirement>
      <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
      <resourceType>Local_Interface</resourceType>
    </deployRequirement>
    <internalEndpoint>
      <portName>do_to</portName>
      <provider>false</provider>
      <kind>SimplexReceptacle</kind>
      <instance xmi:idref="ComponentInstance1" />
    </internalEndpoint>
    <internalEndpoint>
      <portName>to_do</portName>
      <provider>true</provider>
      <kind>Facet</kind>
      <instance xmi:idref="ComponentInstance2" />
    </internalEndpoint>
  </connection>

  <artifact xmi:id="Component_ExecArtifact">
    <name>Component_exec</name>
    <source/>
    <node/>
    <location>Component_exec</location>
  </artifact>
  <artifact xmi:id="Component_SvntArtifact">
    <name>Component_svnt</name>
    <source/>
    <node/>
    <location>Component_svnt</location>
  </artifact>
  <artifact xmi:id="Component_StubArtifact">
    <name>Component_stub</name>
    <source/>
    <node/>
    <location>Component_stub</location>
  </artifact>
</Deployment:DeploymentPlan>