public class JSONArrayAssert
extends org.assertj.core.api.ListAssert
JSONArray
valueConstructor 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
|
as, as, contains, describedAs, describedAs, doesNotContain, doesNotHave, doesNotHaveSameClassAs, has, has, hasSameClassAs, hasToString, is, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isOfAnyClassIn, isSameAs, isSorted, isSortedAccordingTo, overridingErrorMessage, usingComparator, usingComparisonStrategy, usingDefaultComparator, usingDefaultElementComparator, usingElementComparator, withFailMessage, withThreadDumpOnError
are, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, contains, containsAll, containsExactly, containsExactlyElementsOf, containsExactlyInAnyOrder, containsNull, containsOnly, containsOnlyElementsOf, containsOnlyOnce, containsSequence, containsSubsequence, doesNotContain, doesNotContainAnyElementsOf, doesNotContainNull, doesNotHaveDuplicates, doNotHave, endsWith, extracting, extracting, extracting, extracting, extractingResultOf, extractingResultOf, filteredOn, filteredOn, filteredOn, filteredOnNull, flatExtracting, flatExtracting, hasAtLeastOneElementOfType, hasOnlyElementsOfType, hasSameElementsAs, hasSameSizeAs, hasSameSizeAs, hasSize, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, inBinary, inHexadecimal, isEmpty, isNotEmpty, isNullOrEmpty, isSubsetOf, isSubsetOf, startsWith, usingElementComparatorIgnoringFields, usingElementComparatorOnFields, usingFieldByFieldElementComparator
asList, asString, descriptionText, equals, failWithMessage, getWritableAssertionInfo, hashCode, isNull
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
are, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, contains, containsAll, containsExactly, containsExactlyElementsOf, containsExactlyInAnyOrder, containsNull, containsOnly, containsOnlyElementsOf, containsOnlyOnce, containsSequence, containsSubsequence, doesNotContain, doesNotContainAnyElementsOf, doesNotContainNull, doesNotHaveDuplicates, doNotHave, endsWith, hasAtLeastOneElementOfType, hasOnlyElementsOfType, hasSameElementsAs, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, isSubsetOf, isSubsetOf, startsWith
public 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.