Top Fields Constructors Methods
org.assertj.core.api

public Class Java6JUnitSoftAssertions

extends AbstractSoftAssertions
implements Java6StandardSoftAssertionsProvider, SoftAssertionsRule
Class Inheritance
All Implemented Interfaces
org.assertj.core.api.SoftAssertionsRule, org.junit.rules.TestRule, org.assertj.core.api.SoftAssertionsProvider, org.assertj.core.api.AssertionErrorCollector, org.assertj.core.api.AfterAssertionErrorCollected, org.assertj.core.api.Java6StandardSoftAssertionsProvider
Annotations
@Deprecated
Static Imports
org.assertj.core.api.SoftAssertionsStatement.softAssertionsStatement

Deprecated

For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.

JUnitSoftAssertions rule compatible with Android. Duplicated from JUnitSoftAssertions.

Since
2.5.0 / 3.5.0
See Also
JUnitSoftAssertions

Field Summary

Inherited from org.assertj.core.api.AbstractSoftAssertions:
proxies

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Statement
apply(final Statement
The Statement to be modified
base
,
Description
A Description of the test implemented in base
description
)

Overrides default org.assertj.core.api.SoftAssertionsRule.apply.

Modifies the method-running Statement to implement this test-running rule.
Inherited from org.assertj.core.api.AbstractSoftAssertions:
assertAllassertAllerrorsCollectedfailfailfailfailfailfailBecauseExceptionWasNotThrownproxyshouldHaveThrown

Constructor Detail

Java6JUnitSoftAssertionsback to summary
public Java6JUnitSoftAssertions()

Method Detail

applyback to summary
public Statement apply(final Statement base, Description description)

Overrides default org.assertj.core.api.SoftAssertionsRule.apply.

Doc from org.junit.rules.TestRule.apply.

Modifies the method-running Statement to implement this test-running rule.

Parameters
base:Statement

The Statement to be modified

description:Description

A Description of the test implemented in base

Returns:Statement

a new statement, which may be the same as base, a wrapper around base, or a completely new Statement.

Annotations
@Override