Commit dda0d239 authored by Cory Quammen's avatar Cory Quammen
Browse files

ResampleWithDataset: Update tests for input properties name change

parent ea92d317
......@@ -18,7 +18,7 @@
<pqevent object="pqClientMainWindow/pipelineBrowserDock/pipelineBrowser" command="mousePress" arguments="1,1,0,95,12,/0:0/0:0" />
<pqevent object="pqClientMainWindow/pipelineBrowserDock/pipelineBrowser" command="mouseRelease" arguments="1,0,0,95,12,/0:0/0:0" />
<pqevent object="pqClientMainWindow/menubar/menuFilters/Alphabetical" command="activate" arguments="ResampleWithDataset" />
<pqevent object="pqClientMainWindow/SelectInputDialog/buttonFrame/Source" command="set_boolean" arguments="true" />
<pqevent object="pqClientMainWindow/SelectInputDialog/buttonFrame/DestinationMesh" command="set_boolean" arguments="true" />
<pqevent object="pqClientMainWindow/SelectInputDialog/pipelineView" command="mousePress" arguments="1,1,0,36,6,/0:0/0:0/0:0" />
<pqevent object="pqClientMainWindow/SelectInputDialog/pipelineView" command="mouseRelease" arguments="1,0,0,36,6,/0:0/0:0/0:0" />
<pqevent object="pqClientMainWindow/SelectInputDialog/buttonBox/1QPushButton0" command="activate" arguments="" />
......
......@@ -29,7 +29,7 @@
<pqevent object="pqClientMainWindow/menubar/menuFilters/Alphabetical" command="activate" arguments="ResampleWithDataset" />
<pqevent object="pqClientMainWindow/SelectInputDialog/pipelineView" command="mousePress" arguments="1,1,0,86,13,/0:0/1:0" />
<pqevent object="pqClientMainWindow/SelectInputDialog/pipelineView" command="mouseRelease" arguments="1,0,0,86,13,/0:0/1:0" />
<pqevent object="pqClientMainWindow/SelectInputDialog/buttonFrame/Source" command="set_boolean" arguments="true" />
<pqevent object="pqClientMainWindow/SelectInputDialog/buttonFrame/DestinationMesh" command="set_boolean" arguments="true" />
<pqevent object="pqClientMainWindow/SelectInputDialog/pipelineView" command="mousePress" arguments="1,1,0,54,11,/0:0/0:0" />
<pqevent object="pqClientMainWindow/SelectInputDialog/pipelineView" command="mouseRelease" arguments="1,0,0,54,11,/0:0/0:0" />
<pqevent object="pqClientMainWindow/SelectInputDialog/buttonBox/1QPushButton0" command="activate" arguments="" />
......
......@@ -5,7 +5,7 @@ sourceDs = Wavelet()
inputDs = Sphere()
# Test 'Resample With Dataset` proxies
p1 = ResampleWithDataset(Input=inputDs, Source=sourceDs)
p1 = ResampleWithDataset(SourceDataArrays=inputDs, DestinationMesh=sourceDs)
print("Proxy Name before: %s" % p1.GetXMLName())
assert p1.GetXMLName() == "ResampleWithDataset", "The default proxy name must be ResampleWithDataset"
......
......@@ -2990,7 +2990,7 @@ def demo3():
# with a line
line = sources.LineSource(Resolution=60)
else:
probe = filters.ResampleWithDataset(Input=source)
probe = filters.ResampleWithDataset(SourceDataArrays=source)
# with a line
line = sources.Line(Resolution=60)
# that spans the dataset
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment