A B C E F G H I L M N Q R S U W
A
- AssertionUtils - icu.easyj.spring.boot.test.util中的类
-
断言工具类
- AssertionUtils() - 类 的构造器icu.easyj.spring.boot.test.util.AssertionUtils
-
B
- BaseResult - icu.easyj.spring.boot.test.result中的类
-
响应结果基类
- BaseResult(MockResponse) - 类 的构造器icu.easyj.spring.boot.test.result.BaseResult
-
构造函数
- BaseSpringBootMockMvcTest - icu.easyj.spring.boot.test中的类
-
SpringBoot的模拟MVC接口测试 基类
- BaseSpringBootMockMvcTest(Filter...) - 类 的构造器icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
-
构造函数
- builder - 类 中的变量icu.easyj.spring.boot.test.MockRequest
-
C
- characterEncoding(Charset) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
设置字符编码
- characterEncoding(String) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
设置字符编码
- characterEncoding() - 类 中的方法icu.easyj.spring.boot.test.MockResponse
-
获取响应内容编码结果
- CharacterEncodingResult - icu.easyj.spring.boot.test.result中的类
-
响应内容编码结果
- CharacterEncodingResult(MockResponse, String) - 类 的构造器icu.easyj.spring.boot.test.result.CharacterEncodingResult
-
- contains(String...) - 类 中的方法icu.easyj.spring.boot.test.result.HeaderResult
-
判断响应头是否存在
- content(byte[]) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
设置内容
- content(String) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
设置内容
- content(Object) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
设置内容
- content(String, Object) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
设置完整内容
- content(Class<T>) - 类 中的方法icu.easyj.spring.boot.test.MockResponse
-
获取泛型响应内容结果
- content() - 类 中的方法icu.easyj.spring.boot.test.MockResponse
-
获取响应内容结果
- content - 类 中的变量icu.easyj.spring.boot.test.result.GenericContentResult
-
- ContentResult - icu.easyj.spring.boot.test.result中的类
-
响应内容结果
- ContentResult(MockResponse, ResultActions, String) - 类 的构造器icu.easyj.spring.boot.test.result.ContentResult
-
- contentType(MediaType) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
设置请求内容类型枚举
- contentType(String) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
设置请求内容类型
- contentType() - 类 中的方法icu.easyj.spring.boot.test.MockResponse
-
获取响应内容类型结果
- ContentTypeResult - icu.easyj.spring.boot.test.result中的类
-
响应内容类型结果
- ContentTypeResult(MockResponse, String) - 类 的构造器icu.easyj.spring.boot.test.result.ContentTypeResult
-
E
- end() - 类 中的方法icu.easyj.spring.boot.test.result.BaseResult
-
结束对当前响应结果的校验,可继续对下一个响应结果的校验,也可直接结束不校验了。
- error(String, Object, Object) - 类 中的静态方法icu.easyj.spring.boot.test.util.AssertionUtils
-
生成AssertionError对象
- excelToList(Class<T>) - 类 中的方法icu.easyj.spring.boot.test.result.FileExportResult
-
如果文件是excel,则通过excel工具类,解析为列表数据
F
- file(String, String) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
设置要上传的文件
- file() - 类 中的方法icu.easyj.spring.boot.test.MockResponse
-
获取文件导出结果
- FileExportResult - icu.easyj.spring.boot.test.result中的类
-
文件导出结果
- FileExportResult(MockResponse, ResultActions, byte[]) - 类 的构造器icu.easyj.spring.boot.test.result.FileExportResult
-
构造函数
G
- GenericContentResult<T> - icu.easyj.spring.boot.test.result中的类
-
泛型响应内容结果
- GenericContentResult(MockResponse, ResultActions, T) - 类 的构造器icu.easyj.spring.boot.test.result.GenericContentResult
-
构造函数
H
- header(String, Object...) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
设置头信息
- header() - 类 中的方法icu.easyj.spring.boot.test.MockResponse
-
获取响应头结果
- HeaderResult - icu.easyj.spring.boot.test.result中的类
-
响应头结果
- HeaderResult(MockResponse, MockHttpServletResponse) - 类 的构造器icu.easyj.spring.boot.test.result.HeaderResult
-
I
- icu.easyj.spring.boot.test - 程序包 icu.easyj.spring.boot.test
-
- icu.easyj.spring.boot.test.result - 程序包 icu.easyj.spring.boot.test.result
-
- icu.easyj.spring.boot.test.util - 程序包 icu.easyj.spring.boot.test.util
-
- initMockMvc(Filter...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
-
初始化模拟MVC
- initMockMvcBeforeEachTestMethod() - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
-
测试前的初始化方法
- is(String) - 类 中的方法icu.easyj.spring.boot.test.result.CharacterEncodingResult
-
- is(Charset) - 类 中的方法icu.easyj.spring.boot.test.result.CharacterEncodingResult
-
- is(String) - 类 中的方法icu.easyj.spring.boot.test.result.ContentResult
-
校验响应内容
- is(String, Object) - 类 中的方法icu.easyj.spring.boot.test.result.ContentResult
-
校验表达式对应的值
- is(int) - 类 中的方法icu.easyj.spring.boot.test.result.ContentResult
-
如果响应内容为列表数据,则校验数据量
- is(String) - 类 中的方法icu.easyj.spring.boot.test.result.ContentTypeResult
-
- is(String, String) - 类 中的方法icu.easyj.spring.boot.test.result.ContentTypeResult
-
- is(MediaType) - 类 中的方法icu.easyj.spring.boot.test.result.ContentTypeResult
-
- is(int) - 类 中的方法icu.easyj.spring.boot.test.result.FileExportResult
-
判断文件byte数组的长度
- is(Consumer<T>) - 类 中的方法icu.easyj.spring.boot.test.result.GenericContentResult
-
可自定义验证方法
- is(String, Object) - 类 中的方法icu.easyj.spring.boot.test.result.HeaderResult
-
判断响应头的值
- is(int) - 类 中的方法icu.easyj.spring.boot.test.result.ListContentResult
-
校验列表数据量
- is(String) - 类 中的方法icu.easyj.spring.boot.test.result.ListContentResult
-
校验数据
- is(int) - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
-
- is(int...) - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
-
- is(HttpStatus) - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
-
- is(HttpStatus...) - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
-
- isClientErrorSeries() - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
-
判断响应状态为 4xx 系列
- isInformationalSeries() - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
-
判断响应状态为 1xx 系列
- isMatch(String) - 类 中的方法icu.easyj.spring.boot.test.result.ContentResult
-
根据匹配串,校验响应内容格式
- isMatch(Pattern) - 类 中的方法icu.easyj.spring.boot.test.result.ContentResult
-
根据正则,校验响应内容格式
- isMatch(String, String) - 类 中的方法icu.easyj.spring.boot.test.result.HeaderResult
-
根据匹配串判断响应头的值的格式
- isMatch(String, Pattern) - 类 中的方法icu.easyj.spring.boot.test.result.HeaderResult
-
根据正则判断响应头的值的格式
- isOk() - 类 中的方法icu.easyj.spring.boot.test.MockResponse
-
请求成功,响应200
- isOk() - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
-
- isRedirectionSeries() - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
-
判断响应状态为 3xx 系列
- isSeries(HttpStatus.Series) - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
-
判断响应状态系列
- isSeries(HttpStatus.Series...) - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
-
判断响应状态系列
- isServerErrorSeries() - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
-
判断响应状态为 5xx 系列
- isSuccessfulSeries() - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
-
判断响应状态为 2xx 系列
L
- ListContentResult<T> - icu.easyj.spring.boot.test.result中的类
-
列表响应内容结果
- ListContentResult(MockResponse, ResultActions, List<T>) - 类 的构造器icu.easyj.spring.boot.test.result.ListContentResult
-
构造函数
M
- mockDelete(String, Object...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
-
创建模拟DELETE请求
- mockGet(String, Object...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
-
创建模拟GET请求
- mockMvc - 类 中的变量icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
-
- mockMvc - 类 中的变量icu.easyj.spring.boot.test.MockRequest
-
- mockPatch(String, Object...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
-
创建模拟PATCH请求
- mockPost(String, Object...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
-
创建模拟POST请求
- mockPostMultipart(String, Object...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
-
创建模拟POST请求,可上传文件
- mockPut(String, Object...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
-
创建模拟PUT请求
- MockRequest - icu.easyj.spring.boot.test中的类
-
模拟Request
- MockRequest(MockMvc, MockHttpServletRequestBuilder, String, Object[]) - 类 的构造器icu.easyj.spring.boot.test.MockRequest
-
- MockResponse - icu.easyj.spring.boot.test中的类
-
模拟Response
- MockResponse(ResultActions) - 类 的构造器icu.easyj.spring.boot.test.MockResponse
-
- mockResponse - 类 中的变量icu.easyj.spring.boot.test.result.BaseResult
-
- multipartBuilder - 类 中的变量icu.easyj.spring.boot.test.MockRequest
-
N
- notContains(String...) - 类 中的方法icu.easyj.spring.boot.test.result.HeaderResult
-
判断响应头是否不存在
Q
- queryParam(String, String...) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
设置查询参数
- queryParams(MultiValueMap<String, String>) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
批量设置查询参数
R
- resultActions - 类 中的变量icu.easyj.spring.boot.test.result.GenericContentResult
-
S
- send() - 类 中的方法icu.easyj.spring.boot.test.MockRequest
-
发送模拟请求
- status() - 类 中的方法icu.easyj.spring.boot.test.MockResponse
-
获取响应状态结果
- StatusResult - icu.easyj.spring.boot.test.result中的类
-
响应状态结果
- StatusResult(MockResponse, int) - 类 的构造器icu.easyj.spring.boot.test.result.StatusResult
-
U
- uriVars - 类 中的变量icu.easyj.spring.boot.test.MockRequest
-
- urlTemplate - 类 中的变量icu.easyj.spring.boot.test.MockRequest
-
W
- wac - 类 中的变量icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
-
A B C E F G H I L M N Q R S U W
Copyright © 2021 EasyJ寮�婧愮ぞ鍖�. All rights reserved.