示例#1
0
 def serial_test_WTFVectorProvider_vector_size_and_capacity(self):
     variable = self._sbFrame.FindVariable('aVectorWithOneItem');
     summary = lldb_webkit.WTFVector_SummaryProvider(variable, {})
     self.assertEqual(summary, "{ size = 1, capacity = 16 }")
示例#2
0
 def serial_test_WTFVectorProvider_empty_vector(self):
     variable = self._sbFrame.FindVariable('anEmptyVector');
     summary = lldb_webkit.WTFVector_SummaryProvider(variable, {})
     self.assertEqual(summary, "{ size = 0, capacity = 0 }")