checkpoint Graphics_1 Pixel Selection sensitized checkpoint OOF.Graphics_1.Toolbox.Pixel_Select.Point findWidget('OOF2 Graphics 1:Pane0').set_position(280) canvasobj = findCanvasRoot(findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2:Canvas'), windowname='Graphics_1') canvasobj.emit('event', event(gtk.gdk.BUTTON_PRESS,x= 5.9147058823529e+01,y=-6.8205882352941e+01,state=0,window=findCanvasGdkWindow('Graphics_1'))) canvasobj = findCanvasRoot(findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2:Canvas'), windowname='Graphics_1') canvasobj.emit('event', event(gtk.gdk.BUTTON_RELEASE,x= 5.9147058823529e+01,y=-6.8205882352941e+01,state=256,window=findCanvasGdkWindow('Graphics_1'))) checkpoint microstructure page sensitized checkpoint pixel page updated checkpoint Graphics_1 Pixel Selection sensitized checkpoint selection info updated checkpoint Graphics_1 Pixel Selection sensitized checkpoint OOF.Graphics_1.Toolbox.Pixel_Select.Point findWidget('OOF2 Graphics 1:Pane0').set_position(280) # *Second* pixel selection, check texts. assert tests.gtkTextCompare('OOF2 Graphics 1:Pane0:Pane1:Pane2:TBScroll:Pixel Selection:size','1') assert tests.sensitizationCheck({'Undo':True,'Redo':False,'Clear':True,'Invert':True,'Prev':True,'Repeat':True,'Next':False}, 'OOF2 Graphics 1:Pane0:Pane1:Pane2:TBScroll:Pixel Selection') assert tests.gtkMultiTextCompare({'xdown':'--','ydown':'--','xup':'59.1471','yup':'68.2059'},'OOF2 Graphics 1:Pane0:Pane1:Pane2:TBScroll:Pixel Selection') findWidget('OOF2 Graphics 1').resize(800, 406) findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2').set_position(258) findWidget('OOF2 Graphics 1:Pane0:Pane1').set_position(716) findWidget('OOF2 Graphics 1:Pane0').set_position(286) findWidget('OOF2 Graphics 1').resize(800, 408) findWidget('OOF2 Graphics 1').resize(800, 414) findWidget('OOF2 Graphics 1').resize(800, 417) findWidget('OOF2 Graphics 1').resize(800, 419) findWidget('OOF2 Graphics 1').resize(800, 422) findWidget('OOF2 Graphics 1').resize(800, 424) findWidget('OOF2 Graphics 1').resize(800, 426) findWidget('OOF2 Graphics 1').resize(800, 428) findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2').set_position(258)
findWidget('OOF2 Graphics 1:Pane0:Pane1').set_position(692) checkpoint contourmap info updated for Graphics_1 checkpoint OOF.Windows.Graphics.New findWidget('OOF2 Graphics 1:Pane0').set_position(280) findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2').set_position(250) findWidget('OOF2 Graphics 1:Pane0:Pane1').set_position(692) findWidget('OOF2 Graphics 1:Pane0').set_position(280) findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2').set_position(250) findWidget('OOF2 Graphics 1:Pane0:Pane1').set_position(692) findWidget('OOF2 Graphics 1:Pane0').set_position(280) findWidget('OOF2 Graphics 1').resize(800, 400) findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2').set_position(258) findWidget('OOF2 Graphics 1:Pane0:Pane1').set_position(715) findWidget('OOF2 Graphics 1:Pane0').set_position(280) # Check the text in the zoom factor, should be 1.5 assert tests.gtkTextCompare('OOF2 Graphics 1:Pane0:Pane1:Pane2:TBScroll:Viewer:Zoom:Factor','1.5') findWidget('OOF2 Graphics 1:Pane0:Pane1:Pane2:TBScroll:Viewer:Info').clicked() # Check tail of messages for text correctness. assert tests.gtkTextviewTail('OOF2 Messages 1:Text',"Scroll region : CRectangle(Coord(0.0, 0.0), Coord(100.0, 100.0))\n", tolerance=1.e-6) setComboBox(findWidget('OOF2:Navigation:PageMenu'), 'Microstructure') findWidget('OOF2:Microstructure Page:Pane').set_position(152) findWidget('OOF2:Microstructure Page:NewFromFile').clicked() checkpoint toplevel widget mapped Dialog-Load Image and create Microstructure findWidget('Dialog-Load Image and create Microstructure').resize(350, 140) findWidget('Dialog-Load Image and create Microstructure:filename').set_text('e') findWidget('Dialog-Load Image and create Microstructure:filename').set_text('ex') findWidget('Dialog-Load Image and create Microstructure:filename').set_text('exa') findWidget('Dialog-Load Image and create Microstructure:filename').set_text('exam') findWidget('Dialog-Load Image and create Microstructure:filename').set_text('examp') findWidget('Dialog-Load Image and create Microstructure:filename').set_text('exampl') findWidget('Dialog-Load Image and create Microstructure:filename').set_text('example')