Home | History | Annotate | Download | only in test

Lines Matching full:child

319      * child should be non-null.
325 assertTrue("child count should be >= 0", count >= 0);
334 * Assert that the specified group contains a specific child once and only once.
337 * @param child The child that should belong to group
339 static public void assertGroupContains(ViewGroup parent, View child) {
341 assertTrue("Child count should be >= 0", count >= 0);
345 if (parent.getChildAt(i) == child) {
349 assertTrue("child " + child + " is duplicated in parent", false);
354 assertTrue("group does not contain " + child, found);
358 * Assert that the specified group does not contain a specific child.
361 * @param child The child that should not belong to group
363 static public void assertGroupNotContains(ViewGroup parent, View child) {
365 assertTrue("Child count should be >= 0", count >= 0);
368 if (parent.getChildAt(i) == child) {
369 assertTrue("child " + child + " is found in parent", false);