| 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 | 9 |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 def testSurfAwaySRPCParameterPassing(self): | 37 def testSurfAwaySRPCParameterPassing(self): |
| 38 self.surfAway('srpc_basic.html', 'SRPC') | 38 self.surfAway('srpc_basic.html', 'SRPC') |
| 39 | 39 |
| 40 def testSurfAwaySRPCResourceDescriptor(self): | 40 def testSurfAwaySRPCResourceDescriptor(self): |
| 41 self.surfAway('srpc_nrd_xfer.html', 'SRPC') | 41 self.surfAway('srpc_nrd_xfer.html', 'SRPC') |
| 42 | 42 |
| 43 def testSurfAwaySRPCURLContentAsNaclResourceDescriptor(self): | 43 def testSurfAwaySRPCURLContentAsNaclResourceDescriptor(self): |
| 44 self.surfAway('srpc_url_as_nacl_desc.html', 'SRPC') | 44 self.surfAway('srpc_url_as_nacl_desc.html', 'SRPC') |
| 45 | 45 |
| 46 def testSurfAwayScripting(self): | |
| 47 self.surfAway('basic_object.html', 'PPAPI') | |
| 48 | |
| 49 def testSurfAwayExampleAudio(self): | 46 def testSurfAwayExampleAudio(self): |
| 50 self.surfAway('ppapi_example_audio.html#mute', 'PPAPI') | 47 self.surfAway('ppapi_example_audio.html#mute', 'PPAPI') |
| 51 | 48 |
| 52 def testSurfAwayExampleFont(self): | 49 def testSurfAwayExampleFont(self): |
| 53 self.surfAway('ppapi_example_font.html', 'PPAPI') | 50 self.surfAway('ppapi_example_font.html', 'PPAPI') |
| 54 | 51 |
| 55 # TODO(cstefansen): enable test when bug is fixed | 52 # TODO(cstefansen): enable test when bug is fixed |
| 56 # http://code.google.com/p/nativeclient/issues/detail?id=1936 | 53 # http://code.google.com/p/nativeclient/issues/detail?id=1936 |
| 57 def disabledTestSurfAwayExampleGLES2(self): | 54 def disabledTestSurfAwayExampleGLES2(self): |
| 58 self.surfAway('ppapi_example_gles2.html', 'PPAPI') | 55 self.surfAway('ppapi_example_gles2.html', 'PPAPI') |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 def testSurfAwayPPAPITestsPostMessage(self): | 121 def testSurfAwayPPAPITestsPostMessage(self): |
| 125 self.surfAway('test_case.html?mode=nacl&testcase=PostMessage', | 122 self.surfAway('test_case.html?mode=nacl&testcase=PostMessage', |
| 126 'Test PostMessage') | 123 'Test PostMessage') |
| 127 | 124 |
| 128 def testSurfAwayPPAPITestsScrollbar(self): | 125 def testSurfAwayPPAPITestsScrollbar(self): |
| 129 self.surfAway('test_case.html?mode=nacl&testcase=Scrollbar', | 126 self.surfAway('test_case.html?mode=nacl&testcase=Scrollbar', |
| 130 'Test Scrollbar') | 127 'Test Scrollbar') |
| 131 | 128 |
| 132 if __name__ == '__main__': | 129 if __name__ == '__main__': |
| 133 pyauto_nacl.Main() | 130 pyauto_nacl.Main() |
| OLD | NEW |