Commit 781a4947 authored by Cory Quammen's avatar Cory Quammen

Split Truchas reader test into two versions

One version is for when VisItBridge is enabled, one version is for
when VisItBridge is not enabled. VisItBridge adds several readers that
say they can read .h5 files like the Truchas reader, hence the test
needs to pick the Truchas reader from the reader selection dialog.
Without VisItBridge enabled, the Truchas reader will be used
automatically.
parent 6bbc5fb0
......@@ -127,7 +127,6 @@ SET(TESTS_WITH_BASELINES
${CMAKE_CURRENT_SOURCE_DIR}/MoleculeScalarBar.xml
${CMAKE_CURRENT_SOURCE_DIR}/TestHiddenLineRemoval.xml
${CMAKE_CURRENT_SOURCE_DIR}/TestOpacityRendering.xml
${CMAKE_CURRENT_SOURCE_DIR}/TruchasReader.xml
)
if(PARAVIEW_USE_VISITBRIDGE)
......@@ -141,7 +140,17 @@ if(PARAVIEW_USE_VISITBRIDGE)
${CMAKE_CURRENT_SOURCE_DIR}/VisItBridgePdb.xml
${CMAKE_CURRENT_SOURCE_DIR}/VisItBridgePFLOTRAN.xml
${CMAKE_CURRENT_SOURCE_DIR}/VisItBridgePixie.xml
${CMAKE_CURRENT_SOURCE_DIR}/VisItBridgeSamrai.xml)
${CMAKE_CURRENT_SOURCE_DIR}/VisItBridgeSamrai.xml
${CMAKE_CURRENT_SOURCE_DIR}/TruchasReaderWithVisItBridge.xml)
else()
# The TruchasReader test behavior changes depending on whether the
# VisItBridge is enabled. A number of VisIt readers support
# reading of .h5 files, so when the VisItBridge is enabled,
# the test must take extra steps to select the correct reader.
# When the VisItBridge is not enabled, there is no need to select
# a reader.
list(APPEND TESTS_WITH_BASELINES
${CMAKE_CURRENT_SOURCE_DIR}/TruchasReader.xml)
endif()
if(PARAVIEW_USE_OSPRAY)
......
......@@ -2,9 +2,6 @@
<pqevents>
<pqevent object="pqClientMainWindow/MainControlsToolbar/actionOpenData" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/FileOpenDialog" command="filesSelected" arguments="$PARAVIEW_DATA_ROOT/viscoplastic-ring.h5" />
<pqevent object="pqClientMainWindow/pqSelectReaderDialog/listWidget" command="setCurrent" arguments="7.0" />
<pqevent object="pqClientMainWindow/pqSelectReaderDialog/listWidget" command="setCheckState" arguments="7.0,0" />
<pqevent object="pqClientMainWindow/pqSelectReaderDialog/okButton" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/CentralWidgetFrame/Viewport" command="mousePress" arguments="(0.463333,0.696667,1,1,0)" />
<pqevent object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/CentralWidgetFrame/Viewport" command="mouseMove" arguments="(0.546667,0.59,1,0,0)" />
......
<?xml version="1.0" ?>
<pqevents>
<pqevent object="pqClientMainWindow/MainControlsToolbar/actionOpenData" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/FileOpenDialog" command="filesSelected" arguments="$PARAVIEW_DATA_ROOT/viscoplastic-ring.h5" />
<pqevent object="pqSelectReaderDialog/listWidget" command="currentChangedbyItemName" arguments="TRUCHAS dataset" />
<pqevent object="pqSelectReaderDialog/okButton" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
<pqevent object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/CentralWidgetFrame/Viewport" command="mousePress" arguments="(0.463333,0.696667,1,1,0)" />
<pqevent object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/CentralWidgetFrame/Viewport" command="mouseMove" arguments="(0.546667,0.59,1,0,0)" />
<pqevent object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/CentralWidgetFrame/Viewport" command="mouseRelease" arguments="(0.546667,0.59,1,0,0)" />
<pqevent object="pqClientMainWindow/variableToolbar/displayColor/Variables" command="activated" arguments="GAP_04" />
<pqevent object="pqClientMainWindow/variableToolbar/actionScalarBarVisibility" command="set_boolean" arguments="false" />
</pqevents>
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