April 05
Prof. Ismael H. F. Santos -
ismael@tecgraf.puc-rio.br
2
Method execution order
1.
createOutputFile()
2.
test
1
WithFile()
3.
deleteOutputFile()
4.
createOutputFile()
5.
test
2
WithFile()
6.
deleteOutputFile()
n
Assumption:
test
1
WithFile
runs before
test
2
WithFile
– which is not guaranteed.