Beispiel #1
0
checkpoint skeleton selection page groups sensitized
checkpoint OOF.PixelGroup.New

# create a voxels selection group with a generated name
findWidget('OOF3D:Microstructure Page:Pane:VoxelGroups:New').clicked()
checkpoint toplevel widget mapped Dialog-Create new voxel group
findWidget('Dialog-Create new voxel group').resize(246, 67)
findWidget('Dialog-Create new voxel group:name:Auto').clicked()
findWidget('Dialog-Create new voxel group:gtk-ok').clicked()
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint skeleton selection page groups sensitized
checkpoint OOF.PixelGroup.New

assert tests.meshableButtonState() == 1

# create another voxels selection group with a generated name
findWidget('OOF3D:Microstructure Page:Pane:VoxelGroups:New').clicked()
checkpoint toplevel widget mapped Dialog-Create new voxel group
findWidget('Dialog-Create new voxel group').resize(246, 67)
findWidget('Dialog-Create new voxel group:gtk-ok').clicked()
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint skeleton selection page groups sensitized
checkpoint OOF.PixelGroup.New
findWidget('OOF3D:Microstructure Page:Pane:VoxelGroups:GroupListScroll').get_hadjustment().set_value( 2.3000000000000e+01)
findWidget('OOF3D:Microstructure Page:Pane:VoxelGroups:GroupListScroll').get_hadjustment().set_value( 0.0000000000000e+00)
findWidget('OOF3D:Microstructure Page:Pane:VoxelGroups:Meshable').clicked()
checkpoint meshable button set
Beispiel #2
0
findWidget('Dialog-Create new pixel group').resize(249, 72)
findWidget('Dialog-Create new pixel group:gtk-ok').clicked()
findWidget('OOF2:Microstructure Page:Pane:PixelGroups:GroupListScroll').get_vadjustment().set_value( 2.3000000000000e+01)
findWidget('OOF2:Microstructure Page:Pane:PixelGroups:GroupListScroll').get_vadjustment().set_value( 0.0000000000000e+00)
checkpoint meshable button set
checkpoint meshable button set
checkpoint microstructure page sensitized
checkpoint OOF.PixelGroup.New
findWidget('OOF2:Microstructure Page:Pane:PixelGroups:Meshable').clicked()
findWidget('OOF2 Messages 1').resize(547, 200)
checkpoint meshable button set
checkpoint_count("meshable button set") # unthreaded fails here
checkpoint microstructure page sensitized
checkpoint OOF.PixelGroup.Meshable
checkpoint_count("meshable button set") # threaded fails here
assert tests.meshableButtonState() == 0
findWidget('OOF2:Microstructure Page:Pane:PixelGroups:GroupListScroll:GroupList').get_selection().select_path((2,))
checkpoint meshable button set
checkpoint_count("meshable button set")
assert tests.treeViewColValues('OOF2:Microstructure Page:Pane:PixelGroups:GroupListScroll:GroupList',0) == ['a (0 pixels, meshable)', 'b (0 pixels, meshable)', 'pixelgroup (0 pixels, meshable)', 'pixelgroup<2> (0 pixels)']
assert tests.meshableButtonState() == 1
findWidget('OOF2:Microstructure Page:Pane:PixelGroups:GroupListScroll:GroupList').get_selection().select_path((3,))
checkpoint microstructure page sensitized
checkpoint meshable button set
checkpoint microstructure page sensitized
assert tests.meshableButtonState() == 0
findWidget('OOF2:Microstructure Page:Pane:PixelGroups:GroupListScroll:GroupList').get_selection().select_path((1,))
checkpoint meshable button set
assert tests.meshableButtonState() == 1
findWidget('OOF2:Microstructure Page:Pane:PixelGroups:Meshable').clicked()
checkpoint microstructure page sensitized