public class JSONArrayAssert
extends org.assertj.core.api.ListAssert
JSONArray value| Constructor and Description |
|---|
JSONArrayAssert(org.json.simple.JSONArray actual) |
| Modifier and Type | Method and Description |
|---|---|
org.assertj.core.api.BigDecimalAssert |
assertBigDecimal(int index)
Asserts that there is a
BigDecimal at the given index returning the
BigDecimalAssert object so that further assertions can be chained |
org.assertj.core.api.BooleanAssert |
assertBoolean(int index)
Asserts that there is a
Boolean at the given index returning the
BooleanAssert object so that further assertions can be chained |
org.assertj.core.api.ByteAssert |
assertByte(int index)
Asserts that there is a
Byte at the given index returning the
ByteAssert object so that further assertions can be chained |
org.assertj.core.api.DateAssert |
assertDate(int index)
Asserts that there is a
Date at the given index returning the
DateAssert object so that further assertions can be chained |
org.assertj.core.api.DoubleAssert |
assertDouble(int index)
Asserts that there is a
Double at the given index returning the
DoubleAssert object so that further assertions can be chained |
org.assertj.core.api.FloatAssert |
assertFloat(int index)
Asserts that there is a
Float at the given index returning the
FloatAssert object so that further assertions can be chained |
org.assertj.core.api.IntegerAssert |
assertInteger(int index)
Asserts that there is a
Integer at the given index returning the
IntegerAssert object so that further assertions can be chained |
JSONArrayAssert |
assertJSONArray(int index)
Asserts that there is a
JSONArray at the given index returning the
JSONArrayAssert object so that further assertions can be chained |
JSONObjectAssert |
assertJSONObject(int index)
Asserts that there is a
JSONObject at the given index returning the
JSONObjectAssert object so that further assertions can be chained |
org.assertj.core.api.ListAssert |
assertList(int index)
Asserts that there is a
List at the given index returning the
ListAssert object so that further assertions can be chained |
org.assertj.core.api.LongAssert |
assertLong(int index)
Asserts that there is a
Long at the given index returning the
LongAssert object so that further assertions can be chained |
org.assertj.core.api.MapAssert |
assertMap(int index)
Asserts that there is a
Map at the given index returning the
MapAssert object so that further assertions can be chained |
org.assertj.core.api.ObjectAssert |
assertObject(int index)
Asserts that there is a value at the given index returning the assertion object so that further assertions can be chained
|
org.assertj.core.api.ShortAssert |
assertShort(int index)
Asserts that there is a
Short at the given index returning the
ShortAssert object so that further assertions can be chained |
org.assertj.core.api.IntegerAssert |
assertSize()
Returns an assertion on the size of the collection
|
org.assertj.core.api.StringAssert |
assertString(int index)
Asserts that there is a
String at the given index returning the
StringAssert object so that further assertions can be chained |
org.json.simple.JSONArray |
get()
Returns the actual underlying value
|
Object |
value(int index)
Returns the value at the given index
|
contains, doesNotContain, has, is, isSorted, isSortedAccordingTo, usingComparisonStrategy, usingDefaultElementComparator, usingElementComparatorare, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, contains, containsAll, containsExactly, containsExactlyElementsOf, containsNull, containsOnly, containsOnlyElementsOf, containsOnlyOnce, containsSequence, containsSubsequence, doesNotContain, doesNotContainAnyElementsOf, doesNotContainNull, doesNotHaveDuplicates, doNotHave, endsWith, extracting, extracting, extracting, extracting, extractingResultOf, extractingResultOf, flatExtracting, hasAtLeastOneElementOfType, hasOnlyElementsOfType, hasSameElementsAs, hasSameSizeAs, hasSameSizeAs, hasSize, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, inBinary, inHexadecimal, isEmpty, isNotEmpty, isNullOrEmpty, isSubsetOf, startsWith, usingElementComparatorIgnoringFields, usingElementComparatorOnFields, usingFieldByFieldElementComparatoras, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparatorclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitare, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, contains, containsAll, containsExactly, containsNull, containsOnly, containsOnlyOnce, containsSequence, containsSubsequence, doesNotContain, doesNotContainNull, doesNotHaveDuplicates, doNotHave, endsWith, hasAtLeastOneElementOfType, hasOnlyElementsOfType, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, startsWithpublic org.json.simple.JSONArray get()
public org.assertj.core.api.IntegerAssert assertSize()
public org.assertj.core.api.ObjectAssert assertObject(int index)
public org.assertj.core.api.BigDecimalAssert assertBigDecimal(int index)
BigDecimal at the given index returning the
BigDecimalAssert object so that further assertions can be chainedpublic org.assertj.core.api.BooleanAssert assertBoolean(int index)
Boolean at the given index returning the
BooleanAssert object so that further assertions can be chainedpublic org.assertj.core.api.ByteAssert assertByte(int index)
Byte at the given index returning the
ByteAssert object so that further assertions can be chainedpublic org.assertj.core.api.DateAssert assertDate(int index)
Date at the given index returning the
DateAssert object so that further assertions can be chainedpublic org.assertj.core.api.DoubleAssert assertDouble(int index)
Double at the given index returning the
DoubleAssert object so that further assertions can be chainedpublic org.assertj.core.api.FloatAssert assertFloat(int index)
Float at the given index returning the
FloatAssert object so that further assertions can be chainedpublic org.assertj.core.api.IntegerAssert assertInteger(int index)
Integer at the given index returning the
IntegerAssert object so that further assertions can be chainedpublic JSONArrayAssert assertJSONArray(int index)
JSONArray at the given index returning the
JSONArrayAssert object so that further assertions can be chainedpublic JSONObjectAssert assertJSONObject(int index)
JSONObject at the given index returning the
JSONObjectAssert object so that further assertions can be chainedpublic org.assertj.core.api.ListAssert assertList(int index)
List at the given index returning the
ListAssert object so that further assertions can be chainedpublic org.assertj.core.api.LongAssert assertLong(int index)
Long at the given index returning the
LongAssert object so that further assertions can be chainedpublic org.assertj.core.api.MapAssert assertMap(int index)
Map at the given index returning the
MapAssert object so that further assertions can be chainedpublic org.assertj.core.api.ShortAssert assertShort(int index)
Short at the given index returning the
ShortAssert object so that further assertions can be chainedpublic org.assertj.core.api.StringAssert assertString(int index)
String at the given index returning the
StringAssert object so that further assertions can be chainedpublic Object value(int index)
Copyright © 2011–2016 Red Hat. All rights reserved.