MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / __microStr__

Method __microStr__

src/com/dtmilano/android/viewclient.py:1246–1258  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1244 return __str
1245
1246 def __microStr__(self):
1247 # 2to3
1248 # __str = str('', 'utf-8', 'replace')
1249 __str = ''
1250 if "class" in self.map:
1251 __str += re.sub('.*\\.', '', self.map['class'])
1252 _id = self.getId().replace('id/no_id/', '-')
1253 __str += _id
1254 ((L, T), (R, B)) = self.getCoords()
1255 __str += '@%04d%04d%04d%04d' % (L, T, R, B)
1256 __str += ''
1257
1258 return __str
1259
1260 def __str__(self):
1261 if type(self) == WindowHierarchyChild:

Callers

nothing calls this directly

Calls 2

getIdMethod · 0.95
getCoordsMethod · 0.95

Tested by

no test coverage detected