| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 import pyauto_nacl # Must be imported before pyauto | 6 import pyauto_nacl # Must be imported before pyauto |
| 7 import pyauto | 7 import pyauto |
| 8 import nacl_utils | 8 import nacl_utils |
| 9 import random | 9 import random |
| 10 import time | 10 import time |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 def testReloadSRPCParameterPassing(self): | 69 def testReloadSRPCParameterPassing(self): |
| 70 self.reloader('srpc_basic.html', 'SRPC') | 70 self.reloader('srpc_basic.html', 'SRPC') |
| 71 | 71 |
| 72 def testReloadSRPCResourceDescriptor(self): | 72 def testReloadSRPCResourceDescriptor(self): |
| 73 self.reloader('srpc_nrd_xfer.html', 'SRPC') | 73 self.reloader('srpc_nrd_xfer.html', 'SRPC') |
| 74 | 74 |
| 75 def testReloadSRPCURLContentAsNaclResourceDescriptor(self): | 75 def testReloadSRPCURLContentAsNaclResourceDescriptor(self): |
| 76 self.reloader('srpc_url_as_nacl_desc.html', 'SRPC') | 76 self.reloader('srpc_url_as_nacl_desc.html', 'SRPC') |
| 77 | 77 |
| 78 def testReloadScripting(self): | |
| 79 self.reloader('basic_object.html', 'PPAPI') | |
| 80 | |
| 81 def testReloadExampleAudio(self): | 78 def testReloadExampleAudio(self): |
| 82 self.reloader('ppapi_example_audio.html#mute', 'PPAPI') | 79 self.reloader('ppapi_example_audio.html#mute', 'PPAPI') |
| 83 | 80 |
| 84 def testReloadExampleFont(self): | 81 def testReloadExampleFont(self): |
| 85 self.reloader('ppapi_example_font.html', 'PPAPI') | 82 self.reloader('ppapi_example_font.html', 'PPAPI') |
| 86 | 83 |
| 87 # TODO(cstefansen): enable test when bug is fixed | 84 # TODO(cstefansen): enable test when bug is fixed |
| 88 # http://code.google.com/p/nativeclient/issues/detail?id=1936 | 85 # http://code.google.com/p/nativeclient/issues/detail?id=1936 |
| 89 def disabledTestReloadExampleGLES2(self): | 86 def disabledTestReloadExampleGLES2(self): |
| 90 self.reloader('ppapi_example_gles2.html', 'PPAPI') | 87 self.reloader('ppapi_example_gles2.html', 'PPAPI') |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 134 |
| 138 def testReloadPPBGraphics2D(self): | 135 def testReloadPPBGraphics2D(self): |
| 139 self.reloader('ppapi_ppb_graphics2d.html', 'PPAPI') | 136 self.reloader('ppapi_ppb_graphics2d.html', 'PPAPI') |
| 140 | 137 |
| 141 def testReloadPPBFileSystem(self): | 138 def testReloadPPBFileSystem(self): |
| 142 self.reloader('ppapi_ppb_file_system.html', 'PPAPI') | 139 self.reloader('ppapi_ppb_file_system.html', 'PPAPI') |
| 143 | 140 |
| 144 | 141 |
| 145 if __name__ == '__main__': | 142 if __name__ == '__main__': |
| 146 pyauto_nacl.Main() | 143 pyauto_nacl.Main() |
| OLD | NEW |