Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use HTTPS links instead of HTTP #287

Merged
merged 1 commit into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/posts/2017-03-01-hermetic-builds.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/posts/2021-10-06-sharedTest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion docs/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
utzcoz marked this conversation as resolved.
Show resolved Hide resolved
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 {
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/extending.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/using-qualifiers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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).
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: "[email protected]"
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"
Expand Down