コード例 #1
0
checkpoint toplevel widget mapped Dialog-Set an Output Destination
findWidget('Dialog-Set an Output Destination').resize(293, 79)
setComboBox(findWidget('Dialog-Set an Output Destination:destination:Chooser'), 'Output Stream')
findWidget('Dialog-Set an Output Destination').resize(300, 129)
findWidget('Dialog-Set an Output Destination:destination:Output Stream:filename').set_text('a')
findWidget('Dialog-Set an Output Destination:destination:Output Stream:filename').set_text('ab')
findWidget('Dialog-Set an Output Destination:destination:Output Stream:filename').set_text('abc')
findWidget('Dialog-Set an Output Destination:destination:Output Stream:filename').set_text('abcd')
findWidget('Dialog-Set an Output Destination:destination:Output Stream:filename').set_text('abcde')
findWidget('Dialog-Set an Output Destination:gtk-ok').clicked()
checkpoint OOF.Mesh.Scheduled_Output.Destination.Set
assert tests.sensitization6()
# Delete schedule
findWidget('OOF2:Scheduled Output Page:HPane0:HPane2:Schedule:Delete').clicked()
checkpoint OOF.Mesh.Scheduled_Output.Schedule.Delete
assert tests.sensitization7()
# Delete destination
findWidget('OOF2:Scheduled Output Page:HPane0:HPane2:Destination:Delete').clicked()
checkpoint OOF.Mesh.Scheduled_Output.Destination.Delete
findWidget('OOF2').resize(673, 350)
findWidget('OOF2 Messages 1').resize(720, 200)
findWidget('OOF2 Activity Viewer').resize(400, 300)
assert tests.sensitization4()
# Delete output
findWidget('OOF2:Scheduled Output Page:HPane0:HPaneL:Output:Delete').clicked()
checkpoint OOF.Mesh.Scheduled_Output.Delete
assert tests.sensitization8()
# Delete last output
findWidget('OOF2:Scheduled Output Page:HPane0:HPaneL:Output:list').get_selection().select_path((0,))
findWidget('OOF2:Scheduled Output Page:HPane0:HPaneL:Output:Delete').clicked()
checkpoint OOF.Mesh.Scheduled_Output.Delete
コード例 #2
0
ファイル: log.py プロジェクト: anilkunwar/OOF2
findWidget('OOF2:Solver Page:VPane:Subproblems:Set').clicked()
checkpoint toplevel widget mapped Dialog-Specify Solver
findWidget('Dialog-Specify Solver').resize(441, 218)
findWidget('Dialog-Specify Solver:gtk-ok').clicked()
checkpoint Field page sensitized
checkpoint mesh page subproblems sensitized
checkpoint mesh page sensitized
checkpoint Solver page sensitized
checkpoint OOF.Subproblem.Set_Solver
checkpoint Solver page sensitized
assert tests.sensitization6()
# Remove all solvers
findWidget('OOF2:Solver Page:VPane:Subproblems:RemoveAll').clicked()
checkpoint OOF.Mesh.Remove_All_Solvers
checkpoint Solver page sensitized
assert tests.sensitization7()
# Define third subproblem
findWidget('OOF2:Navigation:PrevHist').clicked()
checkpoint mesh page subproblems sensitized
checkpoint mesh page sensitized
checkpoint mesh page subproblems sensitized
checkpoint mesh page subproblems sensitized
checkpoint mesh page sensitized
checkpoint page installed FE Mesh
findWidget('OOF2:FE Mesh Page:Pane:Subproblems:New').clicked()
checkpoint toplevel widget mapped Dialog-Create a new subproblem
findWidget('Dialog-Create a new subproblem').resize(291, 102)
findWidget('Dialog-Create a new subproblem:name:Text').set_text('subprob')
findWidget('Dialog-Create a new subproblem:name:Text').set_text('subprob3')
findWidget('Dialog-Create a new subproblem:gtk-ok').clicked()
checkpoint mesh page subproblems sensitized