Home | History | Annotate | Download | only in test

Lines Matching refs:child

327      * child should be non-null.
333 assertTrue("child count should be >= 0", count >= 0);
342 * Assert that the specified group contains a specific child once and only once.
345 * @param child The child that should belong to group
347 static public void assertGroupContains(ViewGroup parent, View child) {
349 assertTrue("Child count should be >= 0", count >= 0);
353 if (parent.getChildAt(i) == child) {
357 assertTrue("child " + child + " is duplicated in parent", false);
362 assertTrue("group does not contain " + child, found);
366 * Assert that the specified group does not contain a specific child.
369 * @param child The child that should not belong to group
371 static public void assertGroupNotContains(ViewGroup parent, View child) {
373 assertTrue("Child count should be >= 0", count >= 0);
376 if (parent.getChildAt(i) == child) {
377 assertTrue("child " + child + " is found in parent", false);