Пример #1
0
 def serial_test_WTFOptionSetProvider_aliased_flag(self):
     variable = self._sbFrame.FindVariable('exampleFlagsAliasedFlag')
     provider = lldb_webkit.WTFOptionSetProvider(variable, {})
     self.assertEqual(provider.get_child_at_index(0).GetName(), 'A')
     self.assertEqual(provider.get_child_at_index(0).GetValue(), '1')
     self.assertEqual(provider.get_child_at_index(1).GetName(), 'D')
     self.assertEqual(provider.get_child_at_index(1).GetValue(), '8')
Пример #2
0
 def serial_test_WTFOptionSetProvider_empty(self):
     variable = self._sbFrame.FindVariable('exampleFlagsEmpty')
     provider = lldb_webkit.WTFOptionSetProvider(variable, {})
     self.assertEqual(provider.get_child_at_index(0).GetName(), 'm_storage')