diff gnv-artifacts/src/test/ressources/conf.xml @ 114:d8d38a4dd965

Added TestCase for HorizontalProfiles of InstataneousPoints and the required Configuration gnv-artifacts/trunk@164 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 30 Sep 2009 13:48:02 +0000
parents b8dbf39ca935
children 820238357bab
line wrap: on
line diff
--- a/gnv-artifacts/src/test/ressources/conf.xml	Wed Sep 30 13:42:51 2009 +0000
+++ b/gnv-artifacts/src/test/ressources/conf.xml	Wed Sep 30 13:48:02 2009 +0000
@@ -92,6 +92,12 @@
                              ttl="300000" artifact="de.intevation.gnv.profile.vertical.VerticalProfileInstantaneousPointArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
                     <parameters></parameters>
                 </product>
+                <product name= "horizontalProfile">
+                    <artifact-factory name="horizontalProfileInstantaneousPoint" description="Artiefactfactory for Instantiating the Artifact for the FIS Modeldata"  
+                             ttl="300000" artifact="de.intevation.gnv.profile.horizontal.HorizontalProfileInstantaneousPointArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
+                    <parameters></parameters>
+                </product>
+                
             </products>
         </artifact>
         
@@ -457,7 +463,7 @@
                          <inputvalue name="instantaneouspoint_point" type="Integer" multiselect="false" usedinquery="1"/>
                     </inputvalues>
                 </transition>
-                 <transition id="verticalprofile_instantaneouspoint_calculate_results" description="verticalprofile_mesh_calculate_results" transition="de.intevation.gnv.transition.profile.vertical.VerticalProfileOutputTransition">
+                <transition id="verticalprofile_instantaneouspoint_calculate_results" description="verticalprofile_mesh_calculate_results" transition="de.intevation.gnv.transition.profile.vertical.VerticalProfileOutputTransition">
                     <queryID>verticalprofile_instantaneouspoint_chart_data</queryID>
                     <inputvalues>
                         <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="0" />
@@ -477,7 +483,91 @@
                 </transition>
             </transitions>
            </artifact>
-         
+           
+           <artifact name="horizontalProfileInstantaneousPoint">
+            <transitions>
+                <transition id="horizontalprofile_instantaneouspoint_cruise" description="horizontalprofile_instantaneouspoint_cruise" transition="de.intevation.gnv.transition.DefaultTransition">
+                    <queryID>horizontalprofile_instantaneouspoint_cruise</queryID>
+                    <dataname>cruiseid</dataname>
+                    <data-multiselect>false</data-multiselect>
+                    <reachableTransitions>
+                           <transition>horizontalprofile_instantaneouspoint_track</transition>
+                    </reachableTransitions>
+                    <inputvalues>
+                    </inputvalues>
+                </transition>
+                <transition id="horizontalprofile_instantaneouspoint_track" description="horizontalprofile_instantaneouspoint_track" transition="de.intevation.gnv.transition.DefaultTransition">
+                    <queryID>horizontalprofile_instantaneouspoint_track</queryID>
+                    <dataname>trackid</dataname>
+                    <data-multiselect>false</data-multiselect>
+                    <reachableTransitions>
+                           <transition>horizontalprofile_instantaneouspoint_surveyinfo</transition>
+                    </reachableTransitions>
+                    <inputvalues>
+                        <inputvalue name="cruiseid" type="Integer" multiselect="false" usedinquery="1" />
+                    </inputvalues>
+                </transition>
+                <transition id="horizontalprofile_instantaneouspoint_surveyinfo" description="horizontalprofile_instantaneouspoint_surveyinfo" transition="de.intevation.gnv.transition.DefaultTransition">
+                    <queryID>horizontalprofile_instantaneouspoint_surveyinfo</queryID>
+                    <dataname>surveyid</dataname>
+                    <data-multiselect>false</data-multiselect>
+                    <reachableTransitions>
+                           <transition>horizontalprofile_instantaneouspoint_parameter</transition>
+                    </reachableTransitions>
+                    <inputvalues>
+                        <inputvalue name="cruiseid" type="Integer" multiselect="false" usedinquery="0" />
+                        <inputvalue name="trackid" type="Integer" multiselect="false" usedinquery="1" />
+                    </inputvalues>
+                </transition>
+                <transition id="horizontalprofile_instantaneouspoint_parameter" description="horizontalprofile_instantaneouspoint_parameter" transition="de.intevation.gnv.transition.DefaultTransition">
+                    <queryID>horizontalprofile_instantaneouspoint_parameter</queryID>
+                    <dataname>parameterid</dataname>
+                    <data-multiselect>true</data-multiselect>
+                    <reachableTransitions>
+                           <transition>horizontalprofile_instantaneouspoint_depth</transition>
+                    </reachableTransitions>
+                    <inputvalues>
+                        <inputvalue name="cruiseid" type="Integer" multiselect="false" usedinquery="0" />
+                        <inputvalue name="trackid" type="Integer" multiselect="false" usedinquery="0" />
+                        <inputvalue name="surveyid" type="Integer" multiselect="false" usedinquery="1" />
+                    </inputvalues>
+                </transition>
+                <transition id="horizontalprofile_instantaneouspoint_depth" description="horizontalprofile_instantaneouspoint_depth" transition="de.intevation.gnv.transition.DefaultTransition">
+                    <queryID>horizontalprofile_instantaneouspoint_depth</queryID>
+                    <dataname>measurementid</dataname>
+                    <data-multiselect>true</data-multiselect>
+                    <reachableTransitions>
+                           <transition>horizontalprofile_instantaneouspoint_calculate_results</transition>
+                    </reachableTransitions>
+                    <inputvalues>
+                        <inputvalue name="cruiseid" type="Integer" multiselect="false" usedinquery="0" />
+                        <inputvalue name="trackid" type="Integer" multiselect="false" usedinquery="0" />
+                        <inputvalue name="surveyid" type="Integer" multiselect="false" usedinquery="1" />
+                        <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="0" />
+                    </inputvalues>
+                </transition>
+                <transition id="horizontalprofile_instantaneouspoint_calculate_results" description="horizontalprofile_instantaneouspoint_calculate_results" transition="de.intevation.gnv.transition.profile.horizontal.HorizontalProfileOutputTransition">
+                    <queryID>horizontalprofile_instantaneouspoint_chart_data</queryID>
+                    <inputvalues>
+                        <inputvalue name="cruiseid" type="Integer" multiselect="false" usedinquery="0" />
+                        <inputvalue name="trackid" type="Integer" multiselect="false" usedinquery="0" />
+                        <inputvalue name="surveyid" type="Integer" multiselect="false" usedinquery="1" />
+                        <inputvalue name="measurementid" type="Double" multiselect="true" usedinquery="1" />
+                        <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="1" />
+                    </inputvalues>
+                    <outputsModes>
+                        <outputsMode name="chart" description="Chartrepresentation of the Values" mime-type="image/png">
+                            <parameters>
+                                <inputvalue name="width" type="Integer" value="600"/>
+                                <inputvalue name="height" type="Integer" value="400"/>
+                            </parameters>
+                        </outputsMode>
+                        <outputsMode name="csv" description="CSV-Export der Daten" mime-type="test/plain"/>
+                        <outputsMode name="statistics" description="Statistik zu den Daten" mime-type="text/xml"/>
+                    </outputsModes>
+                </transition>
+            </transitions>
+           </artifact>
     </artifacts>
     <ehcache>
         <configuration>src/test/ressources/ehcache.xml</configuration>

http://dive4elements.wald.intevation.org