Minor fixes to descriptions.
This commit is contained in:
parent
0b2ce470db
commit
3ece81b024
@ -2,6 +2,6 @@
|
|||||||
<body>
|
<body>
|
||||||
Turns assertThat(condition).isEqualTo(true/false) into assertThat(condition).isTrue()/isFalse().
|
Turns assertThat(condition).isEqualTo(true/false) into assertThat(condition).isTrue()/isFalse().
|
||||||
<!-- tooltip end -->
|
<!-- tooltip end -->
|
||||||
Also works with constant expressions and Boolean.TRUE/FALSE.
|
<br>Also works with constant expressions and Boolean.TRUE/FALSE.
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -3,6 +3,6 @@
|
|||||||
Looks at expected and actual expression being of Guava Optional type and whether the statement effectively tries to assert the
|
Looks at expected and actual expression being of Guava Optional type and whether the statement effectively tries to assert the
|
||||||
presence, absence or content and then replaces the statement by isPresent(), isAbsent(), or contains().
|
presence, absence or content and then replaces the statement by isPresent(), isAbsent(), or contains().
|
||||||
<!-- tooltip end -->
|
<!-- tooltip end -->
|
||||||
Requires AssertJ-Guava to be in classpath.
|
<br>Requires AssertJ-Guava to be in classpath.
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -2,6 +2,6 @@
|
|||||||
<body>
|
<body>
|
||||||
Turns assertThat(object instanceof classname).isEqualTo(true/false) into assertThat(object).is(Not)InstanceOf(classname.class).
|
Turns assertThat(object instanceof classname).isEqualTo(true/false) into assertThat(object).is(Not)InstanceOf(classname.class).
|
||||||
<!-- tooltip end -->
|
<!-- tooltip end -->
|
||||||
Also works with constant expressions and Boolean.TRUE/FALSE.
|
<br>Also works with constant expressions and Boolean.TRUE/FALSE.
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -2,6 +2,6 @@
|
|||||||
<body>
|
<body>
|
||||||
Turns assertThat(!condition).isEqualTo(true/false) into assertThat(condition).isFalse()/isTrue().
|
Turns assertThat(!condition).isEqualTo(true/false) into assertThat(condition).isFalse()/isTrue().
|
||||||
<!-- tooltip end -->
|
<!-- tooltip end -->
|
||||||
Also works with constant expressions and Boolean.TRUE/FALSE.
|
<br>Also works with constant expressions and Boolean.TRUE/FALSE.
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -2,6 +2,6 @@
|
|||||||
<body>
|
<body>
|
||||||
Makes assertions on sizes of arrays, collections, strings, or CharSequences more concise by replacing them with isEmpty(), isNotEmpty(), hasSize(), or hasSameSizeAs().
|
Makes assertions on sizes of arrays, collections, strings, or CharSequences more concise by replacing them with isEmpty(), isNotEmpty(), hasSize(), or hasSameSizeAs().
|
||||||
<!-- tooltip end -->
|
<!-- tooltip end -->
|
||||||
Several more conversions are available with AssertJ 13.2.0 or later.
|
<br>Several more conversions are available with AssertJ 13.2.0 or later.
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -4,7 +4,8 @@ Tries to convert most of the JUnit 4 assertions to AssertJ-Format.
|
|||||||
<!-- tooltip end -->
|
<!-- tooltip end -->
|
||||||
<br>Works for assertTrue(), assertFalse(), assertNull(), assertNotNull(), assertEquals(), assertNotEquals(), assertSame() assertNotSame(), assertArrayEquals().
|
<br>Works for assertTrue(), assertFalse(), assertNull(), assertNotNull(), assertEquals(), assertNotEquals(), assertSame() assertNotSame(), assertArrayEquals().
|
||||||
Copes with variants with message and without, handles special versions for double and float types (including arrays).
|
Copes with variants with message and without, handles special versions for double and float types (including arrays).
|
||||||
<p></p>
|
<p>
|
||||||
Does not support Hamcrest-Matchers. If you need that kind of conversion, you might want to check out the Assertions2AssertJ plugin by Ric Emery.
|
Does not support Hamcrest-Matchers. If you need that kind of conversion, you might want to check out the Assertions2AssertJ plugin by Ric Emery.
|
||||||
|
</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user