...
 
Commits (10)
# All user scenarios
scenario/
!scenario/rtest.xsd
# All user workspaces
workspaces/
# Logs
log/
# Results
result/
# Reports
report/
# All log, recover files from checkerXML
checkerXML.*
!checkerXML.fmw
# All log, recover files from scenarioPlayer
scenarioPlayer.*
!scenarioPlayer.fmw
......@@ -11,12 +11,12 @@
<rtestCollection>
<rtest>
<enabled>true</enabled>
<deletebefore>&workspaceDir;\workspaces\result\country.sqlite</deletebefore>
<deletebefore>&workspaceDir;\workspaces\HelloWorld\result\country.sqlite</deletebefore>
<name>Extract country by XY</name>
<processCollection>
<process>
<description>XY in an aggregate</description>
<workspace>&workspaceDir;\workspaces\HelloWorld.fmw</workspace>
<workspace>&workspaceDir;\workspaces\HelloWorld\HelloWorld.fmw</workspace>
<parameterCollection>
<parameter name="xy" value="-123.0 49.1"/>
</parameterCollection>
......@@ -25,17 +25,17 @@
<checkCollection>
<check>
<description>Number of features</description>
<source type="file" format="SPATIALITE" dataset="&workspaceDir;\workspaces\result\country.sqlite"/>
<source type="file" format="SPATIALITE" dataset="&workspaceDir;\workspaces\HelloWorld\result\country.sqlite" ft="country"/>
<condition type="featuresCount" expected="1"/>
</check>
</check>
<check>
<description>Numb. of ft. by type + geometry</description>
<source type="file" format="SPATIALITE" dataset="&workspaceDir;\workspaces\result\country.sqlite"/>
<source type="file" format="SPATIALITE" dataset="&workspaceDir;\workspaces\HelloWorld\result\country.sqlite" ft="country"/>
<condition type="featuresCountByFtAndGeometry" expected="country.fme_aggregate:1"/>
</check>
<check>
<description>Country name</description>
<source type="file" format="SPATIALITE" dataset="&workspaceDir;\workspaces\result\country.sqlite"/>
<source type="file" format="SPATIALITE" dataset="&workspaceDir;\workspaces\HelloWorld\result\country.sqlite" ft="country"/>
<condition type="attributeValue" attribute="name" row="1" expected="Canada"/>
</check>
</checkCollection>
......
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE scenario [
<!ENTITY workspaceDir ".">
<!ENTITY fmePath "fme.exe">
]>
<scenario xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="rtest.xsd">
<name>Hello World !</name>
<author>Olivier</author>
<description>Scenario for 2017 International User Conference Vancouver</description>
<fme_path>&fmePath;</fme_path>
<rtestCollection>
<rtest>
<enabled>true</enabled>
<deletebefore>&workspaceDir;\workspaces\result\country.sqlite</deletebefore>
<name>Extract country by XY</name>
<processCollection>
<process>
<description>XY in an aggregate</description>
<workspace>&workspaceDir;\workspaces\HelloWorld.fmw</workspace>
<parameterCollection>
<parameter name="xy" value="-123.0 49.1"/>
</parameterCollection>
</process>
</processCollection>
<checkCollection>
<check>
<description>Number of features</description>
<source type="file" format="SPATIALITE" dataset="&workspaceDir;\workspaces\result\country.sqlite" ft="country"/>
<condition type="featuresCount" expected="1"/>
</check>
<check>
<description>Numb. of ft. by type + geometry</description>
<source type="file" format="SPATIALITE" dataset="&workspaceDir;\workspaces\result\country.sqlite" ft="country"/>
<condition type="featuresCountByFtAndGeometry" expected="country.fme_aggregate:1"/>
</check>
<check>
<description>Country name</description>
<source type="file" format="SPATIALITE" dataset="&workspaceDir;\workspaces\result\country.sqlite" ft="country"/>
<condition type="attributeValue" attribute="name" row="1" expected="Canada"/>
</check>
</checkCollection>
</rtest>
</rtestCollection>
</scenario>