pauseXlet() releases resources
Title: pauseXlet() releases resources
Number: 70
Specification reference: (Section 6.1.1.4 page 8)
“Applications SHOULD release all reserved DAVIC resources during pauseXlet().
Applications SHALL be prepared to lose reserved resources while in the paused state that were not released in pauseXlet().
Applications SHALL NOT be visible while paused, SHALL hide their UI, and SHALL NOT request AWT focus during pauseXlet()."
Assertions:
1. Within pauseXlet() the application realease all reserved DAVIC resources
2. Within pauseXlet() the application is prepared to lose reserved resources that were not released in pauseXlet()
3. While in pauseXlet() the application is not visible
4. While in pauseXlet() the application hides their UI
5. While in pauseXlet() the application does not request AWT focus.
Test Procedure 1:
1. Manually inspect the source code.
2. Use Java reflection API or other tools to inspect the application .class files
Expected result
1. The invocations are found within pauseXlet() to release resources
2. The application does not request AWT focus within pauseXlet()
Test Procedure 2:
1. Execute the application
2. Obtain Focus
3. Force the application to enter the paused state
4. Attempt to trigger the application via controls on the application GUI
Expected result
1. The application is not visible
2. The application does not have focus


community