Package com.carrotsearch.randomizedtesting.rules
package com.carrotsearch.randomizedtesting.rules
-
ClassDescriptionSome useful constants.IdentityHashSet<KType>An identity hash set implemented using open addressing.Hash routines for primitive types.Don't allow
BeforeClassandAfterClasshook shadowing as it is most likely a user error.Don't allowBeforeandAfterhook overrides as it is most likely a user error and will result in superclass methods not being called (requires manual chaining).Discovers shadowing or override relationships among methods annotated with any of the provided annotations.Estimates the size (memory representation) of Java objects.Cached information about a given class.JVM diagnostic features.Require assertionsTestRule.An abstractStatementthat guarantees the execution ofStatementAdapter.afterAlways(List)even if an exception has been thrown from delegateStatement.ATestRulethat ensures static, reference fields of the suite class (and optionally its superclasses) are cleaned up after a suite is completed.ATestRulethat ensures system properties remain unmodified by the nestedStatement.ATestRulewhich restores system properties from before the nestedStatement.An abstractTestRulethat guarantees the execution ofTestRuleAdapter.afterAlways(List)even if an exception has been thrown from delegateStatement.