def test_edit(self):
     """Test editing."""
     self.assertEqual({
         'is_debug': 'true',
         'sanitizer_keep_symbols': 'true'
     },
                      binary_providers.setup_debug_symbol_if_needed(
                          {'is_debug': 'false'}, True))
Example #2
0
 def test_not_setup(self):
     """Test when we shouldn't setup debug symbol."""
     self.assertEqual({'is_debug': 'false'},
                      binary_providers.setup_debug_symbol_if_needed(
                          {'is_debug': 'false'}, 'ASAN', False))