Configuration.ResetConfigRule
Public Constructor Summary
Public Method Summary
Statement
|
apply(Statement base, Description description)
|
Inherited Method Summary
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
From interface
org.junit.rules.TestRule
abstract
Statement
|
apply(Statement arg0, Description arg1)
|
Public Constructors
public
Configuration.ResetConfigRule
()
Public Methods
public
Statement
apply
(Statement base, Description description)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[[["`Configuration.ResetConfigRule` is a JUnit rule used in unit tests to reset the static `Configuration` object."],["It ensures that the `Configuration` is reset to its default state after each test, avoiding unintended side effects."],["This rule is implemented by the `apply` method, which takes a `Statement` and `Description` as input and returns a modified `Statement`."]]],[]]