Home
last modified time | relevance | path

Searched refs:assertEqual (Results 1 – 5 of 5) sorted by relevance

/packages/modules/adb/
Dtest_device.py89 self.assertEqual(abb.returncode == 0, cmd.returncode == 0)
90 self.assertEqual(abb.stdout, cmd.stdout)
91 self.assertEqual(abb.stderr, cmd.stderr)
97 self.assertEqual('', msg.strip(),
120 self.assertEqual('', msg.strip())
134 self.assertEqual('', msg.strip(),
149 self.assertEqual('', msg.strip())
155 self.assertEqual('', msg.strip(),
168 self.assertEqual('', msg.strip())
171 self.assertEqual('', self.device.forward_list().strip(),
[all …]
Dtest_adb.py117 unittest.assertEqual(output.strip(),
189 self.assertEqual(1, proc.returncode)
196 self.assertEqual(1, proc.returncode)
327 self.assertEqual((l_onoff, l_linger),
363 self.assertEqual("kill\n", line)
364 self.assertEqual("quit\n", connf.readline())
381 self.assertEqual(0, proc.returncode)
398 self.assertEqual(
414 self.assertEqual(output.strip(), b"device")
443 self.assertEqual(
[all …]
/packages/services/Car/tests/BugReportApp/utils/
Dbugreport_app_tester_test.py38 self.assertEqual(result, ['', ' ', ' asd', '', 'qwe 123 $', '', ''])
43 self.assertEqual(result, [])
51 self.assertEqual(self._mock_popen_fn.calls[0]['args'][0],
53 self.assertEqual(exit_code, 0)
54 self.assertEqual(stdout_lines, ['blah'])
59 self.assertEqual(self._mock_popen_fn.calls[0]['args'][0],
65 self.assertEqual(self._mock_popen_fn.calls[0]['args'][0],
70 self.assertEqual(self._subject.pidof('com.my.package'), [123, 789])
71 self.assertEqual(self._mock_popen_fn.calls[0]['args'][0],
84 self.assertEqual(len(self._mock_device.adb.calls), 2)
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/search/
DCarSettingsSearchIndexablesProviderTest.java113 assertEqual(c, res); in queryXmlResources_fillsColumns()
135 assertEqual(c, resources.get(i++)); in queryXmlResources_returnsAllRows()
157 assertEqual(c, res); in queryXmlResources_onPartiallyFilledFields_returnsPartialRows()
185 assertEqual(c, rawData); in queryRawData_fillsColumns()
205 assertEqual(c, rawData.get(i++)); in queryRawData_returnsAllRows()
227 assertEqual(c, rawData); in queryRawData_onPartiallyFilledFields_returnsPartialRows()
316 private void assertEqual(Cursor c, SearchIndexableResource res) { in assertEqual() method in CarSettingsSearchIndexablesProviderTest
346 private void assertEqual(Cursor c, SearchIndexableRaw raw) { in assertEqual() method in CarSettingsSearchIndexablesProviderTest
/packages/services/Car/cpp/powerpolicy/server/tests/
DPowerComponentHandlerTest.cpp46 void assertEqual(const CarPowerPolicyPtr& left, const CarPowerPolicyPtr& right) { in assertEqual() function
111 ASSERT_NO_FATAL_FAILURE(assertEqual(expectedPolicy, handler.getAccumulatedPolicy())); in TEST_F()