OLD | NEW |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 # Copyright (c) 2012 Google Inc. All rights reserved. | 3 # Copyright (c) 2012 Google Inc. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 """ | 7 """ |
8 Verifies that ios app bundles are built correctly. | 8 Verifies that ios app bundles are built correctly. |
9 """ | 9 """ |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... | |
26 # Info.plist | 26 # Info.plist |
27 info_plist = test.built_file_path('Test App Gyp.bundle/Info.plist', | 27 info_plist = test.built_file_path('Test App Gyp.bundle/Info.plist', |
28 chdir='app-bundle') | 28 chdir='app-bundle') |
29 # Resources | 29 # Resources |
30 test.built_file_must_exist( | 30 test.built_file_must_exist( |
31 'Test App Gyp.bundle/English.lproj/InfoPlist.strings', | 31 'Test App Gyp.bundle/English.lproj/InfoPlist.strings', |
32 chdir='app-bundle') | 32 chdir='app-bundle') |
33 test.built_file_must_exist( | 33 test.built_file_must_exist( |
34 'Test App Gyp.bundle/English.lproj/MainMenu.nib', | 34 'Test App Gyp.bundle/English.lproj/MainMenu.nib', |
35 chdir='app-bundle') | 35 chdir='app-bundle') |
36 test.built_file_must_exist( | |
37 'Test App Gyp.bundle/English.lproj/Main_iPhone.storyboardc', | |
38 chdir='app-bundle') | |
Nico
2013/11/04 19:20:25
Does xcode do any transformation on the output? If
justincohen
2013/11/05 18:08:08
I think Xcode just calls ibtool as well, so it's t
| |
36 | 39 |
37 # Packaging | 40 # Packaging |
38 test.built_file_must_exist('Test App Gyp.bundle/PkgInfo', | 41 test.built_file_must_exist('Test App Gyp.bundle/PkgInfo', |
39 chdir='app-bundle') | 42 chdir='app-bundle') |
40 test.built_file_must_match('Test App Gyp.bundle/PkgInfo', 'APPLause', | 43 test.built_file_must_match('Test App Gyp.bundle/PkgInfo', 'APPLause', |
41 chdir='app-bundle') | 44 chdir='app-bundle') |
42 | 45 |
43 test.pass_test() | 46 test.pass_test() |
OLD | NEW |