Migrate junit docs wording junit_binary -> robolectric_binary

Bug: 1336818
Change-Id: Ie28129b8ce6b28d5d5f9b5ffe540c6aaeca5fd85
Fixed: 1336818
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3738679
Commit-Queue: Mohamed Heikal <[email protected]>
Reviewed-by: Andrew Grieve <[email protected]>
Auto-Submit: Mohamed Heikal <[email protected]>
Commit-Queue: Andrew Grieve <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1019735}
diff --git a/testing/android/docs/junit.md b/testing/android/docs/junit.md
index 895a9c4..85f0346 100644
--- a/testing/android/docs/junit.md
+++ b/testing/android/docs/junit.md
@@ -11,7 +11,7 @@
 
 ### JUnit tests (without Android)
 
-Build these types of test using the `junit_binary` GN template.
+Build these types of test using the `robolectric_binary` GN template.
 
 If you don't need to use any Android code in your tests, you can write plain,
 old JUnit tests. Some more documentation about writing JUnit tests can be
@@ -45,7 +45,7 @@
 
 ### JUnit tests with Robolectric
 
-Build these types of test using the `junit_binary` GN template.
+Build these types of test using the `robolectric_binary` GN template.
 
 Robolectric is a unit testing framework that lets you run tests with Android
 code on your workstation. It does this by providing a special version of the
@@ -105,10 +105,10 @@
 }
 ```
 
-#### Example junit_binary build template.
+#### Example robolectric_binary build template.
 
 ```python
-junit_binary("my_robolectric_tests") {
+robolectric_binary("my_robolectric_tests") {
 
     sources = [
         "java/src/foo/bar/MyJUnitTest.java"
@@ -133,7 +133,7 @@
 
 After writing a test, you can run it by:
 
-1. Adding the test file to a `junit_binary` GN target.
+1. Adding the test file to a `robolectric_binary` GN target.
 2. Rebuild.
 3. GN will generate binary `<out_dir>/bin/run_<suite name>` which
    can be used to run your test.