Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference
BUG=162536543
Change-Id: I451faa3ce5e70514ef7a68e397d483cd04a73093
diff --git a/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ViewNodeTest.java b/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ViewNodeTest.java
index 5ece59f..4a78e61 100644
--- a/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ViewNodeTest.java
+++ b/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ViewNodeTest.java
@@ -133,7 +133,7 @@
ViewStructureImpl structure = new ViewStructureImpl(view);
ViewNode node = structure.getNode();
- assertThat(node.getAutofillId()).isEqualTo(initialId); // sanity check
+ assertThat(node.getAutofillId()).isEqualTo(initialId); // confidence check
assertThrows(NullPointerException.class, () -> structure.setAutofillId(null));
assertThat(node.getAutofillId()).isEqualTo(initialId); // invariant
@@ -156,7 +156,7 @@
public void testValidProperties_throughParcel() {
ViewStructureImpl structure = newSimpleStructure();
final ViewNode node = structure.getNode();
- assertSimpleNode(node); // sanity check
+ assertSimpleNode(node); // confidence check
final ViewNode clone = cloneThroughParcel(node);
assertSimpleNode(clone);
@@ -173,7 +173,7 @@
public void testComplexText_throughParcel() {
ViewStructureImpl structure = newStructureWithComplexText();
final ViewNode node = structure.getNode();
- assertNodeWithComplexText(node); // sanity check
+ assertNodeWithComplexText(node); // confidence check
ViewNode clone = cloneThroughParcel(node);
assertNodeWithComplexText(clone);
@@ -401,7 +401,7 @@
try {
// Write to parcel
- parcel.setDataPosition(0); // Sanity / paranoid check
+ parcel.setDataPosition(0); // Confidence check
ViewNode.writeToParcel(parcel, node, 0);
// Read from parcel