<commit_before><!--
Copyright 2016 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!DOCTYPE html>
<!--
Only renders in Chrome.

cheatsheet.pdf: Save as PDF from Chrome
cheatsheet.png: Save as image from Chrome using https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl
-->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="cheatsheet.css">
</head>
<body>

<div class="header">
<div class="usage">
<span class="one">EarlGrey().selectElementWithMatcher</span>(<span class="two">ViewMatcher</span>)
                      .performAction(<span class="three">ViewAction</span>)
                      .assertWithMatcher(<span class="two">ViewMatcher</span>)
</pre>
</div>

<div class="cheatsheet">
EarlGrey 1.0.0
</div>
</div>

<div class="body">
<ul>
  <li>View Matchers</li>
  <li>User Properties
    <ul>
      <li>grey_accessibilityID(...)</li>
      <li>grey_accessibilityLabel(...)</li>
      <li>grey_accessibilityValue(...)</li>
      <li>grey_accessibilityTrait(...)</li>
      <li>grey_accessibilityHint(...)</li>
      <li>grey_text(...)</li>
    </ul>
  </li>
  <li>UI Properties
    <ul>
      <li>grey_minimumVisiblePercent(...)</li>
      <li>grey_sufficientlyVisible()</li>
      <li>grey_interactable()</li>
      <li>grey_notVisible()</li>
      <li>grey_systemAlertViewShown()</li>
      <li>grey_enabled()</li>
      <li>grey_layout(...)</li>
      <li>grey_nil()</li>
      <li>grey_notNil()</li>
    </ul>
  </li>
  <li>Hierarchy
    <ul>
      <li>grey_ancestor(...)</li>
      <li>grey_descendant(...)</li>
    </ul>
  </li>
  <li>Class
    <ul>
      <li>grey_kindOfClass(...)</li>
      <li>grey_respondsToSelector(...)</li>
      <li>grey_conformsToProtocol(...)</li>
    </ul>
  </li>
  <li>Other
    <ul>
      <li>grey_keyWindow()</li>
      <li>grey_firstResponder()</li>
      <li>grey_accessibilityElement()</li>
      <li>grey_progress(...)</li>
      <li>grey_buttonTitle(...)</li>
      <li>grey_stepperValue(...)</li>
      <li>grey_sliderValueMatcher(...)</li>
      <li>grey_pickerColumnSetToValue(...)</li>
      <li>grey_datePickerValue(...)</li>
      <li>grey_switchWithOnState(...)</li>
      <li>grey_closeTo(...)</li>
    </ul>
  </li>
  <li>Object Matchers - Swift
  <ul>
    <li>grey_allOfMatchers(...)</li>
    <li>grey_anyOfMatchers(...)</li>
    <li class="objc">Object Matchers - Objective C</li>
    <li>grey_allOf(...)</li>
    <li>grey_anyOf(...)</li>
  </ul>
  </li>
</ul>

<ul>
  <li>View Actions</li>
  <li>Click/Press
    <ul>
      <li>grey_tap()</li>
      <li>grey_tapAtPoint(...)</li>
      <li>grey_doubleTap()</li>
      <li>grey_longPress()</li>
      <li>grey_longPressWithDuration(...)</li>
      <li>grey_longPressAtPointWithDuration(...)</li>
    </ul>
  </li>
  <li>Gestures
    <ul>
      <li>grey_scrollInDirection(...)</li>
      <li>grey_scrollToContentEdge(...)</li>
      <li>grey_swipeFastInDirection(...)</li>
      <li>grey_swipeSlowInDirection(...)</li>
      <li>grey_swipeFastInDirectionWithStartPoint(...)</li>
      <li>grey_swipeSlowInDirectionWithStartPoint(...)</li>
    </ul>
  </li>
  <li>Text
    <ul>
      <li>grey_typeText(...)</li>
      <li>grey_clearText()</li>
    </ul>
  </li>
  <li>Other
    <ul>
      <li>grey_moveSliderToValue(...)</li>
      <li>grey_setStepperValue(...)</li>
      <li>grey_turnSwitchOn(...)</li>
      <li>grey_setDate(...)</li>
      <li>grey_setPickerColumnToValue(...)</li>
      <li>grey_javaScriptExecution(...)</li>
      <li>grey_snapshot(...)</li>
    </ul>
  </li>
</ul>

<ul>
  <li>Assertions</li>
  <li>Grey Assert
    <ul>
      <li>GREYAssert(...)</li>
      <li>GREYAssertTrue(...)</li>
      <li>GREYAssertFalse(...)</li>
      <li>GREYAssertNotNil(...)</li>
      <li>GREYAssertNil(...)</li>
      <li>GREYAssertEqual(...)</li>
      <li>GREYFail(...)</li>
    </ul>
  </li>
  <li class="hide"></li>
</ul>
</div>
</body>
</html>
<commit_msg>Add grey_replaceText to cheatsheet (#169)<commit_after><!--
Copyright 2016 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!DOCTYPE html>
<!--
Only renders in Chrome.

cheatsheet.pdf: Save as PDF from Chrome
cheatsheet.png: Save as image from Chrome using https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl
-->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="cheatsheet.css">
</head>
<body>

<div class="header">
<div class="usage">
<span class="one">EarlGrey().selectElementWithMatcher</span>(<span class="two">ViewMatcher</span>)
                      .performAction(<span class="three">ViewAction</span>)
                      .assertWithMatcher(<span class="two">ViewMatcher</span>)
</pre>
</div>

<div class="cheatsheet">
EarlGrey 1.0.0
</div>
</div>

<div class="body">
<ul>
  <li>View Matchers</li>
  <li>User Properties
    <ul>
      <li>grey_accessibilityID(...)</li>
      <li>grey_accessibilityLabel(...)</li>
      <li>grey_accessibilityValue(...)</li>
      <li>grey_accessibilityTrait(...)</li>
      <li>grey_accessibilityHint(...)</li>
      <li>grey_text(...)</li>
    </ul>
  </li>
  <li>UI Properties
    <ul>
      <li>grey_minimumVisiblePercent(...)</li>
      <li>grey_sufficientlyVisible()</li>
      <li>grey_interactable()</li>
      <li>grey_notVisible()</li>
      <li>grey_systemAlertViewShown()</li>
      <li>grey_enabled()</li>
      <li>grey_layout(...)</li>
      <li>grey_nil()</li>
      <li>grey_notNil()</li>
    </ul>
  </li>
  <li>Hierarchy
    <ul>
      <li>grey_ancestor(...)</li>
      <li>grey_descendant(...)</li>
    </ul>
  </li>
  <li>Class
    <ul>
      <li>grey_kindOfClass(...)</li>
      <li>grey_respondsToSelector(...)</li>
      <li>grey_conformsToProtocol(...)</li>
    </ul>
  </li>
  <li>Other
    <ul>
      <li>grey_keyWindow()</li>
      <li>grey_firstResponder()</li>
      <li>grey_accessibilityElement()</li>
      <li>grey_progress(...)</li>
      <li>grey_buttonTitle(...)</li>
      <li>grey_stepperValue(...)</li>
      <li>grey_sliderValueMatcher(...)</li>
      <li>grey_pickerColumnSetToValue(...)</li>
      <li>grey_datePickerValue(...)</li>
      <li>grey_switchWithOnState(...)</li>
      <li>grey_closeTo(...)</li>
    </ul>
  </li>
  <li>Object Matchers - Swift
  <ul>
    <li>grey_allOfMatchers(...)</li>
    <li>grey_anyOfMatchers(...)</li>
    <li class="objc">Object Matchers - Objective C</li>
    <li>grey_allOf(...)</li>
    <li>grey_anyOf(...)</li>
  </ul>
  </li>
</ul>

<ul>
  <li>View Actions</li>
  <li>Click/Press
    <ul>
      <li>grey_tap()</li>
      <li>grey_tapAtPoint(...)</li>
      <li>grey_doubleTap()</li>
      <li>grey_longPress()</li>
      <li>grey_longPressWithDuration(...)</li>
      <li>grey_longPressAtPointWithDuration(...)</li>
    </ul>
  </li>
  <li>Gestures
    <ul>
      <li>grey_scrollInDirection(...)</li>
      <li>grey_scrollToContentEdge(...)</li>
      <li>grey_swipeFastInDirection(...)</li>
      <li>grey_swipeSlowInDirection(...)</li>
      <li>grey_swipeFastInDirectionWithStartPoint(...)</li>
      <li>grey_swipeSlowInDirectionWithStartPoint(...)</li>
    </ul>
  </li>
  <li>Text
    <ul>
      <li>grey_replaceText(...)</li>
      <li>grey_typeText(...)</li>
      <li>grey_clearText()</li>
    </ul>
  </li>
  <li>Other
    <ul>
      <li>grey_moveSliderToValue(...)</li>
      <li>grey_setStepperValue(...)</li>
      <li>grey_turnSwitchOn(...)</li>
      <li>grey_setDate(...)</li>
      <li>grey_setPickerColumnToValue(...)</li>
      <li>grey_javaScriptExecution(...)</li>
      <li>grey_snapshot(...)</li>
    </ul>
  </li>
</ul>

<ul>
  <li>Assertions</li>
  <li>Grey Assert
    <ul>
      <li>GREYAssert(...)</li>
      <li>GREYAssertTrue(...)</li>
      <li>GREYAssertFalse(...)</li>
      <li>GREYAssertNotNil(...)</li>
      <li>GREYAssertNil(...)</li>
      <li>GREYAssertEqual(...)</li>
      <li>GREYFail(...)</li>
    </ul>
  </li>
  <li class="hide"></li>
</ul>
</div>
</body>
</html>

{'fraction_non_alphanumeric': 0.20715942989724892, 'fraction_numerical': 0.0029830957905203847, 'mean_word_length': 2.9322328410078193, 'pattern_counts': {'":': 0, '<': 433, '<?xml version=': 0, '>': 433, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6062816', 'n_tokens_mistral': 3564, 'n_tokens_neox': 3342, 'n_words': 543}