diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/404.html b/404.html new file mode 100644 index 00000000..ef2ce170 --- /dev/null +++ b/404.html @@ -0,0 +1,408 @@ + + + + + + + + + + + + + + + + + + + + + + + Carioca + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ +

404 - Not found

+ +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/android-allure-plugin/index.html b/android-allure-plugin/index.html new file mode 100644 index 00000000..d5634ced --- /dev/null +++ b/android-allure-plugin/index.html @@ -0,0 +1,638 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Android Allure Plugin - Carioca + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Skip to content + + +
+
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Android Allure Plugin

+

This library comes with an Allure plugin that can be used to generate test reports based on +the metadata collected through each test execution.

+

Setup

+

Add the plugin to your project:

+
plugins {
+    id 'com.rubensousa.carioca.report.allure' version '1.0.0-alpha04'
+}
+
+

Generating reports

+

A test report is automatically generated when connectedDebugAndroidTest is executed if you're +using InstrumentedReportRule from here

+

After each test execution, the plugin will generate the allure results +at:

+
build/output/allure-results
+
+

Then just run allure serve or allure generate to generate the reports and you should see something like this:

+

Allure report

+

The following attachments are included out of the box for every failure:

+
    +
  1. Screen recording
  2. +
  3. Screenshot immediately after failure
  4. +
  5. View hierarchy dump
  6. +
  7. Logcat during test execution
  8. +
+

Configuration options

+

To customize the plugin use the following:

+
allureReport {
+    /**
+     * The name of the test task that will be invoked
+     * to generate the report on `connectedAllureReport`
+     */
+    testTask = "connectedDebugAndroidTest"
+    /**
+     * By default, logcat files are not included if the test passes
+     */
+    keepLogcatOnSuccess = false
+    /**
+     * The report output path.
+     * Can be used to merge reports of multiple modules by using the same directory
+     * Null means `built/outputs/allure-results` is used
+     */
+    outputDir = null
+}
+
+

Multi-module results

+

You can aggregate all test reports by defining the outputDir option for the plugin. +Place this in your root project build.gradle file:

+
subprojects {
+    /**
+     * Move all allure-results to the same directory,
+     * so that all tests from the project are seen in a single report
+     */
+    plugins.withId("com.rubensousa.carioca.report.allure") {
+        extensions.getByType(AllureReportExtension::class).apply {
+            outputDir = rootProject.file("build/outputs/allure-results")
+        }
+    }
+}
+
+

This will move all test reports of all modules with the plugin to the same build/outputs/allure-results in your root +project

+

Sample

+

The sample project in the official repository contains a few +examples for some reports

+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/api/carioca-hilt/carioca-hilt-compose/com.rubensousa.carioca.hilt.compose/create-hilt-compose-rule.html b/api/carioca-hilt/carioca-hilt-compose/com.rubensousa.carioca.hilt.compose/create-hilt-compose-rule.html new file mode 100644 index 00000000..1f90f942 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-compose/com.rubensousa.carioca.hilt.compose/create-hilt-compose-rule.html @@ -0,0 +1,76 @@ + + + + + createHiltComposeRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

createHiltComposeRule

+
+

Creates an AndroidComposeTestRule for EmptyHiltActivity, an empty activity that doesn't set any content.

This allows testing Composables that require hilt injections.

AndroidComposeTestRule.setContent must be called inside the test body

+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-compose/com.rubensousa.carioca.hilt.compose/index.html b/api/carioca-hilt/carioca-hilt-compose/com.rubensousa.carioca.hilt.compose/index.html new file mode 100644 index 00000000..e4f9107d --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-compose/com.rubensousa.carioca.hilt.compose/index.html @@ -0,0 +1,99 @@ + + + + + com.rubensousa.carioca.hilt.compose + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-compose/index.html b/api/carioca-hilt/carioca-hilt-compose/index.html new file mode 100644 index 00000000..bfd7193b --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-compose/index.html @@ -0,0 +1,95 @@ + + + + + carioca-hilt-compose + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

carioca-hilt-compose

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-compose/navigation.html b/api/carioca-hilt/carioca-hilt-compose/navigation.html new file mode 100644 index 00000000..1ed11f78 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-compose/navigation.html @@ -0,0 +1,622 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+ +
+
+ Companion +
+
+
+
+ +
+
+ NATURAL +
+
+
+
+ PORTRAIT +
+
+
+
+ LANDSCAPE +
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ + +
+
+ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ JsonStage +
+
+
+ +
+
+
+
+ + +
+
+ +
+ + + +
+ +
+ +
+
+
+ Id +
+
+
+
+ Links +
+
+
+
+ Title +
+
+
+
+ +
+
+ RUNNING +
+
+
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/-companion/index.html b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/-companion/index.html new file mode 100644 index 00000000..d1c4f7f8 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/-companion/index.html @@ -0,0 +1,100 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <F : Fragment> launchInContainer(fragmentClass: Class<F>, fragmentArgs: Bundle? = null, @StyleRes themeResId: Int = EmptyHiltActivity.DEFAULT_THEME, initialState: Lifecycle.State = Lifecycle.State.RESUMED): HiltFragmentScenario<F>

Launches a Fragment in the Activity's root view container android.R.id.content, with given arguments hosted by an empty FragmentActivity themed by themeResId, and waits for it to reach initialState.

fun <F : Fragment, A : EmptyHiltActivity> launchInContainer(fragmentClass: Class<F>, activityClass: Class<A>, fragmentArgs: Bundle? = null, @StyleRes themeResId: Int = EmptyHiltActivity.DEFAULT_THEME, initialState: Lifecycle.State = Lifecycle.State.RESUMED): HiltFragmentScenario<F>

Launches a Fragment in the Activity's root view container android.R.id.content, with given arguments hosted by an empty EmptyHiltActivity themed by themeResId, and waits for it to reach initialState.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/-companion/launch-in-container.html b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/-companion/launch-in-container.html new file mode 100644 index 00000000..dbdd3c9c --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/-companion/launch-in-container.html @@ -0,0 +1,76 @@ + + + + + launchInContainer + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

launchInContainer

+
+
fun <F : Fragment> launchInContainer(fragmentClass: Class<F>, fragmentArgs: Bundle? = null, @StyleRes themeResId: Int = EmptyHiltActivity.DEFAULT_THEME, initialState: Lifecycle.State = Lifecycle.State.RESUMED): HiltFragmentScenario<F>

Launches a Fragment in the Activity's root view container android.R.id.content, with given arguments hosted by an empty FragmentActivity themed by themeResId, and waits for it to reach initialState.

This method cannot be called from the main thread.

Parameters

fragmentClass

a fragment class to instantiate

fragmentArgs

a bundle to passed into fragment

themeResId

a style resource id to be set to the host activity's theme

initialState

The initial Lifecycle.State. Passing in DESTROYED will result in an IllegalArgumentException.


fun <F : Fragment, A : EmptyHiltActivity> launchInContainer(fragmentClass: Class<F>, activityClass: Class<A>, fragmentArgs: Bundle? = null, @StyleRes themeResId: Int = EmptyHiltActivity.DEFAULT_THEME, initialState: Lifecycle.State = Lifecycle.State.RESUMED): HiltFragmentScenario<F>

Launches a Fragment in the Activity's root view container android.R.id.content, with given arguments hosted by an empty EmptyHiltActivity themed by themeResId, and waits for it to reach initialState.

This method cannot be called from the main thread.

Parameters

fragmentClass

a fragment class to instantiate

activityClass

the activity that will host this fragment

fragmentArgs

a bundle to passed into fragment

themeResId

a style resource id to be set to the host activity's theme

initialState

The initial Lifecycle.State. Passing in DESTROYED will result in an IllegalArgumentException.

+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/-fragment-action/index.html b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/-fragment-action/index.html new file mode 100644 index 00000000..5f8915ad --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/-fragment-action/index.html @@ -0,0 +1,100 @@ + + + + + FragmentAction + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

FragmentAction

+
fun interface FragmentAction<F : Fragment>

FragmentAction interface should be implemented by any class whose instances are intended to be executed by the main thread. A Fragment that is instrumented by the FragmentScenario is passed to FragmentAction.perform method.

You should never keep the Fragment reference as it will lead to unpredictable behaviour. It should only be accessed in FragmentAction.perform scope.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun perform(fragment: F)

This method is invoked on the main thread with the reference to the Fragment.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/-fragment-action/perform.html b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/-fragment-action/perform.html new file mode 100644 index 00000000..2e3cfc70 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/-fragment-action/perform.html @@ -0,0 +1,76 @@ + + + + + perform + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

perform

+
+
abstract fun perform(fragment: F)

This method is invoked on the main thread with the reference to the Fragment.

Parameters

fragment

a Fragment instrumented by the FragmentScenario.

+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/close.html b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/close.html new file mode 100644 index 00000000..6236354e --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/close.html @@ -0,0 +1,76 @@ + + + + + close + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

close

+
+
open override fun close()

Finishes the managed fragments and cleans up device's state. This method blocks execution until the host activity becomes Lifecycle.State.DESTROYED.

+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/index.html b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/index.html new file mode 100644 index 00000000..6cfb5582 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/index.html @@ -0,0 +1,194 @@ + + + + + HiltFragmentScenario + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

HiltFragmentScenario

+

FragmentScenario provides API to start and drive a Fragment's lifecycle state for testing. It works with arbitrary fragments and works consistently across different versions of the Android framework.

FragmentScenario only supports androidx.fragment.app.Fragment. If you are using a deprecated fragment class such as android.support.v4.app.Fragment or android.app.Fragment, please update your code to androidx.fragment.app.Fragment.

If your testing Fragment has a dependency to specific theme such as Theme.AppCompat, use the theme ID parameter in launch method.

Parameters

F

The Fragment class being tested

See also

a scenario API for Activity

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun interface FragmentAction<F : Fragment>

FragmentAction interface should be implemented by any class whose instances are intended to be executed by the main thread. A Fragment that is instrumented by the FragmentScenario is passed to FragmentAction.perform method.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun close()

Finishes the managed fragments and cleans up device's state. This method blocks execution until the host activity becomes Lifecycle.State.DESTROYED.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Moves Fragment state to a new state.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Runs a given action on the current Activity's main thread.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Recreates the host Activity.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun <F : Fragment, T : Any> HiltFragmentScenario<F>.withFragment(crossinline block: F.() -> T): T

Run block using HiltFragmentScenario.onFragment, returning the result of the block.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/move-to-state.html b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/move-to-state.html new file mode 100644 index 00000000..21320a9a --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/move-to-state.html @@ -0,0 +1,76 @@ + + + + + moveToState + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

moveToState

+
+

Moves Fragment state to a new state.

If a new state and current state are the same, this method does nothing. It accepts all Lifecycle.States. DESTROYED is a terminal state. You cannot move to any other state after the Fragment reaches that state.

This method cannot be called from the main thread.

+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/on-fragment.html b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/on-fragment.html new file mode 100644 index 00000000..4c049a06 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/on-fragment.html @@ -0,0 +1,76 @@ + + + + + onFragment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onFragment

+
+

Runs a given action on the current Activity's main thread.

Note that you should never keep Fragment reference passed into your action because it can be recreated at anytime during state transitions.

Throwing an exception from action makes the host Activity crash. You can inspect the exception in logcat outputs.

This method cannot be called from the main thread.

+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/recreate.html b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/recreate.html new file mode 100644 index 00000000..44025ecd --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/-hilt-fragment-scenario/recreate.html @@ -0,0 +1,76 @@ + + + + + recreate + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

recreate

+
+

Recreates the host Activity.

After this method call, it is ensured that the Fragment state goes back to the same state as its previous state.

This method cannot be called from the main thread.

+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/index.html b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/index.html new file mode 100644 index 00000000..66413296 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/index.html @@ -0,0 +1,133 @@ + + + + + com.rubensousa.carioca.hilt.fragment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

FragmentScenario provides API to start and drive a Fragment's lifecycle state for testing. It works with arbitrary fragments and works consistently across different versions of the Android framework.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun <F : Fragment> launchHiltFragment(fragmentArgs: Bundle? = null, @StyleRes themeResId: Int = EmptyHiltActivity.DEFAULT_THEME, initialState: Lifecycle.State = Lifecycle.State.RESUMED): HiltFragmentScenario<F>
inline fun <F : Fragment, A : EmptyHiltActivity> launchHiltFragment(fragmentArgs: Bundle? = null, activityClass: Class<A>, @StyleRes themeResId: Int = EmptyHiltActivity.DEFAULT_THEME, initialState: Lifecycle.State = Lifecycle.State.RESUMED): HiltFragmentScenario<F>

Launches a Fragment in the Activity's root view container android.R.id.content, with given arguments hosted by an empty FragmentActivity and waits for it to reach initialState.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun <F : Fragment, T : Any> HiltFragmentScenario<F>.withFragment(crossinline block: F.() -> T): T

Run block using HiltFragmentScenario.onFragment, returning the result of the block.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/launch-hilt-fragment.html b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/launch-hilt-fragment.html new file mode 100644 index 00000000..b0705f22 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/launch-hilt-fragment.html @@ -0,0 +1,76 @@ + + + + + launchHiltFragment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

launchHiltFragment

+
+
inline fun <F : Fragment> launchHiltFragment(fragmentArgs: Bundle? = null, @StyleRes themeResId: Int = EmptyHiltActivity.DEFAULT_THEME, initialState: Lifecycle.State = Lifecycle.State.RESUMED): HiltFragmentScenario<F>
inline fun <F : Fragment, A : EmptyHiltActivity> launchHiltFragment(fragmentArgs: Bundle? = null, activityClass: Class<A>, @StyleRes themeResId: Int = EmptyHiltActivity.DEFAULT_THEME, initialState: Lifecycle.State = Lifecycle.State.RESUMED): HiltFragmentScenario<F>

Launches a Fragment in the Activity's root view container android.R.id.content, with given arguments hosted by an empty FragmentActivity and waits for it to reach initialState.

This method cannot be called from the main thread.

Parameters

fragmentArgs

a bundle to passed into fragment

themeResId

a style resource id to be set to the host activity's theme

initialState

the initial Lifecycle.State. Passing in DESTROYED will result in an IllegalArgumentException.

+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/with-fragment.html b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/with-fragment.html new file mode 100644 index 00000000..e6e4f058 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/com.rubensousa.carioca.hilt.fragment/with-fragment.html @@ -0,0 +1,76 @@ + + + + + withFragment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

withFragment

+
+
inline fun <F : Fragment, T : Any> HiltFragmentScenario<F>.withFragment(crossinline block: F.() -> T): T

Run block using HiltFragmentScenario.onFragment, returning the result of the block.

If any exceptions are raised while running block, they are rethrown.

+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/index.html b/api/carioca-hilt/carioca-hilt-fragment/index.html new file mode 100644 index 00000000..eb8deeec --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/index.html @@ -0,0 +1,95 @@ + + + + + carioca-hilt-fragment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

carioca-hilt-fragment

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-fragment/navigation.html b/api/carioca-hilt/carioca-hilt-fragment/navigation.html new file mode 100644 index 00000000..1ed11f78 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-fragment/navigation.html @@ -0,0 +1,622 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+ +
+
+ Companion +
+
+
+
+ +
+
+ NATURAL +
+
+
+
+ PORTRAIT +
+
+
+
+ LANDSCAPE +
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ + +
+
+ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ JsonStage +
+
+
+ +
+
+
+
+ + +
+
+ +
+ + + +
+ +
+ +
+
+
+ Id +
+
+
+
+ Links +
+
+
+
+ Title +
+
+
+
+ +
+
+ RUNNING +
+
+
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/-companion/-d-e-f-a-u-l-t_-t-h-e-m-e.html b/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/-companion/-d-e-f-a-u-l-t_-t-h-e-m-e.html new file mode 100644 index 00000000..31f05d6e --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/-companion/-d-e-f-a-u-l-t_-t-h-e-m-e.html @@ -0,0 +1,76 @@ + + + + + DEFAULT_THEME + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DEFAULT_THEME

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/-companion/-t-h-e-m-e_-e-x-t-r-a-s_-b-u-n-d-l-e_-k-e-y.html b/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/-companion/-t-h-e-m-e_-e-x-t-r-a-s_-b-u-n-d-l-e_-k-e-y.html new file mode 100644 index 00000000..c973d173 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/-companion/-t-h-e-m-e_-e-x-t-r-a-s_-b-u-n-d-l-e_-k-e-y.html @@ -0,0 +1,76 @@ + + + + + THEME_EXTRAS_BUNDLE_KEY + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

THEME_EXTRAS_BUNDLE_KEY

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/-companion/index.html b/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/-companion/index.html new file mode 100644 index 00000000..ba0411fe --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/-companion/index.html @@ -0,0 +1,115 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/-empty-hilt-activity.html b/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/-empty-hilt-activity.html new file mode 100644 index 00000000..3c7dd7e0 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/-empty-hilt-activity.html @@ -0,0 +1,76 @@ + + + + + EmptyHiltActivity + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EmptyHiltActivity

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/index.html b/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/index.html new file mode 100644 index 00000000..c434eefa --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/-empty-hilt-activity/index.html @@ -0,0 +1,5947 @@ + + + + + EmptyHiltActivity + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EmptyHiltActivity

+

A container activity for instrumented tests that need Hilt dependencies

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
@get:NonNull
open override val lifecycle: Lifecycle
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
@get:NonNull
override val savedStateRegistry: SavedStateRegistry
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
@get:NonNull
open override val viewModelStore: ViewModelStore
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun addContentView(p0: View, p1: ViewGroup.LayoutParams)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun bindService(p0: Intent, p1: ServiceConnection, p2: Int): Boolean
open override fun bindService(p0: Intent, p1: Int, p2: Executor, p3: ServiceConnection): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun checkCallingOrSelfPermission(p0: String): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun checkCallingOrSelfUriPermission(p0: Uri, p1: Int): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun checkCallingPermission(p0: String): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun checkCallingUriPermission(p0: Uri, p1: Int): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun checkCallingUriPermissions(p0: MutableList<Uri>, p1: Int): IntArray
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun checkPermission(p0: String, p1: Int, p2: Int): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun checkSelfPermission(p0: String): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun checkUriPermission(p0: Uri, p1: Int, p2: Int, p3: Int): Int
open override fun checkUriPermission(p0: Uri?, p1: String?, p2: String?, p3: Int, p4: Int, p5: Int): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun checkUriPermissions(p0: MutableList<Uri>, p1: Int, p2: Int, p3: Int): IntArray
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun clearWallpaper()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun closeContextMenu()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun closeOptionsMenu()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun createAttributionContext(p0: String?): Context
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun createContext(p0: ContextParams): Context
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun createContextForSplit(p0: String): Context
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun createDeviceContext(p0: Int): Context
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun createDisplayContext(p0: Display): Context
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun createPackageContext(p0: String, p1: Int): Context
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun createWindowContext(p0: Int, p1: Bundle?): Context
open override fun createWindowContext(p0: Display, p1: Int, p2: Bundle?): Context
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun databaseList(): Array<String>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun deleteDatabase(p0: String): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun deleteFile(p0: String): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun deleteSharedPreferences(p0: String): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchKeyEvent(p0: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchKeyShortcutEvent(p0: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dispatchTouchEvent(p0: MotionEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun dump(@NonNull p0: String, @Nullable p1: FileDescriptor?, @NonNull p2: PrintWriter, @Nullable p3: Array<String>?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun enforceCallingOrSelfPermission(p0: String, p1: String?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun enforceCallingOrSelfUriPermission(p0: Uri, p1: Int, p2: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun enforceCallingPermission(p0: String, p1: String?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun enforceCallingUriPermission(p0: Uri, p1: Int, p2: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun enforcePermission(p0: String, p1: Int, p2: Int, p3: String?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun enforceUriPermission(p0: Uri, p1: Int, p2: Int, p3: Int, p4: String)
open override fun enforceUriPermission(p0: Uri?, p1: String?, p2: String?, p3: Int, p4: Int, p5: Int, p6: String?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun fileList(): Array<String>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun <T : View> findViewById(p0: Int): T
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun finish()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun finishActivity(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun finishAffinity()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getActionBar(): ActionBar?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getApplicationContext(): Context
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getApplicationInfo(): ApplicationInfo
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getAssets(): AssetManager
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getAttributionTag(): String?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getCacheDir(): File
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getClassLoader(): ClassLoader
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getCodeCacheDir(): File
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getColor(p0: Int): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getContentResolver(): ContentResolver
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getCurrentFocus(): View?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDatabasePath(p0: String): File
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDataDir(): File
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDeviceId(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDir(p0: String, p1: Int): File
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDisplay(): Display?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getExternalCacheDir(): File?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getExternalCacheDirs(): Array<File>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getExternalFilesDir(p0: String?): File?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getExternalFilesDirs(p0: String): Array<File>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getExternalMediaDirs(): Array<File>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getFilesDir(): File
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getFileStreamPath(p0: String): File
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getIntent(): Intent
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getMainExecutor(): Executor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getMainLooper(): Looper
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getNoBackupFilesDir(): File
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getObbDir(): File
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getObbDirs(): Array<File>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getOpPackageName(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getPackageCodePath(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getPackageManager(): PackageManager
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getPackageName(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getPackageResourcePath(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getParams(): ContextParams?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getReferrer(): Uri?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getResources(): Resources
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getSharedPreferences(p0: String, p1: Int): SharedPreferences
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getString(p0: Int): String
fun getString(p0: Int, vararg p1: Any): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getSystemService(p0: String): Any
fun <T : Any> getSystemService(p0: Class<T>): T
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getSystemServiceName(p0: Class<*>): String?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getTaskId(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getTheme(): Resources.Theme
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getWallpaper(): Drawable
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getWindow(): Window
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun grantUriPermission(p0: String, p1: Uri, p2: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun invalidateMenu()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isDestroyed(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun isDeviceProtectedStorage(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isFinishing(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isImmersive(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun isRestricted(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isTaskRoot(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun isUiContext(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun managedQuery(p0: Uri, p1: Array<String>, p2: String, p3: Array<String>, p4: String): Cursor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun moveDatabaseFrom(p0: Context, p1: String): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun moveSharedPreferencesFrom(p0: Context, p1: String): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun navigateUpTo(p0: Intent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onActionModeFinished(p0: ActionMode)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onActionModeStarted(p0: ActionMode)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onActivityReenter(p0: Int, p1: Intent)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onAttachedToWindow()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onBackPressed()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onContentChanged()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onCreate(p0: Bundle?, p1: PersistableBundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onCreatePanelMenu(p0: Int, @NonNull p1: Menu): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onCreatePanelView(p0: Int): View?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onCreateView(@NonNull p0: String, @NonNull p1: Context, @NonNull p2: AttributeSet): View?
open override fun onCreateView(@Nullable p0: View?, @NonNull p1: String, @NonNull p2: Context, @NonNull p3: AttributeSet): View?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onDetachedFromWindow()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onKeyDown(p0: Int, p1: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onKeyLongPress(p0: Int, p1: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onKeyMultiple(p0: Int, p1: Int, p2: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onKeyShortcut(p0: Int, p1: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onKeyUp(p0: Int, p1: KeyEvent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onLowMemory()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onMenuItemSelected(p0: Int, @NonNull p1: MenuItem): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onMenuOpened(p0: Int, p1: Menu): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun onNavigateUp(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onPanelClosed(p0: Int, @NonNull p1: Menu)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onPreparePanel(p0: Int, @Nullable p1: View?, @NonNull p2: Menu): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onSearchRequested(): Boolean
open override fun onSearchRequested(p0: SearchEvent?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onStateNotSaved()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onTrimMemory(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onWindowFocusChanged(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun openContextMenu(p0: View)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun openFileInput(p0: String): FileInputStream
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun openFileOutput(p0: String, p1: Int): FileOutputStream
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun openOptionsMenu()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun overrideActivityTransition(p0: Int, p1: Int, p2: Int)
open fun overrideActivityTransition(p0: Int, p1: Int, p2: Int, p3: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun overridePendingTransition(p0: Int, p1: Int)
open fun overridePendingTransition(p0: Int, p1: Int, p2: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun peekAvailableContext(): Context?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun peekWallpaper(): Drawable
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun recreate()
+
+
+
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun registerReceiver(p0: BroadcastReceiver?, p1: IntentFilter): Intent?
open override fun registerReceiver(p0: BroadcastReceiver?, p1: IntentFilter, p2: Int): Intent?
open override fun registerReceiver(p0: BroadcastReceiver?, p1: IntentFilter, p2: String?, p3: Handler?): Intent?
open override fun registerReceiver(p0: BroadcastReceiver?, p1: IntentFilter, p2: String?, p3: Handler?, p4: Int): Intent?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun removeDialog(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun removeMenuProvider(@NonNull p0: MenuProvider)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+ +
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun removeStickyBroadcast(p0: Intent)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun removeStickyBroadcastAsUser(p0: Intent, p1: UserHandle)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun reportFullyDrawn()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T : View> requireViewById(p0: Int): T & Any
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun revokeUriPermission(p0: Uri, p1: Int)
open override fun revokeUriPermission(p0: String, p1: Uri, p2: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun sendBroadcast(p0: Intent)
open override fun sendBroadcast(p0: Intent, p1: String?)
open override fun sendBroadcast(p0: Intent, p1: String?, p2: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun sendBroadcastAsUser(p0: Intent, p1: UserHandle)
open override fun sendBroadcastAsUser(p0: Intent, p1: UserHandle, p2: String?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun sendOrderedBroadcast(p0: Intent, p1: String?)
open override fun sendOrderedBroadcast(p0: Intent, p1: String?, p2: Bundle?)
open override fun sendOrderedBroadcast(p0: Intent, p1: String?, p2: BroadcastReceiver?, p3: Handler?, p4: Int, p5: String?, p6: Bundle?)
open override fun sendOrderedBroadcast(p0: Intent, p1: String?, p2: Bundle?, p3: BroadcastReceiver?, p4: Handler?, p5: Int, p6: String?, p7: Bundle?)
open override fun sendOrderedBroadcast(p0: Intent, p1: String?, p2: String?, p3: BroadcastReceiver?, p4: Handler?, p5: Int, p6: String?, p7: Bundle?)
open fun sendOrderedBroadcast(p0: Intent, p1: Int, p2: String?, p3: String?, p4: BroadcastReceiver?, p5: Handler?, p6: String?, p7: Bundle?, p8: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun sendOrderedBroadcastAsUser(p0: Intent, p1: UserHandle, p2: String?, p3: BroadcastReceiver?, p4: Handler?, p5: Int, p6: String?, p7: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun sendStickyBroadcast(p0: Intent)
open override fun sendStickyBroadcast(p0: Intent, p1: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun sendStickyBroadcastAsUser(p0: Intent, p1: UserHandle)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun sendStickyOrderedBroadcast(p0: Intent, p1: BroadcastReceiver?, p2: Handler?, p3: Int, p4: String?, p5: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun sendStickyOrderedBroadcastAsUser(p0: Intent, p1: UserHandle, p2: BroadcastReceiver?, p3: Handler?, p4: Int, p5: String?, p6: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setActionBar(p0: Toolbar?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun setContentView(p0: View)
open override fun setContentView(@LayoutRes p0: Int)
open override fun setContentView(p0: View, p1: ViewGroup.LayoutParams)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ + + + + +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setImmersive(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setIntent(p0: Intent)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setLocusContext(p0: LocusId?, p1: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setProgress(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setResult(p0: Int)
fun setResult(p0: Int, p1: Intent)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun setTheme(p0: Int)
open fun setTheme(p0: Resources.Theme?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setTitle(p0: CharSequence)
open fun setTitle(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setTitleColor(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setTurnScreenOn(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setVisible(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun setWallpaper(p0: Bitmap)
open override fun setWallpaper(p0: InputStream)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun showAssist(p0: Bundle): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun showDialog(p0: Int)
fun showDialog(p0: Int, p1: Bundle): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun startActivities(p0: Array<Intent>)
open override fun startActivities(p0: Array<Intent>, p1: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun startActivity(p0: Intent)
open override fun startActivity(p0: Intent, p1: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun startActivityForResult(@NonNull p0: Intent, p1: Int)
open override fun startActivityForResult(@NonNull p0: Intent, p1: Int, @Nullable p2: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun startActivityFromChild(p0: Activity, p1: Intent, p2: Int)
open fun startActivityFromChild(p0: Activity, p1: Intent, p2: Int, p3: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun startInstrumentation(p0: ComponentName, p1: String?, p2: Bundle?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun startIntentSender(p0: IntentSender, p1: Intent?, p2: Int, p3: Int, p4: Int)
open override fun startIntentSender(p0: IntentSender, p1: Intent?, p2: Int, p3: Int, p4: Int, p5: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun startIntentSenderForResult(@NonNull p0: IntentSender, p1: Int, @Nullable p2: Intent?, p3: Int, p4: Int, p5: Int)
open override fun startIntentSenderForResult(@NonNull p0: IntentSender, p1: Int, @Nullable p2: Intent?, p3: Int, p4: Int, p5: Int, @Nullable p6: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun startIntentSenderFromChild(p0: Activity, p1: IntentSender, p2: Int, p3: Intent, p4: Int, p5: Int, p6: Int)
open fun startIntentSenderFromChild(p0: Activity, p1: IntentSender, p2: Int, p3: Intent, p4: Int, p5: Int, p6: Int, p7: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun startIntentSenderFromFragment(@NonNull p0: Fragment, @NonNull p1: IntentSender, p2: Int, @Nullable p3: Intent?, p4: Int, p5: Int, p6: Int, @Nullable p7: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun startLockTask()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun startSearch(p0: String?, p1: Boolean, p2: Bundle?, p3: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun startService(p0: Intent): ComponentName?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun stopLockTask()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun stopService(p0: Intent): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun takeKeyEvents(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun triggerSearch(p0: String, p1: Bundle?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun unbindService(p0: ServiceConnection)
+
+
+
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun unregisterReceiver(p0: BroadcastReceiver)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun updateServiceGroup(p0: ServiceConnection, p1: Int, p2: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/index.html b/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/index.html new file mode 100644 index 00000000..86470a27 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-manifest/com.rubensousa.carioca.hilt.manifest/index.html @@ -0,0 +1,99 @@ + + + + + com.rubensousa.carioca.hilt.manifest + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

A container activity for instrumented tests that need Hilt dependencies

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-manifest/index.html b/api/carioca-hilt/carioca-hilt-manifest/index.html new file mode 100644 index 00000000..901e8932 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-manifest/index.html @@ -0,0 +1,95 @@ + + + + + carioca-hilt-manifest + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

carioca-hilt-manifest

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-manifest/navigation.html b/api/carioca-hilt/carioca-hilt-manifest/navigation.html new file mode 100644 index 00000000..1ed11f78 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-manifest/navigation.html @@ -0,0 +1,622 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+ +
+
+ Companion +
+
+
+
+ +
+
+ NATURAL +
+
+
+
+ PORTRAIT +
+
+
+
+ LANDSCAPE +
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ + +
+
+ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ JsonStage +
+
+
+ +
+
+
+
+ + +
+
+ +
+ + + +
+ +
+ +
+
+
+ Id +
+
+
+
+ Links +
+
+
+
+ Title +
+
+
+
+ +
+
+ RUNNING +
+
+
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/api/carioca-hilt/carioca-hilt-runner/com.rubensousa.carioca.hilt.runner/-hilt-test-runner/-hilt-test-runner.html b/api/carioca-hilt/carioca-hilt-runner/com.rubensousa.carioca.hilt.runner/-hilt-test-runner/-hilt-test-runner.html new file mode 100644 index 00000000..604e1650 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-runner/com.rubensousa.carioca.hilt.runner/-hilt-test-runner/-hilt-test-runner.html @@ -0,0 +1,76 @@ + + + + + HiltTestRunner + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

HiltTestRunner

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-runner/com.rubensousa.carioca.hilt.runner/-hilt-test-runner/index.html b/api/carioca-hilt/carioca-hilt-runner/com.rubensousa.carioca.hilt.runner/-hilt-test-runner/index.html new file mode 100644 index 00000000..1e3069f0 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-runner/com.rubensousa.carioca.hilt.runner/-hilt-test-runner/index.html @@ -0,0 +1,1079 @@ + + + + + HiltTestRunner + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

HiltTestRunner

+

Default Hilt test runner that Hilt does not provide out of the box Useful for running Hilt tests isolated from the rest of the application, like feature module testing

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ + + +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun addResults(p0: Bundle)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun callActivityOnCreate(activity: Activity, bundle: Bundle)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun callActivityOnDestroy(activity: Activity)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun callActivityOnPause(activity: Activity)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun callActivityOnRestart(activity: Activity)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun callActivityOnResume(activity: Activity)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun callActivityOnStart(activity: Activity)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun callActivityOnStop(activity: Activity)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun callApplicationOnCreate(app: Application)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun execStartActivities(who: Context, contextThread: IBinder, token: IBinder, target: Activity, intents: Array<Intent>, options: Bundle)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun execStartActivity(who: Context, contextThread: IBinder, token: IBinder, target: Activity, intent: Intent, requestCode: Int): Instrumentation.ActivityResult
open fun execStartActivity(who: Context, contextThread: IBinder, token: IBinder, target: Activity, intent: Intent, requestCode: Int, options: Bundle): Instrumentation.ActivityResult
open fun execStartActivity(who: Context, contextThread: IBinder, token: IBinder, target: Fragment, intent: Intent, requestCode: Int, options: Bundle): Instrumentation.ActivityResult
open fun execStartActivity(who: Context, contextThread: IBinder, token: IBinder, target: String, intent: Intent, requestCode: Int, options: Bundle): Instrumentation.ActivityResult
open fun execStartActivity(who: Context, contextThread: IBinder, token: IBinder, target: Activity, intent: Intent, requestCode: Int, options: Bundle, user: UserHandle): Instrumentation.ActivityResult
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun finish(resultCode: Int, results: Bundle)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getContext(): Context
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun interceptActivityUsing(interceptingActivityFactory: InterceptingActivityFactory)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun invokeMenuActionSync(p0: Activity, p1: Int, p2: Int): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun isProfiling(): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun newActivity(cl: ClassLoader, className: String, intent: Intent): Activity
open override fun newActivity(clazz: Class<*>, context: Context, token: IBinder, application: Application, intent: Intent, info: ActivityInfo, title: CharSequence, parent: Activity, id: String, lastNonConfigurationInstance: Any): Activity
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun newApplication(cl: ClassLoader, name: String, context: Context): Application
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onCreate(arguments: Bundle)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onDestroy()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onException(obj: Any, e: Throwable): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onStart()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun resetInTouchMode()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun runOnMainSync(runnable: Runnable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun sendCharacterSync(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun sendKeyDownUpSync(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun sendKeySync(p0: KeyEvent)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun sendStatus(resultCode: Int, results: Bundle)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun sendStringSync(p0: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun setInTouchMode(p0: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun start()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun startActivitySync(intent: Intent): Activity
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun startProfiling()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun stopProfiling()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun waitForIdle(p0: Runnable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun waitForIdleSync()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-runner/com.rubensousa.carioca.hilt.runner/-hilt-test-runner/new-application.html b/api/carioca-hilt/carioca-hilt-runner/com.rubensousa.carioca.hilt.runner/-hilt-test-runner/new-application.html new file mode 100644 index 00000000..6176f9e1 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-runner/com.rubensousa.carioca.hilt.runner/-hilt-test-runner/new-application.html @@ -0,0 +1,76 @@ + + + + + newApplication + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

newApplication

+
+
open override fun newApplication(cl: ClassLoader, name: String, context: Context): Application
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-runner/com.rubensousa.carioca.hilt.runner/index.html b/api/carioca-hilt/carioca-hilt-runner/com.rubensousa.carioca.hilt.runner/index.html new file mode 100644 index 00000000..1e0ecb16 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-runner/com.rubensousa.carioca.hilt.runner/index.html @@ -0,0 +1,99 @@ + + + + + com.rubensousa.carioca.hilt.runner + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Default Hilt test runner that Hilt does not provide out of the box Useful for running Hilt tests isolated from the rest of the application, like feature module testing

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-runner/index.html b/api/carioca-hilt/carioca-hilt-runner/index.html new file mode 100644 index 00000000..53d88c27 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-runner/index.html @@ -0,0 +1,95 @@ + + + + + carioca-hilt-runner + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

carioca-hilt-runner

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-hilt/carioca-hilt-runner/navigation.html b/api/carioca-hilt/carioca-hilt-runner/navigation.html new file mode 100644 index 00000000..1ed11f78 --- /dev/null +++ b/api/carioca-hilt/carioca-hilt-runner/navigation.html @@ -0,0 +1,622 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+ +
+
+ Companion +
+
+
+
+ +
+
+ NATURAL +
+
+
+
+ PORTRAIT +
+
+
+
+ LANDSCAPE +
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ + +
+
+ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ JsonStage +
+
+
+ +
+
+
+
+ + +
+
+ +
+ + + +
+ +
+ +
+
+
+ Id +
+
+
+
+ Links +
+
+
+
+ Title +
+
+
+
+ +
+
+ RUNNING +
+
+
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-main-dispatcher-rule/-main-dispatcher-rule.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-main-dispatcher-rule/-main-dispatcher-rule.html new file mode 100644 index 00000000..907802cc --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-main-dispatcher-rule/-main-dispatcher-rule.html @@ -0,0 +1,76 @@ + + + + + MainDispatcherRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MainDispatcherRule

+
+
constructor(testDispatcher: TestDispatcher = UnconfinedTestDispatcher())

Parameters

testDispatcher

dispatcher that will be used for Dispatchers.Main

+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-main-dispatcher-rule/index.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-main-dispatcher-rule/index.html new file mode 100644 index 00000000..0f1cc7c7 --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-main-dispatcher-rule/index.html @@ -0,0 +1,138 @@ + + + + + MainDispatcherRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MainDispatcherRule

+
class MainDispatcherRule constructor(val testDispatcher: TestDispatcher = UnconfinedTestDispatcher()) : TestWatcher

A test rule that replaces the Dispatchers.Main with another CoroutineDispatcher. See here for more information

Usage:

class TestClass {

@get:Rule
val dispatcherRule = MainDispatcherRule()
}

Do not use this for instrumented tests

Parameters

testDispatcher

dispatcher that will be used for Dispatchers.Main

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(testDispatcher: TestDispatcher = UnconfinedTestDispatcher())
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val testDispatcher: TestDispatcher
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun apply(p0: Statement, p1: Description): Statement
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-main-dispatcher-rule/test-dispatcher.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-main-dispatcher-rule/test-dispatcher.html new file mode 100644 index 00000000..35735442 --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-main-dispatcher-rule/test-dispatcher.html @@ -0,0 +1,76 @@ + + + + + testDispatcher + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

testDispatcher

+
+
val testDispatcher: TestDispatcher

Parameters

testDispatcher

dispatcher that will be used for Dispatchers.Main

+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test-rule/-repeat-test-rule.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test-rule/-repeat-test-rule.html new file mode 100644 index 00000000..5d1120b6 --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test-rule/-repeat-test-rule.html @@ -0,0 +1,76 @@ + + + + + RepeatTestRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RepeatTestRule

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test-rule/apply.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test-rule/apply.html new file mode 100644 index 00000000..edc45918 --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test-rule/apply.html @@ -0,0 +1,76 @@ + + + + + apply + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

apply

+
+
open override fun apply(base: Statement, description: Description): Statement
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test-rule/current-execution.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test-rule/current-execution.html new file mode 100644 index 00000000..bb70738f --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test-rule/current-execution.html @@ -0,0 +1,76 @@ + + + + + currentExecution + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

currentExecution

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test-rule/index.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test-rule/index.html new file mode 100644 index 00000000..fb7c2bf3 --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test-rule/index.html @@ -0,0 +1,138 @@ + + + + + RepeatTestRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RepeatTestRule

+
class RepeatTestRule : TestRule
+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun apply(base: Statement, description: Description): Statement
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test/index.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test/index.html new file mode 100644 index 00000000..31ddf6f5 --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test/index.html @@ -0,0 +1,100 @@ + + + + + RepeatTest + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RepeatTest

+
annotation class RepeatTest(val times: Int = 2)

Annotates either a test class or a test method for total executions of 1 + times. This is extremely useful for checking if a test is flaky, but otherwise dangerous.

If this annotation is used in the same class and test methods, the annotation of the method takes precedence.

Example:

@RepeatTest(times = 1000)
class SampleTest() {

@RepeatTest(times = 10)
@Test
fun testSomething() {
// This test will be executed 10x or until it fails
}

@Test
fun testAnotherThing() {
// This test will be executed 1000x or until it fails,
// because of the class configuration
}
}
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val times: Int = 2

The number of times a test should be executed. Minimum is 2

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test/times.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test/times.html new file mode 100644 index 00000000..2b7a37f6 --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-repeat-test/times.html @@ -0,0 +1,76 @@ + + + + + times + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

times

+
+
val times: Int = 2

The number of times a test should be executed. Minimum is 2

+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test-rule/-retry-test-rule.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test-rule/-retry-test-rule.html new file mode 100644 index 00000000..4c501c9d --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test-rule/-retry-test-rule.html @@ -0,0 +1,76 @@ + + + + + RetryTestRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RetryTestRule

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test-rule/apply.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test-rule/apply.html new file mode 100644 index 00000000..697c688e --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test-rule/apply.html @@ -0,0 +1,76 @@ + + + + + apply + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

apply

+
+
open override fun apply(base: Statement, description: Description): Statement
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test-rule/current-execution.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test-rule/current-execution.html new file mode 100644 index 00000000..e8a84746 --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test-rule/current-execution.html @@ -0,0 +1,76 @@ + + + + + currentExecution + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

currentExecution

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test-rule/index.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test-rule/index.html new file mode 100644 index 00000000..4d851b6e --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test-rule/index.html @@ -0,0 +1,138 @@ + + + + + RetryTestRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RetryTestRule

+
class RetryTestRule : TestRule
+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun apply(base: Statement, description: Description): Statement
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test/index.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test/index.html new file mode 100644 index 00000000..ddc2d63d --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test/index.html @@ -0,0 +1,100 @@ + + + + + RetryTest + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RetryTest

+
annotation class RetryTest(val times: Int = 1)

Annotates either a test class or a test method with a retry request of times.

If this annotation is used in the same class and test methods, the annotation of the method takes precedence

Example:

@RetryTest(times = 5)
class SampleTest() {

@get:Rule
val retryRule = RetryTestRule()

@RetryTest(times = 2)
@Test
fun testSomething() {
// This test will be retried 2x if it fails
}

@Test
fun testAnotherThing() {
// This test will be retried 5x if it fails,
// because of the class configuration
}
}
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val times: Int = 1

The number of times a test should be retried. Minimum should be one

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test/times.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test/times.html new file mode 100644 index 00000000..e0567909 --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-retry-test/times.html @@ -0,0 +1,76 @@ + + + + + times + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

times

+
+
val times: Int = 1

The number of times a test should be retried. Minimum should be one

+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-test-description-rule/-test-description-rule.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-test-description-rule/-test-description-rule.html new file mode 100644 index 00000000..9463f44a --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-test-description-rule/-test-description-rule.html @@ -0,0 +1,76 @@ + + + + + TestDescriptionRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestDescriptionRule

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-test-description-rule/get-description.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-test-description-rule/get-description.html new file mode 100644 index 00000000..a67bc5d6 --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-test-description-rule/get-description.html @@ -0,0 +1,76 @@ + + + + + getDescription + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDescription

+
+
fun getDescription(): Description
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-test-description-rule/index.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-test-description-rule/index.html new file mode 100644 index 00000000..31431961 --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/-test-description-rule/index.html @@ -0,0 +1,134 @@ + + + + + TestDescriptionRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestDescriptionRule

+
class TestDescriptionRule : TestWatcher

A Rule that catches the Description of the test running

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun apply(p0: Statement, p1: Description): Statement
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getDescription(): Description
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/index.html b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/index.html new file mode 100644 index 00000000..59e13ad3 --- /dev/null +++ b/api/carioca-junit4-rules/com.rubensousa.carioca.junit4.rules/index.html @@ -0,0 +1,174 @@ + + + + + com.rubensousa.carioca.junit4.rules + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
class MainDispatcherRule constructor(val testDispatcher: TestDispatcher = UnconfinedTestDispatcher()) : TestWatcher

A test rule that replaces the Dispatchers.Main with another CoroutineDispatcher. See here for more information

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
annotation class RepeatTest(val times: Int = 2)

Annotates either a test class or a test method for total executions of 1 + times. This is extremely useful for checking if a test is flaky, but otherwise dangerous.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class RepeatTestRule : TestRule
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
annotation class RetryTest(val times: Int = 1)

Annotates either a test class or a test method with a retry request of times.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class RetryTestRule : TestRule
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class TestDescriptionRule : TestWatcher

A Rule that catches the Description of the test running

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/index.html b/api/carioca-junit4-rules/index.html new file mode 100644 index 00000000..7801640f --- /dev/null +++ b/api/carioca-junit4-rules/index.html @@ -0,0 +1,95 @@ + + + + + carioca-junit4-rules + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

carioca-junit4-rules

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-junit4-rules/navigation.html b/api/carioca-junit4-rules/navigation.html new file mode 100644 index 00000000..1ed11f78 --- /dev/null +++ b/api/carioca-junit4-rules/navigation.html @@ -0,0 +1,622 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+ +
+
+ Companion +
+
+
+
+ +
+
+ NATURAL +
+
+
+
+ PORTRAIT +
+
+
+
+ LANDSCAPE +
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ + +
+
+ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ JsonStage +
+
+
+ +
+
+
+
+ + +
+
+ +
+ + + +
+ +
+ +
+
+
+ Id +
+
+
+
+ Links +
+
+
+
+ Title +
+
+
+
+ +
+
+ RUNNING +
+
+
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-compose-hierarchy-inspector/dump.html b/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-compose-hierarchy-inspector/dump.html new file mode 100644 index 00000000..022c6318 --- /dev/null +++ b/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-compose-hierarchy-inspector/dump.html @@ -0,0 +1,76 @@ + + + + + dump + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

dump

+
+
fun dump(useUnmergedTree: Boolean): String

Parameters

useUnmergedTree

Find within merged composables like Buttons

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-compose-hierarchy-inspector/index.html b/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-compose-hierarchy-inspector/index.html new file mode 100644 index 00000000..60787249 --- /dev/null +++ b/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-compose-hierarchy-inspector/index.html @@ -0,0 +1,100 @@ + + + + + ComposeHierarchyInspector + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ComposeHierarchyInspector

+

Dumps the semantic nodes as a string representation. Currently only works for the first/root Composable rendered in the screen

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun dump(useUnmergedTree: Boolean): String
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-dump-compose-hierarchy-interceptor/-dump-compose-hierarchy-interceptor.html b/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-dump-compose-hierarchy-interceptor/-dump-compose-hierarchy-interceptor.html new file mode 100644 index 00000000..4f8f76b4 --- /dev/null +++ b/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-dump-compose-hierarchy-interceptor/-dump-compose-hierarchy-interceptor.html @@ -0,0 +1,76 @@ + + + + + DumpComposeHierarchyInterceptor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DumpComposeHierarchyInterceptor

+
+
constructor(useUnmergedTree: Boolean = true)

Parameters

useUnmergedTree

Find within merged composables like Buttons

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-dump-compose-hierarchy-interceptor/index.html b/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-dump-compose-hierarchy-interceptor/index.html new file mode 100644 index 00000000..983647a5 --- /dev/null +++ b/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-dump-compose-hierarchy-interceptor/index.html @@ -0,0 +1,194 @@ + + + + + DumpComposeHierarchyInterceptor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DumpComposeHierarchyInterceptor

+

A CariocaInstrumentedInterceptor that dumps the compose hierarchy on test failures

Parameters

useUnmergedTree

Find within merged composables like Buttons

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(useUnmergedTree: Boolean = true)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onTestFailed(test: InstrumentedTestReport)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-dump-compose-hierarchy-interceptor/on-test-failed.html b/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-dump-compose-hierarchy-interceptor/on-test-failed.html new file mode 100644 index 00000000..9061b8fd --- /dev/null +++ b/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/-dump-compose-hierarchy-interceptor/on-test-failed.html @@ -0,0 +1,76 @@ + + + + + onTestFailed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onTestFailed

+
+
open override fun onTestFailed(test: InstrumentedTestReport)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/index.html b/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/index.html new file mode 100644 index 00000000..3b1bfada --- /dev/null +++ b/api/carioca-report/report-android-compose/com.rubensousa.carioca.report.android.compose/index.html @@ -0,0 +1,114 @@ + + + + + com.rubensousa.carioca.report.android.compose + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Dumps the semantic nodes as a string representation. Currently only works for the first/root Composable rendered in the screen

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A CariocaInstrumentedInterceptor that dumps the compose hierarchy on test failures

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-compose/index.html b/api/carioca-report/report-android-compose/index.html new file mode 100644 index 00000000..f0be525a --- /dev/null +++ b/api/carioca-report/report-android-compose/index.html @@ -0,0 +1,95 @@ + + + + + report-android-compose + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

report-android-compose

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-compose/navigation.html b/api/carioca-report/report-android-compose/navigation.html new file mode 100644 index 00000000..1ed11f78 --- /dev/null +++ b/api/carioca-report/report-android-compose/navigation.html @@ -0,0 +1,622 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+ +
+
+ Companion +
+
+
+
+ +
+
+ NATURAL +
+
+
+
+ PORTRAIT +
+
+
+
+ LANDSCAPE +
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ + +
+
+ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ JsonStage +
+
+
+ +
+
+
+
+ + +
+
+ +
+ + + +
+ +
+ +
+
+
+ Id +
+
+
+
+ Links +
+
+
+
+ Title +
+
+
+
+ +
+
+ RUNNING +
+
+
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/index.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/index.html new file mode 100644 index 00000000..b728b87b --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/index.html @@ -0,0 +1,734 @@ + + + + + InstrumentedCoroutineTest + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ + +
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun addProperty(key: ReportProperty, value: Any)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun attach(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun deleteAttachment(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun detach(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator override fun equals(other: Any?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun fail(cause: Throwable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getId(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun <T> getProperty(key: ReportProperty): T?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getTitle(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getType(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open suspend fun Given(scenario: InstrumentedCoroutineScenario, action: suspend InstrumentedCoroutineStageScope.() -> Unit = {})
open suspend fun Given(title: String, action: suspend InstrumentedCoroutineStageScope.() -> Unit)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun hashCode(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun ignore()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onFailed(error: Throwable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onIgnored()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onPassed()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onStarted()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun param(key: String, value: String)

Sets a parameter for the current stage

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun pass()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun reset()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open suspend override fun scenario(scenario: InstrumentedCoroutineScenario)

Creates a report for a set of steps. This is almost equivalent to calling step multiple times, but in a more re-usable way

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun screenshot(description: String, options: ScreenshotOptions?)

Takes a screenshot with the configuration set through the report rule.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setParameter(key: String, value: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open suspend override fun step(title: String, id: String?, action: suspend InstrumentedCoroutineStageScope.() -> Unit)

Creates an individual section of a test

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open suspend fun Then(title: String, action: suspend InstrumentedCoroutineStageScope.() -> Unit)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun toString(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open suspend fun When(title: String, action: suspend InstrumentedCoroutineStageScope.() -> Unit)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/param.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/param.html new file mode 100644 index 00000000..bcf72625 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/param.html @@ -0,0 +1,76 @@ + + + + + param + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

param

+
+
open override fun param(key: String, value: String)

Sets a parameter for the current stage

Parameters

key

the unique identifier of the parameter

value

the value of the parameter

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/scenario.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/scenario.html new file mode 100644 index 00000000..fad33fcf --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/scenario.html @@ -0,0 +1,76 @@ + + + + + scenario + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scenario

+
+
open suspend override fun scenario(scenario: InstrumentedCoroutineScenario)

Creates a report for a set of steps. This is almost equivalent to calling step multiple times, but in a more re-usable way

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/screenshot.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/screenshot.html new file mode 100644 index 00000000..3c7b1693 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/screenshot.html @@ -0,0 +1,76 @@ + + + + + screenshot + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

screenshot

+
+
open override fun screenshot(description: String, options: ScreenshotOptions?)

Takes a screenshot with the configuration set through the report rule.

The generated file will be pulled from the device once the test runner finishes running all tests

Parameters

description

the description of the screenshot for the report

options

the optional options that will override the setup from the test. If null, the default options set in the rule will apply

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/step.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/step.html new file mode 100644 index 00000000..19c55f50 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/-instrumented-coroutine-test/step.html @@ -0,0 +1,76 @@ + + + + + step + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

step

+
+
open suspend override fun step(title: String, id: String?, action: suspend InstrumentedCoroutineStageScope.() -> Unit)

Creates an individual section of a test

Parameters

title

the name of the step

id

an optional persistent step id

action

the step block that will be executed

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/index.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/index.html new file mode 100644 index 00000000..8aa67ce3 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines.internal/index.html @@ -0,0 +1,99 @@ + + + + + com.rubensousa.carioca.report.android.coroutines.internal + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+ +
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-report-rule/-instrumented-coroutine-report-rule.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-report-rule/-instrumented-coroutine-report-rule.html new file mode 100644 index 00000000..87706ca3 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-report-rule/-instrumented-coroutine-report-rule.html @@ -0,0 +1,80 @@ + + + + + InstrumentedCoroutineReportRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedCoroutineReportRule

+
+
constructor(reporter: InstrumentedReporter = DefaultInstrumentedReporter(), recordingOptions: RecordingOptions = RecordingOptions(), screenshotOptions: ScreenshotOptions = ScreenshotOptions(), interceptors: List<CariocaInstrumentedInterceptor> = listOf( + LoggerInterceptor(), + TakeScreenshotOnFailureInterceptor(), + DumpViewHierarchyInterceptor(), + ))

Public constructor that uses TestStorageProvider to save the reports

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-report-rule/index.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-report-rule/index.html new file mode 100644 index 00000000..404ff5dd --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-report-rule/index.html @@ -0,0 +1,153 @@ + + + + + InstrumentedCoroutineReportRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedCoroutineReportRule

+

A report rule for coroutine tests. Please check InstrumentedReportRule for more info on how to use the basic report functionality

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(reporter: InstrumentedReporter = DefaultInstrumentedReporter(), recordingOptions: RecordingOptions = RecordingOptions(), screenshotOptions: ScreenshotOptions = ScreenshotOptions(), interceptors: List<CariocaInstrumentedInterceptor> = listOf( + LoggerInterceptor(), + TakeScreenshotOnFailureInterceptor(), + DumpViewHierarchyInterceptor(), + ))

Public constructor that uses TestStorageProvider to save the reports

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun apply(p0: Statement, p1: Description): Statement
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun invoke(context: CoroutineContext = EmptyCoroutineContext, block: suspend InstrumentedCoroutineTestScope.() -> Unit)

Same as runTest

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun runTest(context: CoroutineContext = EmptyCoroutineContext, block: suspend InstrumentedCoroutineTestScope.() -> Unit)

Runs the report inside a coroutine scope

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-report-rule/invoke.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-report-rule/invoke.html new file mode 100644 index 00000000..bb488e44 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-report-rule/invoke.html @@ -0,0 +1,76 @@ + + + + + invoke + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

invoke

+
+
operator fun invoke(context: CoroutineContext = EmptyCoroutineContext, block: suspend InstrumentedCoroutineTestScope.() -> Unit)

Same as runTest

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-report-rule/run-test.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-report-rule/run-test.html new file mode 100644 index 00000000..583b16f8 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-report-rule/run-test.html @@ -0,0 +1,76 @@ + + + + + runTest + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

runTest

+
+
fun runTest(context: CoroutineContext = EmptyCoroutineContext, block: suspend InstrumentedCoroutineTestScope.() -> Unit)

Runs the report inside a coroutine scope

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/-instrumented-coroutine-scenario.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/-instrumented-coroutine-scenario.html new file mode 100644 index 00000000..801078f9 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/-instrumented-coroutine-scenario.html @@ -0,0 +1,76 @@ + + + + + InstrumentedCoroutineScenario + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedCoroutineScenario

+
+
constructor(title: String, id: String = title)

Parameters

title

the description of this scenario

id

a persistent id for tracking multiple executions of this scenario. Default: same as title

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/id.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/id.html new file mode 100644 index 00000000..c5f1ea3d --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/id.html @@ -0,0 +1,76 @@ + + + + + id + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

id

+
+
val id: String

Parameters

id

a persistent id for tracking multiple executions of this scenario. Default: same as title

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/index.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/index.html new file mode 100644 index 00000000..ef2e868d --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/index.html @@ -0,0 +1,153 @@ + + + + + InstrumentedCoroutineScenario + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedCoroutineScenario

+
abstract class InstrumentedCoroutineScenario(val title: String, val id: String = title)

A re-usable set of stages that can be used across multiple tests. Use this carefully and only when you have a stable set of steps that need to execute in an consistent order

Parameters

title

the description of this scenario

id

a persistent id for tracking multiple executions of this scenario. Default: same as title

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(title: String, id: String = title)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract suspend fun run(scope: InstrumentedCoroutineStageScope)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/run.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/run.html new file mode 100644 index 00000000..3d6d1401 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/run.html @@ -0,0 +1,76 @@ + + + + + run + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

run

+
+
abstract suspend fun run(scope: InstrumentedCoroutineStageScope)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/title.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/title.html new file mode 100644 index 00000000..f813fbda --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-scenario/title.html @@ -0,0 +1,76 @@ + + + + + title + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

title

+
+

Parameters

title

the description of this scenario

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/index.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/index.html new file mode 100644 index 00000000..0e179e51 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/index.html @@ -0,0 +1,145 @@ + + + + + InstrumentedCoroutineStageScope + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedCoroutineStageScope

+

The main entry point for stage reports for tests that need coroutines

Inheritors

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun param(key: String, value: String)

Sets a parameter for the current stage

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract suspend fun scenario(scenario: InstrumentedCoroutineScenario)

Creates a report for a set of steps. This is almost equivalent to calling step multiple times, but in a more re-usable way

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun screenshot(description: String, options: ScreenshotOptions? = null)

Takes a screenshot with the configuration set through the report rule.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract suspend fun step(title: String, id: String? = null, action: suspend InstrumentedCoroutineStageScope.() -> Unit = {})

Creates an individual section of a test

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/param.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/param.html new file mode 100644 index 00000000..2296f587 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/param.html @@ -0,0 +1,76 @@ + + + + + param + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

param

+
+
abstract fun param(key: String, value: String)

Sets a parameter for the current stage

Parameters

key

the unique identifier of the parameter

value

the value of the parameter

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/scenario.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/scenario.html new file mode 100644 index 00000000..039d76e7 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/scenario.html @@ -0,0 +1,76 @@ + + + + + scenario + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scenario

+
+
abstract suspend fun scenario(scenario: InstrumentedCoroutineScenario)

Creates a report for a set of steps. This is almost equivalent to calling step multiple times, but in a more re-usable way

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/screenshot.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/screenshot.html new file mode 100644 index 00000000..a06d1e06 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/screenshot.html @@ -0,0 +1,76 @@ + + + + + screenshot + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

screenshot

+
+
abstract fun screenshot(description: String, options: ScreenshotOptions? = null)

Takes a screenshot with the configuration set through the report rule.

The generated file will be pulled from the device once the test runner finishes running all tests

Parameters

description

the description of the screenshot for the report

options

the optional options that will override the setup from the test. If null, the default options set in the rule will apply

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/step.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/step.html new file mode 100644 index 00000000..ea906402 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-stage-scope/step.html @@ -0,0 +1,76 @@ + + + + + step + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

step

+
+
abstract suspend fun step(title: String, id: String? = null, action: suspend InstrumentedCoroutineStageScope.() -> Unit = {})

Creates an individual section of a test

Parameters

title

the name of the step

id

an optional persistent step id

action

the step block that will be executed

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-test-scope/-given.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-test-scope/-given.html new file mode 100644 index 00000000..c57cc589 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-test-scope/-given.html @@ -0,0 +1,76 @@ + + + + + Given + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Given

+
+
open suspend fun Given(scenario: InstrumentedCoroutineScenario, action: suspend InstrumentedCoroutineStageScope.() -> Unit = {})
open suspend fun Given(title: String, action: suspend InstrumentedCoroutineStageScope.() -> Unit)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-test-scope/-then.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-test-scope/-then.html new file mode 100644 index 00000000..dccc60d3 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-test-scope/-then.html @@ -0,0 +1,76 @@ + + + + + Then + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Then

+
+
open suspend fun Then(title: String, action: suspend InstrumentedCoroutineStageScope.() -> Unit)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-test-scope/-when.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-test-scope/-when.html new file mode 100644 index 00000000..bb0a9f17 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-test-scope/-when.html @@ -0,0 +1,76 @@ + + + + + When + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

When

+
+
open suspend fun When(title: String, action: suspend InstrumentedCoroutineStageScope.() -> Unit)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-test-scope/index.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-test-scope/index.html new file mode 100644 index 00000000..019003d4 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/-instrumented-coroutine-test-scope/index.html @@ -0,0 +1,190 @@ + + + + + InstrumentedCoroutineTestScope + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedCoroutineTestScope

+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open suspend fun Given(scenario: InstrumentedCoroutineScenario, action: suspend InstrumentedCoroutineStageScope.() -> Unit = {})
open suspend fun Given(title: String, action: suspend InstrumentedCoroutineStageScope.() -> Unit)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun param(key: String, value: String)

Sets a parameter for the current stage

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract suspend fun scenario(scenario: InstrumentedCoroutineScenario)

Creates a report for a set of steps. This is almost equivalent to calling step multiple times, but in a more re-usable way

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun screenshot(description: String, options: ScreenshotOptions? = null)

Takes a screenshot with the configuration set through the report rule.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract suspend fun step(title: String, id: String? = null, action: suspend InstrumentedCoroutineStageScope.() -> Unit = {})

Creates an individual section of a test

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open suspend fun Then(title: String, action: suspend InstrumentedCoroutineStageScope.() -> Unit)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open suspend fun When(title: String, action: suspend InstrumentedCoroutineStageScope.() -> Unit)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/index.html b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/index.html new file mode 100644 index 00000000..ec625fdd --- /dev/null +++ b/api/carioca-report/report-android-coroutines/com.rubensousa.carioca.report.android.coroutines/index.html @@ -0,0 +1,144 @@ + + + + + com.rubensousa.carioca.report.android.coroutines + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

A report rule for coroutine tests. Please check InstrumentedReportRule for more info on how to use the basic report functionality

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract class InstrumentedCoroutineScenario(val title: String, val id: String = title)

A re-usable set of stages that can be used across multiple tests. Use this carefully and only when you have a stable set of steps that need to execute in an consistent order

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The main entry point for stage reports for tests that need coroutines

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/index.html b/api/carioca-report/report-android-coroutines/index.html new file mode 100644 index 00000000..1553b278 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/index.html @@ -0,0 +1,113 @@ + + + + + report-android-coroutines + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

report-android-coroutines

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android-coroutines/navigation.html b/api/carioca-report/report-android-coroutines/navigation.html new file mode 100644 index 00000000..1ed11f78 --- /dev/null +++ b/api/carioca-report/report-android-coroutines/navigation.html @@ -0,0 +1,622 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+ +
+
+ Companion +
+
+
+
+ +
+
+ NATURAL +
+
+
+
+ PORTRAIT +
+
+
+
+ LANDSCAPE +
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ + +
+
+ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ JsonStage +
+
+
+ +
+
+
+
+ + +
+
+ +
+ + + +
+ +
+ +
+
+
+ Id +
+
+
+
+ Links +
+
+
+
+ Title +
+
+
+
+ +
+
+ RUNNING +
+
+
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/index.html new file mode 100644 index 00000000..8a46b550 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/index.html @@ -0,0 +1,175 @@ + + + + + CariocaInstrumentedInterceptor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CariocaInstrumentedInterceptor

+

Lifecycle of a report:

  1. onTestStarted

  2. onStageStarted

  3. onStagePassed or onStageFailed

  4. onTestPassed or onTestFailed

Each stage can start a nested stage before it's over. Example: scenario is a stage that starts nested step stages

Inheritors

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-stage-failed.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-stage-failed.html new file mode 100644 index 00000000..1f5dfa8c --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-stage-failed.html @@ -0,0 +1,76 @@ + + + + + onStageFailed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onStageFailed

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-stage-passed.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-stage-passed.html new file mode 100644 index 00000000..4744e584 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-stage-passed.html @@ -0,0 +1,76 @@ + + + + + onStagePassed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onStagePassed

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-stage-started.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-stage-started.html new file mode 100644 index 00000000..739921a6 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-stage-started.html @@ -0,0 +1,76 @@ + + + + + onStageStarted + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onStageStarted

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-test-failed.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-test-failed.html new file mode 100644 index 00000000..9221c2b6 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-test-failed.html @@ -0,0 +1,76 @@ + + + + + onTestFailed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onTestFailed

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-test-passed.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-test-passed.html new file mode 100644 index 00000000..93b708c7 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-test-passed.html @@ -0,0 +1,76 @@ + + + + + onTestPassed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onTestPassed

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-test-started.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-test-started.html new file mode 100644 index 00000000..c7ba9cce --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-carioca-instrumented-interceptor/on-test-started.html @@ -0,0 +1,76 @@ + + + + + onTestStarted + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onTestStarted

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-dump-view-hierarchy-interceptor/-dump-view-hierarchy-interceptor.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-dump-view-hierarchy-interceptor/-dump-view-hierarchy-interceptor.html new file mode 100644 index 00000000..69e86239 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-dump-view-hierarchy-interceptor/-dump-view-hierarchy-interceptor.html @@ -0,0 +1,76 @@ + + + + + DumpViewHierarchyInterceptor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DumpViewHierarchyInterceptor

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-dump-view-hierarchy-interceptor/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-dump-view-hierarchy-interceptor/index.html new file mode 100644 index 00000000..2d0f3f64 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-dump-view-hierarchy-interceptor/index.html @@ -0,0 +1,194 @@ + + + + + DumpViewHierarchyInterceptor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DumpViewHierarchyInterceptor

+

A CariocaInstrumentedInterceptor that dumps the view hierarchy to a file whenever the test fails

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onTestFailed(test: InstrumentedTestReport)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-dump-view-hierarchy-interceptor/on-test-failed.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-dump-view-hierarchy-interceptor/on-test-failed.html new file mode 100644 index 00000000..bd925b0f --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-dump-view-hierarchy-interceptor/on-test-failed.html @@ -0,0 +1,76 @@ + + + + + onTestFailed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onTestFailed

+
+
open override fun onTestFailed(test: InstrumentedTestReport)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/-logger-interceptor.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/-logger-interceptor.html new file mode 100644 index 00000000..d474949f --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/-logger-interceptor.html @@ -0,0 +1,76 @@ + + + + + LoggerInterceptor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LoggerInterceptor

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/index.html new file mode 100644 index 00000000..997d401e --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/index.html @@ -0,0 +1,194 @@ + + + + + LoggerInterceptor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LoggerInterceptor

+ +
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onStageFailed(stage: InstrumentedStageReport)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onStagePassed(stage: InstrumentedStageReport)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onStageStarted(stage: InstrumentedStageReport)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onTestFailed(test: InstrumentedTestReport)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onTestPassed(test: InstrumentedTestReport)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onTestStarted(test: InstrumentedTestReport)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-stage-failed.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-stage-failed.html new file mode 100644 index 00000000..a7632180 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-stage-failed.html @@ -0,0 +1,76 @@ + + + + + onStageFailed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onStageFailed

+
+
open override fun onStageFailed(stage: InstrumentedStageReport)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-stage-passed.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-stage-passed.html new file mode 100644 index 00000000..c91e2da3 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-stage-passed.html @@ -0,0 +1,76 @@ + + + + + onStagePassed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onStagePassed

+
+
open override fun onStagePassed(stage: InstrumentedStageReport)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-stage-started.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-stage-started.html new file mode 100644 index 00000000..dd10be3f --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-stage-started.html @@ -0,0 +1,76 @@ + + + + + onStageStarted + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onStageStarted

+
+
open override fun onStageStarted(stage: InstrumentedStageReport)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-test-failed.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-test-failed.html new file mode 100644 index 00000000..5126f19a --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-test-failed.html @@ -0,0 +1,76 @@ + + + + + onTestFailed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onTestFailed

+
+
open override fun onTestFailed(test: InstrumentedTestReport)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-test-passed.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-test-passed.html new file mode 100644 index 00000000..c5d51782 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-test-passed.html @@ -0,0 +1,76 @@ + + + + + onTestPassed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onTestPassed

+
+
open override fun onTestPassed(test: InstrumentedTestReport)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-test-started.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-test-started.html new file mode 100644 index 00000000..5c3d0602 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-logger-interceptor/on-test-started.html @@ -0,0 +1,76 @@ + + + + + onTestStarted + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onTestStarted

+
+
open override fun onTestStarted(test: InstrumentedTestReport)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-take-screenshot-on-failure-interceptor/-take-screenshot-on-failure-interceptor.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-take-screenshot-on-failure-interceptor/-take-screenshot-on-failure-interceptor.html new file mode 100644 index 00000000..d4e1f0cd --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-take-screenshot-on-failure-interceptor/-take-screenshot-on-failure-interceptor.html @@ -0,0 +1,79 @@ + + + + + TakeScreenshotOnFailureInterceptor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TakeScreenshotOnFailureInterceptor

+
+
constructor(screenshotOptions: ScreenshotOptions = ScreenshotOptions( + format = Bitmap.CompressFormat.PNG, + scale = 1.0f + ), description: String = "Screenshot of failure")

Parameters

screenshotOptions

the options for the screenshot file

description

the description of the attachment file

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-take-screenshot-on-failure-interceptor/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-take-screenshot-on-failure-interceptor/index.html new file mode 100644 index 00000000..8cc4d2fc --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-take-screenshot-on-failure-interceptor/index.html @@ -0,0 +1,200 @@ + + + + + TakeScreenshotOnFailureInterceptor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TakeScreenshotOnFailureInterceptor

+
class TakeScreenshotOnFailureInterceptor(screenshotOptions: ScreenshotOptions = ScreenshotOptions( + format = Bitmap.CompressFormat.PNG, + scale = 1.0f + ), description: String = "Screenshot of failure") : CariocaInstrumentedInterceptor

A CariocaInstrumentedInterceptor that triggers a screenshot when the test fails using the configuration provided via screenshotOptions

Parameters

screenshotOptions

the options for the screenshot file

description

the description of the attachment file

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(screenshotOptions: ScreenshotOptions = ScreenshotOptions( + format = Bitmap.CompressFormat.PNG, + scale = 1.0f + ), description: String = "Screenshot of failure")
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun onTestFailed(test: InstrumentedTestReport)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-take-screenshot-on-failure-interceptor/on-test-failed.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-take-screenshot-on-failure-interceptor/on-test-failed.html new file mode 100644 index 00000000..f394c5ea --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/-take-screenshot-on-failure-interceptor/on-test-failed.html @@ -0,0 +1,76 @@ + + + + + onTestFailed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onTestFailed

+
+
open override fun onTestFailed(test: InstrumentedTestReport)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/index.html new file mode 100644 index 00000000..58ff5a84 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/index.html @@ -0,0 +1,166 @@ + + + + + com.rubensousa.carioca.report.android.interceptor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Lifecycle of a report:

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A CariocaInstrumentedInterceptor that dumps the view hierarchy to a file whenever the test fails

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class TakeScreenshotOnFailureInterceptor(screenshotOptions: ScreenshotOptions = ScreenshotOptions( + format = Bitmap.CompressFormat.PNG, + scale = 1.0f + ), description: String = "Screenshot of failure") : CariocaInstrumentedInterceptor

A CariocaInstrumentedInterceptor that triggers a screenshot when the test fails using the configuration provided via screenshotOptions

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/intercept.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/intercept.html new file mode 100644 index 00000000..2639b851 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.interceptor/intercept.html @@ -0,0 +1,76 @@ + + + + + intercept + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

intercept

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/-companion/from.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/-companion/from.html new file mode 100644 index 00000000..b0ffdeb7 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/-companion/from.html @@ -0,0 +1,76 @@ + + + + + from + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

from

+
+
fun from(description: Description): RecordingOptions?
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/-companion/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/-companion/index.html new file mode 100644 index 00000000..91a4a780 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/-companion/index.html @@ -0,0 +1,100 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun from(description: Description): RecordingOptions?
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/-recording-options.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/-recording-options.html new file mode 100644 index 00000000..ee0cd1ba --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/-recording-options.html @@ -0,0 +1,76 @@ + + + + + RecordingOptions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RecordingOptions

+
+
constructor(enabled: Boolean = true, bitrate: Int, scale: Float = 0.75f, keepOnSuccess: Boolean = false, startDelay: Long = 500, stopDelay: Long = 1000, continueDelay: Long = 250, orientation: RecordingOrientation = RecordingOrientation.NATURAL)

Parameters

enabled

true if screen recording should start for the test. Default: true

bitrate

the bitrate of the video file. Default: 16 mbps

scale

the video scale in relation to the original display size. Default: 75% of the screen resolution

keepOnSuccess

true if the recording should be kept if the test passes, false if it should be deleted

startDelay

the minimum amount of time to wait after the recording starts. Default: 500ms

stopDelay

the minimum amount of time to wait before the recording should be stopped. Default: 1 second

continueDelay

the minimum amount of time to wait before continuing to the recording of a next test Default: 250ms

orientation

the orientation of the screen recording. Default: RecordingOrientation.NATURAL

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/bitrate.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/bitrate.html new file mode 100644 index 00000000..79e61f0c --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/bitrate.html @@ -0,0 +1,76 @@ + + + + + bitrate + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

bitrate

+
+

Parameters

bitrate

the bitrate of the video file. Default: 16 mbps

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/continue-delay.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/continue-delay.html new file mode 100644 index 00000000..3a90e241 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/continue-delay.html @@ -0,0 +1,76 @@ + + + + + continueDelay + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

continueDelay

+
+
val continueDelay: Long = 250

Parameters

continueDelay

the minimum amount of time to wait before continuing to the recording of a next test Default: 250ms

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/enabled.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/enabled.html new file mode 100644 index 00000000..5fb9df14 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/enabled.html @@ -0,0 +1,76 @@ + + + + + enabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

enabled

+
+
val enabled: Boolean = true

Parameters

enabled

true if screen recording should start for the test. Default: true

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/index.html new file mode 100644 index 00000000..a062bca7 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/index.html @@ -0,0 +1,243 @@ + + + + + RecordingOptions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RecordingOptions

+
data class RecordingOptions(val enabled: Boolean = true, val bitrate: Int, val scale: Float = 0.75f, val keepOnSuccess: Boolean = false, val startDelay: Long = 500, val stopDelay: Long = 1000, val continueDelay: Long = 250, val orientation: RecordingOrientation = RecordingOrientation.NATURAL)

See more information here

Parameters

enabled

true if screen recording should start for the test. Default: true

bitrate

the bitrate of the video file. Default: 16 mbps

scale

the video scale in relation to the original display size. Default: 75% of the screen resolution

keepOnSuccess

true if the recording should be kept if the test passes, false if it should be deleted

startDelay

the minimum amount of time to wait after the recording starts. Default: 500ms

stopDelay

the minimum amount of time to wait before the recording should be stopped. Default: 1 second

continueDelay

the minimum amount of time to wait before continuing to the recording of a next test Default: 250ms

orientation

the orientation of the screen recording. Default: RecordingOrientation.NATURAL

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(enabled: Boolean = true, bitrate: Int, scale: Float = 0.75f, keepOnSuccess: Boolean = false, startDelay: Long = 500, stopDelay: Long = 1000, continueDelay: Long = 250, orientation: RecordingOrientation = RecordingOrientation.NATURAL)
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val continueDelay: Long = 250
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val enabled: Boolean = true
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val keepOnSuccess: Boolean = false
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val scale: Float = 0.75f
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val startDelay: Long = 500
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val stopDelay: Long = 1000
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/keep-on-success.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/keep-on-success.html new file mode 100644 index 00000000..992be486 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/keep-on-success.html @@ -0,0 +1,76 @@ + + + + + keepOnSuccess + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

keepOnSuccess

+
+
val keepOnSuccess: Boolean = false

Parameters

keepOnSuccess

true if the recording should be kept if the test passes, false if it should be deleted

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/orientation.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/orientation.html new file mode 100644 index 00000000..8794f74c --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/orientation.html @@ -0,0 +1,76 @@ + + + + + orientation + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

orientation

+
+

Parameters

orientation

the orientation of the screen recording. Default: RecordingOrientation.NATURAL

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/scale.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/scale.html new file mode 100644 index 00000000..a48a2c24 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/scale.html @@ -0,0 +1,76 @@ + + + + + scale + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scale

+
+
val scale: Float = 0.75f

Parameters

scale

the video scale in relation to the original display size. Default: 75% of the screen resolution

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/start-delay.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/start-delay.html new file mode 100644 index 00000000..682fd13e --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/start-delay.html @@ -0,0 +1,76 @@ + + + + + startDelay + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

startDelay

+
+
val startDelay: Long = 500

Parameters

startDelay

the minimum amount of time to wait after the recording starts. Default: 500ms

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/stop-delay.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/stop-delay.html new file mode 100644 index 00000000..1703c4cc --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-options/stop-delay.html @@ -0,0 +1,76 @@ + + + + + stopDelay + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

stopDelay

+
+
val stopDelay: Long = 1000

Parameters

stopDelay

the minimum amount of time to wait before the recording should be stopped. Default: 1 second

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/-l-a-n-d-s-c-a-p-e/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/-l-a-n-d-s-c-a-p-e/index.html new file mode 100644 index 00000000..4e171213 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/-l-a-n-d-s-c-a-p-e/index.html @@ -0,0 +1,115 @@ + + + + + LANDSCAPE + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LANDSCAPE

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/-n-a-t-u-r-a-l/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/-n-a-t-u-r-a-l/index.html new file mode 100644 index 00000000..029602a7 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/-n-a-t-u-r-a-l/index.html @@ -0,0 +1,115 @@ + + + + + NATURAL + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

NATURAL

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/-p-o-r-t-r-a-i-t/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/-p-o-r-t-r-a-i-t/index.html new file mode 100644 index 00000000..875cc439 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/-p-o-r-t-r-a-i-t/index.html @@ -0,0 +1,115 @@ + + + + + PORTRAIT + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

PORTRAIT

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/entries.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/entries.html new file mode 100644 index 00000000..e5d88a83 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

entries

+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/index.html new file mode 100644 index 00000000..3a61c8b9 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/index.html @@ -0,0 +1,213 @@ + + + + + RecordingOrientation + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RecordingOrientation

+

The orientation of the screen recording

+
+
+
+
+
+

Entries

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an array containing the constants of this enum type, in the order they're declared.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/value-of.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/value-of.html new file mode 100644 index 00000000..14873b8e --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

valueOf

+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/values.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/values.html new file mode 100644 index 00000000..d53769eb --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-recording-orientation/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

values

+
+

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/-report-recording.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/-report-recording.html new file mode 100644 index 00000000..413aab12 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/-report-recording.html @@ -0,0 +1,76 @@ + + + + + ReportRecording + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ReportRecording

+
+
constructor(absoluteFilePath: String, relativeFilePath: String, filename: String, tmpFile: File)

Parameters

absoluteFilePath

the absolute file path to the video recording

relativeFilePath

the relative file path inside the test storage directory

filename

the filename of the video recording file

tmpFile

the temporary file of the recording, while it is being recorded

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/absolute-file-path.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/absolute-file-path.html new file mode 100644 index 00000000..964909a5 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/absolute-file-path.html @@ -0,0 +1,76 @@ + + + + + absoluteFilePath + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

absoluteFilePath

+
+

Parameters

absoluteFilePath

the absolute file path to the video recording

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/filename.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/filename.html new file mode 100644 index 00000000..5feb9626 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/filename.html @@ -0,0 +1,76 @@ + + + + + filename + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

filename

+
+

Parameters

filename

the filename of the video recording file

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/index.html new file mode 100644 index 00000000..f8ce5d9b --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/index.html @@ -0,0 +1,164 @@ + + + + + ReportRecording + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ReportRecording

+
data class ReportRecording(val absoluteFilePath: String, val relativeFilePath: String, val filename: String, val tmpFile: File)

A recording taken during a test report

Parameters

absoluteFilePath

the absolute file path to the video recording

relativeFilePath

the relative file path inside the test storage directory

filename

the filename of the video recording file

tmpFile

the temporary file of the recording, while it is being recorded

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(absoluteFilePath: String, relativeFilePath: String, filename: String, tmpFile: File)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/relative-file-path.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/relative-file-path.html new file mode 100644 index 00000000..6b51f326 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/relative-file-path.html @@ -0,0 +1,76 @@ + + + + + relativeFilePath + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

relativeFilePath

+
+

Parameters

relativeFilePath

the relative file path inside the test storage directory

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/tmp-file.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/tmp-file.html new file mode 100644 index 00000000..a6b18bf6 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-report-recording/tmp-file.html @@ -0,0 +1,76 @@ + + + + + tmpFile + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

tmpFile

+
+

Parameters

tmpFile

the temporary file of the recording, while it is being recorded

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/bitrate.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/bitrate.html new file mode 100644 index 00000000..82849de8 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/bitrate.html @@ -0,0 +1,76 @@ + + + + + bitrate + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

bitrate

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/continue-delay.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/continue-delay.html new file mode 100644 index 00000000..c3d5e9aa --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/continue-delay.html @@ -0,0 +1,76 @@ + + + + + continueDelay + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

continueDelay

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/enabled.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/enabled.html new file mode 100644 index 00000000..79e65e36 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/enabled.html @@ -0,0 +1,76 @@ + + + + + enabled + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

enabled

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/index.html new file mode 100644 index 00000000..08375d02 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/index.html @@ -0,0 +1,205 @@ + + + + + TestRecording + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestRecording

+
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class TestRecording(val enabled: Boolean = true, val bitrate: Int, val scale: Float = 0.75f, val keepOnSuccess: Boolean = false, val startDelay: Long = 500, val stopDelay: Long = 1000, val continueDelay: Long = 250, val orientation: RecordingOrientation = RecordingOrientation.NATURAL)

Signals a test to be screen recorded

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val continueDelay: Long = 250
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val enabled: Boolean = true
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val keepOnSuccess: Boolean = false
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val scale: Float = 0.75f
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val startDelay: Long = 500
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val stopDelay: Long = 1000
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/keep-on-success.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/keep-on-success.html new file mode 100644 index 00000000..55a90d08 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/keep-on-success.html @@ -0,0 +1,76 @@ + + + + + keepOnSuccess + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

keepOnSuccess

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/orientation.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/orientation.html new file mode 100644 index 00000000..170d4aa5 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/orientation.html @@ -0,0 +1,76 @@ + + + + + orientation + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

orientation

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/scale.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/scale.html new file mode 100644 index 00000000..e1bb0775 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/scale.html @@ -0,0 +1,76 @@ + + + + + scale + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scale

+
+
val scale: Float = 0.75f

See also

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/start-delay.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/start-delay.html new file mode 100644 index 00000000..3335b24b --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/start-delay.html @@ -0,0 +1,76 @@ + + + + + startDelay + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

startDelay

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/stop-delay.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/stop-delay.html new file mode 100644 index 00000000..cda9ff0a --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/-test-recording/stop-delay.html @@ -0,0 +1,76 @@ + + + + + stopDelay + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

stopDelay

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/index.html new file mode 100644 index 00000000..f8f6e826 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.recording/index.html @@ -0,0 +1,144 @@ + + + + + com.rubensousa.carioca.report.android.recording + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class RecordingOptions(val enabled: Boolean = true, val bitrate: Int, val scale: Float = 0.75f, val keepOnSuccess: Boolean = false, val startDelay: Long = 500, val stopDelay: Long = 1000, val continueDelay: Long = 250, val orientation: RecordingOrientation = RecordingOrientation.NATURAL)

See more information here

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The orientation of the screen recording

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class ReportRecording(val absoluteFilePath: String, val relativeFilePath: String, val filename: String, val tmpFile: File)

A recording taken during a test report

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class TestRecording(val enabled: Boolean = true, val bitrate: Int, val scale: Float = 0.75f, val keepOnSuccess: Boolean = false, val startDelay: Long = 500, val stopDelay: Long = 1000, val continueDelay: Long = 250, val orientation: RecordingOrientation = RecordingOrientation.NATURAL)

Signals a test to be screen recorded

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-device-screenshot/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-device-screenshot/index.html new file mode 100644 index 00000000..c3ac1ba3 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-device-screenshot/index.html @@ -0,0 +1,100 @@ + + + + + DeviceScreenshot + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DeviceScreenshot

+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun take(storageDir: Uri, options: ScreenshotOptions, filename: String? = null): Uri?
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-device-screenshot/take.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-device-screenshot/take.html new file mode 100644 index 00000000..82b0ecd3 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-device-screenshot/take.html @@ -0,0 +1,76 @@ + + + + + take + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

take

+
+
fun take(storageDir: Uri, options: ScreenshotOptions, filename: String? = null): Uri?

Return

a Uri that points to the new screenshot

Parameters

storageDir

the target directory from the test storage where the screenshot will be saved

options

the configurable options for this screenshot

filename

the desired screenshot filename. Defaults to a random uuid

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-delegate/-screenshot-delegate.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-delegate/-screenshot-delegate.html new file mode 100644 index 00000000..98e7a1ff --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-delegate/-screenshot-delegate.html @@ -0,0 +1,76 @@ + + + + + ScreenshotDelegate + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ScreenshotDelegate

+
+
constructor(outputPath: String, defaultOptions: ScreenshotOptions, storageProvider: ReportStorageProvider)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-delegate/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-delegate/index.html new file mode 100644 index 00000000..25d121b8 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-delegate/index.html @@ -0,0 +1,119 @@ + + + + + ScreenshotDelegate + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ScreenshotDelegate

+
class ScreenshotDelegate(outputPath: String, defaultOptions: ScreenshotOptions, storageProvider: ReportStorageProvider)
+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(outputPath: String, defaultOptions: ScreenshotOptions, storageProvider: ReportStorageProvider)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun takeScreenshot(stage: InstrumentedStageReport, description: String, optionsOverride: ScreenshotOptions? = null)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-delegate/take-screenshot.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-delegate/take-screenshot.html new file mode 100644 index 00000000..5bf4f531 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-delegate/take-screenshot.html @@ -0,0 +1,76 @@ + + + + + takeScreenshot + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

takeScreenshot

+
+
fun takeScreenshot(stage: InstrumentedStageReport, description: String, optionsOverride: ScreenshotOptions? = null)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/-companion/from.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/-companion/from.html new file mode 100644 index 00000000..45aff60f --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/-companion/from.html @@ -0,0 +1,76 @@ + + + + + from + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

from

+
+
fun from(description: Description): ScreenshotOptions?
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/-companion/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/-companion/index.html new file mode 100644 index 00000000..56e0e216 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/-companion/index.html @@ -0,0 +1,100 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun from(description: Description): ScreenshotOptions?
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/-screenshot-options.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/-screenshot-options.html new file mode 100644 index 00000000..27c49f6c --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/-screenshot-options.html @@ -0,0 +1,76 @@ + + + + + ScreenshotOptions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ScreenshotOptions

+
+
constructor(scale: Float = 0.5f, quality: Int = 80, format: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, keepOnSuccess: Boolean = true)

Parameters

scale

the scale of the screenshot in relation to the original display size. Default: 0.5

quality

the quality of the screenshot. From 0 to 100. Default: 80

format

the image format of the screenshot. Default: JPG

keepOnSuccess

true if images should be kept if the test passes. Default: true

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/format.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/format.html new file mode 100644 index 00000000..1c2682e6 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/format.html @@ -0,0 +1,76 @@ + + + + + format + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

format

+
+

Parameters

format

the image format of the screenshot. Default: JPG

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/get-file-extension.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/get-file-extension.html new file mode 100644 index 00000000..af9d3a98 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/get-file-extension.html @@ -0,0 +1,76 @@ + + + + + getFileExtension + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getFileExtension

+
+

Return

the file extension of the format of these screenshot options

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/index.html new file mode 100644 index 00000000..16e47232 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/index.html @@ -0,0 +1,202 @@ + + + + + ScreenshotOptions + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ScreenshotOptions

+
data class ScreenshotOptions(val scale: Float = 0.5f, val quality: Int = 80, val format: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, val keepOnSuccess: Boolean = true)

Configurable screenshot options that apply to all tests.

To override a configuration for a single test, annotate it with TestScreenshot

Parameters

scale

the scale of the screenshot in relation to the original display size. Default: 0.5

quality

the quality of the screenshot. From 0 to 100. Default: 80

format

the image format of the screenshot. Default: JPG

keepOnSuccess

true if images should be kept if the test passes. Default: true

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(scale: Float = 0.5f, quality: Int = 80, format: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, keepOnSuccess: Boolean = true)
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val quality: Int = 80
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val scale: Float = 0.5f
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/keep-on-success.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/keep-on-success.html new file mode 100644 index 00000000..253ddaea --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/keep-on-success.html @@ -0,0 +1,76 @@ + + + + + keepOnSuccess + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

keepOnSuccess

+
+

Parameters

keepOnSuccess

true if images should be kept if the test passes. Default: true

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/quality.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/quality.html new file mode 100644 index 00000000..49c16ea7 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/quality.html @@ -0,0 +1,76 @@ + + + + + quality + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

quality

+
+
val quality: Int = 80

Parameters

quality

the quality of the screenshot. From 0 to 100. Default: 80

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/scale.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/scale.html new file mode 100644 index 00000000..72f94090 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-screenshot-options/scale.html @@ -0,0 +1,76 @@ + + + + + scale + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scale

+
+
val scale: Float = 0.5f

Parameters

scale

the scale of the screenshot in relation to the original display size. Default: 0.5

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/format.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/format.html new file mode 100644 index 00000000..213f2a28 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/format.html @@ -0,0 +1,76 @@ + + + + + format + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/index.html new file mode 100644 index 00000000..44972d66 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/index.html @@ -0,0 +1,145 @@ + + + + + TestScreenshot + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestScreenshot

+
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class TestScreenshot(val scale: Float = 0.5f, val quality: Int = 80, val format: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, val keepOnSuccess: Boolean = true)

Overrides the screenshot options for a single test

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val quality: Int = 80
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val scale: Float = 0.5f
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/keep-on-success.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/keep-on-success.html new file mode 100644 index 00000000..014160c5 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/keep-on-success.html @@ -0,0 +1,76 @@ + + + + + keepOnSuccess + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

keepOnSuccess

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/quality.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/quality.html new file mode 100644 index 00000000..3b725b56 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/quality.html @@ -0,0 +1,76 @@ + + + + + quality + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

quality

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/scale.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/scale.html new file mode 100644 index 00000000..52167fe2 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/-test-screenshot/scale.html @@ -0,0 +1,76 @@ + + + + + scale + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scale

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/index.html new file mode 100644 index 00000000..b428b9e1 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.screenshot/index.html @@ -0,0 +1,144 @@ + + + + + com.rubensousa.carioca.report.android.screenshot + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class ScreenshotDelegate(outputPath: String, defaultOptions: ScreenshotOptions, storageProvider: ReportStorageProvider)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class ScreenshotOptions(val scale: Float = 0.5f, val quality: Int = 80, val format: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, val keepOnSuccess: Boolean = true)

Configurable screenshot options that apply to all tests.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class TestScreenshot(val scale: Float = 0.5f, val quality: Int = 80, val format: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, val keepOnSuccess: Boolean = true)

Overrides the screenshot options for a single test

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/after.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/after.html new file mode 100644 index 00000000..eade72bd --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/after.html @@ -0,0 +1,76 @@ + + + + + after + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

after

+
+
fun after(title: String, action: InstrumentedStageScope.() -> Unit)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/before.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/before.html new file mode 100644 index 00000000..1e2d186b --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/before.html @@ -0,0 +1,76 @@ + + + + + before + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

before

+
+
fun before(title: String, action: InstrumentedStageScope.() -> Unit)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/index.html new file mode 100644 index 00000000..c07e39f1 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/index.html @@ -0,0 +1,764 @@ + + + + + InstrumentedBlockingTest + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ + +
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun addProperty(key: ReportProperty, value: Any)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun after(title: String, action: InstrumentedStageScope.() -> Unit)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun attach(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun before(title: String, action: InstrumentedStageScope.() -> Unit)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun deleteAttachment(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun detach(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator override fun equals(other: Any?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun fail(cause: Throwable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getId(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun <T> getProperty(key: ReportProperty): T?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getTitle(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getType(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun Given(scenario: InstrumentedScenario, action: InstrumentedStageScope.() -> Unit = {})
open fun Given(title: String, action: InstrumentedStageScope.() -> Unit)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun hashCode(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun ignore()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onFailed(error: Throwable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onIgnored()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onPassed()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onStarted()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun param(key: String, value: String)

Sets a parameter for the current stage

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun pass()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun reset()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun scenario(scenario: InstrumentedScenario)

Creates a report for a set of steps. This is almost equivalent to calling step multiple times, but in a more re-usable way

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun screenshot(description: String, options: ScreenshotOptions?)

Takes a screenshot with the configuration set through the report rule.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setParameter(key: String, value: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun step(title: String, id: String?, action: InstrumentedStageScope.() -> Unit)

Creates an individual section of a test

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun Then(title: String, action: InstrumentedStageScope.() -> Unit)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun toString(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun When(scenario: InstrumentedScenario, action: InstrumentedStageScope.() -> Unit = {})
open fun When(title: String, action: InstrumentedStageScope.() -> Unit)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/param.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/param.html new file mode 100644 index 00000000..aa913b33 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/param.html @@ -0,0 +1,76 @@ + + + + + param + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

param

+
+
open override fun param(key: String, value: String)

Sets a parameter for the current stage

Parameters

key

the unique identifier of the parameter

value

the value of the parameter

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/scenario.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/scenario.html new file mode 100644 index 00000000..bf7e613f --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/scenario.html @@ -0,0 +1,76 @@ + + + + + scenario + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scenario

+
+
open override fun scenario(scenario: InstrumentedScenario)

Creates a report for a set of steps. This is almost equivalent to calling step multiple times, but in a more re-usable way

Parameters

scenario

the re-usable set of stages

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/screenshot.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/screenshot.html new file mode 100644 index 00000000..d699a281 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/screenshot.html @@ -0,0 +1,76 @@ + + + + + screenshot + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

screenshot

+
+
open override fun screenshot(description: String, options: ScreenshotOptions?)

Takes a screenshot with the configuration set through the report rule.

The generated file will be pulled from the device once the test runner finishes running all tests

Parameters

description

the description of the screenshot for the report

options

the optional options that will override the setup from the test. If null, the default options set in the rule will apply

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/step.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/step.html new file mode 100644 index 00000000..89956276 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/-instrumented-blocking-test/step.html @@ -0,0 +1,76 @@ + + + + + step + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

step

+
+
open override fun step(title: String, id: String?, action: InstrumentedStageScope.() -> Unit)

Creates an individual section of a test

Parameters

title

the name of the step

id

an optional persistent step id

action

the step block that will be executed

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/index.html new file mode 100644 index 00000000..f7c090d7 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage.internal/index.html @@ -0,0 +1,99 @@ + + + + + com.rubensousa.carioca.report.android.stage.internal + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-report-delegate-factory/create.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-report-delegate-factory/create.html new file mode 100644 index 00000000..dc5c07f6 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-report-delegate-factory/create.html @@ -0,0 +1,76 @@ + + + + + create + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

create

+
+
abstract fun create(report: InstrumentedStageReport): T
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-report-delegate-factory/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-report-delegate-factory/index.html new file mode 100644 index 00000000..d7bed63c --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-report-delegate-factory/index.html @@ -0,0 +1,100 @@ + + + + + InstrumentedReportDelegateFactory + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedReportDelegateFactory

+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun create(report: InstrumentedStageReport): T
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-report-scope/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-report-scope/index.html new file mode 100644 index 00000000..d269245b --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-report-scope/index.html @@ -0,0 +1,80 @@ + + + + + InstrumentedReportScope + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedReportScope

+

The main entry point for stage reports

Default scopes allowed: InstrumentedStageScope

Inheritors

+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/-instrumented-scenario.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/-instrumented-scenario.html new file mode 100644 index 00000000..8897e100 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/-instrumented-scenario.html @@ -0,0 +1,76 @@ + + + + + InstrumentedScenario + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedScenario

+
+
constructor(title: String, id: String = title)

Parameters

title

the description of this scenario

id

a persistent id for tracking multiple executions of this scenario. Default: same as title

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/id.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/id.html new file mode 100644 index 00000000..d6e8dc9e --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/id.html @@ -0,0 +1,76 @@ + + + + + id + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

id

+
+
val id: String

Parameters

id

a persistent id for tracking multiple executions of this scenario. Default: same as title

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/index.html new file mode 100644 index 00000000..be2e46d2 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/index.html @@ -0,0 +1,153 @@ + + + + + InstrumentedScenario + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedScenario

+
abstract class InstrumentedScenario(val title: String, val id: String = title)

A re-usable set of stages that can be used across multiple tests. Use this carefully and only when you have a stable set of steps that need to execute in an consistent order

Parameters

title

the description of this scenario

id

a persistent id for tracking multiple executions of this scenario. Default: same as title

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(title: String, id: String = title)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun run(scope: InstrumentedStageScope)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/run.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/run.html new file mode 100644 index 00000000..a6952b13 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/run.html @@ -0,0 +1,76 @@ + + + + + run + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

run

+
+
abstract fun run(scope: InstrumentedStageScope)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/title.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/title.html new file mode 100644 index 00000000..bc3e9924 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-scenario/title.html @@ -0,0 +1,76 @@ + + + + + title + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

title

+
+

Parameters

title

the description of this scenario

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/-instrumented-stage-report.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/-instrumented-stage-report.html new file mode 100644 index 00000000..9eab6dc0 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/-instrumented-stage-report.html @@ -0,0 +1,76 @@ + + + + + InstrumentedStageReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedStageReport

+
+
constructor(outputPath: String, type: InstrumentedStageType, storageProvider: ReportStorageProvider)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/delete-attachment.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/delete-attachment.html new file mode 100644 index 00000000..561051e4 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/delete-attachment.html @@ -0,0 +1,76 @@ + + + + + deleteAttachment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

deleteAttachment

+
+
open override fun deleteAttachment(attachment: StageAttachment)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/get-attachment-output-stream.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/get-attachment-output-stream.html new file mode 100644 index 00000000..eb180edc --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/get-attachment-output-stream.html @@ -0,0 +1,76 @@ + + + + + getAttachmentOutputStream + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getAttachmentOutputStream

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/get-type.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/get-type.html new file mode 100644 index 00000000..33562faa --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/get-type.html @@ -0,0 +1,76 @@ + + + + + getType + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getType

+
+
open override fun getType(): String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/index.html new file mode 100644 index 00000000..f82840d4 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/index.html @@ -0,0 +1,558 @@ + + + + + InstrumentedStageReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedStageReport

+
abstract class InstrumentedStageReport(val outputPath: String, type: InstrumentedStageType, storageProvider: ReportStorageProvider) : StageReport

A StageReport for instrumented tests. Attachments should be stored in storageProvider

Inheritors

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(outputPath: String, type: InstrumentedStageType, storageProvider: ReportStorageProvider)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun addProperty(key: ReportProperty, value: Any)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun attach(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun deleteAttachment(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun detach(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator override fun equals(other: Any?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun fail(cause: Throwable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getId(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun <T> getProperty(key: ReportProperty): T?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getTitle(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getType(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun hashCode(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun ignore()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun pass()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun reset()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun screenshot(description: String, options: ScreenshotOptions?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setParameter(key: String, value: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun toString(): String
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/output-path.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/output-path.html new file mode 100644 index 00000000..cb830122 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/output-path.html @@ -0,0 +1,76 @@ + + + + + outputPath + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

outputPath

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/screenshot.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/screenshot.html new file mode 100644 index 00000000..d9e1dd45 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/screenshot.html @@ -0,0 +1,76 @@ + + + + + screenshot + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

screenshot

+
+
abstract fun screenshot(description: String, options: ScreenshotOptions?)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/to-string.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/to-string.html new file mode 100644 index 00000000..ec455655 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-report/to-string.html @@ -0,0 +1,76 @@ + + + + + toString + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toString

+
+
open override fun toString(): String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/index.html new file mode 100644 index 00000000..5866a7a9 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/index.html @@ -0,0 +1,145 @@ + + + + + InstrumentedStageScope + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedStageScope

+

The main entry point for stage reports

Inheritors

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun param(key: String, value: String)

Sets a parameter for the current stage

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun scenario(scenario: InstrumentedScenario)

Creates a report for a set of steps. This is almost equivalent to calling step multiple times, but in a more re-usable way

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun screenshot(description: String, options: ScreenshotOptions? = null)

Takes a screenshot with the configuration set through the report rule.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun step(title: String, id: String? = null, action: InstrumentedStageScope.() -> Unit = {})

Creates an individual section of a test

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/param.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/param.html new file mode 100644 index 00000000..49cd5bcd --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/param.html @@ -0,0 +1,76 @@ + + + + + param + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

param

+
+
abstract fun param(key: String, value: String)

Sets a parameter for the current stage

Parameters

key

the unique identifier of the parameter

value

the value of the parameter

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/scenario.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/scenario.html new file mode 100644 index 00000000..ef4ed789 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/scenario.html @@ -0,0 +1,76 @@ + + + + + scenario + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

scenario

+
+
abstract fun scenario(scenario: InstrumentedScenario)

Creates a report for a set of steps. This is almost equivalent to calling step multiple times, but in a more re-usable way

Parameters

scenario

the re-usable set of stages

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/screenshot.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/screenshot.html new file mode 100644 index 00000000..c937b6ab --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/screenshot.html @@ -0,0 +1,76 @@ + + + + + screenshot + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

screenshot

+
+
abstract fun screenshot(description: String, options: ScreenshotOptions? = null)

Takes a screenshot with the configuration set through the report rule.

The generated file will be pulled from the device once the test runner finishes running all tests

Parameters

description

the description of the screenshot for the report

options

the optional options that will override the setup from the test. If null, the default options set in the rule will apply

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/step.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/step.html new file mode 100644 index 00000000..4ec36991 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-scope/step.html @@ -0,0 +1,76 @@ + + + + + step + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

step

+
+
abstract fun step(title: String, id: String? = null, action: InstrumentedStageScope.() -> Unit = {})

Creates an individual section of a test

Parameters

title

the name of the step

id

an optional persistent step id

action

the step block that will be executed

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-a-f-t-e-r/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-a-f-t-e-r/index.html new file mode 100644 index 00000000..a462af69 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-a-f-t-e-r/index.html @@ -0,0 +1,130 @@ + + + + + AFTER + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AFTER

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-b-e-f-o-r-e/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-b-e-f-o-r-e/index.html new file mode 100644 index 00000000..543f45bb --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-b-e-f-o-r-e/index.html @@ -0,0 +1,130 @@ + + + + + BEFORE + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

BEFORE

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-s-c-e-n-a-r-i-o/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-s-c-e-n-a-r-i-o/index.html new file mode 100644 index 00000000..0327e296 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-s-c-e-n-a-r-i-o/index.html @@ -0,0 +1,130 @@ + + + + + SCENARIO + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

SCENARIO

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-s-t-e-p/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-s-t-e-p/index.html new file mode 100644 index 00000000..99fe72dd --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-s-t-e-p/index.html @@ -0,0 +1,130 @@ + + + + + STEP + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

STEP

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-t-e-s-t/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-t-e-s-t/index.html new file mode 100644 index 00000000..6febe1c5 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/-t-e-s-t/index.html @@ -0,0 +1,130 @@ + + + + + TEST + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TEST

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/entries.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/entries.html new file mode 100644 index 00000000..f16b8f2c --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

entries

+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/id.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/id.html new file mode 100644 index 00000000..25c6b053 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/id.html @@ -0,0 +1,76 @@ + + + + + id + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

id

+
+
val id: String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/index.html new file mode 100644 index 00000000..0e5cc1f7 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/index.html @@ -0,0 +1,258 @@ + + + + + InstrumentedStageType + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedStageType

+

The default instrumented stage types for each report

+
+
+
+
+
+

Entries

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an array containing the constants of this enum type, in the order they're declared.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/value-of.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/value-of.html new file mode 100644 index 00000000..9327966c --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

valueOf

+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/values.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/values.html new file mode 100644 index 00000000..1acd603a --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-stage-type/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

values

+
+

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/-instrumented-test-report.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/-instrumented-test-report.html new file mode 100644 index 00000000..64d64064 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/-instrumented-test-report.html @@ -0,0 +1,76 @@ + + + + + InstrumentedTestReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedTestReport

+
+
constructor(outputPath: String, storageProvider: ReportStorageProvider, metadata: TestMetadata, interceptors: List<CariocaInstrumentedInterceptor>, reporter: InstrumentedReporter)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/get-id.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/get-id.html new file mode 100644 index 00000000..e2d7f595 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/get-id.html @@ -0,0 +1,76 @@ + + + + + getId + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getId

+
+
open override fun getId(): String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/get-title.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/get-title.html new file mode 100644 index 00000000..2cc4fc9f --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/get-title.html @@ -0,0 +1,76 @@ + + + + + getTitle + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getTitle

+
+
open override fun getTitle(): String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/index.html new file mode 100644 index 00000000..b86c2bfb --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/index.html @@ -0,0 +1,663 @@ + + + + + InstrumentedTestReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedTestReport

+
abstract class InstrumentedTestReport(val outputPath: String, storageProvider: ReportStorageProvider, val metadata: TestMetadata, val interceptors: List<CariocaInstrumentedInterceptor>, val reporter: InstrumentedReporter) : InstrumentedStageReport

The main entry point for all reports.

Get the metadata of this test through metadata and/or getProperty.

To get the stages for reporting, use getTestStages

Inheritors

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(outputPath: String, storageProvider: ReportStorageProvider, metadata: TestMetadata, interceptors: List<CariocaInstrumentedInterceptor>, reporter: InstrumentedReporter)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun addProperty(key: ReportProperty, value: Any)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun attach(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun deleteAttachment(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun detach(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator override fun equals(other: Any?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun fail(cause: Throwable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getId(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun <T> getProperty(key: ReportProperty): T?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getTitle(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getType(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun hashCode(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun ignore()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onFailed(error: Throwable)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onIgnored()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onPassed()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun onStarted()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun pass()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun reset()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun screenshot(description: String, options: ScreenshotOptions?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setParameter(key: String, value: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun toString(): String
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/interceptors.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/interceptors.html new file mode 100644 index 00000000..fa1c4267 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/interceptors.html @@ -0,0 +1,76 @@ + + + + + interceptors + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

interceptors

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/metadata.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/metadata.html new file mode 100644 index 00000000..e7a1b4f7 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/metadata.html @@ -0,0 +1,76 @@ + + + + + metadata + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

metadata

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/on-failed.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/on-failed.html new file mode 100644 index 00000000..4b04dfa7 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/on-failed.html @@ -0,0 +1,76 @@ + + + + + onFailed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onFailed

+
+
fun onFailed(error: Throwable)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/on-ignored.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/on-ignored.html new file mode 100644 index 00000000..2e8baa9c --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/on-ignored.html @@ -0,0 +1,76 @@ + + + + + onIgnored + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onIgnored

+
+
fun onIgnored()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/on-passed.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/on-passed.html new file mode 100644 index 00000000..44fba984 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/on-passed.html @@ -0,0 +1,76 @@ + + + + + onPassed + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onPassed

+
+
fun onPassed()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/on-started.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/on-started.html new file mode 100644 index 00000000..04b46590 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/on-started.html @@ -0,0 +1,76 @@ + + + + + onStarted + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

onStarted

+
+
fun onStarted()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/reporter.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/reporter.html new file mode 100644 index 00000000..b356122b --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/reporter.html @@ -0,0 +1,76 @@ + + + + + reporter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

reporter

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/reset.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/reset.html new file mode 100644 index 00000000..91e51466 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/reset.html @@ -0,0 +1,76 @@ + + + + + reset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

reset

+
+
open override fun reset()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/to-string.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/to-string.html new file mode 100644 index 00000000..11d52523 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-report/to-string.html @@ -0,0 +1,76 @@ + + + + + toString + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toString

+
+
open override fun toString(): String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-scope/-given.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-scope/-given.html new file mode 100644 index 00000000..a8781eb3 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-scope/-given.html @@ -0,0 +1,76 @@ + + + + + Given + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Given

+
+
open fun Given(scenario: InstrumentedScenario, action: InstrumentedStageScope.() -> Unit = {})
open fun Given(title: String, action: InstrumentedStageScope.() -> Unit)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-scope/-then.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-scope/-then.html new file mode 100644 index 00000000..a7519347 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-scope/-then.html @@ -0,0 +1,76 @@ + + + + + Then + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Then

+
+
open fun Then(title: String, action: InstrumentedStageScope.() -> Unit)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-scope/-when.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-scope/-when.html new file mode 100644 index 00000000..c59cc3c5 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-scope/-when.html @@ -0,0 +1,76 @@ + + + + + When + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

When

+
+
open fun When(title: String, action: InstrumentedStageScope.() -> Unit)
open fun When(scenario: InstrumentedScenario, action: InstrumentedStageScope.() -> Unit = {})
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-scope/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-scope/index.html new file mode 100644 index 00000000..3c783dd4 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/-instrumented-test-scope/index.html @@ -0,0 +1,190 @@ + + + + + InstrumentedTestScope + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedTestScope

+

The public API for each report. This is the main entry for each test report.

Inheritors

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun Given(scenario: InstrumentedScenario, action: InstrumentedStageScope.() -> Unit = {})
open fun Given(title: String, action: InstrumentedStageScope.() -> Unit)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun param(key: String, value: String)

Sets a parameter for the current stage

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun scenario(scenario: InstrumentedScenario)

Creates a report for a set of steps. This is almost equivalent to calling step multiple times, but in a more re-usable way

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun screenshot(description: String, options: ScreenshotOptions? = null)

Takes a screenshot with the configuration set through the report rule.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun step(title: String, id: String? = null, action: InstrumentedStageScope.() -> Unit = {})

Creates an individual section of a test

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun Then(title: String, action: InstrumentedStageScope.() -> Unit)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun When(scenario: InstrumentedScenario, action: InstrumentedStageScope.() -> Unit = {})
open fun When(title: String, action: InstrumentedStageScope.() -> Unit)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/index.html new file mode 100644 index 00000000..c03baf3d --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.stage/index.html @@ -0,0 +1,204 @@ + + + + + com.rubensousa.carioca.report.android.stage + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The main entry point for stage reports

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract class InstrumentedScenario(val title: String, val id: String = title)

A re-usable set of stages that can be used across multiple tests. Use this carefully and only when you have a stable set of steps that need to execute in an consistent order

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract class InstrumentedStageReport(val outputPath: String, type: InstrumentedStageType, storageProvider: ReportStorageProvider) : StageReport

A StageReport for instrumented tests. Attachments should be stored in storageProvider

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The main entry point for stage reports

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The default instrumented stage types for each report

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract class InstrumentedTestReport(val outputPath: String, storageProvider: ReportStorageProvider, val metadata: TestMetadata, val interceptors: List<CariocaInstrumentedInterceptor>, val reporter: InstrumentedReporter) : InstrumentedStageReport

The main entry point for all reports.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The public API for each report. This is the main entry for each test report.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/delete-temporary-files.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/delete-temporary-files.html new file mode 100644 index 00000000..1afe3797 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/delete-temporary-files.html @@ -0,0 +1,76 @@ + + + + + deleteTemporaryFiles + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

deleteTemporaryFiles

+
+
abstract fun deleteTemporaryFiles()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/delete.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/delete.html new file mode 100644 index 00000000..9b7ae8d6 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/delete.html @@ -0,0 +1,76 @@ + + + + + delete + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

delete

+
+
abstract fun delete(path: String)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/get-input-stream.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/get-input-stream.html new file mode 100644 index 00000000..d1434574 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/get-input-stream.html @@ -0,0 +1,76 @@ + + + + + getInputStream + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getInputStream

+
+
abstract fun getInputStream(path: String): InputStream
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/get-output-dir.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/get-output-dir.html new file mode 100644 index 00000000..89081095 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/get-output-dir.html @@ -0,0 +1,76 @@ + + + + + getOutputDir + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOutputDir

+
+
abstract fun getOutputDir(): File
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/get-output-stream.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/get-output-stream.html new file mode 100644 index 00000000..46b9ae17 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/get-output-stream.html @@ -0,0 +1,76 @@ + + + + + getOutputStream + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOutputStream

+
+
abstract fun getOutputStream(path: String): OutputStream
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/get-output-uri.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/get-output-uri.html new file mode 100644 index 00000000..22cf626f --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/get-output-uri.html @@ -0,0 +1,76 @@ + + + + + getOutputUri + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOutputUri

+
+
abstract fun getOutputUri(path: String): Uri
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/index.html new file mode 100644 index 00000000..3d5bbcd0 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-report-storage-provider/index.html @@ -0,0 +1,175 @@ + + + + + ReportStorageProvider + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ReportStorageProvider

+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun delete(path: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun deleteTemporaryFiles()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getInputStream(path: String): InputStream
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getOutputDir(): File
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getOutputStream(path: String): OutputStream
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getOutputUri(path: String): Uri
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-directory/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-directory/index.html new file mode 100644 index 00000000..c1263442 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-directory/index.html @@ -0,0 +1,115 @@ + + + + + TestStorageDirectory + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestStorageDirectory

+

Adapted from: androidx.test.platform.io.TestDirCalculator to ensure we can delete files

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-directory/output-dir.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-directory/output-dir.html new file mode 100644 index 00000000..4dce12a1 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-directory/output-dir.html @@ -0,0 +1,76 @@ + + + + + outputDir + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

outputDir

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-directory/tmp-output-dir.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-directory/tmp-output-dir.html new file mode 100644 index 00000000..49807686 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-directory/tmp-output-dir.html @@ -0,0 +1,76 @@ + + + + + tmpOutputDir + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

tmpOutputDir

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/delete-temporary-files.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/delete-temporary-files.html new file mode 100644 index 00000000..333460c9 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/delete-temporary-files.html @@ -0,0 +1,76 @@ + + + + + deleteTemporaryFiles + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

deleteTemporaryFiles

+
+
open override fun deleteTemporaryFiles()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/delete.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/delete.html new file mode 100644 index 00000000..3f3ae1d7 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/delete.html @@ -0,0 +1,76 @@ + + + + + delete + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

delete

+
+
open override fun delete(path: String)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/get-input-stream.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/get-input-stream.html new file mode 100644 index 00000000..ae0fe912 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/get-input-stream.html @@ -0,0 +1,76 @@ + + + + + getInputStream + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getInputStream

+
+
open override fun getInputStream(path: String): InputStream
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/get-output-dir.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/get-output-dir.html new file mode 100644 index 00000000..e63983c5 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/get-output-dir.html @@ -0,0 +1,76 @@ + + + + + getOutputDir + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOutputDir

+
+
open override fun getOutputDir(): File
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/get-output-stream.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/get-output-stream.html new file mode 100644 index 00000000..0e9c08a2 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/get-output-stream.html @@ -0,0 +1,76 @@ + + + + + getOutputStream + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOutputStream

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/get-output-uri.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/get-output-uri.html new file mode 100644 index 00000000..edbeab68 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/get-output-uri.html @@ -0,0 +1,76 @@ + + + + + getOutputUri + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOutputUri

+
+
open override fun getOutputUri(path: String): Uri
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/index.html new file mode 100644 index 00000000..e5618872 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/-test-storage-provider/index.html @@ -0,0 +1,175 @@ + + + + + TestStorageProvider + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestStorageProvider

+

An implementation of ReportStorageProvider that uses the test platform's directories

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun delete(path: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun deleteTemporaryFiles()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getInputStream(path: String): InputStream
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getOutputDir(): File
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getOutputUri(path: String): Uri
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/index.html new file mode 100644 index 00000000..fe4c0308 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android.storage/index.html @@ -0,0 +1,129 @@ + + + + + com.rubensousa.carioca.report.android.storage + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Adapted from: androidx.test.platform.io.TestDirCalculator to ensure we can delete files

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

An implementation of ReportStorageProvider that uses the test platform's directories

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-abstract-instrumented-report-rule/-abstract-instrumented-report-rule.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-abstract-instrumented-report-rule/-abstract-instrumented-report-rule.html new file mode 100644 index 00000000..60524aec --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-abstract-instrumented-report-rule/-abstract-instrumented-report-rule.html @@ -0,0 +1,76 @@ + + + + + AbstractInstrumentedReportRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AbstractInstrumentedReportRule

+
+
constructor(reporter: InstrumentedReporter, recordingOptions: RecordingOptions, screenshotOptions: ScreenshotOptions)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-abstract-instrumented-report-rule/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-abstract-instrumented-report-rule/index.html new file mode 100644 index 00000000..bf670f2e --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-abstract-instrumented-report-rule/index.html @@ -0,0 +1,119 @@ + + + + + AbstractInstrumentedReportRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AbstractInstrumentedReportRule

+
abstract class AbstractInstrumentedReportRule<T : InstrumentedTestReport>(reporter: InstrumentedReporter, recordingOptions: RecordingOptions, screenshotOptions: ScreenshotOptions) : TestWatcher

The basic report structure.

Default implementation is InstrumentedReportRule.

You can extend this class directly to create your own scopes, by returning your own test report class in createTest

Inheritors

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(reporter: InstrumentedReporter, recordingOptions: RecordingOptions, screenshotOptions: ScreenshotOptions)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun apply(p0: Statement, p1: Description): Statement
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-carioca-instrumented-listener/-carioca-instrumented-listener.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-carioca-instrumented-listener/-carioca-instrumented-listener.html new file mode 100644 index 00000000..4234b678 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-carioca-instrumented-listener/-carioca-instrumented-listener.html @@ -0,0 +1,76 @@ + + + + + CariocaInstrumentedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CariocaInstrumentedListener

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-carioca-instrumented-listener/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-carioca-instrumented-listener/index.html new file mode 100644 index 00000000..2695ce12 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-carioca-instrumented-listener/index.html @@ -0,0 +1,314 @@ + + + + + CariocaInstrumentedListener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CariocaInstrumentedListener

+
class CariocaInstrumentedListener : InstrumentationRunListener

Use this if you're interested in recording ignored tests, as there is no other way to do it at the moment

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun instrumentationRunFinished(streamResult: PrintStream, resultBundle: Bundle, junitResults: Result)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun sendStatus(code: Int, bundle: Bundle)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun sendString(msg: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun testAssumptionFailure(p0: Failure)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun testFailure(p0: Failure)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun testFinished(p0: Description)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun testIgnored(description: Description)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun testRunFinished(p0: Result)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun testRunStarted(p0: Description)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun testStarted(p0: Description)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun testSuiteFinished(p0: Description)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun testSuiteStarted(p0: Description)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-carioca-instrumented-listener/test-ignored.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-carioca-instrumented-listener/test-ignored.html new file mode 100644 index 00000000..e58b9728 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-carioca-instrumented-listener/test-ignored.html @@ -0,0 +1,76 @@ + + + + + testIgnored + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

testIgnored

+
+
open override fun testIgnored(description: Description)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-default-instrumented-reporter/-default-instrumented-reporter.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-default-instrumented-reporter/-default-instrumented-reporter.html new file mode 100644 index 00000000..9ed6e659 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-default-instrumented-reporter/-default-instrumented-reporter.html @@ -0,0 +1,76 @@ + + + + + DefaultInstrumentedReporter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DefaultInstrumentedReporter

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-default-instrumented-reporter/get-output-dir.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-default-instrumented-reporter/get-output-dir.html new file mode 100644 index 00000000..b9bce9ea --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-default-instrumented-reporter/get-output-dir.html @@ -0,0 +1,76 @@ + + + + + getOutputDir + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOutputDir

+
+
open override fun getOutputDir(metadata: TestMetadata): String

Return

The relative output directory for this report.

Parameters

metadata

the test report to be saved

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-default-instrumented-reporter/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-default-instrumented-reporter/index.html new file mode 100644 index 00000000..ce1e855c --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-default-instrumented-reporter/index.html @@ -0,0 +1,134 @@ + + + + + DefaultInstrumentedReporter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

DefaultInstrumentedReporter

+

A template reporter that uses JsonReportWriter to save the reports to the test storage

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getOutputDir(metadata: TestMetadata): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeTestReport(testMetadata: TestMetadata, report: StageReport, storageProvider: ReportStorageProvider): Result<Unit>
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-default-instrumented-reporter/write-test-report.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-default-instrumented-reporter/write-test-report.html new file mode 100644 index 00000000..c3fd44b9 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-default-instrumented-reporter/write-test-report.html @@ -0,0 +1,76 @@ + + + + + writeTestReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeTestReport

+
+
open override fun writeTestReport(testMetadata: TestMetadata, report: StageReport, storageProvider: ReportStorageProvider): Result<Unit>

Parameters

testMetadata

the metadata of the test

report

report to be written

storageProvider

the storage provider to query for a OutputStream

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/-instrumented-report-rule.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/-instrumented-report-rule.html new file mode 100644 index 00000000..88d4a40c --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/-instrumented-report-rule.html @@ -0,0 +1,80 @@ + + + + + InstrumentedReportRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedReportRule

+
+
constructor(reporter: InstrumentedReporter = DefaultInstrumentedReporter(), recordingOptions: RecordingOptions = RecordingOptions(), screenshotOptions: ScreenshotOptions = ScreenshotOptions(), interceptors: List<CariocaInstrumentedInterceptor> = listOf( + LoggerInterceptor(), + TakeScreenshotOnFailureInterceptor(), + DumpViewHierarchyInterceptor(), + ))

Public constructor that uses TestStorageProvider to save the reports

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/after.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/after.html new file mode 100644 index 00000000..b803aa7b --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/after.html @@ -0,0 +1,76 @@ + + + + + after + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

after

+
+
fun after(title: String = "After", block: InstrumentedStageScope.() -> Unit)

Use this to track @After methods separately from the other stages

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/before.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/before.html new file mode 100644 index 00000000..39b94075 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/before.html @@ -0,0 +1,76 @@ + + + + + before + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

before

+
+
fun before(title: String = "Before", block: InstrumentedStageScope.() -> Unit)

Use this to track @Before methods separately from the other stages

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/index.html new file mode 100644 index 00000000..517845a2 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/index.html @@ -0,0 +1,183 @@ + + + + + InstrumentedReportRule + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedReportRule

+

A test rule that builds a detailed report for a test, including its steps.

You can also extend this class to provide a default report configuration across all tests:

class SampleReportRule : InstrumentedReportRule(
reporter = CariocaAllureReporter(),
recordingOptions = RecordingOptions(
bitrate = 20_000_000,
resolutionScale = 1.0f,
),
screenshotOptions = ScreenshotOptions(
scale = 1f
),
interceptors = listOf(LoggerInterceptor(), DumpHierarchyInterceptor())
)
@get:Rule
val report = SampleReportRule()

@Test
fun sampleTest() = report {
step("Open notification and quick settings") {
step("Open notification") {
device.openNotification()
screenshot("Notification bar visible")
}
step("Open quick settings") {
device.openQuickSettings()
screenshot("Quick settings displayed")
}
}
step("Press home") {
device.pressHome()
}
}

Parameters

reporter

the instrumented reporter for this report

recordingOptions

the default recording options for this report

screenshotOptions

the default screenshot options for this report

interceptors

the interceptors that will receive multiple stage events during the lifecycle of this report

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(reporter: InstrumentedReporter = DefaultInstrumentedReporter(), recordingOptions: RecordingOptions = RecordingOptions(), screenshotOptions: ScreenshotOptions = ScreenshotOptions(), interceptors: List<CariocaInstrumentedInterceptor> = listOf( + LoggerInterceptor(), + TakeScreenshotOnFailureInterceptor(), + DumpViewHierarchyInterceptor(), + ))

Public constructor that uses TestStorageProvider to save the reports

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun after(title: String = "After", block: InstrumentedStageScope.() -> Unit)

Use this to track @After methods separately from the other stages

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun apply(p0: Statement, p1: Description): Statement
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun before(title: String = "Before", block: InstrumentedStageScope.() -> Unit)

Use this to track @Before methods separately from the other stages

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun invoke(block: InstrumentedTestScope.() -> Unit)

Same as test, but without the extra method call

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun test(block: InstrumentedTestScope.() -> Unit)

Use this to start reporting the main test body

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/invoke.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/invoke.html new file mode 100644 index 00000000..4215179f --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/invoke.html @@ -0,0 +1,76 @@ + + + + + invoke + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

invoke

+
+
operator fun invoke(block: InstrumentedTestScope.() -> Unit)

Same as test, but without the extra method call

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/test.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/test.html new file mode 100644 index 00000000..203d707a --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-report-rule/test.html @@ -0,0 +1,76 @@ + + + + + test + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

test

+
+
fun test(block: InstrumentedTestScope.() -> Unit)

Use this to start reporting the main test body

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-reporter/get-output-dir.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-reporter/get-output-dir.html new file mode 100644 index 00000000..50c0b9e5 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-reporter/get-output-dir.html @@ -0,0 +1,76 @@ + + + + + getOutputDir + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOutputDir

+
+
abstract fun getOutputDir(metadata: TestMetadata): String

Return

The relative output directory for this report.

Parameters

metadata

the test report to be saved

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-reporter/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-reporter/index.html new file mode 100644 index 00000000..a37dccc1 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-reporter/index.html @@ -0,0 +1,115 @@ + + + + + InstrumentedReporter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InstrumentedReporter

+

Implement this to generate your own test reports, in any format you want. DefaultInstrumentedReporter is the default implementation that is flexible enough to convert to any other format

Inheritors

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getOutputDir(metadata: TestMetadata): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun writeTestReport(testMetadata: TestMetadata, report: StageReport, storageProvider: ReportStorageProvider): Result<Unit>
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-reporter/write-test-report.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-reporter/write-test-report.html new file mode 100644 index 00000000..0b298c2e --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/-instrumented-reporter/write-test-report.html @@ -0,0 +1,76 @@ + + + + + writeTestReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeTestReport

+
+
abstract fun writeTestReport(testMetadata: TestMetadata, report: StageReport, storageProvider: ReportStorageProvider): Result<Unit>

Parameters

testMetadata

the metadata of the test

report

report to be written

storageProvider

the storage provider to query for a OutputStream

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/com.rubensousa.carioca.report.android/index.html b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/index.html new file mode 100644 index 00000000..7121ba47 --- /dev/null +++ b/api/carioca-report/report-android/com.rubensousa.carioca.report.android/index.html @@ -0,0 +1,159 @@ + + + + + com.rubensousa.carioca.report.android + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract class AbstractInstrumentedReportRule<T : InstrumentedTestReport>(reporter: InstrumentedReporter, recordingOptions: RecordingOptions, screenshotOptions: ScreenshotOptions) : TestWatcher

The basic report structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class CariocaInstrumentedListener : InstrumentationRunListener

Use this if you're interested in recording ignored tests, as there is no other way to do it at the moment

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A template reporter that uses JsonReportWriter to save the reports to the test storage

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Implement this to generate your own test reports, in any format you want. DefaultInstrumentedReporter is the default implementation that is flexible enough to convert to any other format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A test rule that builds a detailed report for a test, including its steps.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/index.html b/api/carioca-report/report-android/index.html new file mode 100644 index 00000000..0e174b56 --- /dev/null +++ b/api/carioca-report/report-android/index.html @@ -0,0 +1,203 @@ + + + + + report-android + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

report-android

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-android/navigation.html b/api/carioca-report/report-android/navigation.html new file mode 100644 index 00000000..1ed11f78 --- /dev/null +++ b/api/carioca-report/report-android/navigation.html @@ -0,0 +1,622 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+ +
+
+ Companion +
+
+
+
+ +
+
+ NATURAL +
+
+
+
+ PORTRAIT +
+
+
+
+ LANDSCAPE +
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ + +
+
+ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ JsonStage +
+
+
+ +
+
+
+
+ + +
+
+ +
+ + + +
+ +
+ +
+
+
+ Id +
+
+
+
+ Links +
+
+
+
+ Title +
+
+
+
+ +
+
+ RUNNING +
+
+
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/-json-attachment.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/-json-attachment.html new file mode 100644 index 00000000..f8cf4f0c --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/-json-attachment.html @@ -0,0 +1,76 @@ + + + + + JsonAttachment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonAttachment

+
+
constructor(description: String, path: String, mimeType: String)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/description.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/description.html new file mode 100644 index 00000000..57c68fdb --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/description.html @@ -0,0 +1,76 @@ + + + + + description + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

description

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/index.html new file mode 100644 index 00000000..792fe586 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/index.html @@ -0,0 +1,149 @@ + + + + + JsonAttachment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonAttachment

+
@Serializable
data class JsonAttachment(val description: String, val path: String, val mimeType: String)
+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(description: String, path: String, mimeType: String)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/mime-type.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/mime-type.html new file mode 100644 index 00000000..b98bbd81 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/mime-type.html @@ -0,0 +1,76 @@ + + + + + mimeType + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mimeType

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/path.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/path.html new file mode 100644 index 00000000..1f01db94 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-attachment/path.html @@ -0,0 +1,76 @@ + + + + + path + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

path

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/-json-execution-report.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/-json-execution-report.html new file mode 100644 index 00000000..ea81ccba --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/-json-execution-report.html @@ -0,0 +1,76 @@ + + + + + JsonExecutionReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonExecutionReport

+
+
constructor(id: String, startTime: Long, endTime: Long, status: JsonExecutionStatus, failureMessage: String? = null, failureStacktrace: String? = null)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/end-time.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/end-time.html new file mode 100644 index 00000000..51188d93 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/end-time.html @@ -0,0 +1,76 @@ + + + + + endTime + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

endTime

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/failure-message.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/failure-message.html new file mode 100644 index 00000000..f0709d60 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/failure-message.html @@ -0,0 +1,76 @@ + + + + + failureMessage + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

failureMessage

+
+
val failureMessage: String? = null
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/failure-stacktrace.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/failure-stacktrace.html new file mode 100644 index 00000000..4a0910f1 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/failure-stacktrace.html @@ -0,0 +1,76 @@ + + + + + failureStacktrace + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

failureStacktrace

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/id.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/id.html new file mode 100644 index 00000000..e5baf534 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/id.html @@ -0,0 +1,76 @@ + + + + + id + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

id

+
+
val id: String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/index.html new file mode 100644 index 00000000..98dfa2ca --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/index.html @@ -0,0 +1,194 @@ + + + + + JsonExecutionReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonExecutionReport

+
@Serializable
data class JsonExecutionReport(val id: String, val startTime: Long, val endTime: Long, val status: JsonExecutionStatus, val failureMessage: String? = null, val failureStacktrace: String? = null)
+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(id: String, startTime: Long, endTime: Long, status: JsonExecutionStatus, failureMessage: String? = null, failureStacktrace: String? = null)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val failureMessage: String? = null
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/start-time.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/start-time.html new file mode 100644 index 00000000..7bfc7a68 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/start-time.html @@ -0,0 +1,76 @@ + + + + + startTime + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

startTime

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/status.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/status.html new file mode 100644 index 00000000..6e4f711b --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-report/status.html @@ -0,0 +1,76 @@ + + + + + status + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

status

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/-f-a-i-l-e-d/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/-f-a-i-l-e-d/index.html new file mode 100644 index 00000000..42fc4106 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/-f-a-i-l-e-d/index.html @@ -0,0 +1,115 @@ + + + + + FAILED + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

FAILED

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/-i-g-n-o-r-e-d/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/-i-g-n-o-r-e-d/index.html new file mode 100644 index 00000000..5e4e80f7 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/-i-g-n-o-r-e-d/index.html @@ -0,0 +1,115 @@ + + + + + IGNORED + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

IGNORED

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/-p-a-s-s-e-d/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/-p-a-s-s-e-d/index.html new file mode 100644 index 00000000..ac0f62a4 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/-p-a-s-s-e-d/index.html @@ -0,0 +1,115 @@ + + + + + PASSED + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

PASSED

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/entries.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/entries.html new file mode 100644 index 00000000..3de4e76e --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

entries

+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/index.html new file mode 100644 index 00000000..734c544a --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/index.html @@ -0,0 +1,213 @@ + + + + + JsonExecutionStatus + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonExecutionStatus

+ +
+
+
+
+
+

Entries

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an array containing the constants of this enum type, in the order they're declared.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/value-of.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/value-of.html new file mode 100644 index 00000000..e22b048c --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

valueOf

+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/values.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/values.html new file mode 100644 index 00000000..ff39d1c5 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-execution-status/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

values

+
+

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-parameter/-json-parameter.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-parameter/-json-parameter.html new file mode 100644 index 00000000..588b58a2 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-parameter/-json-parameter.html @@ -0,0 +1,76 @@ + + + + + JsonParameter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonParameter

+
+
constructor(key: String, value: String)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-parameter/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-parameter/index.html new file mode 100644 index 00000000..70cb13da --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-parameter/index.html @@ -0,0 +1,134 @@ + + + + + JsonParameter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonParameter

+
@Serializable
data class JsonParameter(val key: String, val value: String)
+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(key: String, value: String)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val key: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-parameter/key.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-parameter/key.html new file mode 100644 index 00000000..c5a3b74d --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-parameter/key.html @@ -0,0 +1,76 @@ + + + + + key + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

key

+
+
val key: String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-parameter/value.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-parameter/value.html new file mode 100644 index 00000000..ea957c6e --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-parameter/value.html @@ -0,0 +1,76 @@ + + + + + value + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

value

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-files/-r-e-p-o-r-t_-d-i-r.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-files/-r-e-p-o-r-t_-d-i-r.html new file mode 100644 index 00000000..ba124482 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-files/-r-e-p-o-r-t_-d-i-r.html @@ -0,0 +1,76 @@ + + + + + REPORT_DIR + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

REPORT_DIR

+
+
const val REPORT_DIR: String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-files/-s-u-i-t-e_-r-e-p-o-r-t.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-files/-s-u-i-t-e_-r-e-p-o-r-t.html new file mode 100644 index 00000000..655821c0 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-files/-s-u-i-t-e_-r-e-p-o-r-t.html @@ -0,0 +1,76 @@ + + + + + SUITE_REPORT + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

SUITE_REPORT

+
+
const val SUITE_REPORT: String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-files/-t-e-s-t_-r-e-p-o-r-t.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-files/-t-e-s-t_-r-e-p-o-r-t.html new file mode 100644 index 00000000..ca76f759 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-files/-t-e-s-t_-r-e-p-o-r-t.html @@ -0,0 +1,76 @@ + + + + + TEST_REPORT + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TEST_REPORT

+
+
const val TEST_REPORT: String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-files/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-files/index.html new file mode 100644 index 00000000..ebf5cfba --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-files/index.html @@ -0,0 +1,130 @@ + + + + + JsonReportFiles + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonReportFiles

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val REPORT_DIR: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val SUITE_REPORT: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val TEST_REPORT: String
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-json-report-parser.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-json-report-parser.html new file mode 100644 index 00000000..32177a7d --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-json-report-parser.html @@ -0,0 +1,76 @@ + + + + + JsonReportParser + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonReportParser

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-test-report-file/-test-report-file.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-test-report-file/-test-report-file.html new file mode 100644 index 00000000..097edb51 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-test-report-file/-test-report-file.html @@ -0,0 +1,76 @@ + + + + + TestReportFile + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestReportFile

+
+
constructor(file: File, report: JsonTestReport)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-test-report-file/file.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-test-report-file/file.html new file mode 100644 index 00000000..afffd42c --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-test-report-file/file.html @@ -0,0 +1,76 @@ + + + + + file + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

file

+
+
val file: File
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-test-report-file/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-test-report-file/index.html new file mode 100644 index 00000000..b2bc936d --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-test-report-file/index.html @@ -0,0 +1,134 @@ + + + + + TestReportFile + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestReportFile

+
data class TestReportFile(val file: File, val report: JsonTestReport)
+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(file: File, report: JsonTestReport)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val file: File
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-test-report-file/report.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-test-report-file/report.html new file mode 100644 index 00000000..f84fc365 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/-test-report-file/report.html @@ -0,0 +1,76 @@ + + + + + report + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

report

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/find-report-dir.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/find-report-dir.html new file mode 100644 index 00000000..760c252b --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/find-report-dir.html @@ -0,0 +1,76 @@ + + + + + findReportDir + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

findReportDir

+
+
fun findReportDir(inputDir: File): File?

Should be future proof, as we find the directory with our own name, without assuming the parent directory structure

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/index.html new file mode 100644 index 00000000..f0a038e5 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/index.html @@ -0,0 +1,168 @@ + + + + + JsonReportParser + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonReportParser

+

Parses the reports generated by a previous test run. Use parseTestReports to retrieve them from a directory or parseTestReport to parse an individual report

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class TestReportFile(val file: File, val report: JsonTestReport)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun findReportDir(inputDir: File): File?

Should be future proof, as we find the directory with our own name, without assuming the parent directory structure

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/parse-test-report.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/parse-test-report.html new file mode 100644 index 00000000..76b9a834 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/parse-test-report.html @@ -0,0 +1,76 @@ + + + + + parseTestReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parseTestReport

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/parse-test-reports.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/parse-test-reports.html new file mode 100644 index 00000000..caf20086 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-parser/parse-test-reports.html @@ -0,0 +1,76 @@ + + + + + parseTestReports + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parseTestReports

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-writer/-json-report-writer.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-writer/-json-report-writer.html new file mode 100644 index 00000000..ac3df952 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-writer/-json-report-writer.html @@ -0,0 +1,76 @@ + + + + + JsonReportWriter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonReportWriter

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-writer/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-writer/index.html new file mode 100644 index 00000000..0069844c --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-writer/index.html @@ -0,0 +1,119 @@ + + + + + JsonReportWriter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonReportWriter

+

A reporter that saves the test results in a json format.

Use writeReport to save the report to a file or output stream

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun writeReport(metadata: TestMetadata, testReport: StageReport, file: File): Result<Unit>
fun writeReport(metadata: TestMetadata, testReport: StageReport, outputStream: OutputStream): Result<Unit>
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-writer/write-report.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-writer/write-report.html new file mode 100644 index 00000000..bc6f24bd --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-report-writer/write-report.html @@ -0,0 +1,76 @@ + + + + + writeReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeReport

+
+
fun writeReport(metadata: TestMetadata, testReport: StageReport, file: File): Result<Unit>
fun writeReport(metadata: TestMetadata, testReport: StageReport, outputStream: OutputStream): Result<Unit>
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/-json-stage.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/-json-stage.html new file mode 100644 index 00000000..f0598b51 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/-json-stage.html @@ -0,0 +1,76 @@ + + + + + JsonStage + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonStage

+
+
constructor(id: String, name: String, type: String, stages: List<JsonStage>, execution: JsonExecutionReport, parameters: List<JsonParameter>, attachments: List<JsonAttachment>)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/attachments.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/attachments.html new file mode 100644 index 00000000..08729b7d --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/attachments.html @@ -0,0 +1,76 @@ + + + + + attachments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

attachments

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/execution.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/execution.html new file mode 100644 index 00000000..01d72cb7 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/execution.html @@ -0,0 +1,76 @@ + + + + + execution + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

execution

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/id.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/id.html new file mode 100644 index 00000000..f2796014 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/id.html @@ -0,0 +1,76 @@ + + + + + id + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

id

+
+
val id: String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/index.html new file mode 100644 index 00000000..992f6977 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/index.html @@ -0,0 +1,209 @@ + + + + + JsonStage + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonStage

+
@Serializable
data class JsonStage(val id: String, val name: String, val type: String, val stages: List<JsonStage>, val execution: JsonExecutionReport, val parameters: List<JsonParameter>, val attachments: List<JsonAttachment>)
+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(id: String, name: String, type: String, stages: List<JsonStage>, execution: JsonExecutionReport, parameters: List<JsonParameter>, attachments: List<JsonAttachment>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/name.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/name.html new file mode 100644 index 00000000..dbd95d75 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/name.html @@ -0,0 +1,76 @@ + + + + + name + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

name

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/parameters.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/parameters.html new file mode 100644 index 00000000..06309e31 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/parameters.html @@ -0,0 +1,76 @@ + + + + + parameters + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parameters

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/stages.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/stages.html new file mode 100644 index 00000000..c0fde621 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/stages.html @@ -0,0 +1,76 @@ + + + + + stages + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

stages

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/type.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/type.html new file mode 100644 index 00000000..c20fc12a --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-stage/type.html @@ -0,0 +1,76 @@ + + + + + type + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

type

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/-json-test-report.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/-json-test-report.html new file mode 100644 index 00000000..d79709c8 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/-json-test-report.html @@ -0,0 +1,76 @@ + + + + + JsonTestReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonTestReport

+
+
constructor(id: String, title: String, description: String? = null, packageName: String, className: String, methodName: String, fullName: String, links: List<String>, execution: JsonExecutionReport, beforeStages: List<JsonStage>, stages: List<JsonStage>, afterStages: List<JsonStage>, attachments: List<JsonAttachment>, parameters: List<JsonParameter>)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/after-stages.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/after-stages.html new file mode 100644 index 00000000..935eab5a --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/after-stages.html @@ -0,0 +1,76 @@ + + + + + afterStages + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

afterStages

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/attachments.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/attachments.html new file mode 100644 index 00000000..2664e55f --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/attachments.html @@ -0,0 +1,76 @@ + + + + + attachments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

attachments

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/before-stages.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/before-stages.html new file mode 100644 index 00000000..1c74573c --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/before-stages.html @@ -0,0 +1,76 @@ + + + + + beforeStages + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

beforeStages

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/class-name.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/class-name.html new file mode 100644 index 00000000..6cbc4886 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/class-name.html @@ -0,0 +1,76 @@ + + + + + className + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

className

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/description.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/description.html new file mode 100644 index 00000000..943bfea6 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/description.html @@ -0,0 +1,76 @@ + + + + + description + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

description

+
+
val description: String? = null
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/execution.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/execution.html new file mode 100644 index 00000000..12c3fe69 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/execution.html @@ -0,0 +1,76 @@ + + + + + execution + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

execution

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/full-name.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/full-name.html new file mode 100644 index 00000000..bfde03f0 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/full-name.html @@ -0,0 +1,76 @@ + + + + + fullName + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fullName

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/id.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/id.html new file mode 100644 index 00000000..2c5e6b8c --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/id.html @@ -0,0 +1,76 @@ + + + + + id + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

id

+
+
val id: String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/index.html new file mode 100644 index 00000000..a6564ddb --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/index.html @@ -0,0 +1,314 @@ + + + + + JsonTestReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JsonTestReport

+
@Serializable
data class JsonTestReport(val id: String, val title: String, val description: String? = null, val packageName: String, val className: String, val methodName: String, val fullName: String, val links: List<String>, val execution: JsonExecutionReport, val beforeStages: List<JsonStage>, val stages: List<JsonStage>, val afterStages: List<JsonStage>, val attachments: List<JsonAttachment>, val parameters: List<JsonParameter>)
+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(id: String, title: String, description: String? = null, packageName: String, className: String, methodName: String, fullName: String, links: List<String>, execution: JsonExecutionReport, beforeStages: List<JsonStage>, stages: List<JsonStage>, afterStages: List<JsonStage>, attachments: List<JsonAttachment>, parameters: List<JsonParameter>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val description: String? = null
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/links.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/links.html new file mode 100644 index 00000000..20dcb1fc --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/links.html @@ -0,0 +1,76 @@ + + + + + links + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

links

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/method-name.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/method-name.html new file mode 100644 index 00000000..9e721e9c --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/method-name.html @@ -0,0 +1,76 @@ + + + + + methodName + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

methodName

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/package-name.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/package-name.html new file mode 100644 index 00000000..f6dcffc5 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/package-name.html @@ -0,0 +1,76 @@ + + + + + packageName + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

packageName

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/parameters.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/parameters.html new file mode 100644 index 00000000..38a11c54 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/parameters.html @@ -0,0 +1,76 @@ + + + + + parameters + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parameters

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/stages.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/stages.html new file mode 100644 index 00000000..949f8b7f --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/stages.html @@ -0,0 +1,76 @@ + + + + + stages + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

stages

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/title.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/title.html new file mode 100644 index 00000000..a889d450 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/-json-test-report/title.html @@ -0,0 +1,76 @@ + + + + + title + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

title

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/com.rubensousa.carioca.report.json/index.html b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/index.html new file mode 100644 index 00000000..4ffe9a25 --- /dev/null +++ b/api/carioca-report/report-json/com.rubensousa.carioca.report.json/index.html @@ -0,0 +1,219 @@ + + + + + com.rubensousa.carioca.report.json + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
@Serializable
data class JsonAttachment(val description: String, val path: String, val mimeType: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
@Serializable
data class JsonExecutionReport(val id: String, val startTime: Long, val endTime: Long, val status: JsonExecutionStatus, val failureMessage: String? = null, val failureStacktrace: String? = null)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
@Serializable
data class JsonParameter(val key: String, val value: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses the reports generated by a previous test run. Use parseTestReports to retrieve them from a directory or parseTestReport to parse an individual report

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A reporter that saves the test results in a json format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
@Serializable
data class JsonStage(val id: String, val name: String, val type: String, val stages: List<JsonStage>, val execution: JsonExecutionReport, val parameters: List<JsonParameter>, val attachments: List<JsonAttachment>)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
@Serializable
data class JsonTestReport(val id: String, val title: String, val description: String? = null, val packageName: String, val className: String, val methodName: String, val fullName: String, val links: List<String>, val execution: JsonExecutionReport, val beforeStages: List<JsonStage>, val stages: List<JsonStage>, val afterStages: List<JsonStage>, val attachments: List<JsonAttachment>, val parameters: List<JsonParameter>)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/index.html b/api/carioca-report/report-json/index.html new file mode 100644 index 00000000..8d8d6ce2 --- /dev/null +++ b/api/carioca-report/report-json/index.html @@ -0,0 +1,95 @@ + + + + + report-json + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

report-json

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-json/navigation.html b/api/carioca-report/report-json/navigation.html new file mode 100644 index 00000000..1ed11f78 --- /dev/null +++ b/api/carioca-report/report-json/navigation.html @@ -0,0 +1,622 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+ +
+
+ Companion +
+
+
+
+ +
+
+ NATURAL +
+
+
+
+ PORTRAIT +
+
+
+
+ LANDSCAPE +
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ + +
+
+ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ JsonStage +
+
+
+ +
+
+
+
+ + +
+
+ +
+ + + +
+ +
+ +
+
+
+ Id +
+
+
+
+ Links +
+
+
+
+ Title +
+
+
+
+ +
+
+ RUNNING +
+
+
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/api/carioca-report/report-junit4/com.rubensousa.carioca.junit4.report/get-test-metadata.html b/api/carioca-report/report-junit4/com.rubensousa.carioca.junit4.report/get-test-metadata.html new file mode 100644 index 00000000..d983d3e7 --- /dev/null +++ b/api/carioca-report/report-junit4/com.rubensousa.carioca.junit4.report/get-test-metadata.html @@ -0,0 +1,76 @@ + + + + + getTestMetadata + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getTestMetadata

+
+
fun Description.getTestMetadata(): TestMetadata

Parses the TestMetadata from a test's Description

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-junit4/com.rubensousa.carioca.junit4.report/get-test-report-config.html b/api/carioca-report/report-junit4/com.rubensousa.carioca.junit4.report/get-test-report-config.html new file mode 100644 index 00000000..33e70bd1 --- /dev/null +++ b/api/carioca-report/report-junit4/com.rubensousa.carioca.junit4.report/get-test-report-config.html @@ -0,0 +1,76 @@ + + + + + getTestReportConfig + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getTestReportConfig

+
+

Retrieves the metadata of TestReport from a test's Description

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-junit4/com.rubensousa.carioca.junit4.report/index.html b/api/carioca-report/report-junit4/com.rubensousa.carioca.junit4.report/index.html new file mode 100644 index 00000000..414544e8 --- /dev/null +++ b/api/carioca-report/report-junit4/com.rubensousa.carioca.junit4.report/index.html @@ -0,0 +1,114 @@ + + + + + com.rubensousa.carioca.junit4.report + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Description.getTestMetadata(): TestMetadata

Parses the TestMetadata from a test's Description

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Retrieves the metadata of TestReport from a test's Description

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-junit4/index.html b/api/carioca-report/report-junit4/index.html new file mode 100644 index 00000000..012999a0 --- /dev/null +++ b/api/carioca-report/report-junit4/index.html @@ -0,0 +1,95 @@ + + + + + report-junit4 + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

report-junit4

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-junit4/navigation.html b/api/carioca-report/report-junit4/navigation.html new file mode 100644 index 00000000..1ed11f78 --- /dev/null +++ b/api/carioca-report/report-junit4/navigation.html @@ -0,0 +1,622 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+ +
+
+ Companion +
+
+
+
+ +
+
+ NATURAL +
+
+
+
+ PORTRAIT +
+
+
+
+ LANDSCAPE +
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ + +
+
+ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ JsonStage +
+
+
+ +
+
+
+
+ + +
+
+ +
+ + + +
+ +
+ +
+
+
+ Id +
+
+
+
+ Links +
+
+
+
+ Title +
+
+
+
+ +
+
+ RUNNING +
+
+
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-id-generator/get.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-id-generator/get.html new file mode 100644 index 00000000..63f15495 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-id-generator/get.html @@ -0,0 +1,76 @@ + + + + + get + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

get

+
+
fun get(): String
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-id-generator/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-id-generator/index.html new file mode 100644 index 00000000..72891304 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-id-generator/index.html @@ -0,0 +1,100 @@ + + + + + ExecutionIdGenerator + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ExecutionIdGenerator

+ +
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun get(): String
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/-execution-metadata.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/-execution-metadata.html new file mode 100644 index 00000000..8b58d2ff --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/-execution-metadata.html @@ -0,0 +1,76 @@ + + + + + ExecutionMetadata + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ExecutionMetadata

+
+
constructor(uniqueId: String, failureCause: Throwable?, status: ReportStatus, startTime: Long, endTime: Long)

Parameters

uniqueId

the unique identifier for the stage. It changes across different executions

failureCause

if the stage failed, this contains the error thrown

status

the execution status of this stage

startTime

indicates when this stage started its execution

endTime

indicates when this stage stopped its execution

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/end-time.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/end-time.html new file mode 100644 index 00000000..4d4e87f3 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/end-time.html @@ -0,0 +1,76 @@ + + + + + endTime + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

endTime

+
+

Parameters

endTime

indicates when this stage stopped its execution

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/failure-cause.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/failure-cause.html new file mode 100644 index 00000000..3eda39e9 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/failure-cause.html @@ -0,0 +1,76 @@ + + + + + failureCause + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

failureCause

+
+

Parameters

failureCause

if the stage failed, this contains the error thrown

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/index.html new file mode 100644 index 00000000..bd42b2c8 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/index.html @@ -0,0 +1,179 @@ + + + + + ExecutionMetadata + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ExecutionMetadata

+
data class ExecutionMetadata(val uniqueId: String, val failureCause: Throwable?, val status: ReportStatus, val startTime: Long, val endTime: Long)

Metadata for the execution for a test, step or scenario

Parameters

uniqueId

the unique identifier for the stage. It changes across different executions

failureCause

if the stage failed, this contains the error thrown

status

the execution status of this stage

startTime

indicates when this stage started its execution

endTime

indicates when this stage stopped its execution

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(uniqueId: String, failureCause: Throwable?, status: ReportStatus, startTime: Long, endTime: Long)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/start-time.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/start-time.html new file mode 100644 index 00000000..e761b175 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/start-time.html @@ -0,0 +1,76 @@ + + + + + startTime + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

startTime

+
+

Parameters

startTime

indicates when this stage started its execution

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/status.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/status.html new file mode 100644 index 00000000..fe205cef --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/status.html @@ -0,0 +1,76 @@ + + + + + status + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

status

+
+

Parameters

status

the execution status of this stage

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/unique-id.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/unique-id.html new file mode 100644 index 00000000..f62b8a72 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-execution-metadata/unique-id.html @@ -0,0 +1,76 @@ + + + + + uniqueId + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

uniqueId

+
+

Parameters

uniqueId

the unique identifier for the stage. It changes across different executions

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/-description/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/-description/index.html new file mode 100644 index 00000000..62138576 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/-description/index.html @@ -0,0 +1,80 @@ + + + + + Description + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Description

+ +
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/-id/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/-id/index.html new file mode 100644 index 00000000..ba7f297b --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/-id/index.html @@ -0,0 +1,80 @@ + + + + + Id + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Id

+
data object Id : ReportProperty
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/-links/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/-links/index.html new file mode 100644 index 00000000..e7a3ce44 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/-links/index.html @@ -0,0 +1,80 @@ + + + + + Links + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Links

+
data object Links : ReportProperty
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/-title/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/-title/index.html new file mode 100644 index 00000000..9d7d7238 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/-title/index.html @@ -0,0 +1,80 @@ + + + + + Title + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Title

+
data object Title : ReportProperty
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/index.html new file mode 100644 index 00000000..7af82a3e --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-property/index.html @@ -0,0 +1,145 @@ + + + + + ReportProperty + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ReportProperty

+ +
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data object Id : ReportProperty
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data object Links : ReportProperty
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data object Title : ReportProperty
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/-f-a-i-l-e-d/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/-f-a-i-l-e-d/index.html new file mode 100644 index 00000000..b25aa741 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/-f-a-i-l-e-d/index.html @@ -0,0 +1,115 @@ + + + + + FAILED + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

FAILED

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/-i-g-n-o-r-e-d/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/-i-g-n-o-r-e-d/index.html new file mode 100644 index 00000000..02444e37 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/-i-g-n-o-r-e-d/index.html @@ -0,0 +1,115 @@ + + + + + IGNORED + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

IGNORED

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/-p-a-s-s-e-d/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/-p-a-s-s-e-d/index.html new file mode 100644 index 00000000..36cae85a --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/-p-a-s-s-e-d/index.html @@ -0,0 +1,115 @@ + + + + + PASSED + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

PASSED

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/-r-u-n-n-i-n-g/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/-r-u-n-n-i-n-g/index.html new file mode 100644 index 00000000..30edc3ff --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/-r-u-n-n-i-n-g/index.html @@ -0,0 +1,115 @@ + + + + + RUNNING + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RUNNING

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/entries.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/entries.html new file mode 100644 index 00000000..85e975a7 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

entries

+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/index.html new file mode 100644 index 00000000..fce3599f --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/index.html @@ -0,0 +1,228 @@ + + + + + ReportStatus + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ReportStatus

+

The different status of every report

+
+
+
+
+
+

Entries

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an array containing the constants of this enum type, in the order they're declared.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/value-of.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/value-of.html new file mode 100644 index 00000000..d04d8ed1 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

valueOf

+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/values.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/values.html new file mode 100644 index 00000000..c3f6e79d --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-report-status/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

values

+
+

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/-stage-attachment.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/-stage-attachment.html new file mode 100644 index 00000000..5685097c --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/-stage-attachment.html @@ -0,0 +1,76 @@ + + + + + StageAttachment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

StageAttachment

+
+
constructor(description: String, path: String, mimeType: String, keepOnSuccess: Boolean)

Parameters

description

a human readable representation of this attachment

path

the relative path of this attachment

mimeType

the mime type of the file

keepOnSuccess

true if the attachment should be kept if the test passes, false otherwise

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/description.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/description.html new file mode 100644 index 00000000..da275c84 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/description.html @@ -0,0 +1,76 @@ + + + + + description + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

description

+
+

Parameters

description

a human readable representation of this attachment

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/index.html new file mode 100644 index 00000000..44aabb83 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/index.html @@ -0,0 +1,164 @@ + + + + + StageAttachment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

StageAttachment

+
data class StageAttachment(val description: String, val path: String, val mimeType: String, val keepOnSuccess: Boolean)

An attachment linked to a given stage

Parameters

description

a human readable representation of this attachment

path

the relative path of this attachment

mimeType

the mime type of the file

keepOnSuccess

true if the attachment should be kept if the test passes, false otherwise

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(description: String, path: String, mimeType: String, keepOnSuccess: Boolean)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/keep-on-success.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/keep-on-success.html new file mode 100644 index 00000000..da3aa394 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/keep-on-success.html @@ -0,0 +1,76 @@ + + + + + keepOnSuccess + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

keepOnSuccess

+
+

Parameters

keepOnSuccess

true if the attachment should be kept if the test passes, false otherwise

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/mime-type.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/mime-type.html new file mode 100644 index 00000000..08f45af4 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/mime-type.html @@ -0,0 +1,76 @@ + + + + + mimeType + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mimeType

+
+

Parameters

mimeType

the mime type of the file

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/path.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/path.html new file mode 100644 index 00000000..568b18dc --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-attachment/path.html @@ -0,0 +1,76 @@ + + + + + path + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

path

+
+

Parameters

path

the relative path of this attachment

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/-stage-report.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/-stage-report.html new file mode 100644 index 00000000..e092a987 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/-stage-report.html @@ -0,0 +1,76 @@ + + + + + StageReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

StageReport

+
+
constructor(executionId: String = ExecutionIdGenerator.get())
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/add-property.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/add-property.html new file mode 100644 index 00000000..221fb695 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/add-property.html @@ -0,0 +1,76 @@ + + + + + addProperty + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addProperty

+
+
fun addProperty(key: ReportProperty, value: Any)

Adds an extra property to this report

Parameters

key

identifier for this property

value

value of this property

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/add-stage-after.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/add-stage-after.html new file mode 100644 index 00000000..53fbf270 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/add-stage-after.html @@ -0,0 +1,76 @@ + + + + + addStageAfter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addStageAfter

+
+

Parameters

stage

a nested stage within this report

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/add-stage-before.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/add-stage-before.html new file mode 100644 index 00000000..4f1015f3 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/add-stage-before.html @@ -0,0 +1,76 @@ + + + + + addStageBefore + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addStageBefore

+
+

Parameters

stage

a nested stage within this report

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/add-test-stage.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/add-test-stage.html new file mode 100644 index 00000000..17e3bc84 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/add-test-stage.html @@ -0,0 +1,76 @@ + + + + + addTestStage + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addTestStage

+
+

Parameters

stage

a nested stage within this report

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/attach.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/attach.html new file mode 100644 index 00000000..748074b4 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/attach.html @@ -0,0 +1,76 @@ + + + + + attach + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

attach

+
+
fun attach(attachment: StageAttachment)

Parameters

attachment

an attachment that will be linked to this report

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/delete-attachment.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/delete-attachment.html new file mode 100644 index 00000000..ebb8f29a --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/delete-attachment.html @@ -0,0 +1,76 @@ + + + + + deleteAttachment + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

deleteAttachment

+
+
abstract fun deleteAttachment(attachment: StageAttachment)

Parameters

attachment

attachment to be deleted from the filesystem

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/detach.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/detach.html new file mode 100644 index 00000000..fc81d228 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/detach.html @@ -0,0 +1,76 @@ + + + + + detach + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detach

+
+
fun detach(attachment: StageAttachment)

Parameters

attachment

the attachment to remove from this report

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/equals.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/equals.html new file mode 100644 index 00000000..114ef9a5 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/equals.html @@ -0,0 +1,76 @@ + + + + + equals + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

equals

+
+
open operator override fun equals(other: Any?): Boolean
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/execution-id.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/execution-id.html new file mode 100644 index 00000000..6e58c75d --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/execution-id.html @@ -0,0 +1,76 @@ + + + + + executionId + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

executionId

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/fail.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/fail.html new file mode 100644 index 00000000..c565aca9 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/fail.html @@ -0,0 +1,76 @@ + + + + + fail + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fail

+
+
fun fail(cause: Throwable)

Marks this stage as failed

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-attachments.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-attachments.html new file mode 100644 index 00000000..f83a4097 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-attachments.html @@ -0,0 +1,76 @@ + + + + + getAttachments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getAttachments

+
+

Return

all attachments registered through attach

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-execution-metadata.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-execution-metadata.html new file mode 100644 index 00000000..0bb04bc9 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-execution-metadata.html @@ -0,0 +1,76 @@ + + + + + getExecutionMetadata + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getExecutionMetadata

+
+

Return

the execution metadata associated to this stage

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-id.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-id.html new file mode 100644 index 00000000..e1be1c4b --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-id.html @@ -0,0 +1,76 @@ + + + + + getId + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getId

+
+
open fun getId(): String

Return

an optional identifier for this stage

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-parameters.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-parameters.html new file mode 100644 index 00000000..21b6ddf7 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-parameters.html @@ -0,0 +1,76 @@ + + + + + getParameters + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getParameters

+
+

Return

the map of parameters created with setParameter

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-properties.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-properties.html new file mode 100644 index 00000000..cfdb71d6 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-properties.html @@ -0,0 +1,76 @@ + + + + + getProperties + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getProperties

+
+

Return

all properties registered through addProperty

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-property.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-property.html new file mode 100644 index 00000000..654b4bdd --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-property.html @@ -0,0 +1,76 @@ + + + + + getProperty + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getProperty

+
+
inline fun <T> getProperty(key: ReportProperty): T?

Return

the property registered previously through addProperty or null if not found or does not match the expected type

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-stages-after.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-stages-after.html new file mode 100644 index 00000000..52dd3171 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-stages-after.html @@ -0,0 +1,76 @@ + + + + + getStagesAfter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getStagesAfter

+
+

Return

the child stages that started in a @After method

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-stages-before.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-stages-before.html new file mode 100644 index 00000000..dfd87eef --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-stages-before.html @@ -0,0 +1,76 @@ + + + + + getStagesBefore + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getStagesBefore

+
+

Return

the child stages that started in a @Before method

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-test-stages.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-test-stages.html new file mode 100644 index 00000000..ccacef9d --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-test-stages.html @@ -0,0 +1,76 @@ + + + + + getTestStages + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getTestStages

+
+

Return

the child stages that started within this stage inside the test method

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-title.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-title.html new file mode 100644 index 00000000..7976636a --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-title.html @@ -0,0 +1,76 @@ + + + + + getTitle + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getTitle

+
+
abstract fun getTitle(): String

Return

the title of this stage

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-type.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-type.html new file mode 100644 index 00000000..6ed0bf66 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/get-type.html @@ -0,0 +1,76 @@ + + + + + getType + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getType

+
+
abstract fun getType(): String

Return

the type of this stage. Can be "test", "step", or anything else

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/hash-code.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/hash-code.html new file mode 100644 index 00000000..c380d8d6 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/hash-code.html @@ -0,0 +1,76 @@ + + + + + hashCode + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

hashCode

+
+
open override fun hashCode(): Int
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/ignore.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/ignore.html new file mode 100644 index 00000000..3211fa70 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/ignore.html @@ -0,0 +1,76 @@ + + + + + ignore + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ignore

+
+
fun ignore()

Marks this stage as skipped

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/index.html new file mode 100644 index 00000000..ee64225e --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/index.html @@ -0,0 +1,498 @@ + + + + + StageReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

StageReport

+
abstract class StageReport(val executionId: String = ExecutionIdGenerator.get())

The building block of all test reports

To get the main result of this report, use getExecutionMetadata

To get the reports within this own report, use: getStagesBefore, getTestStages, getStagesAfter

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(executionId: String = ExecutionIdGenerator.get())
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun addProperty(key: ReportProperty, value: Any)

Adds an extra property to this report

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun attach(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun deleteAttachment(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun detach(attachment: StageAttachment)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator override fun equals(other: Any?): Boolean
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun fail(cause: Throwable)

Marks this stage as failed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getId(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun <T> getProperty(key: ReportProperty): T?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getTitle(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getType(): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun hashCode(): Int
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun ignore()

Marks this stage as skipped

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun pass()

Marks this stage as passed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun reset()

Clears all the metadata associated to this report

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun setParameter(key: String, value: String)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/pass.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/pass.html new file mode 100644 index 00000000..ce6a33d2 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/pass.html @@ -0,0 +1,76 @@ + + + + + pass + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

pass

+
+
fun pass()

Marks this stage as passed

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/reset.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/reset.html new file mode 100644 index 00000000..5c3cdc5c --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/reset.html @@ -0,0 +1,76 @@ + + + + + reset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

reset

+
+
open fun reset()

Clears all the metadata associated to this report

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/set-parameter.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/set-parameter.html new file mode 100644 index 00000000..1428c717 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-report/set-parameter.html @@ -0,0 +1,76 @@ + + + + + setParameter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setParameter

+
+
fun setParameter(key: String, value: String)

Parameters

key

the unique key of the parameter

value

the value of the parameter

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/-stage-stack.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/-stage-stack.html new file mode 100644 index 00000000..4dfb0b5d --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/-stage-stack.html @@ -0,0 +1,76 @@ + + + + + StageStack + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

StageStack

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/clear.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/clear.html new file mode 100644 index 00000000..7d8037c5 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/clear.html @@ -0,0 +1,76 @@ + + + + + clear + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

clear

+
+
fun clear()
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/get-all.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/get-all.html new file mode 100644 index 00000000..be9130b5 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/get-all.html @@ -0,0 +1,76 @@ + + + + + getAll + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getAll

+
+
fun getAll(): List<T>
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/index.html new file mode 100644 index 00000000..4891b884 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/index.html @@ -0,0 +1,164 @@ + + + + + StageStack + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

StageStack

+
class StageStack<T>

Holds the current state of the stage execution.

The top of the stack points to the current active stage

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun clear()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun getAll(): List<T>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun pop(): T?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun push(stage: T)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/pop.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/pop.html new file mode 100644 index 00000000..f62d0975 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/pop.html @@ -0,0 +1,76 @@ + + + + + pop + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

pop

+
+
fun pop(): T?
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/push.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/push.html new file mode 100644 index 00000000..5ca07aec --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-stage-stack/push.html @@ -0,0 +1,76 @@ + + + + + push + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

push

+
+
fun push(stage: T)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/-test-metadata.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/-test-metadata.html new file mode 100644 index 00000000..b1dc5ef5 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/-test-metadata.html @@ -0,0 +1,76 @@ + + + + + TestMetadata + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestMetadata

+
+
constructor(packageName: String, className: String, methodName: String)

Parameters

packageName

the package name of the test class

className

the class under test

methodName

the name of the test method

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/class-name.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/class-name.html new file mode 100644 index 00000000..14a14ce1 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/class-name.html @@ -0,0 +1,76 @@ + + + + + className + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

className

+
+

Parameters

className

the class under test

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/full-name.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/full-name.html new file mode 100644 index 00000000..c3581ba8 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/full-name.html @@ -0,0 +1,76 @@ + + + + + fullName + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fullName

+
+

The full identifier of the test in the form of: packageName.className.methodName

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/index.html new file mode 100644 index 00000000..dbe348e4 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/index.html @@ -0,0 +1,164 @@ + + + + + TestMetadata + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestMetadata

+
data class TestMetadata(val packageName: String, val className: String, val methodName: String)

Parameters

packageName

the package name of the test class

className

the class under test

methodName

the name of the test method

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(packageName: String, className: String, methodName: String)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The full identifier of the test in the form of: packageName.className.methodName

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/method-name.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/method-name.html new file mode 100644 index 00000000..7aba5e1a --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/method-name.html @@ -0,0 +1,76 @@ + + + + + methodName + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

methodName

+
+

Parameters

methodName

the name of the test method

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/package-name.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/package-name.html new file mode 100644 index 00000000..f6255946 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-metadata/package-name.html @@ -0,0 +1,76 @@ + + + + + packageName + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

packageName

+
+

Parameters

packageName

the package name of the test class

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/-test-report-config.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/-test-report-config.html new file mode 100644 index 00000000..40d71e0b --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/-test-report-config.html @@ -0,0 +1,76 @@ + + + + + TestReportConfig + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestReportConfig

+
+
constructor(id: String?, title: String?, links: List<String>, description: String?)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/apply-to.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/apply-to.html new file mode 100644 index 00000000..3bdf21c5 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/apply-to.html @@ -0,0 +1,76 @@ + + + + + applyTo + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

applyTo

+
+
fun applyTo(report: StageReport)
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/description.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/description.html new file mode 100644 index 00000000..0698f2de --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/description.html @@ -0,0 +1,76 @@ + + + + + description + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

description

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/id.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/id.html new file mode 100644 index 00000000..1b87f17d --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/id.html @@ -0,0 +1,76 @@ + + + + + id + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

id

+
+
val id: String?

See also

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/index.html new file mode 100644 index 00000000..ec450f99 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/index.html @@ -0,0 +1,183 @@ + + + + + TestReportConfig + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestReportConfig

+
data class TestReportConfig(val id: String?, val title: String?, val links: List<String>, val description: String?)

The configuration built from the TestReport annotation

This will be used to fill the report with extra properties

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(id: String?, title: String?, links: List<String>, description: String?)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun applyTo(report: StageReport)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/links.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/links.html new file mode 100644 index 00000000..a2058a97 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/links.html @@ -0,0 +1,76 @@ + + + + + links + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

links

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/title.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/title.html new file mode 100644 index 00000000..311a0cba --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report-config/title.html @@ -0,0 +1,76 @@ + + + + + title + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

title

+
+ +
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/description.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/description.html new file mode 100644 index 00000000..5e0ff319 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/description.html @@ -0,0 +1,76 @@ + + + + + description + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

description

+
+

A human-readable description of the test

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/id.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/id.html new file mode 100644 index 00000000..bf0bcfd7 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/id.html @@ -0,0 +1,76 @@ + + + + + id + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

id

+
+
val id: String

A persistent identifier for a test. Used to track progress of different executions Passing empty won't have effect

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/index.html new file mode 100644 index 00000000..cdafd8e0 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/index.html @@ -0,0 +1,145 @@ + + + + + TestReport + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TestReport

+
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class TestReport(val id: String = "", val title: String = "", val description: String = "", val links: Array<String> = [])

Decorates the test reports with extra information

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

A human-readable description of the test

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val id: String

A persistent identifier for a test. Used to track progress of different executions Passing empty won't have effect

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A collection of links relevant for the report

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A human-readable title of the test

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/links.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/links.html new file mode 100644 index 00000000..9ba6c87f --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/links.html @@ -0,0 +1,76 @@ + + + + + links + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

links

+
+

A collection of links relevant for the report

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/title.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/title.html new file mode 100644 index 00000000..aac8da98 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/-test-report/title.html @@ -0,0 +1,76 @@ + + + + + title + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

title

+
+

A human-readable title of the test

+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/index.html b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/index.html new file mode 100644 index 00000000..82678252 --- /dev/null +++ b/api/carioca-report/report-runtime/com.rubensousa.carioca.report.runtime/index.html @@ -0,0 +1,234 @@ + + + + + com.rubensousa.carioca.report.runtime + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class ExecutionMetadata(val uniqueId: String, val failureCause: Throwable?, val status: ReportStatus, val startTime: Long, val endTime: Long)

Metadata for the execution for a test, step or scenario

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
interface ReportProperty
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The different status of every report

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class StageAttachment(val description: String, val path: String, val mimeType: String, val keepOnSuccess: Boolean)

An attachment linked to a given stage

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract class StageReport(val executionId: String = ExecutionIdGenerator.get())

The building block of all test reports

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class StageStack<T>

Holds the current state of the stage execution.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class TestMetadata(val packageName: String, val className: String, val methodName: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class TestReport(val id: String = "", val title: String = "", val description: String = "", val links: Array<String> = [])

Decorates the test reports with extra information

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class TestReportConfig(val id: String?, val title: String?, val links: List<String>, val description: String?)

The configuration built from the TestReport annotation

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/index.html b/api/carioca-report/report-runtime/index.html new file mode 100644 index 00000000..0482d97b --- /dev/null +++ b/api/carioca-report/report-runtime/index.html @@ -0,0 +1,95 @@ + + + + + report-runtime + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

report-runtime

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/api/carioca-report/report-runtime/navigation.html b/api/carioca-report/report-runtime/navigation.html new file mode 100644 index 00000000..1ed11f78 --- /dev/null +++ b/api/carioca-report/report-runtime/navigation.html @@ -0,0 +1,622 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+ +
+
+ Companion +
+
+
+
+ +
+
+ NATURAL +
+
+
+
+ PORTRAIT +
+
+
+
+ LANDSCAPE +
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ + +
+
+ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ JsonStage +
+
+
+ +
+
+
+
+ + +
+
+ +
+ + + +
+ +
+ +
+
+
+ Id +
+
+
+
+ Links +
+
+
+
+ Title +
+
+
+
+ +
+
+ RUNNING +
+
+
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/api/images/anchor-copy-button.svg b/api/images/anchor-copy-button.svg new file mode 100644 index 00000000..19c1fa3f --- /dev/null +++ b/api/images/anchor-copy-button.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/api/images/arrow_down.svg b/api/images/arrow_down.svg new file mode 100644 index 00000000..639aaf12 --- /dev/null +++ b/api/images/arrow_down.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/images/burger.svg b/api/images/burger.svg new file mode 100644 index 00000000..fcca732b --- /dev/null +++ b/api/images/burger.svg @@ -0,0 +1,9 @@ + + + + + + + diff --git a/api/images/copy-icon.svg b/api/images/copy-icon.svg new file mode 100644 index 00000000..2cb02ec6 --- /dev/null +++ b/api/images/copy-icon.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/images/copy-successful-icon.svg b/api/images/copy-successful-icon.svg new file mode 100644 index 00000000..c4b95383 --- /dev/null +++ b/api/images/copy-successful-icon.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/images/footer-go-to-link.svg b/api/images/footer-go-to-link.svg new file mode 100644 index 00000000..a87add7a --- /dev/null +++ b/api/images/footer-go-to-link.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/images/go-to-top-icon.svg b/api/images/go-to-top-icon.svg new file mode 100644 index 00000000..abc3d1ce --- /dev/null +++ b/api/images/go-to-top-icon.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/api/images/homepage.svg b/api/images/homepage.svg new file mode 100644 index 00000000..e3c83b1c --- /dev/null +++ b/api/images/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/api/images/logo-icon.svg b/api/images/logo-icon.svg new file mode 100644 index 00000000..e42f9570 --- /dev/null +++ b/api/images/logo-icon.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + diff --git a/api/images/nav-icons/abstract-class-kotlin.svg b/api/images/nav-icons/abstract-class-kotlin.svg new file mode 100644 index 00000000..19d6148c --- /dev/null +++ b/api/images/nav-icons/abstract-class-kotlin.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/images/nav-icons/abstract-class.svg b/api/images/nav-icons/abstract-class.svg new file mode 100644 index 00000000..60182030 --- /dev/null +++ b/api/images/nav-icons/abstract-class.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/api/images/nav-icons/annotation-kotlin.svg b/api/images/nav-icons/annotation-kotlin.svg new file mode 100644 index 00000000..b90f508c --- /dev/null +++ b/api/images/nav-icons/annotation-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/annotation.svg b/api/images/nav-icons/annotation.svg new file mode 100644 index 00000000..b80c54b4 --- /dev/null +++ b/api/images/nav-icons/annotation.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/class-kotlin.svg b/api/images/nav-icons/class-kotlin.svg new file mode 100644 index 00000000..797a2423 --- /dev/null +++ b/api/images/nav-icons/class-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/class.svg b/api/images/nav-icons/class.svg new file mode 100644 index 00000000..3f1ad167 --- /dev/null +++ b/api/images/nav-icons/class.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/enum-kotlin.svg b/api/images/nav-icons/enum-kotlin.svg new file mode 100644 index 00000000..775a7cc9 --- /dev/null +++ b/api/images/nav-icons/enum-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/enum.svg b/api/images/nav-icons/enum.svg new file mode 100644 index 00000000..fa7f2476 --- /dev/null +++ b/api/images/nav-icons/enum.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/exception-class.svg b/api/images/nav-icons/exception-class.svg new file mode 100644 index 00000000..c0b2bdeb --- /dev/null +++ b/api/images/nav-icons/exception-class.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/field-value.svg b/api/images/nav-icons/field-value.svg new file mode 100644 index 00000000..2771ee56 --- /dev/null +++ b/api/images/nav-icons/field-value.svg @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/api/images/nav-icons/field-variable.svg b/api/images/nav-icons/field-variable.svg new file mode 100644 index 00000000..e2d2bbd0 --- /dev/null +++ b/api/images/nav-icons/field-variable.svg @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/api/images/nav-icons/function.svg b/api/images/nav-icons/function.svg new file mode 100644 index 00000000..f0da64a0 --- /dev/null +++ b/api/images/nav-icons/function.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/interface-kotlin.svg b/api/images/nav-icons/interface-kotlin.svg new file mode 100644 index 00000000..5e163260 --- /dev/null +++ b/api/images/nav-icons/interface-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/interface.svg b/api/images/nav-icons/interface.svg new file mode 100644 index 00000000..32063ba2 --- /dev/null +++ b/api/images/nav-icons/interface.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/object.svg b/api/images/nav-icons/object.svg new file mode 100644 index 00000000..31f0ee3e --- /dev/null +++ b/api/images/nav-icons/object.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/typealias-kotlin.svg b/api/images/nav-icons/typealias-kotlin.svg new file mode 100644 index 00000000..f4bb238b --- /dev/null +++ b/api/images/nav-icons/typealias-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/theme-toggle.svg b/api/images/theme-toggle.svg new file mode 100644 index 00000000..df86202b --- /dev/null +++ b/api/images/theme-toggle.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/index.html b/api/index.html new file mode 100644 index 00000000..bf359241 --- /dev/null +++ b/api/index.html @@ -0,0 +1,197 @@ + + + + + All modules + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

All modules:

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/api/navigation.html b/api/navigation.html new file mode 100644 index 00000000..e2475a8a --- /dev/null +++ b/api/navigation.html @@ -0,0 +1,622 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+ +
+
+ Companion +
+
+
+
+ +
+
+ NATURAL +
+
+
+
+ PORTRAIT +
+
+
+
+ LANDSCAPE +
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ + +
+
+ + + +
+
+ +
+ +
+ +
+ +
+ +
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+
+ JsonStage +
+
+
+ +
+
+
+
+ + +
+
+ +
+ + + +
+ +
+ +
+
+
+ Id +
+
+
+
+ Links +
+
+
+
+ Title +
+
+
+
+ +
+
+ RUNNING +
+
+
+
+ PASSED +
+
+
+
+ FAILED +
+
+
+
+ IGNORED +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
diff --git a/api/package-list b/api/package-list new file mode 100644 index 00000000..cac2a6b7 --- /dev/null +++ b/api/package-list @@ -0,0 +1,32 @@ +$dokka.format:html-v1 +$dokka.linkExtension:html + +module:carioca-junit4-rules +com.rubensousa.carioca.junit4.rules +module:carioca-hilt-compose +com.rubensousa.carioca.hilt.compose +module:carioca-hilt-fragment +com.rubensousa.carioca.hilt.fragment +module:carioca-hilt-manifest +com.rubensousa.carioca.hilt.manifest +module:carioca-hilt-runner +com.rubensousa.carioca.hilt.runner +module:report-android +com.rubensousa.carioca.report.android +com.rubensousa.carioca.report.android.interceptor +com.rubensousa.carioca.report.android.recording +com.rubensousa.carioca.report.android.screenshot +com.rubensousa.carioca.report.android.stage +com.rubensousa.carioca.report.android.stage.internal +com.rubensousa.carioca.report.android.storage +module:report-android-compose +com.rubensousa.carioca.report.android.compose +module:report-android-coroutines +com.rubensousa.carioca.report.android.coroutines +com.rubensousa.carioca.report.android.coroutines.internal +module:report-json +com.rubensousa.carioca.report.json +module:report-junit4 +com.rubensousa.carioca.junit4.report +module:report-runtime +com.rubensousa.carioca.report.runtime diff --git a/api/scripts/clipboard.js b/api/scripts/clipboard.js new file mode 100644 index 00000000..7a4f33c5 --- /dev/null +++ b/api/scripts/clipboard.js @@ -0,0 +1,56 @@ +/* + * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */ + +window.addEventListener('load', () => { + document.querySelectorAll('span.copy-icon').forEach(element => { + element.addEventListener('click', (el) => copyElementsContentToClipboard(element)); + }) + + document.querySelectorAll('span.anchor-icon').forEach(element => { + element.addEventListener('click', (el) => { + if(element.hasAttribute('pointing-to')){ + const location = hrefWithoutCurrentlyUsedAnchor() + '#' + element.getAttribute('pointing-to') + copyTextToClipboard(element, location) + } + }); + }) +}) + +const copyElementsContentToClipboard = (element) => { + const selection = window.getSelection(); + const range = document.createRange(); + range.selectNodeContents(element.parentNode.parentNode); + selection.removeAllRanges(); + selection.addRange(range); + + copyAndShowPopup(element, () => selection.removeAllRanges()) +} + +const copyTextToClipboard = (element, text) => { + var textarea = document.createElement("textarea"); + textarea.textContent = text; + textarea.style.position = "fixed"; + document.body.appendChild(textarea); + textarea.select(); + + copyAndShowPopup(element, () => document.body.removeChild(textarea)) +} + +const copyAndShowPopup = (element, after) => { + try { + document.execCommand('copy'); + element.nextElementSibling.classList.add('active-popup'); + setTimeout(() => { + element.nextElementSibling.classList.remove('active-popup'); + }, 1200); + } catch (e) { + console.error('Failed to write to clipboard:', e) + } + finally { + if(after) after() + } +} + +const hrefWithoutCurrentlyUsedAnchor = () => window.location.href.split('#')[0] + diff --git a/api/scripts/main.js b/api/scripts/main.js new file mode 100644 index 00000000..ba6c3473 --- /dev/null +++ b/api/scripts/main.js @@ -0,0 +1,44 @@ +(()=>{var e={8527:e=>{e.exports=''},5570:e=>{e.exports=''},107:e=>{e.exports=''},7224:e=>{e.exports=''},538:e=>{e.exports=''},1924:(e,n,t)=>{"use strict";var r=t(210),o=t(5559),i=o(r("String.prototype.indexOf"));e.exports=function(e,n){var t=r(e,!!n);return"function"==typeof t&&i(e,".prototype.")>-1?o(t):t}},5559:(e,n,t)=>{"use strict";var r=t(8612),o=t(210),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(a,i),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),s=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var n=l(r,a,arguments);if(c&&u){var t=c(n,"length");t.configurable&&u(n,"length",{value:1+s(0,e.length-(arguments.length-1))})}return n};var f=function(){return l(r,i,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},4184:(e,n)=>{var t; +/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],n=0;n{"use strict";e.exports=function(e,n){var t=this,r=t.constructor;return t.options=Object.assign({storeInstancesGlobally:!0},n||{}),t.callbacks={},t.directMap={},t.sequenceLevels={},t.resetTimer=null,t.ignoreNextKeyup=!1,t.ignoreNextKeypress=!1,t.nextExpectedAction=!1,t.element=e,t.addEvents(),t.options.storeInstancesGlobally&&r.instances.push(t),t},e.exports.prototype.bind=t(2207),e.exports.prototype.bindMultiple=t(3396),e.exports.prototype.unbind=t(9208),e.exports.prototype.trigger=t(9855),e.exports.prototype.reset=t(6214),e.exports.prototype.stopCallback=t(3450),e.exports.prototype.handleKey=t(3067),e.exports.prototype.addEvents=t(718),e.exports.prototype.bindSingle=t(8763),e.exports.prototype.getKeyInfo=t(5825),e.exports.prototype.pickBestAction=t(8608),e.exports.prototype.getReverseMap=t(3956),e.exports.prototype.getMatches=t(3373),e.exports.prototype.resetSequences=t(3346),e.exports.prototype.fireCallback=t(2684),e.exports.prototype.bindSequence=t(7103),e.exports.prototype.resetSequenceTimer=t(7309),e.exports.prototype.detach=t(7554),e.exports.instances=[],e.exports.reset=t(1822),e.exports.REVERSE_MAP=null},718:(e,n,t)=>{"use strict";e.exports=function(){var e=this,n=t(4323),r=e.element;e.eventHandler=t(9646).bind(e),n(r,"keypress",e.eventHandler),n(r,"keydown",e.eventHandler),n(r,"keyup",e.eventHandler)}},2207:e=>{"use strict";e.exports=function(e,n,t){return e=e instanceof Array?e:[e],this.bindMultiple(e,n,t),this}},3396:e=>{"use strict";e.exports=function(e,n,t){for(var r=0;r{"use strict";e.exports=function(e,n,r,o){var i=this;function a(n){return function(){i.nextExpectedAction=n,++i.sequenceLevels[e],i.resetSequenceTimer()}}function l(n){var a;i.fireCallback(r,n,e),"keyup"!==o&&(a=t(6770),i.ignoreNextKeyup=a(n)),setTimeout((function(){i.resetSequences()}),10)}i.sequenceLevels[e]=0;for(var c=0;c{"use strict";e.exports=function(e,n,t,r,o){var i=this;i.directMap[e+":"+t]=n;var a,l=(e=e.replace(/\s+/g," ")).split(" ");l.length>1?i.bindSequence(e,l,n,t):(a=i.getKeyInfo(e,t),i.callbacks[a.key]=i.callbacks[a.key]||[],i.getMatches(a.key,a.modifiers,{type:a.action},r,e,o),i.callbacks[a.key][r?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:r,level:o,combo:e}))}},7554:(e,n,t)=>{var r=t(4323).off;e.exports=function(){var e=this,n=e.element;r(n,"keypress",e.eventHandler),r(n,"keydown",e.eventHandler),r(n,"keyup",e.eventHandler)}},4323:e=>{function n(e,n,t,r){return!e.addEventListener&&(n="on"+n),(e.addEventListener||e.attachEvent).call(e,n,t,r),t}e.exports=n,e.exports.on=n,e.exports.off=function(e,n,t,r){return!e.removeEventListener&&(n="on"+n),(e.removeEventListener||e.detachEvent).call(e,n,t,r),t}},2684:(e,n,t)=>{"use strict";e.exports=function(e,n,r,o){this.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(t(1350)(n),t(6103)(n))}},5825:(e,n,t)=>{"use strict";e.exports=function(e,n){var r,o,i,a,l,c,u=[];for(r=t(4520)(e),a=t(7549),l=t(5355),c=t(8581),i=0;i{"use strict";e.exports=function(e,n,r,o,i,a){var l,c,u,s,f=this,p=[],d=r.type;"keypress"!==d||r.code&&"Arrow"===r.code.slice(0,5)||(f.callbacks["any-character"]||[]).forEach((function(e){p.push(e)}));if(!f.callbacks[e])return p;for(u=t(8581),"keyup"===d&&u(e)&&(n=[e]),l=0;l{"use strict";e.exports=function(){var e,n=this.constructor;if(!n.REVERSE_MAP)for(var r in n.REVERSE_MAP={},e=t(4766))r>95&&r<112||e.hasOwnProperty(r)&&(n.REVERSE_MAP[e[r]]=r);return n.REVERSE_MAP}},3067:(e,n,t)=>{"use strict";e.exports=function(e,n,r){var o,i,a,l,c=this,u={},s=0,f=!1;for(o=c.getMatches(e,n,r),i=0;i{"use strict";e.exports=function(e){var n,r=this;"number"!=typeof e.which&&(e.which=e.keyCode);var o=t(6770)(e);void 0!==o&&("keyup"!==e.type||r.ignoreNextKeyup!==o?(n=t(4610),r.handleKey(o,n(e),e)):r.ignoreNextKeyup=!1)}},5532:e=>{"use strict";e.exports=function(e,n){return e.sort().join(",")===n.sort().join(",")}},8608:e=>{"use strict";e.exports=function(e,n,t){return t||(t=this.getReverseMap()[e]?"keydown":"keypress"),"keypress"===t&&n.length&&(t="keydown"),t}},6214:e=>{"use strict";e.exports=function(){return this.callbacks={},this.directMap={},this}},7309:e=>{"use strict";e.exports=function(){var e=this;clearTimeout(e.resetTimer),e.resetTimer=setTimeout((function(){e.resetSequences()}),1e3)}},3346:e=>{"use strict";e.exports=function(e){var n=this;e=e||{};var t,r=!1;for(t in n.sequenceLevels)e[t]?r=!0:n.sequenceLevels[t]=0;r||(n.nextExpectedAction=!1)}},3450:e=>{"use strict";e.exports=function(e,n){if((" "+n.className+" ").indexOf(" combokeys ")>-1)return!1;var t=n.tagName.toLowerCase();return"input"===t||"select"===t||"textarea"===t||n.isContentEditable}},9855:e=>{"use strict";e.exports=function(e,n){return this.directMap[e+":"+n]&&this.directMap[e+":"+n]({},e),this}},9208:e=>{"use strict";e.exports=function(e,n){return this.bind(e,(function(){}),n)}},1822:e=>{"use strict";e.exports=function(){this.instances.forEach((function(e){e.reset()}))}},6770:(e,n,t)=>{"use strict";e.exports=function(e){var n,r;if(n=t(4766),r=t(5295),"keypress"===e.type){var o=String.fromCharCode(e.which);return e.shiftKey||(o=o.toLowerCase()),o}return void 0!==n[e.which]?n[e.which]:void 0!==r[e.which]?r[e.which]:String.fromCharCode(e.which).toLowerCase()}},4610:e=>{"use strict";e.exports=function(e){var n=[];return e.shiftKey&&n.push("shift"),e.altKey&&n.push("alt"),e.ctrlKey&&n.push("ctrl"),e.metaKey&&n.push("meta"),n}},8581:e=>{"use strict";e.exports=function(e){return"shift"===e||"ctrl"===e||"alt"===e||"meta"===e}},4520:e=>{"use strict";e.exports=function(e){return"+"===e?["+"]:e.split("+")}},1350:e=>{"use strict";e.exports=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}},5355:e=>{"use strict";e.exports={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"}},7549:e=>{"use strict";e.exports={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"}},5295:e=>{"use strict";e.exports={106:"*",107:"plus",109:"minus",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}},4766:e=>{"use strict";e.exports={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",173:"minus",187:"plus",189:"minus",224:"meta"};for(var n=1;n<20;++n)e.exports[111+n]="f"+n;for(n=0;n<=9;++n)e.exports[n+96]=n},6103:e=>{"use strict";e.exports=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}},3362:()=>{var e;!function(){var e=Math.PI,n=2*e,t=e/180,r=document.createElement("div");document.head.appendChild(r);var o=self.ConicGradient=function(e){o.all.push(this),e=e||{},this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.repeating=!!e.repeating,this.size=e.size||Math.max(innerWidth,innerHeight),this.canvas.width=this.canvas.height=this.size;var n=e.stops;this.stops=(n||"").split(/\s*,(?![^(]*\))\s*/),this.from=0;for(var t=0;t0){var i=this.stops[0].clone();i.pos=0,this.stops.unshift(i)}if(void 0===this.stops[this.stops.length-1].pos)this.stops[this.stops.length-1].pos=1;else if(!this.repeating&&this.stops[this.stops.length-1].pos<1){var a=this.stops[this.stops.length-1].clone();a.pos=1,this.stops.push(a)}if(this.stops.forEach((function(e,n){if(void 0===e.pos){for(var t=n+1;this[t];t++)if(void 0!==this[t].pos){e.pos=this[n-1].pos+(this[t].pos-this[n-1].pos)/(t-n+1);break}}else n>0&&(e.pos=Math.max(e.pos,this[n-1].pos))}),this.stops),this.repeating){var l=(n=this.stops.slice())[n.length-1].pos-n[0].pos;for(t=0;this.stops[this.stops.length-1].pos<1&&t<1e4;t++)for(var c=0;c'},get png(){return this.canvas.toDataURL()},get r(){return Math.sqrt(2)*this.size/2},paint:function(){var e,n,r,o=this.context,i=this.r,a=this.size/2,l=0,c=this.stops[l];o.translate(this.size/2,this.size/2),o.rotate(-90*t),o.rotate(this.from*t),o.translate(-this.size/2,-this.size/2);for(var u=0;u<360;){if(u/360+1e-5>=c.pos){do{e=c,l++,c=this.stops[l]}while(c&&c!=e&&c.pos===e.pos);if(!c)break;var s=e.color+""==c.color+""&&e!=c;n=e.color.map((function(e,n){return c.color[n]-e}))}r=(u/360-e.pos)/(c.pos-e.pos);var f=s?c.color:n.map((function(n,t){var o=n*r+e.color[t];return t<3?255&o:o}));if(o.fillStyle="rgba("+f.join(",")+")",o.beginPath(),o.moveTo(a,a),s)var p=360*(c.pos-e.pos);else p=.5;var d=u*t,h=(d=Math.min(360*t,d))+p*t;h=Math.min(360*t,h+.02),o.arc(a,a,i,d,h),o.closePath(),o.fill(),u+=p}}},o.ColorStop=function(e,t){if(this.gradient=e,t){var r=t.match(/^(.+?)(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?\s*$/);if(this.color=o.ColorStop.colorToRGBA(r[1]),r[2]){var i=r[3];"%"==i||"0"===r[2]&&!i?this.pos=r[2]/100:"turn"==i?this.pos=+r[2]:"deg"==i?this.pos=r[2]/360:"grad"==i?this.pos=r[2]/400:"rad"==i&&(this.pos=r[2]/n)}r[4]&&(this.next=new o.ColorStop(e,r[1]+" "+r[4]+r[5]))}},o.ColorStop.prototype={clone:function(){var e=new o.ColorStop(this.gradient);return e.color=this.color,e.pos=this.pos,e},toString:function(){return"rgba("+this.color.join(", ")+") "+100*this.pos+"%"}},o.ColorStop.colorToRGBA=function(e){if(!Array.isArray(e)&&-1==e.indexOf("from")){r.style.color=e;var n=getComputedStyle(r).color.match(/rgba?\(([\d.]+), ([\d.]+), ([\d.]+)(?:, ([\d.]+))?\)/);return n&&(n.shift(),(n=n.map((function(e){return+e})))[3]=isNaN(n[3])?1:n[3]),n||[0,0,0,0]}return e}}(),self.StyleFix&&((e=document.createElement("p")).style.backgroundImage="conic-gradient(white, black)",e.style.backgroundImage=PrefixFree.prefix+"conic-gradient(white, black)",e.style.backgroundImage||StyleFix.register((function(e,n){return e.indexOf("conic-gradient")>-1&&(e=e.replace(/(?:repeating-)?conic-gradient\(\s*((?:\([^()]+\)|[^;()}])+?)\)/g,(function(e,n){return new ConicGradient({stops:n,repeating:e.indexOf("repeating-")>-1})}))),e})))},9662:(e,n,t)=>{var r=t(7854),o=t(614),i=t(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a function")}},9483:(e,n,t)=>{var r=t(7854),o=t(4411),i=t(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a constructor")}},6077:(e,n,t)=>{var r=t(7854),o=t(614),i=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},1223:(e,n,t)=>{var r=t(5112),o=t(30),i=t(3070),a=r("unscopables"),l=Array.prototype;null==l[a]&&i.f(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},1530:(e,n,t)=>{"use strict";var r=t(8710).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},5787:(e,n,t)=>{var r=t(7854),o=t(7976),i=r.TypeError;e.exports=function(e,n){if(o(n,e))return e;throw i("Incorrect invocation")}},9670:(e,n,t)=>{var r=t(7854),o=t(111),i=r.String,a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not an object")}},7556:(e,n,t)=>{var r=t(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},8533:(e,n,t)=>{"use strict";var r=t(2092).forEach,o=t(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},8457:(e,n,t)=>{"use strict";var r=t(7854),o=t(9974),i=t(6916),a=t(7908),l=t(3411),c=t(7659),u=t(4411),s=t(6244),f=t(6135),p=t(8554),d=t(1246),h=r.Array;e.exports=function(e){var n=a(e),t=u(this),r=arguments.length,g=r>1?arguments[1]:void 0,v=void 0!==g;v&&(g=o(g,r>2?arguments[2]:void 0));var A,b,m,y,E,_,C=d(n),w=0;if(!C||this==h&&c(C))for(A=s(n),b=t?new this(A):h(A);A>w;w++)_=v?g(n[w],w):n[w],f(b,w,_);else for(E=(y=p(n,C)).next,b=t?new this:[];!(m=i(E,y)).done;w++)_=v?l(y,g,[m.value,w],!0):m.value,f(b,w,_);return b.length=w,b}},1318:(e,n,t)=>{var r=t(5656),o=t(1400),i=t(6244),a=function(e){return function(n,t,a){var l,c=r(n),u=i(c),s=o(a,u);if(e&&t!=t){for(;u>s;)if((l=c[s++])!=l)return!0}else for(;u>s;s++)if((e||s in c)&&c[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:(e,n,t)=>{var r=t(9974),o=t(1702),i=t(8361),a=t(7908),l=t(6244),c=t(5417),u=o([].push),s=function(e){var n=1==e,t=2==e,o=3==e,s=4==e,f=6==e,p=7==e,d=5==e||f;return function(h,g,v,A){for(var b,m,y=a(h),E=i(y),_=r(g,v),C=l(E),w=0,x=A||c,k=n?x(h,C):t||p?x(h,0):void 0;C>w;w++)if((d||w in E)&&(m=_(b=E[w],w,y),e))if(n)k[w]=m;else if(m)switch(e){case 3:return!0;case 5:return b;case 6:return w;case 2:u(k,b)}else switch(e){case 4:return!1;case 7:u(k,b)}return f?-1:o||s?s:k}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},1194:(e,n,t)=>{var r=t(7293),o=t(5112),i=t(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},9341:(e,n,t)=>{"use strict";var r=t(7293);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){throw 1},1)}))}},3671:(e,n,t)=>{var r=t(7854),o=t(9662),i=t(7908),a=t(8361),l=t(6244),c=r.TypeError,u=function(e){return function(n,t,r,u){o(t);var s=i(n),f=a(s),p=l(s),d=e?p-1:0,h=e?-1:1;if(r<2)for(;;){if(d in f){u=f[d],d+=h;break}if(d+=h,e?d<0:p<=d)throw c("Reduce of empty array with no initial value")}for(;e?d>=0:p>d;d+=h)d in f&&(u=t(u,f[d],d,s));return u}};e.exports={left:u(!1),right:u(!0)}},206:(e,n,t)=>{var r=t(1702);e.exports=r([].slice)},4362:(e,n,t)=>{var r=t(206),o=Math.floor,i=function(e,n){var t=e.length,c=o(t/2);return t<8?a(e,n):l(e,i(r(e,0,c),n),i(r(e,c),n),n)},a=function(e,n){for(var t,r,o=e.length,i=1;i0;)e[r]=e[--r];r!==i++&&(e[r]=t)}return e},l=function(e,n,t,r){for(var o=n.length,i=t.length,a=0,l=0;a{var r=t(7854),o=t(3157),i=t(4411),a=t(111),l=t(5112)("species"),c=r.Array;e.exports=function(e){var n;return o(e)&&(n=e.constructor,(i(n)&&(n===c||o(n.prototype))||a(n)&&null===(n=n[l]))&&(n=void 0)),void 0===n?c:n}},5417:(e,n,t)=>{var r=t(7475);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},3411:(e,n,t)=>{var r=t(9670),o=t(9212);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},7072:(e,n,t)=>{var r=t(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){if(!n&&!o)return!1;var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4326:(e,n,t)=>{var r=t(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:(e,n,t)=>{var r=t(7854),o=t(1694),i=t(614),a=t(4326),l=t(5112)("toStringTag"),c=r.Object,u="Arguments"==a(function(){return arguments}());e.exports=o?a:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=c(e),l))?t:u?a(n):"Object"==(r=a(n))&&i(n.callee)?"Arguments":r}},5631:(e,n,t)=>{"use strict";var r=t(3070).f,o=t(30),i=t(2248),a=t(9974),l=t(5787),c=t(408),u=t(654),s=t(6340),f=t(9781),p=t(2423).fastKey,d=t(9909),h=d.set,g=d.getterFor;e.exports={getConstructor:function(e,n,t,u){var s=e((function(e,r){l(e,d),h(e,{type:n,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&c(r,e[u],{that:e,AS_ENTRIES:t})})),d=s.prototype,v=g(n),A=function(e,n,t){var r,o,i=v(e),a=b(e,n);return a?a.value=t:(i.last=a={index:o=p(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,n){var t,r=v(e),o=p(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key==n)return t};return i(d,{clear:function(){for(var e=v(this),n=e.index,t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),delete n[t.index],t=t.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var n=this,t=v(n),r=b(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first==r&&(t.first=o),t.last==r&&(t.last=i),f?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=v(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!b(this,e)}}),i(d,t?{get:function(e){var n=b(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),f&&r(d,"size",{get:function(){return v(this).size}}),s},setStrong:function(e,n,t){var r=n+" Iterator",o=g(n),i=g(r);u(e,n,(function(e,n){h(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?"keys"==n?{value:t.key,done:!1}:"values"==n?{value:t.value,done:!1}:{value:[t.key,t.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),t?"entries":"values",!t,!0),s(n)}}},9320:(e,n,t)=>{"use strict";var r=t(1702),o=t(2248),i=t(2423).getWeakData,a=t(9670),l=t(111),c=t(5787),u=t(408),s=t(2092),f=t(2597),p=t(9909),d=p.set,h=p.getterFor,g=s.find,v=s.findIndex,A=r([].splice),b=0,m=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},E=function(e,n){return g(e.entries,(function(e){return e[0]===n}))};y.prototype={get:function(e){var n=E(this,e);if(n)return n[1]},has:function(e){return!!E(this,e)},set:function(e,n){var t=E(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=v(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var s=e((function(e,o){c(e,p),d(e,{type:n,id:b++,frozen:void 0}),null!=o&&u(o,e[r],{that:e,AS_ENTRIES:t})})),p=s.prototype,g=h(n),v=function(e,n,t){var r=g(e),o=i(a(n),!0);return!0===o?m(r).set(n,t):o[r.id]=t,e};return o(p,{delete:function(e){var n=g(this);if(!l(e))return!1;var t=i(e);return!0===t?m(n).delete(e):t&&f(t,n.id)&&delete t[n.id]},has:function(e){var n=g(this);if(!l(e))return!1;var t=i(e);return!0===t?m(n).has(e):t&&f(t,n.id)}}),o(p,t?{get:function(e){var n=g(this);if(l(e)){var t=i(e);return!0===t?m(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return v(this,e,n)}}:{add:function(e){return v(this,e,!0)}}),s}}},7710:(e,n,t)=>{"use strict";var r=t(2109),o=t(7854),i=t(1702),a=t(4705),l=t(1320),c=t(2423),u=t(408),s=t(5787),f=t(614),p=t(111),d=t(7293),h=t(7072),g=t(8003),v=t(9587);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),m=A?"set":"add",y=o[e],E=y&&y.prototype,_=y,C={},w=function(e){var n=i(E[e]);l(E,e,"add"==e?function(e){return n(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!p(e))&&n(this,0===e?0:e)}:"get"==e?function(e){return b&&!p(e)?void 0:n(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!p(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(y)||!(b||E.forEach&&!d((function(){(new y).entries().next()})))))_=t.getConstructor(n,e,A,m),c.enable();else if(a(e,!0)){var x=new _,k=x[m](b?{}:-0,1)!=x,S=d((function(){x.has(1)})),O=h((function(e){new y(e)})),B=!b&&d((function(){for(var e=new y,n=5;n--;)e[m](n,n);return!e.has(-0)}));O||((_=n((function(e,n){s(e,E);var t=v(new y,e,_);return null!=n&&u(n,t[m],{that:t,AS_ENTRIES:A}),t}))).prototype=E,E.constructor=_),(S||B)&&(w("delete"),w("has"),A&&w("get")),(B||k)&&w(m),b&&E.clear&&delete E.clear}return C[e]=_,r({global:!0,forced:_!=y},C),g(_,e),b||t.setStrong(_,e,A),_}},9920:(e,n,t)=>{var r=t(2597),o=t(3887),i=t(1236),a=t(3070);e.exports=function(e,n){for(var t=o(n),l=a.f,c=i.f,u=0;u{var r=t(5112)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},8544:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4230:(e,n,t)=>{var r=t(1702),o=t(4488),i=t(1340),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},4994:(e,n,t)=>{"use strict";var r=t(3383).IteratorPrototype,o=t(30),i=t(9114),a=t(8003),l=t(7497),c=function(){return this};e.exports=function(e,n,t){var u=n+" Iterator";return e.prototype=o(r,{next:i(1,t)}),a(e,u,!1,!0),l[u]=c,e}},8880:(e,n,t)=>{var r=t(9781),o=t(3070),i=t(9114);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},9114:e=>{e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},6135:(e,n,t)=>{"use strict";var r=t(4948),o=t(3070),i=t(9114);e.exports=function(e,n,t){var a=r(n);a in e?o.f(e,a,i(0,t)):e[a]=t}},8709:(e,n,t)=>{"use strict";var r=t(7854),o=t(9670),i=t(2140),a=r.TypeError;e.exports=function(e){if(o(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw a("Incorrect hint");return i(this,e)}},654:(e,n,t)=>{"use strict";var r=t(2109),o=t(6916),i=t(1913),a=t(6530),l=t(614),c=t(4994),u=t(9518),s=t(7674),f=t(8003),p=t(8880),d=t(1320),h=t(5112),g=t(7497),v=t(3383),A=a.PROPER,b=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=h("iterator"),_="keys",C="values",w="entries",x=function(){return this};e.exports=function(e,n,t,a,h,v,k){c(t,n,a);var S,O,B,I=function(e){if(e===h&&R)return R;if(!y&&e in j)return j[e];switch(e){case _:case C:case w:return function(){return new t(this,e)}}return function(){return new t(this)}},T=n+" Iterator",P=!1,j=e.prototype,z=j[E]||j["@@iterator"]||h&&j[h],R=!y&&z||I(h),M="Array"==n&&j.entries||z;if(M&&(S=u(M.call(new e)))!==Object.prototype&&S.next&&(i||u(S)===m||(s?s(S,m):l(S[E])||d(S,E,x)),f(S,T,!0,!0),i&&(g[T]=x)),A&&h==C&&z&&z.name!==C&&(!i&&b?p(j,"name",C):(P=!0,R=function(){return o(z,this)})),h)if(O={values:I(C),keys:v?R:I(_),entries:I(w)},k)for(B in O)(y||P||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||P},O);return i&&!k||j[E]===R||d(j,E,R,{name:h}),g[n]=R,O}},7235:(e,n,t)=>{var r=t(857),o=t(2597),i=t(6061),a=t(3070).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},9781:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,n,t)=>{var r=t(7854),o=t(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(e,n,t)=>{var r=t(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8886:(e,n,t)=>{var r=t(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},256:(e,n,t)=>{var r=t(8113);e.exports=/MSIE|Trident/.test(r)},5268:(e,n,t)=>{var r=t(4326),o=t(7854);e.exports="process"==r(o.process)},8113:(e,n,t)=>{var r=t(5005);e.exports=r("navigator","userAgent")||""},7392:(e,n,t)=>{var r,o,i=t(7854),a=t(8113),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},8008:(e,n,t)=>{var r=t(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,n,t)=>{var r=t(7854),o=t(1236).f,i=t(8880),a=t(1320),l=t(3505),c=t(9920),u=t(4705);e.exports=function(e,n){var t,s,f,p,d,h=e.target,g=e.global,v=e.stat;if(t=g?r:v?r[h]||l(h,{}):(r[h]||{}).prototype)for(s in n){if(p=n[s],f=e.noTargetGet?(d=o(t,s))&&d.value:t[s],!u(g?s:h+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,n,t)=>{"use strict";t(4916);var r=t(1702),o=t(1320),i=t(2261),a=t(7293),l=t(5112),c=t(8880),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!=""[e](n)})),h=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!h||t){var g=r(/./[p]),v=n(p,""[e],(function(e,n,t,o,a){var l=r(e),c=n.exec;return c===i||c===s.exec?d&&!a?{done:!0,value:g(n,t,o)}:{done:!0,value:l(t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},6677:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:e=>{var n=Function.prototype,t=n.apply,r=n.bind,o=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(t):function(){return o.apply(t,arguments)})},9974:(e,n,t)=>{var r=t(1702),o=t(9662),i=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?i(e,n):function(){return e.apply(n,arguments)}}},7065:(e,n,t)=>{"use strict";var r=t(7854),o=t(1702),i=t(9662),a=t(111),l=t(2597),c=t(206),u=r.Function,s=o([].concat),f=o([].join),p={},d=function(e,n,t){if(!l(p,n)){for(var r=[],o=0;o{var n=Function.prototype.call;e.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},6530:(e,n,t)=>{var r=t(9781),o=t(2597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},1702:e=>{var n=Function.prototype,t=n.bind,r=n.call,o=t&&t.bind(r);e.exports=t?function(e){return e&&o(r,e)}:function(e){return e&&function(){return r.apply(e,arguments)}}},5005:(e,n,t)=>{var r=t(7854),o=t(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,n){return arguments.length<2?i(r[e]):r[e]&&r[e][n]}},1246:(e,n,t)=>{var r=t(648),o=t(8173),i=t(7497),a=t(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},8554:(e,n,t)=>{var r=t(7854),o=t(6916),i=t(9662),a=t(9670),l=t(6330),c=t(1246),u=r.TypeError;e.exports=function(e,n){var t=arguments.length<2?c(e):n;if(i(t))return a(o(t,e));throw u(l(e)+" is not iterable")}},8173:(e,n,t)=>{var r=t(9662);e.exports=function(e,n){var t=e[n];return null==t?void 0:r(t)}},647:(e,n,t)=>{var r=t(1702),o=t(7908),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,h=r.length,g=s;return void 0!==f&&(f=o(f),g=u),l(p,g,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>h){var p=i(s/10);return 0===p?o:p<=h?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},7854:(e,n,t)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||function(){return this}()||Function("return this")()},2597:(e,n,t)=>{var r=t(1702),o=t(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},3501:e=>{e.exports={}},490:(e,n,t)=>{var r=t(5005);e.exports=r("document","documentElement")},4664:(e,n,t)=>{var r=t(9781),o=t(7293),i=t(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(e,n,t)=>{var r=t(7854),o=t(1702),i=t(7293),a=t(4326),l=r.Object,c=o("".split);e.exports=i((function(){return!l("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?c(e,""):l(e)}:l},9587:(e,n,t)=>{var r=t(614),o=t(111),i=t(7674);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},2788:(e,n,t)=>{var r=t(1702),o=t(614),i=t(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},2423:(e,n,t)=>{var r=t(2109),o=t(1702),i=t(3501),a=t(111),l=t(2597),c=t(3070).f,u=t(8006),s=t(1156),f=t(2050),p=t(9711),d=t(6677),h=!1,g=p("meta"),v=0,A=function(e){c(e,g,{value:{objectID:"O"+v++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},h=!0;var e=u.f,n=o([].splice),t={};t[g]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{var r,o,i,a=t(8536),l=t(7854),c=t(1702),u=t(111),s=t(8880),f=t(2597),p=t(5465),d=t(6200),h=t(3501),g="Object already initialized",v=l.TypeError,A=l.WeakMap;if(a||p.state){var b=p.state||(p.state=new A),m=c(b.get),y=c(b.has),E=c(b.set);r=function(e,n){if(y(b,e))throw new v(g);return n.facade=e,E(b,e,n),n},o=function(e){return m(b,e)||{}},i=function(e){return y(b,e)}}else{var _=d("state");h[_]=!0,r=function(e,n){if(f(e,_))throw new v(g);return n.facade=e,s(e,_,n),n},o=function(e){return f(e,_)?e[_]:{}},i=function(e){return f(e,_)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!u(n)||(t=o(n)).type!==e)throw v("Incompatible receiver, "+e+" required");return t}}}},7659:(e,n,t)=>{var r=t(5112),o=t(7497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},3157:(e,n,t)=>{var r=t(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,n,t)=>{var r=t(1702),o=t(7293),i=t(614),a=t(648),l=t(5005),c=t(2788),u=function(){},s=[],f=l("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r(p.exec),h=!p.exec(u),g=function(e){if(!i(e))return!1;try{return f(u,s,e),!0}catch(e){return!1}};e.exports=!f||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!d(p,c(e))}:g},4705:(e,n,t)=>{var r=t(7293),o=t(614),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t==s||t!=u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},111:(e,n,t)=>{var r=t(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},7850:(e,n,t)=>{var r=t(111),o=t(4326),i=t(5112)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"==o(e))}},2190:(e,n,t)=>{var r=t(7854),o=t(5005),i=t(614),a=t(7976),l=t(3307),c=r.Object;e.exports=l?function(e){return"symbol"==typeof e}:function(e){var n=o("Symbol");return i(n)&&a(n.prototype,c(e))}},408:(e,n,t)=>{var r=t(7854),o=t(9974),i=t(6916),a=t(9670),l=t(6330),c=t(7659),u=t(6244),s=t(7976),f=t(8554),p=t(1246),d=t(9212),h=r.TypeError,g=function(e,n){this.stopped=e,this.result=n},v=g.prototype;e.exports=function(e,n,t){var r,A,b,m,y,E,_,C=t&&t.that,w=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),S=o(n,C),O=function(e){return r&&d(r,"normal",e),new g(!0,e)},B=function(e){return w?(a(e),k?S(e[0],e[1],O):S(e[0],e[1])):k?S(e,O):S(e)};if(x)r=e;else{if(!(A=p(e)))throw h(l(e)+" is not iterable");if(c(A)){for(b=0,m=u(e);m>b;b++)if((y=B(e[b]))&&s(v,y))return y;return new g(!1)}r=f(e,A)}for(E=r.next;!(_=i(E,r)).done;){try{y=B(_.value)}catch(e){d(r,"throw",e)}if("object"==typeof y&&y&&s(v,y))return y}return new g(!1)}},9212:(e,n,t)=>{var r=t(6916),o=t(9670),i=t(8173);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3383:(e,n,t)=>{"use strict";var r,o,i,a=t(7293),l=t(614),c=t(30),u=t(9518),s=t(1320),f=t(5112),p=t(1913),d=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[d].call(e)!==e}))?r={}:p&&(r=c(r)),l(r[d])||s(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:e=>{e.exports={}},6244:(e,n,t)=>{var r=t(7466);e.exports=function(e){return r(e.length)}},133:(e,n,t)=>{var r=t(7392),o=t(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(e,n,t)=>{var r=t(7854),o=t(614),i=t(2788),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},3929:(e,n,t)=>{var r=t(7854),o=t(7850),i=r.TypeError;e.exports=function(e){if(o(e))throw i("The method doesn't accept regular expressions");return e}},1574:(e,n,t)=>{"use strict";var r=t(9781),o=t(1702),i=t(6916),a=t(7293),l=t(1956),c=t(5181),u=t(5296),s=t(7908),f=t(8361),p=Object.assign,d=Object.defineProperty,h=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol(),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!=p({},e)[t]||l(p({},n)).join("")!=o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var g,v=f(arguments[a++]),A=p?h(l(v),p(v)):l(v),b=A.length,m=0;b>m;)g=A[m++],r&&!i(d,v,g)||(t[g]=v[g]);return t}:p},30:(e,n,t)=>{var r,o=t(9670),i=t(6048),a=t(748),l=t(3501),c=t(490),u=t(317),s=t(6200),f=s("IE_PROTO"),p=function(){},d=function(e){return" + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Changelog Android Allure Plugin

+

Plugin id: com.rubensousa.carioca.report.allure

+

Version 1.0.0

+

1.0.0-alpha04

+

2024-09-28

+

Bug fixes

+
    +
  • Fix aggregated reports being replaced by subsequent test runs #56
  • +
+

1.0.0-alpha03

+

2024-09-27

+

Improvements

+
    +
  • Added support for multi-module report aggregation with outputDir option #44
  • +
  • Do not delete original reports by default since they can be used by other plugins #51
  • +
+

1.0.0-alpha02

+

2024-09-23

+

Bug fixes

+
    +
  • Improved logcat file detection #42
  • +
+

1.0.0-alpha01

+

2024-09-22

+
    +
  • Initial alpha release
  • +
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/changelog/hilt/index.html b/changelog/hilt/index.html new file mode 100644 index 00000000..976195d8 --- /dev/null +++ b/changelog/hilt/index.html @@ -0,0 +1,475 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Changelog - Carioca + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Changelog

+

Libraries with the same version:

+
    +
  • com.rubensousa.carioca:hilt-compose:1.0.0
  • +
  • com.rubensousa.carioca:hilt-fragment:1.0.0
  • +
  • com.rubensousa.carioca:hilt-manifest:1.0.0
  • +
  • com.rubensousa.carioca:hilt-runner:1.0.0
  • +
+

Version 1.0.0

+

1.0.0

+

2024-09-29

+

Initial release

+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/changelog/index.html b/changelog/index.html new file mode 100644 index 00000000..d80eedc0 --- /dev/null +++ b/changelog/index.html @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + Changelog - Carioca + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+ +
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/changelog/junit4-rules/index.html b/changelog/junit4-rules/index.html new file mode 100644 index 00000000..af964218 --- /dev/null +++ b/changelog/junit4-rules/index.html @@ -0,0 +1,500 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Changelog JUnit4 - Carioca + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Changelog JUnit4

+

Version 1.0.0

+

1.0.0-beta01

+

2024-10-01

+

Bug fixes

+
    +
  • Fixed RetryTestRule not finishing up correctly if test passes #70
  • +
+

1.0.0-alpha02

+

2024-09-30

+

New features

+
    +
  • Added MainDispatcherRule to replace Dispatcher.Main in unit tests #67
  • +
+

1.0.0-alpha01

+

2024-09-22

+
    +
  • Initial alpha release
  • +
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/changelog/reports/index.html b/changelog/reports/index.html new file mode 100644 index 00000000..3b7eec61 --- /dev/null +++ b/changelog/reports/index.html @@ -0,0 +1,537 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Changelog Reports - Carioca + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Changelog Reports

+

Libraries with the same version:

+
    +
  • com.rubensousa.carioca:report-android:1.0.0-alpha04
  • +
  • com.rubensousa.carioca:report-android-compose:1.0.0-alpha04
  • +
  • com.rubensousa.carioca:report-android-coroutines:1.0.0-alpha04
  • +
  • com.rubensousa.carioca:report-runtime:1.0.0-alpha04
  • +
  • com.rubensousa.carioca:report-json:1.0.0-alpha04
  • +
  • com.rubensousa.carioca:report-junit4:1.0.0-alpha04
  • +
+

Version 1.0.0

+

1.0.0-alpha04

+

2024-10-01

+

New features

+
    +
  • Added DumpComposeHierarchyInterceptor in com.rubensousa.carioca:report-android-compose: #71
  • +
+

1.0.0-alpha03

+

2024-09-30

+

API changes

+
    +
  • Removed dumpOnSuccess from DumpViewHierarchyInterceptor
  • +
+

Improvements

+
    +
  • Decreased default delays for screen recordings, which decreases the total test execution time by around 25% #63
  • +
  • Added RecordingOrientation to RecordingOptions to allow overriding the default orientation of the video #65
  • +
+

Bug fixes

+
    +
  • Fixed screenshot options inside steps or scenarios not using the provided options #62
  • +
+

1.0.0-alpha02

+

2024-09-27

+

Improvements

+
    +
  • Write test report failures before test instrumentation receives failure event: #51
  • +
+

Bug fixes

+
    +
  • Fixed title of When statement when used with a scenario: #50
  • +
+

1.0.0-alpha01

+

2024-09-22

+
    +
  • Initial alpha release
  • +
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/hilt/index.html b/hilt/index.html new file mode 100644 index 00000000..1ab75662 --- /dev/null +++ b/hilt/index.html @@ -0,0 +1,705 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Testing with Hilt - Carioca + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Testing with Hilt

+

The libraries below assume you have knowledge about how to write instrumented tests with Hilt.

+

The official guide +is a good starting point.

+

Setup

+

Add the following dependency:

+
debugImplementation "com.rubensousa.carioca:hilt-manifest:1.0.0"
+
+

Then pick one or both of these:

+
androidTestImplementation "com.rubensousa.carioca:hilt-fragment:1.0.0"
+androidTestImplementation "com.rubensousa.carioca:hilt-compose:1.0.0"
+
+

If you don't have a default HiltTestRunner, you can also use this one, as recommended by the official docs.

+
android {
+    defaultConfig {
+        testInstrumentationRunner = "com.rubensousa.carioca.hilt.runner.HiltTestRunner"
+    }
+}
+
+dependencies {
+    androidTestImplementation "com.rubensousa.carioca:hilt-runner:1.0.0"
+}
+
+

Fragment

+

Before continuing, please check the official guide for testing fragments.

+

com.rubensousa.carioca:hilt-fragment contains HiltFragmentScenario, similar to FragmentScenario from the fragment-testing library.

+

The API is similar to FragmentScenario: launchHiltFragment

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
@HiltAndroidTest
+class ExampleTest {
+
+    @get:Rule
+    val hiltRule = HiltAndroidRule(this)
+
+    @Inject
+    lateinit var injectedDependency: TestDependency
+
+    @Before
+    fun setup() {
+        hiltRule.inject()
+    }
+
+    @Test
+    fun testFragmentReceivesDependencyFromHilt() {
+        // given
+        val scenario = launchHiltFragment<TestFragment>()
+
+        // when
+        var fragmentDependency: TestDependency? = null
+        scenario.onFragment { fragment ->
+            fragmentDependency = fragment.getInjectedDependency()
+        }
+
+        // then
+        assertThat(fragmentDependency).isSameInstanceAs(injectedDependency)
+    }
+
+}
+
+

Compose

+

Before continuing, please check the official guide for testing Compose layouts.

+

com.rubensousa.carioca:hilt-compose contains createHiltComposeRule, which is similar to createAndroidComposeRule:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
@HiltAndroidTest
+class HiltComposeRuleTest {
+
+    @get:Rule
+    val hiltRule = HiltAndroidRule(this)
+
+    @get:Rule(order = 1)
+    val composeTestRule = createHiltComposeRule()
+
+    @Inject
+    lateinit var injectedDependency: TestDependency
+
+    @Before
+    fun setup() {
+        hiltRule.inject()
+    }
+
+    @Test
+    fun testComposableReceivesDependencyFromHilt() {
+        // given
+        var dependencyFromViewModel: Dependency? = null
+        composeTestRule.setContent {
+            val viewModel = viewModel<TestViewModel>()
+            dependencyFromViewModel = viewModel.dependency
+        }
+
+        // when
+        composeTestRule.waitForIdle()
+
+        // then
+        assertThat(dependencyFromViewModel).isSameInstanceAs(injectedDependency)
+
+    }
+
+    @HiltViewModel
+    class TestViewModel @Inject constructor(
+        val dependency: TestDependency,
+    ) : ViewModel()
+}
+
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/img/allure_example.png b/img/allure_example.png new file mode 100644 index 00000000..732541b6 Binary files /dev/null and b/img/allure_example.png differ diff --git a/index.html b/index.html new file mode 100644 index 00000000..3506c93f --- /dev/null +++ b/index.html @@ -0,0 +1,558 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + Carioca + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Carioca

+

A collection of testing tools for Android that include flexible reporting capabilities

+

Motivation for these libraries:

+
    +
  1. I kept copying some of these classes around in multiple projects
  2. +
  3. Analysing the standard junit test reports when you have long UI tests gets frustrating
  4. +
  5. Consistent screen recording and screenshots across different screen resolutions
  6. +
  7. Flexible APIs for any test report format
  8. +
  9. No enforced inheritance in test classes unlike other testing libraries
  10. +
+

Libraries currently available:

+
    +
  1. Instrumented test reports and Allure Plugin +
    // Test reports for android tests
    +androidTestImplementation "com.rubensousa.carioca:report-android:1.0.0-alpha04"
    +
    +// DumpComposeHierarchyInterceptor
    +androidTestImplementation "com.rubensousa.carioca:report-android-compose:1.0.0-alpha04"
    +
    +// Optional: test reporting for tests with coroutines
    +androidTestImplementation "com.rubensousa.carioca:report-android-coroutines:1.0.0-alpha04"
    +
    +// Optional: libraries to build your own report formats
    +androidTestImplementation "com.rubensousa.carioca:report-json:1.0.0-alpha04"
    +androidTestImplementation "com.rubensousa.carioca:report-runtime:1.0.0-alpha04"
    +
  2. +
  3. Instrumented tests with Hilt +
    // Contains HiltFragmentScenario
    +androidTestImplementation "com.rubensousa.carioca:hilt-fragment:1.0.0"
    +
    +// Contains createHiltComposeRule()
    +androidTestImplementation "com.rubensousa.carioca:hilt-compose:1.0.0"
    +
    +// Contains an empty hilt activity that is required 
    +// by both of the dependencies above
    +debugImplementation "com.rubensousa.carioca:hilt-manifest:1.0.0"
    +
    +// Optional: default HiltTestRunner if you don't have your own
    +androidTestImplementation "com.rubensousa.carioca:hilt-runner:1.0.0"
    +
  4. +
  5. Junit4 rules +
    testImplementation "com.rubensousa.carioca:junit4-rules:1.0.0-beta01"
    +
  6. +
+

License

+
Copyright 2024 Rúben Sousa
+
+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.
+
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/js/open_in_new_tab.js b/js/open_in_new_tab.js new file mode 100644 index 00000000..56d786e0 --- /dev/null +++ b/js/open_in_new_tab.js @@ -0,0 +1,45 @@ +// Description: Open external links in a new tab and PDF links in a new tab +// Source: https://jekyllcodex.org/without-plugin/new-window-fix/ + +//open external links in a new window +function external_new_window() { + for(let c = document.getElementsByTagName("a"), a = 0;a < c.length;a++) { + let b = c[a]; + if(b.getAttribute("href") && b.hostname !== location.hostname) { + b.target = "_blank"; + b.rel = "noopener"; + } + } +} +//open PDF links in a new window +function pdf_new_window () +{ + if (!document.getElementsByTagName) { + return false; + } + let links = document.getElementsByTagName("a"); + for (let eleLink=0; eleLink < links.length; eleLink ++) { + if ((links[eleLink].href.indexOf('.pdf') !== -1)||(links[eleLink].href.indexOf('.doc') !== -1)||(links[eleLink].href.indexOf('.json') !== -1)||(links[eleLink].href.indexOf('.docx') !== -1)) { + links[eleLink].onclick = + function() { + window.open(this.href); + return false; + } + } + } +} + +function apply_rules() { + external_new_window(); + pdf_new_window(); +} + +if (typeof document$ !== "undefined") { + // compatibility with mkdocs-material's instant loading feature + // based on code from https://github.com/timvink/mkdocs-charts-plugin + // Copyright (c) 2021 Tim Vink - MIT License + // fixes [Issue #2](https://github.com/JakubAndrysek/mkdocs-open-in-new-tab/issues/2) + document$.subscribe(function() { + apply_rules(); + }) +} diff --git a/junit4-rules/index.html b/junit4-rules/index.html new file mode 100644 index 00000000..2a66c6cd --- /dev/null +++ b/junit4-rules/index.html @@ -0,0 +1,690 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + JUnit4 Rules - Carioca + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

JUnit4 Rules

+

A collection of useful test rules for multiple use cases

+

RetryTestRule

+

This rule can be useful for end-to-end tests that have some degree of tolerable flakiness.

+

Avoid using it for all sorts of tests!

+

Total executions = [1, 1 + times], depends on which execution the test actually passes

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
@RetryTest(times = 9)
+class SampleRetryTest {
+
+    // Make sure that this rule starts before any other rule
+    @get:Rule(order = 0)
+    val retryRule = RetryTestRule()
+
+    @RetryTest(times = 2)
+    @Test
+    fun testExampleMethod() {
+        // This test will be executed 3 times in the worst case
+    }
+
+    @Test
+    fun testExampleClass() {
+        // This test will be executed 10 times in the worst case
+    }
+}
+
+

RepeatTestRule

+

This rule is useful to check for test flakiness. +Use it carefully and do not commit code with these.

+

Total executions = 1 + times

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
@RepeatTest(times = 2)
+class SampleRepeatTest {
+
+    // Make sure that this rule starts before any other rule
+    @get:Rule(order = 0)
+    val repeatRule = RepeatTestRule()
+
+    @RepeatTest(times = 99)
+    @Test
+    fun `this test will execute 100 times`() {
+        // Number of times is defined by the method annotation
+    }
+
+    @Test
+    fun `this test will execute 3 times`() {
+        // Number of times is defined by the class annotation
+    }
+
+}
+
+

MainDispatcherRule

+

As seen here:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
class ViewModelTest {
+
+    @get:Rule
+    val mainDispatcherRule = MainDispatcherRule()
+
+    @Test
+    fun `this test replaces Dispatchers.Main for ViewModels`() = runTest {
+        // given
+        val viewModel = TestViewModel()
+
+        // when
+        viewModel.load()
+
+        // then
+        assertThat(viewModel.uiState).isNotNull()
+    }
+}
+
+

TestDescriptionRule

+

A rule for extracting metadata for the current test being executed.

+
class SampleTest {
+
+    @get:Rule
+    val testDescriptionRule = TestDescriptionRule()
+
+    @Test
+    fun `test example`() {
+        val description = testDescriptionRule.getDescription()
+        assertThat(description.methodName).isEqualTo("test example")
+    }
+
+}
+
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 00000000..0981656f --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,43 @@ + + + + https://rubensousa.github.io/carioca/ + 2024-10-01 + + + https://rubensousa.github.io/carioca/android-allure-plugin/ + 2024-10-01 + + + https://rubensousa.github.io/carioca/changelog/ + 2024-10-01 + + + https://rubensousa.github.io/carioca/hilt/ + 2024-10-01 + + + https://rubensousa.github.io/carioca/junit4-rules/ + 2024-10-01 + + + https://rubensousa.github.io/carioca/test-reports-android/ + 2024-10-01 + + + https://rubensousa.github.io/carioca/changelog/android-allure/ + 2024-10-01 + + + https://rubensousa.github.io/carioca/changelog/hilt/ + 2024-10-01 + + + https://rubensousa.github.io/carioca/changelog/junit4-rules/ + 2024-10-01 + + + https://rubensousa.github.io/carioca/changelog/reports/ + 2024-10-01 + + \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz new file mode 100644 index 00000000..380f2813 Binary files /dev/null and b/sitemap.xml.gz differ diff --git a/test-reports-android/index.html b/test-reports-android/index.html new file mode 100644 index 00000000..69f29a63 --- /dev/null +++ b/test-reports-android/index.html @@ -0,0 +1,1043 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Android Test Reports - Carioca + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + +

Android Test Reports

+

Setup

+

Start by including the library:

+
androidTestImplementation("com.rubensousa.carioca:report-android:1.0.0-alpha04")
+
+

Then create your own report rule that extends InstrumentedReportRule:

+
class TestReportRule : InstrumentedReportRule()
+
+
+

Note

+
+

The goal of extending InstrumentedReportRule is to apply consistent report rules throughout your test suite. +It contains settings regarding screen recording and screenshot that you can customize.

+

Now apply the rule in your tests:

+
class SampleTest {
+
+    @get:Rule
+    val report = TestReportRule()
+
+}
+
+
+

Note

+
+

Use different orders for your rules in case you have multiple of them and assign the lowest value to TestReportRule. +This ensures that it starts before all other rules you have in your test suite. +Example: @get:Rule(order = 0) for the report rule and order = 1 for the next rule

+

This basic setup will achieve this out of the box:

+
    +
  1. Automatic screen recordings for every test
  2. +
  3. Automatic screenshot when the test fails
  4. +
  5. Automatic dumps of the view hierarchy if the test fails
  6. +
+

Visualize reports

+

The test reports are generated automatically after running any task like connectedDebugAndroidTest +and can be found in build/outputs/connected_android_test_additional_output/**/carioca-report.

+

By default, those reports are in json format and are not really easily readable. +To visualize them properly, this library ships with an Allure plugin that can be used to +generate test reports based on +the metadata collected through each test execution. Check it out in this page.

+

Test structure

+

Test body

+

You can decorate your tests with individual reports for every execution step:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
@Test
+fun testHomeIsDisplayedAfterQuickSettings() = report {
+
+        step("Open quick settings") {
+            device.openQuickSettings()
+            screenshot("Quick settings displayed")
+        }
+
+        step("Press home") {
+            device.pressHome()
+        }
+
+        step("Home is displayed") {
+            screenshot("Launcher displayed")
+            assertLauncherIsDisplayed()
+        }
+
+    }
+
+

Optionally, Given, When, Then statements from BDD are also available to describe your tests:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
@Test
+fun testHomeIsDisplayedAfterQuickSettings() = report {
+
+        Given("User opens quick settings") {
+            device.openQuickSettings()
+            screenshot("Quick settings displayed")
+        }
+
+        When("User presses home") {
+            device.pressHome()
+        }
+
+        Then("Home is displayed") {
+            assertLauncherIsDisplayed()
+        }
+
+    }
+
+

Before and after

+

If you have re-usable logic in @Before or @After that you want to include in your reports, +just use the following APIs:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
@Before
+fun before() = report.before {
+        step("Press home") {
+            device.pressHome()
+        }
+        step("Set device orientation to natural") {
+            device.setOrientationNatural()
+        }
+    }
+
+@After
+fun after() = report.after {
+    step("Unfreeze orientation") {
+        device.unfreezeRotation()
+    }
+}
+
+

Scenario

+

The library includes an InstrumentedScenario which allows you to re-use a set of steps across multiple tests:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
class ClickNotification : InstrumentedScenario("Click Notification") {
+
+    private val device = UiDevice.getInstance(
+        InstrumentationRegistry.getInstrumentation()
+    )
+
+    override fun run(scope: InstrumentedStageScope) = with(scope) {
+        screenshot("Before opening notifications")
+
+        step("User opens notifications") {
+            device.openNotification()
+        }
+
+        step("Wait for animation") {
+            Thread.sleep(1000L)
+        }
+
+        screenshot("After opening notifications")
+
+        step("Click notification") {
+            device.click()
+        }
+
+        screenshot("After clicking notification")
+
+    }
+
+}
+
+

Then, in your tests, can use it like so:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
@Test
+fun testAppOpensHomeAfterClickingNotification() = report {
+
+        step("Trigger notification") {
+            sendNotificationIntent()
+        }
+
+        // Or When(ClickNotification())
+        scenario(ClickNotification())
+
+        step("Home screen is visible") {
+            assertHomeScreenDisplayed()
+        }
+
+    }
+
+

Extra metadata

+

Using @TestReport allows you to describe your tests in more detail:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
@TestReport(
+    id = "TicketID",
+    title = "App opens home after notification click",
+    description = "Our app needs to show the home screen " +
+            "whenever our notifications are clicked",
+    links = [
+        "https://board.issue.tracker/id",
+        "https://developer.android.com/training/testing/other-components/ui-automator"
+    ]
+)
+@Test
+fun testAppOpensHomeAfterClickingNotification() = report {
+        // Test body
+    }
+
+

Recording options

+

To override the recording options for individual tests, use @TestRecording:

+
1
+2
+3
+4
+5
+6
+7
// Disables screen recording for this test only
+@TestRecording(
+    enabled = false
+)
+@Test
+fun fastTestThatShouldFinishInLessThan1Second() {
+}
+
+

Or also:

+
1
+2
+3
+4
+5
+6
+7
+8
+9
// Records this test in landscape mode 
+// and keeps the recording file even if the test passes
+@TestRecording(
+    keepOnSuccess = true,
+    orientation = RecordingOrientation.LANDSCAPE
+)
+@Test
+fun testInLandscape() {
+}
+
+

This configuration will replace the RecordingOptions from InstrumentedReportRule

+

Screenshot options

+

To override the screenshot options for individual tests, use @TestScreenshot:

+
1
+2
+3
+4
+5
+6
+7
@TestScreenshot(
+    scale = 1.0f,
+    format = Bitmap.CompressFormat.PNG,
+)
+@Test
+fun testSomething() {
+}
+
+

This configuration will replace the ScreenshotOptions from InstrumentedReportRule

+

Compose

+

com.rubensousa.carioca:report-android-compose contains a DumpComposeHierarchyInterceptor +that can be used to inspect the compose hierarchy when tests fail.

+

To use it, create your rule and pass it in the list of interceptors:

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
class SampleScreenTest {
+
+    @get:Rule
+    val report = InstrumentedReportRule(
+        interceptors = listOf(
+            TakeScreenshotOnFailureInterceptor(),
+            DumpComposeHierarchyInterceptor(),
+            DumpViewHierarchyInterceptor(),
+        )
+    )
+}
+
+

The output of the hierarchy looks similar to this:

+
Node #1 at (left=0.0, top=0.0, right=1920.0, bottom=1080.0)px
+ |-Node #2 at (left=0.0, top=0.0, right=1920.0, bottom=1080.0)px
+   IsTraversalGroup = 'true'
+    |-Node #14 at (left=835.0, top=500.0, right=1085.0, bottom=580.0)px
+    | Focused = 'false'
+    | Role = 'Button'
+    | Actions = [OnClick, RequestFocus]
+    | MergeDescendants = 'true'
+    |  |-Node #16 at (left=883.0, top=520.0, right=1037.0, bottom=560.0)px
+    |    Text = '[Main button]'
+    |    Actions = [SetTextSubstitution, ShowTextSubstitution, ClearTextSubstitution, GetTextLayoutResult]
+    |-Node #7 at (left=1728.0, top=936.0, right=1888.0, bottom=1048.0)px
+      Focused = 'false'
+      Role = 'Button'
+      Actions = [OnClick, RequestFocus]
+      MergeDescendants = 'true'
+       |-Node #10 at (left=1782.0, top=972.0, right=1834.0, bottom=1012.0)px
+         Text = '[FAB]'
+         Actions = [SetTextSubstitution, ShowTextSubstitution, ClearTextSubstitution, GetTextLayoutResult]
+
+ + + + + + + + + + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file