Searched refs:sentinel (Results 1 – 3 of 3) sorted by relevance
201 def _RaiseAndRetry(sentinel): argument202 sentinel.alert()205 sentinel = mock.MagicMock()206 self.assertRaises(ValueError, _RaiseAndRetry, sentinel)207 self.assertEqual(1 + num_retry, sentinel.alert.call_count)212 def _RaiseAndRetry(sentinel): argument213 sentinel.alert()217 sentinel = mock.MagicMock()225 sentinel=sentinel)226 self.assertEqual(1 + num_retry, sentinel.alert.call_count)[all …]
1435 def Raise412(sentinel): argument1437 if not sentinel.hitFingerPrintConflict.called:1438 sentinel.hitFingerPrintConflict()1442 sentinel = mock.MagicMock()1443 result = Raise412(sentinel)1444 self.assertEqual(1, sentinel.hitFingerPrintConflict.call_count)
773 private fun findEnd(source: String, from: Int, to: Int, sentinel: Char): Int { in findEnd()779 } else if (c == sentinel) { in findEnd()