Package | Description |
---|---|
com.auxiliary.http | |
com.auxiliary.testcase.templet | |
com.auxiliary.tool.data |
Modifier and Type | Field and Description |
---|---|
protected Entry<MessageType,Object> |
InterfaceInfo.body
接口请求体
|
static Entry<Long,TimeUnit> |
EasyHttp.connectTime
定义默认连接超时时间,仅对使用默认时间的静态方法生效
|
protected Entry<Long,TimeUnit> |
InterfaceInfo.connectTime
存储接口的请求时间
|
static Entry<Long,TimeUnit> |
InterfaceInfo.DEFAULT_CONNECT_TIME
定义默认接口请求超时时间
|
static Entry<String,Integer> |
ReadInterfaceFromExcel.ExcelField.SHEET_ASSERT
接口断言sheet
|
static Entry<String,Integer> |
ReadInterfaceFromExcel.ExcelField.SHEET_BEFORE_INTER_OPEARTE
前置接口操作sheet
|
static Entry<String,Integer> |
ReadInterfaceFromExcel.ExcelField.SHEET_COOKIE
接口cookiesheet
|
static Entry<String,Integer> |
ReadInterfaceFromExcel.ExcelField.SHEET_ENV
环境sheet
|
static Entry<String,Integer> |
ReadInterfaceFromExcel.ExcelField.SHEET_EXTRACT
接口提词sheet
|
static Entry<String,Integer> |
ReadInterfaceFromExcel.ExcelField.SHEET_FILE_BODY
文件类型请求体sheet
|
static Entry<String,Integer> |
ReadInterfaceFromExcel.ExcelField.SHEET_FORM_BODY
表单类型请求体sheet
|
static Entry<String,Integer> |
ReadInterfaceFromExcel.ExcelField.SHEET_INTER
接口sheet
|
static Entry<String,Integer> |
ReadInterfaceFromExcel.ExcelField.SHEET_INTER_PARAM
接口参数sheet
|
static Entry<String,Integer> |
ReadInterfaceFromExcel.ExcelField.SHEET_NORMAL_BODY
普通类型请求体sheet
|
static Entry<String,Integer> |
ReadInterfaceFromExcel.ExcelField.SHEET_REQUEST_HEADER
接口请求头sheet
|
static Entry<String,Integer> |
ReadInterfaceFromExcel.ExcelField.SHEET_RESPONSE
接口响应sheet
|
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,Entry<Integer,Integer>> |
ReadInterfaceFromExcel.assertMap
存储接口断言
|
protected HashMap<String,Entry<Integer,Integer>> |
ReadInterfaceFromExcel.beforeInterMap
存储前置接口操作
|
protected HashMap<String,Entry<Integer,Integer>> |
ReadInterfaceFromExcel.cookieMap
存储cookie参数
|
protected HashMap<String,Entry<Integer,Integer>> |
ReadInterfaceFromExcel.extractMap
存储接口提词
|
protected HashMap<String,Entry<Integer,Integer>> |
ReadInterfaceFromExcel.fileBodyMap
存储文件类型请求体
|
protected HashMap<String,Entry<Integer,Integer>> |
ReadInterfaceFromExcel.formBodyMap
存储表单类型请求体
|
protected HashMap<String,Entry<Integer,Integer>> |
ReadInterfaceFromExcel.interMap
存储接口数据及接口所在的行号
|
protected HashMap<String,Entry<Integer,Integer>> |
ReadInterfaceFromExcel.interParamMap
存储接口参数
|
protected HashMap<String,Entry<Integer,Integer>> |
ReadInterfaceFromExcel.normalBodyMap
存储普通类型请求体
|
protected HashMap<String,Entry<Integer,Integer>> |
ReadInterfaceFromExcel.requestHeaderMap
存储请求头参数
|
protected HashMap<String,Entry<Integer,Integer>> |
ReadInterfaceFromExcel.responseMap
存储相应内容参数
|
Modifier and Type | Method and Description |
---|---|
Entry<MessageType,Object> |
InterfaceInfo.getBodyContent()
该方法用于返回接口的请求报文与请求报文类型封装类
|
Entry<Long,TimeUnit> |
InterfaceInfo.getConnectTime()
该方法用于返回当前接口设置的请求超时时间
|
Modifier and Type | Method and Description |
---|---|
protected void |
ReadInterfaceFromExcel.addInterNameRowIndex(HashMap<String,Entry<Integer,Integer>> map,
int fieldIndex,
org.apache.poi.ss.usermodel.Sheet dataSheet)
该方法用于将sheet所有行中指定下标单元格中不为空的内容进行存储,并记录其内容及行号至指定的map集合中
|
static String |
HttpUtil.formUrlencoded2Extract(List<Entry<String,Object>> dataList)
该方法用于对X_WWW_FORM_URLENCODED表单类型的请求体进行拼接,转换成相应的表达式
|
protected void |
ReadInterfaceFromExcel.readMultirowSheetContent(String interName,
String sheetName,
InterfaceInfo inter,
HashMap<String,Entry<Integer,Integer>> map)
该方法用于读取一个接口占多行的sheet页内容
|
void |
InterfaceInfo.setFormBody(MessageType messageType,
List<Entry<String,Object>> dataList)
该方法用于设置表单格式类型的请求体
|
Modifier and Type | Method and Description |
---|---|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.addCommonData(String operationName,
String name)
该方法用于添加用例公共内容
|
protected Map<LabelType,List<Entry<String,String[]>>> |
AbstractPresetCaseTemplet.addContent(Map<LabelType,List<Entry<String,String[]>>> allContentMap,
LabelType labelType,
List<Entry<String,String[]>> contentList)
该方法用于将需要添加的测试用例内容,附加到内容map集合中,并返回该集合进行返回
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.cencelSaveDataCase(String operationName,
String cencelButtonName)
该方法用于生成新增信息界面取消保存信息的用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.checkboxCase(String operationName,
String name,
boolean isMust)
该方法用于生成多选控件相关的测试用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.commonDateCase(String operationName,
String name,
boolean isMust,
boolean isInput,
boolean isClear)
该方法用于生成日期控件基本的方法
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.commonUpdataFileCase(String operationName,
String name,
boolean isMust,
boolean isDelete,
boolean isPreview,
String sizeLimitText,
Integer fileMinNum,
Integer fileMaxNum,
InformationCaseTemplet.UploadFileType uploadFileType,
String... fileFormatNames)
该方法用于生成上传文件相关的测试用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.endDateCase(String operationName,
String name,
String startDateName,
boolean isMust,
boolean isInput,
boolean isClear)
该方法用于生成结束时间相关的测试用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
AccountOperateCaseTemplet.errorForgetOrAlterPasswordCase(String controlName,
AccountOperateCaseTemplet.OperateType operateType)
该方法用于添加忘记密码或修改密码相关的用例基本内容
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.examineUICase(String operationName)
该方法用于生成检查页面相关的测试用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.idCardCase(String operationName,
String name,
boolean isMust,
boolean isRepeat,
boolean isClear)
该方法用于生成身份证相关的测试用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.lengthRuleTextboxCase(String operationName,
String name,
boolean isMust,
boolean isRepeat,
boolean isClear,
Integer minLen,
Integer maxLen,
InformationCaseTemplet.InputRuleType... inputRuleTypes)
该方法用于生成带长度限制的文本框测试用例的基本内容
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.numberRuleTextboxCase(String operationName,
String name,
boolean isMust,
boolean isRepeat,
boolean isClear,
Integer minNum,
Integer maxNum,
Integer decimals)
该方法用于生成带数字限制的文本框测试用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.phoneCase(String operationName,
String name,
boolean isMust,
boolean isRepeat,
boolean isClear,
InformationCaseTemplet.PhoneType... phoneTypes)
该方法用于生成电话号码相关的测试用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.radioButtonCase(String operationName,
String name)
该方法用于生成单选控件相关的测试用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
DataListCaseTemplet.searchDataListCase(String conditionName)
该方法用于添加搜索条件相关的基本内容
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.selectboxCase(String operationName,
String name,
boolean isMust,
boolean isEmptyOption,
boolean isClear)
该方法用于生成下拉选项控件相关的测试用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.startDateCase(String operationName,
String name,
String endDateName,
boolean isMust,
boolean isInput,
boolean isClear)
该方法用于生成开始时间相关的测试用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.textboxCommonCase(String operationName,
String name,
boolean isMust,
boolean isRepeat,
boolean isClear,
InformationCaseTemplet.InputRuleType... inputRuleTypes)
该方法用于添加文本框相关的基本测试用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.unWholeInformationCase(String operationName)
该方法用于生成不完全填写所有信息的用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.uploadImageCase(String operationName,
String name,
boolean isMust,
boolean isDelete,
boolean isPreview,
boolean isPhoto,
String sizeLimitText,
Integer fileMinNum,
Integer fileMaxNum,
String... fileFormatNames)
该方法用于生成上传图片相关的测试用例
|
protected Map<LabelType,List<Entry<String,String[]>>> |
InformationCaseTemplet.wholeInformationCase(String operationName)
该方法用于生成正确填写所有信息的用例
|
Modifier and Type | Method and Description |
---|---|
protected Map<LabelType,List<Entry<String,String[]>>> |
AbstractPresetCaseTemplet.addContent(Map<LabelType,List<Entry<String,String[]>>> allContentMap,
LabelType labelType,
List<Entry<String,String[]>> contentList)
该方法用于将需要添加的测试用例内容,附加到内容map集合中,并返回该集合进行返回
|
protected Map<LabelType,List<Entry<String,String[]>>> |
AbstractPresetCaseTemplet.addContent(Map<LabelType,List<Entry<String,String[]>>> allContentMap,
LabelType labelType,
List<Entry<String,String[]>> contentList)
该方法用于将需要添加的测试用例内容,附加到内容map集合中,并返回该集合进行返回
|
protected List<CaseData> |
AbstractPresetCaseTemplet.createCaseDataList(AbstractPresetCaseTemplet templetClass,
Map<LabelType,List<Entry<String,String[]>>> allContentMap)
该方法用于生成测试用例集合
|
Modifier and Type | Method and Description |
---|---|
static <T> TableData<T> |
ListUtil.filterTable(TableData<T> table,
boolean isFull,
List<Entry<Integer,Predicate<T>>> filterList)
该方法用于对表数据的每一行根据指定的条件进行筛选,将通过筛选的行组成一张新表进行返回
|
Copyright © 2024. All rights reserved.