Home
last modified time | relevance | path

Searched refs:mock_manager (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_with.py189 def assertInWithManagerInvariants(self, mock_manager): argument
190 self.assertTrue(mock_manager.enter_called)
191 self.assertFalse(mock_manager.exit_called)
192 self.assertEqual(mock_manager.exit_args, None)
194 def assertAfterWithManagerInvariants(self, mock_manager, exit_args): argument
195 self.assertTrue(mock_manager.enter_called)
196 self.assertTrue(mock_manager.exit_called)
197 self.assertEqual(mock_manager.exit_args, exit_args)
199 def assertAfterWithManagerInvariantsNoError(self, mock_manager): argument
200 self.assertAfterWithManagerInvariants(mock_manager,
[all …]
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_unittest.cc131 MockUdpSocketManager* mock_manager = new MockUdpSocketManager(); in TEST_F() local
134 mock_manager); in TEST_F()
139 mock_manager->Destroy(); in TEST_F()