robolectric.github.io
robolectric.github.io copied to clipboard
Source for the documentation at robolectric.org
### Discussed in https://github.com/robolectric/robolectric/discussions/8140 Originally posted by **cmathew** April 14, 2023 Crossposting from the [Google Group](https://groups.google.com/g/robolectric/c/8rdnKcjFD-8). I'm looking to create my own shadow for a low-level Android class. My current...
- [ ] Document `reflector` in shadows guide - [ ] Update customization pages
We can see `__Activity__` when searching `Activity` at the search item, but when we click the link, it shows that: ``` http://127.0.0.1:4000/javadoc/4.4/org/robolectric/shadows/_Activity_.html ``` I can't find any code related to...
### Description The doc content [Hermetic Builds with Robolectric](http://robolectric.org/blog/2017/03/01/hermetic-builds/) should be updated. The ` Gradle build script` is not compatible with the latest version 3.8. ### Steps to Reproduce Do...
See https://github.com/robolectric/robolectric/blob/master/robolectric/src/main/java/org/robolectric/RobolectricTestRunner.java#L657-L663.
From Robolectric 4.6, the preinstrumented jars are used by Robolectric default. But the article/post to introduce this big improvement is missing. It's better if we can append this content to...
Focus on how to use SQLite native mode and it's debug properties.
I tried to use Robolectric in a library module and received an error when running the test: `Attribute data@scheme at tempFile1ProcessTestManifest273304251747743144.xml requires a placeholder substitution but no value for is...
## Context While working on migrating Robolectric's `buildSrc` folder to Kotlin, I stumbled upon this line: https://github.com/robolectric/robolectric/blob/0156803c11ed2109ac53b0c5843d9b7cb7c6ecd1/buildSrc/src/main/groovy/org/robolectric/gradle/DeployedRoboJavaModulePlugin.groovy#L28 However, since the [new website](https://github.com/robolectric/robolectric.github.io/pull/212), this file does not exist anymore: ## Tasks...
This PR creates a new workflow to lint Markdown files. This was suggested here: https://github.com/robolectric/robolectric.github.io/pull/255#discussion_r1660106328. The new workflow uses the [`DavidAnson/markdownlint-cli2-action`](https://github.com/marketplace/actions/markdownlint-cli2-action) action. It uses the rules defined in [`DavidAnson/markdownlint`](https://github.com/DavidAnson/markdownlint). For...