untabify
Change-Id: I090f63d93166de9bee2527e0e75248916204be5a
This commit is contained in:
@@ -469,18 +469,18 @@ public class _XAccessibleComponent extends MultiMethodTest {
|
|||||||
boolean result = false;
|
boolean result = false;
|
||||||
Size size = oObj.getSize();
|
Size size = oObj.getSize();
|
||||||
|
|
||||||
for (int i = 0; i < 2 && !result; i++)
|
for (int i = 0; i < 2 && !result; i++)
|
||||||
{
|
{
|
||||||
result = true;
|
result = true;
|
||||||
result &= (size.Width == bounds.Width);
|
result &= (size.Width == bounds.Width);
|
||||||
result &= (size.Height == bounds.Height);
|
result &= (size.Height == bounds.Height);
|
||||||
if (!result) {
|
if (!result) {
|
||||||
log.println( "potential race bounds " + bounds.Width + "x" + bounds.Height +
|
log.println( "potential race bounds " + bounds.Width + "x" + bounds.Height +
|
||||||
" vs. size " + size.Width + "x" + size.Height);
|
" vs. size " + size.Width + "x" + size.Height);
|
||||||
// Possibily we hit a race condition and it re-sized (?) ...
|
// Possibily we hit a race condition and it re-sized (?) ...
|
||||||
bounds = oObj.getBounds();
|
bounds = oObj.getBounds();
|
||||||
size = oObj.getSize();
|
size = oObj.getSize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tRes.tested("getSize()", result);
|
tRes.tested("getSize()", result);
|
||||||
|
Reference in New Issue
Block a user