From cd26ec1b2128df07bbedd732449645fe4e0ae60f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Muller?= Date: Fri, 23 Aug 2024 12:02:57 +0200 Subject: [PATCH] Use HTTPS links instead of HTTP (#287) This PR replaces all the HTTP links in the repository to use HTTPS links instead. --- README.md | 2 +- docs/blog/posts/2017-03-01-hermetic-builds.md | 2 +- docs/blog/posts/2021-10-06-sharedTest.md | 2 +- docs/configuring.md | 2 +- docs/contributing.md | 2 +- docs/extending.md | 2 +- docs/using-qualifiers.md | 4 ++-- mkdocs.yml | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 02c8ba280..60ba63885 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Robolectric -This repository contains the source of the documentation that lives at [robolectric.org](http://robolectric.org). +This repository contains the source of the documentation that lives at [robolectric.org](https://robolectric.org). ## Contributing diff --git a/docs/blog/posts/2017-03-01-hermetic-builds.md b/docs/blog/posts/2017-03-01-hermetic-builds.md index 0e020e3e0..86b2deee3 100644 --- a/docs/blog/posts/2017-03-01-hermetic-builds.md +++ b/docs/blog/posts/2017-03-01-hermetic-builds.md @@ -11,7 +11,7 @@ slug: hermetic-builds Robolectric needs access to multiple Android SDK jars in order to perform its magic, which means it needs special configuration beyond just setting up dependencies in your build. By default, it tries to download Android SDK jars from Maven Central. -But what if you have a [hermetic build environment](http://blog.fahhem.com/2013/12/hermetic-build-systems/)? You just need to do a little more configuration. +But what if you have a [hermetic build environment](https://blog.fahhem.com/2013/12/hermetic-build-systems/)? You just need to do a little more configuration. Here's a Gradle build script that'll help: diff --git a/docs/blog/posts/2021-10-06-sharedTest.md b/docs/blog/posts/2021-10-06-sharedTest.md index 914e7dcee..5e802add7 100644 --- a/docs/blog/posts/2021-10-06-sharedTest.md +++ b/docs/blog/posts/2021-10-06-sharedTest.md @@ -27,7 +27,7 @@ import org.robolectric.annotation.LooperMode /** * A test using the androidx.test unified API, which can execute on an Android device or locally using Robolectric. * - * See [testing documentation](http://d.android.com/tools/testing). + * See [testing documentation](https://d.android.com/tools/testing). */ @RunWith(AndroidJUnit4::class) class SampleFragmentTest { diff --git a/docs/configuring.md b/docs/configuring.md index f2e32c234..64deeb55b 100644 --- a/docs/configuring.md +++ b/docs/configuring.md @@ -111,7 +111,7 @@ Since Robolectric **4.9.1**, you can now add these parameters : * **robolectric.dependency.proxy.host** — Set the host of the proxy to use for the runtime dependencies. * **robolectric.dependency.proxy.port** — Set the port number of the proxy to use for the runtime dependencies (default `0`). -When using Gradle, you can configure the System Properties for unit tests with the `all` block (see [here](http://tools.android.com/tech-docs/unit-testing-support)). For example, to override the Maven repository URL and ID to download the runtime dependencies from a repository other than Maven Central: +When using Gradle, you can configure the System Properties for unit tests with the `all` block (see [here](https://developer.android.com/studio/test/advanced-test-setup#configure-gradle-test-options)). For example, to override the Maven repository URL and ID to download the runtime dependencies from a repository other than Maven Central: ```groovy android { diff --git a/docs/contributing.md b/docs/contributing.md index 378da8c41..5c8256b0c 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -53,7 +53,7 @@ Robolectric will release javadoc at {{ config.site_url }} after every main versi ### Deprecations and Backwards Compatibility -To provide an easy upgrade path, we aim to always mark methods or classes `@Deprecated` in at least a patch release before removing them in the next minor release. We realize that's not quite how [Semantic Versioning](http://semver.org/) is supposed to work, sorry. Be sure to include migration notes in the `/** @deprecated */` javadoc! +To provide an easy upgrade path, we aim to always mark methods or classes `@Deprecated` in at least a patch release before removing them in the next minor release. We realize that's not quite how [Semantic Versioning](https://semver.org/) is supposed to work, sorry. Be sure to include migration notes in the `/** @deprecated */` javadoc! ## Discussion diff --git a/docs/extending.md b/docs/extending.md index 4e1fe601a..ebdf94487 100644 --- a/docs/extending.md +++ b/docs/extending.md @@ -12,7 +12,7 @@ Using byte code instrumentation Robolectric is able to weave in cross platform f ### What's in a Name? -Why "Shadow?" Shadow objects are not quite [Proxies](http://en.wikipedia.org/wiki/Proxy_pattern "Proxy pattern - Wikipedia, the free encyclopedia"), not quite [Fakes](http://c2.com/cgi/wiki?FakeObject "Fake Object"), not quite [Mocks or Stubs](http://martinfowler.com/articles/mocksArentStubs.html#TheDifferenceBetweenMocksAndStubs "Mocks Aren't Stubs"). Shadows are sometimes hidden, sometimes seen, and can lead you to the real object. At least we didn't call them "sheep", which we were considering. +Why "Shadow?" Shadow objects are not quite [Proxies](https://en.wikipedia.org/wiki/Proxy_pattern "Proxy pattern - Wikipedia, the free encyclopedia"), not quite [Fakes](https://c2.com/cgi/wiki?FakeObject "Fake Object"), not quite [Mocks or Stubs](https://martinfowler.com/articles/mocksArentStubs.html#TheDifferenceBetweenMocksAndStubs "Mocks Aren't Stubs"). Shadows are sometimes hidden, sometimes seen, and can lead you to the real object. At least we didn't call them "sheep", which we were considering. ### Shadow Classes diff --git a/docs/using-qualifiers.md b/docs/using-qualifiers.md index 1e2a2c0c2..25f761ca9 100644 --- a/docs/using-qualifiers.md +++ b/docs/using-qualifiers.md @@ -5,7 +5,7 @@ hide: # Using Qualified Resources -As described [in the android developer docs](http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources), resource qualifiers allow you to change how your resources are loaded based on such factors as the language on the device, to the screen size, to whether it is day or night. While these changes are often tedious to test rigorously (every string has a translation for all supported languages), you may find yourself wishing to run tests in different resource qualified contexts. +As described [in the android developer docs](https://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources), resource qualifiers allow you to change how your resources are loaded based on such factors as the language on the device, to the screen size, to whether it is day or night. While these changes are often tedious to test rigorously (every string has a translation for all supported languages), you may find yourself wishing to run tests in different resource qualified contexts. ## Specifying Resources in Test @@ -48,4 +48,4 @@ public void shouldUseEnglishAndPortraitResources() { } ``` -Multiple qualifiers should be separated by dashes and provided in the order put forth in [this list](http://developer.android.com/guide/topics/resources/providing-resources.html#table2). +Multiple qualifiers should be separated by dashes and provided in the order put forth in [this list](https://developer.android.com/guide/topics/resources/providing-resources.html#table2). diff --git a/mkdocs.yml b/mkdocs.yml index a003ebca1..e05771884 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -88,10 +88,10 @@ extra: social: - name: "GitHub Project" icon: fontawesome/brands/github - link: "http://github.com/robolectric/robolectric" + link: "https://github.com/robolectric/robolectric" - name: "robolectric@googlegroups.com" icon: fontawesome/regular/envelope - link: "http://groups.google.com/group/robolectric" + link: "https://groups.google.com/group/robolectric" - name: "@Robolectric" icon: fontawesome/brands/x-twitter link: "https://x.com/robolectric"