Package-level declarations
Types
Link copied to clipboard
abstract class AbstractJsonNodeAssert<SELF : AbstractJsonNodeAssert<SELF>>(actual: JsonNode?, selfType: Class<*>, innerListAssertHelper: FakeJsonArrayAssert<SELF> = FakeJsonArrayAssert(
actual?.toMutableList(),
selfType
)) : AbstractObjectAssert<SELF, JsonNode> , EnumerableAssert<FakeJsonArrayAssert<SELF>, JsonNode>
从代码技巧上实现 AbstractListAssert
Link copied to clipboard
interface BusinessResult
Link copied to clipboard
class FakeJsonArrayAssert<AT : AbstractJsonNodeAssert<AT>>(actual: MutableList<JsonNode>?, assertType: Class<*>) : AbstractListAssert<FakeJsonArrayAssert<AT>, MutableList<JsonNode>, JsonNode, AT>
Link copied to clipboard
Link copied to clipboard
class NormalResponseContentAssert(actual: ResponseEntity<String>, business: ToBusinessResult) : ResponseContentAssert<NormalResponseContentAssert, NormalJsonNodeAssert>
Link copied to clipboard
open class ResponseContentAssert<SELF : ResponseContentAssert<SELF, JSON_ASSERT>, JSON_ASSERT : AbstractJsonNodeAssert<JSON_ASSERT>>(actual: ResponseEntity<String>, jsonAssertType: Class<JSON_ASSERT>, business: ToBusinessResult) : AbstractAssert<SELF, ResponseEntity<String>>
对于业务结果可以理解为 成功或者失败,业务代码,业务概述,业务数据
Link copied to clipboard
Link copied to clipboard