'-f', self._mode]
RunCommand(cmd)
self.addCleanup(Clean, 'Example', '1.0.0')
- theme = 'Example/res/values-v17/theme.xml'
+ theme = 'Example/res/values-v14/theme.xml'
with open(theme, 'r') as content_file:
content = content_file.read()
self.assertTrue(os.path.exists(theme))
self.assertTrue(content.find('android.permission.SEND_SMS') != -1)
self.assertTrue(content.find('android.permission.WRITE_SMS') != -1)
self.assertTrue(content.find('landscape') != -1)
- theme = 'Example/res/values-v17/theme.xml'
+ theme = 'Example/res/values-v14/theme.xml'
with open(theme, 'r') as content_file:
content = content_file.read()
self.assertTrue(os.path.exists(theme))
# Test orientation option.
self.assertTrue(content.find('landscape') != -1)
# Test fullscreen option
- theme = 'Example/res/values-v17/theme.xml'
+ theme = 'Example/res/values-v14/theme.xml'
with open(theme, 'r') as content_file:
content = content_file.read()
self.assertTrue(os.path.exists(theme))
'--manifest=%s' % manifest_path, self._mode]
RunCommand(cmd)
# Check theme.xml.
- theme_path = os.path.join('Example', 'res', 'values-v17', 'theme.xml')
+ theme_path = os.path.join('Example', 'res', 'values-v14', 'theme.xml')
self.assertTrue(os.path.exists(theme_path))
with open(theme_path, 'r') as content_file:
content = content_file.read()