checkpoint mesh page subproblems sensitized checkpoint mesh page sensitized checkpoint mesh page subproblems sensitized checkpoint mesh page sensitized checkpoint mesh page subproblems sensitized checkpoint boundary page updated checkpoint skeleton selection page grouplist checkpoint skeleton selection page selection sensitized checkpoint skeleton selection page updated checkpoint microstructure page sensitized checkpoint OOF.Microstructure.Create_From_ImageFile assert tests.sensitization4() assert tests.chooserCheck('OOF2:Microstructure Page:Microstructure', ['test', 'small.ppm']) assert tests.chooserStateCheck('OOF2:Microstructure Page:Microstructure', 'small.ppm') assert tests.chooserCheck('OOF2:Microstructure Page:Pane:PixelGroups:GroupListScroll:GroupList', []) assert tests.chooserListStateCheck('OOF2:Microstructure Page:Pane:PixelGroups:GroupListScroll:GroupList', []) setComboBox(findWidget('OOF2:Microstructure Page:Microstructure'), 'test') checkpoint meshable button set checkpoint microstructure page sensitized checkpoint meshable button set checkpoint microstructure page sensitized assert tests.sensitization5() assert tests.chooserCheck('OOF2:Microstructure Page:Pane:PixelGroups:GroupListScroll:GroupList', ['a (0 pixels, meshable)', 'pixelgroup (0 pixels, meshable)', 'pixelgroup<2> (0 pixels)']) assert tests.chooserListStateCheck('OOF2:Microstructure Page:Pane:PixelGroups:GroupListScroll:GroupList', []) findWidget('OOF2:Microstructure Page:Pane').set_position(212) setComboBox(findWidget('OOF2:Microstructure Page:Microstructure'), 'small.ppm') findWidget('OOF2:Microstructure Page:Pane').set_position(165) findWidget('OOF2:Microstructure Page:NewFromImage').clicked() checkpoint toplevel widget mapped Dialog-Create Microstructure from Image checkpoint meshable button set checkpoint microstructure page sensitized
assert not findWidget(tbox+':Click:Node').get_active() assert tests.gtkMultiTextCompare({'X':'15.116','Y':'67.6031'},tbox+":Click",tolerance=1.e-6) assert tests.sensitizationCheck({'NewDataViewer':True,'Prev':True,'Clear':True,'Next':False},tbox) assert tests.gtkMultiTextCompare({'index':'61','type':'Q4_4','material':'bounce'},tbox+":ElementInfo") assert tests.chooserCheck(tbox+':ElementInfo:NodeList',["FuncNode 67 at (10, 60)","FuncNode 68 at (20, 60)","FuncNode 79 at (20, 70)","FuncNode 78 at (10, 70)"],tolerance=1.e-6) findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2:TBScroll:Mesh Info:ElementInfo:NodeList').get_selection().select_path((1,)) # Selected a node in the NodeList. assert findWidget(tbox+":Click:Element").get_active() assert not findWidget(tbox+':Click:Node').get_active() assert tests.gtkMultiTextCompare({'X':'15.116','Y':'67.6031'},tbox+":Click",tolerance=1.e-6) assert tests.sensitizationCheck({'NewDataViewer':True,'Prev':True,'Clear':True,'Next':False},tbox) assert tests.gtkMultiTextCompare({'index':'61','type':'Q4_4','material':'bounce'},tbox+":ElementInfo") assert tests.chooserCheck(tbox+':ElementInfo:NodeList',["FuncNode 67 at (10, 60)","FuncNode 68 at (20, 60)","FuncNode 79 at (20, 70)","FuncNode 78 at (10, 70)"],tolerance=1.e-6) assert tests.chooserListStateCheck(tbox+':ElementInfo:NodeList',["FuncNode 68 at (20, 60)"],tolerance=1.e-6) findWidget('OOF2 Graphics 1:Pane0').set_position(423) tree=findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2:TBScroll:Mesh Info:ElementInfo:NodeList') column = tree.get_column(0) tree.row_activated((1,), column) checkpoint contourmap info updated for Graphics_1 checkpoint Graphics_1 Mesh Info showed position checkpoint Graphics_1 Mesh Info sensitized checkpoint Graphics_1 Mesh Info updated checkpoint contourmap info updated for Graphics_1 checkpoint OOF.Graphics_1.Toolbox.Mesh_Info.QueryNode findWidget('OOF2 Graphics 1:Pane0').set_position(423) # Switched over to the node.
findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2:TBScroll:Skeleton Info:ElementInformation:NodeList').get_selection().select_path((1,)) findWidget('OOF2 Graphics 1:Pane0').set_position(444) # Node peek. checkpoint contourmap info updated for Graphics_1 assert findWidget(tbox+":Click:Element").get_active() assert not findWidget(tbox+":Click:Node").get_active() assert not findWidget(tbox+":Click:Segment").get_active() assert tests.gtkMultiFloatCompare({'X Text':22.61,'Y Text':68.47},cbox) assert tests.gtkMultiTextCompare({'Material':'<No material>','Group':'','Index':'54','Type':'quad'},elbox) assert tests.gtkMultiFloatCompare({'Shape':0.308000,'Homog':0.988881,'Area':287.500000},elbox) assert tests.sensitizationCheck({'Prev':False,'Clear':True,'Next':False},tbox) assert tests.chooserCheck(elbox+":SegmentList",["Segment 79, nodes (43, 52) (length: 12.5)","Segment 130, nodes (43, 44) (length: 18.5)","Segment 127, nodes (44, 53) (length: 15.4029218)","Segment 131, nodes (52, 53) (length: 27.5)"],tolerance=1.e-6) assert tests.chooserCheck(elbox+":NodeList",["Node 43 at (12.5, 62.5) (angle: 90)","Node 44 at (31, 62.5) (angle: 125.753887)","Node 53 at (40, 75) (angle: 54.246112)","Node 52 at (12.5, 75) (angle: 90)"],tolerance=1.e-6) assert tests.chooserListStateCheck(elbox+":NodeList",["Node 44 at (31, 62.5) (angle: 125.753887)"],tolerance=1.e-6) tree=findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2:TBScroll:Skeleton Info:ElementInformation:NodeList') column = tree.get_column(0) tree.row_activated((1,), column) findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2:TBScroll:Skeleton Info:Click:Node').clicked() checkpoint Graphics_1 Skeleton Info sensitized checkpoint contourmap info updated for Graphics_1 checkpoint OOF.Graphics_1.Toolbox.Skeleton_Info.QueryNodeByID findWidget('OOF2 Graphics 1:Pane0').set_position(444) # Switched to node mode. assert not findWidget(tbox+":Click:Element").get_active() assert findWidget(tbox+":Click:Node").get_active() assert not findWidget(tbox+":Click:Segment").get_active() assert tests.gtkMultiFloatCompare({'X Text':31,'Y Text':62.5},cbox)
findWidget('Dialog-Create new pixel group:name:Text').set_text('a') findWidget('Dialog-Create new pixel group:name:Text').set_text('ab') findWidget('Dialog-Create new pixel group:name:Text').set_text('abc') findWidget('Dialog-Create new pixel group:name:Text').set_text('abcd') findWidget('Dialog-Create new pixel group:name:Text').set_text('abcde') findWidget('Dialog-Create new pixel group:gtk-ok').clicked() findWidget('OOF2:Microstructure Page:Pane').set_position(197) checkpoint meshable button set checkpoint meshable button set checkpoint microstructure page sensitized checkpoint OOF.PixelGroup.New checkpoint microstructure page sensitized checkpoint meshable button set assert tests.sensitization2() assert tests.chooserCheck('OOF2:Microstructure Page:Pane:PixelGroups:GroupListScroll:GroupList', ['abcde (0 pixels, meshable)']) assert tests.chooserListStateCheck('OOF2:Microstructure Page:Pane:PixelGroups:GroupListScroll:GroupList', ['abcde (0 pixels, meshable)']) assert tests.meshableButtonState() == 1 findWidget('OOF2:Microstructure Page:Pane:PixelGroups:New').clicked() checkpoint toplevel widget mapped Dialog-Create new pixel group findWidget('Dialog-Create new pixel group').resize(249, 72) findWidget('Dialog-Create new pixel group:name:Text').set_text('') findWidget('Dialog-Create new pixel group:name:Text').set_text('f') findWidget('Dialog-Create new pixel group:name:Text').set_text('fg') findWidget('Dialog-Create new pixel group:name:Text').set_text('fgh') findWidget('Dialog-Create new pixel group:name:Text').set_text('fghi') findWidget('Dialog-Create new pixel group:name:Text').set_text('fghij') findWidget('Dialog-Create new pixel group:gtk-ok').clicked() checkpoint meshable button set checkpoint meshable button set checkpoint microstructure page sensitized checkpoint OOF.PixelGroup.New