shadows/framework/src/main/java/org/robolectric/shadows/ShadowViewGroup.java
@Override
  public String innerText() {
    StringBuilder innerText = new StringBuilder();
    String delimiter = "";

    for (int i = 0; i < realViewGroup.getChildCount(); i++) {
      View child = realViewGroup.getChildAt(i);
      ShadowView shadowView = Shadow.extract(child);
      String childText = shadowView.innerText();
      if (childText.length() > 0) {
        innerText.append(delimiter);
        delimiter = " ";
      }
      innerText.append(childText);
    }
    return innerText.toString();
  }
@Override
  public String innerText() {
    StringBuilder innerText = new StringBuilder();
    String delimiter = "";

    for (int i = 0; i < realViewGroup.getChildCount(); i++) {
      View child = realViewGroup.getChildAt(i);
      ShadowView shadowView = Shadow.extract(child);
      String childText = shadowView.innerText();
      if (childText.length() > 0) {
        innerText.append(delimiter);
        delimiter = " ";
      }
      innerText.append(childText);
    }
    return innerText.toString();
  }
@ Override public String innerText ( ) { StringBuilder innerText = new StringBuilder ( ) ; String delimiter = "" ; for ( int i = 0 ; i < realViewGroup . getChildCount ( ) ; i ++ ) { View child = realViewGroup . getChildAt ( i ) ; ShadowView shadowView = Shadow . extract ( child ) ; String childText = shadowView . innerText ( ) ; if ( childText . length ( ) > 0 ) { innerText . append ( delimiter ) ; delimiter = " " ; } innerText . append ( childText ) ; } return innerText . toString ( ) ; }
Returns a string representation of this {@code ViewGroup} by concatenating all of the
strings contained in all of the descendants of this {@code ViewGroup}.
Returns a string representation of this {