完成测试用例生成工具的编写
This commit is contained in:
parent
f2def462ae
commit
68f46b11e3
BIN
Result/测试用例.xlsx
BIN
Result/测试用例.xlsx
Binary file not shown.
|
@ -12,6 +12,8 @@ import java.util.List;
|
|||
import java.util.UUID;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.apache.poi.ss.usermodel.CellType;
|
||||
import org.apache.poi.ss.usermodel.Comment;
|
||||
import org.apache.poi.ss.usermodel.DataValidation;
|
||||
import org.apache.poi.ss.usermodel.DataValidationConstraint;
|
||||
import org.apache.poi.ss.usermodel.FillPatternType;
|
||||
|
@ -223,17 +225,17 @@ public class WriteTestCase {
|
|||
* 设置字段名称的常值,通过该设置,则之后该字段将直接填入设置的值,无需再次写入字段的值
|
||||
*
|
||||
* @param field 字段id
|
||||
* @param context 相应字段的内容
|
||||
* @param content 相应字段的内容
|
||||
*
|
||||
* @throws LabelNotFoundException 当在sheet标签中查不到相应的单元格id不存在时抛出的异常
|
||||
*/
|
||||
public void setFieldValue(String field, String context) {
|
||||
public void setFieldValue(String field, String content) {
|
||||
// 为保证在写用例的时候也能生效,故将值设置进入fieldMap
|
||||
addContext(field, context);
|
||||
addContent(field, content);
|
||||
|
||||
// 先将值设置入fieldMap中可以保证field字段是存在于fieldMap中,以减少此处再做判断
|
||||
// 将字段内容写入caseValueMap
|
||||
caseValueMap.put(field, context);
|
||||
caseValueMap.put(field, content);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -264,7 +266,7 @@ public class WriteTestCase {
|
|||
steps[i] = ((i + 1) + "." + steps[i]);
|
||||
}
|
||||
|
||||
return addContext(FieldType.STEP.getValue(), steps);
|
||||
return addContent(FieldType.STEP.getValue(), steps);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -284,7 +286,7 @@ public class WriteTestCase {
|
|||
excepts[i] = ((i + 1) + "." + excepts[i]);
|
||||
}
|
||||
|
||||
return addContext(FieldType.EXPECT.getValue(), excepts);
|
||||
return addContent(FieldType.EXPECT.getValue(), excepts);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -304,7 +306,7 @@ public class WriteTestCase {
|
|||
preconditions[i] = ((i + 1) + "." + preconditions[i]);
|
||||
}
|
||||
|
||||
return addContext(FieldType.PRECONDITION.getValue(), preconditions);
|
||||
return addContent(FieldType.PRECONDITION.getValue(), preconditions);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -319,7 +321,7 @@ public class WriteTestCase {
|
|||
* @return 类本身,以方便链式编码
|
||||
*/
|
||||
public WriteTestCase addTitle(String title) {
|
||||
return addContext(FieldType.TITLE.getValue(), title);
|
||||
return addContent(FieldType.TITLE.getValue(), title);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -346,9 +348,9 @@ public class WriteTestCase {
|
|||
text = this.rank[this.rank.length - 1];
|
||||
}
|
||||
|
||||
return addContext(FieldType.RANK.getValue(), text);
|
||||
return addContent(FieldType.RANK.getValue(), text);
|
||||
} else {
|
||||
return addContext(FieldType.RANK.getValue(), String.valueOf(rank));
|
||||
return addContent(FieldType.RANK.getValue(), String.valueOf(rank));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -360,11 +362,11 @@ public class WriteTestCase {
|
|||
* test#ing#
|
||||
*
|
||||
* @param field 字段id
|
||||
* @param context 相应字段的内容
|
||||
* @param content 相应字段的内容
|
||||
* @return 类本身,以方便链式编码
|
||||
* @throws LabelNotFoundException 当在sheet标签中查不到相应的单元格id不存在时抛出的异常
|
||||
*/
|
||||
public WriteTestCase addContext(String field, String... contexts) {
|
||||
public WriteTestCase addContent(String field, String... contents) {
|
||||
// 判断字段是否存在,若不存在,则抛出异常
|
||||
if (!fieldMap.containsKey(field)) {
|
||||
throw new LabelNotFoundException("当前sheet不存在的标签id:" + field);
|
||||
|
@ -373,14 +375,14 @@ public class WriteTestCase {
|
|||
// 查找特殊词语,并对词语进行替换
|
||||
for (String word : replaceWordMap.keySet()) {
|
||||
// 查找所有的内容,并将特殊词语进行替换
|
||||
for (int i = 0; i < contexts.length; i++) {
|
||||
contexts[i] = contexts[i].replaceAll(word, replaceWordMap.get(word));
|
||||
for (int i = 0; i < contents.length; i++) {
|
||||
contents[i] = contents[i].replaceAll(word, replaceWordMap.get(word));
|
||||
}
|
||||
}
|
||||
|
||||
// 将字段内容写入fieldMap
|
||||
fieldMap.get(field).context = contexts;
|
||||
// fieldMap.put(field, contexts);
|
||||
fieldMap.get(field).content = contents;
|
||||
// fieldMap.put(field, contents);
|
||||
|
||||
return this;
|
||||
}
|
||||
|
@ -411,9 +413,9 @@ public class WriteTestCase {
|
|||
// dom4j当属性值传入null时,则直接不会创建该属性,故此处无需做判断字段id是否在fieldMarkMap中
|
||||
Element fieldElement = caseElement.addElement("field").addAttribute("name", id);
|
||||
// 判断当前是否有添加内容,若未添加内容,则创建一个value属性为空的text标签
|
||||
if (field.context != null) {
|
||||
if (field.content != null) {
|
||||
// 读取所有texts(字符串数组)的所有内容,并为每一元素创建一个text标签,将值加入属性中
|
||||
Arrays.stream(field.context).forEach(text -> {
|
||||
Arrays.stream(field.content).forEach(text -> {
|
||||
fieldElement.addElement("text").addAttribute("value", text);
|
||||
});
|
||||
} else {
|
||||
|
@ -422,12 +424,12 @@ public class WriteTestCase {
|
|||
});
|
||||
|
||||
// 清空fieldMap中的内容
|
||||
clearFieldContext();
|
||||
clearFieldContent();
|
||||
// 将字段常值设置入fieldMap中,若抛出异常,则不进行处理
|
||||
if (caseValueMap != null && caseValueMap.size() != 0) {
|
||||
caseValueMap.forEach((field, context) -> {
|
||||
caseValueMap.forEach((field, content) -> {
|
||||
try {
|
||||
addContext(field, context);
|
||||
addContent(field, content);
|
||||
} catch (LabelNotFoundException e) {
|
||||
}
|
||||
});
|
||||
|
@ -460,13 +462,10 @@ public class WriteTestCase {
|
|||
if (xs == null) {
|
||||
throw new IncorrectFileException("不存在sheet名称:" + sheetElement.attributeValue("name"));
|
||||
}
|
||||
// 获取当前sheet的最后一行的行号,并从其下一行开始编写
|
||||
int index = xs.getLastRowNum() + 1;
|
||||
|
||||
// 获取用例标签,将用例标签中的内容写入到文件中
|
||||
List<Element> caseElements = sheetElement.elements("case");
|
||||
for (Element caseElement : caseElements) {
|
||||
index = writeCase(index, xs, caseElement) + 1;
|
||||
writeCase(xs.getLastRowNum() + 1, xs, caseElement);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -479,107 +478,15 @@ public class WriteTestCase {
|
|||
xw.close();
|
||||
}
|
||||
|
||||
/**
|
||||
* 用于将case标签的内容写入到文本中
|
||||
* @param index 写入行号
|
||||
* @param xs sheet
|
||||
* @param caseElement case标签对应的elemenet对象
|
||||
* @return 当前行号
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
private int writeCase(int index, XSSFSheet xs, Element caseElement) {
|
||||
// // 判断每行步骤数是否大于0,大于零则是否有设置步骤和预期的枚举值,若同时满足,则抛出异常
|
||||
// boolean sepStep = stepNum > 0;
|
||||
// if (sepStep && (FieldType.STEP.getValue().isEmpty() || FieldType.EXPECT.getValue().isEmpty())) {
|
||||
// throw new LabelNotFoundException("步骤或预期未设置枚举值");
|
||||
// }
|
||||
//
|
||||
// // 创建一行,编写测试用例的第一行内容
|
||||
// XSSFRow xr = xs.createRow(index);
|
||||
// // 获取字段元素,需要获取配置xml文件中的以及用例xml文件中的字段
|
||||
// List<Element> fieldElements = caseElement.elements("field");
|
||||
// // 存储读取到的步骤和预期
|
||||
// ArrayList<Element> stepAndExceptList = new ArrayList<Element>();
|
||||
// // 遍历所有的field标签,若需要对步骤预期进行分行显示,则不读取步骤和预期
|
||||
// for (Element fieldElement : fieldElements) {
|
||||
// // 获取相应的Field对象
|
||||
// String fieldId = fieldElement.attributeValue("name");
|
||||
// // 获取字段的field对象
|
||||
// Field field = fieldMap.get(fieldId);
|
||||
// // 创建字段所在的列相应的单元格
|
||||
// XSSFCell xc = xr.createCell(field.index);
|
||||
// field.addDataValidation(xs, index, index);
|
||||
//
|
||||
// List<Element> textList = fieldElement.elements("text");
|
||||
//
|
||||
// // 判断标签是否为步骤或预期,若为该标签则跳过获取步骤
|
||||
// if (sepStep && (FieldType.STEP.getValue().equals(fieldId) || FieldType.EXPECT.getValue().equals(fieldId))) {
|
||||
// // 若步骤与预期的数量小于stepNum,则无需后期处理,若大于相应的数量,则先将第一行的元素进行写入
|
||||
// if (textList.size() > stepNum) {
|
||||
// ArrayList<Element> tempList = new ArrayList<Element>();
|
||||
// for (int i = 0; i < stepNum; i++) {
|
||||
// // 存储第一行需要写入的元素
|
||||
// tempList.add(textList.get(i));
|
||||
//
|
||||
// // 删除stepNum以后的元素,该方法调用后会把xml文件中的标签也一并删除,不能使用
|
||||
// // textList.remove(i--);
|
||||
// }
|
||||
// // 将临时集合赋给textList
|
||||
// textList = tempList;
|
||||
// stepAndExceptList.add(fieldElement);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// // 将字段内容写入单元格
|
||||
// writeText(xc, textList);
|
||||
// // 设置单元格格式
|
||||
// xc.setCellStyle(getFieldStyle(field, fieldElement));
|
||||
// }
|
||||
//
|
||||
// // 判断stepAndExceptList是否有存储内容,若存储了内容,则对步骤和预期进行分别操作
|
||||
// if (stepAndExceptList.size() != 0) {
|
||||
// for (Element element : stepAndExceptList) {
|
||||
// // 获取相应的Field对象
|
||||
// String fieldId = element.attributeValue("name");
|
||||
// // 获取字段的field对象
|
||||
// Field field = fieldMap.get(fieldId);
|
||||
// // 获取text标签
|
||||
// List<Element> textList = element.elements("text");
|
||||
//
|
||||
// // 用于控制当前斜土步骤的行位于标题行下降的行数
|
||||
// int nowRowIndex = 1;
|
||||
// // 若需要通过该方法写入用例,则必然有数据需要写入,则先写入数据,再做判断
|
||||
// // 判断的方法为,以单元格较原位置下降的多少进行判断,例如有以下几个场景(设置的stepNum为2):
|
||||
// // 1.字段中存储了5个text标签
|
||||
// // 2.字段中存储了3个text标签
|
||||
// // 3.字段中存储了4个text标签
|
||||
// // 由于在前面的代码已经运行并存储了2个text标签的内容,故
|
||||
// // 针对场景1:先执行一次存储,此时表格的行较原来下降了1行,用例实际写入了4条,但写入的数据少于text数量,故需要继续循环
|
||||
// // 针对场景2、3:先执行一次存储,此时表格的行较原来下降了1行,用例实际写入了3或4条,写入的数据等于text数量,故结束循环
|
||||
// // 综合考虑,得到公式(stepNum * ++nowRowIndex)正好等于当前写入用例的条数,且nowRowIndex自增后可以作为下一次循环开始
|
||||
// // 使用公式的值与用例总数判断,当公式值大于或等于text数量时,则结束循环
|
||||
// do {
|
||||
// // 判断当前行是否被创建,若未被创建,则读取相应的行号
|
||||
// xr = xs.getRow(index + nowRowIndex) == null ? xs.createRow(index + nowRowIndex)
|
||||
// : xs.getRow(index + nowRowIndex);
|
||||
// // 创建字段所在的列相应的单元格
|
||||
// XSSFCell xc = xr.createCell(field.index);
|
||||
//
|
||||
// // 存储裁剪后的text元素
|
||||
// ArrayList<Element> subTextList = new ArrayList<Element>();
|
||||
// // 其中步骤数乘当前写入行的行数正好可以得到应该从哪个元素开始裁剪,例如
|
||||
// // 字段中存储了5个text标签,此时设置的stepNum为2,在运行该代码前已经写入了2个text的内容,故循环从2开始(表示从第3个元素元素开始)
|
||||
// // 当下一次循环时,nowRowIndex为2,此时2 * 2 = 4,正好可以得到从第5个元素开始,此时在写入时也只会写入一次
|
||||
// for (int i = 0; i < stepNum; i++) {
|
||||
// // 若剩余内容数小于stepNum时,此时循环在读取textList会抛出数组越界异常,则捕捉抛出异常后直接结束循环
|
||||
// try {
|
||||
// subTextList.add(textList.get(stepNum * nowRowIndex + i));
|
||||
// } catch (IndexOutOfBoundsException e) {
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// // 将字段内容写入单元格
|
||||
// writeText(xc, subTextList);
|
||||
// // 设置单元格格式
|
||||
// xc.setCellStyle(getFieldStyle(field, element));
|
||||
// } while (stepNum * ++nowRowIndex < textList.size());
|
||||
// }
|
||||
// }
|
||||
|
||||
private void writeCase(int index, XSSFSheet xs, Element caseElement) {
|
||||
// 获取字段元素,需要获取配置xml文件中的以及用例xml文件中的字段
|
||||
List<Element> fieldElements = caseElement.elements("field");
|
||||
// 遍历所有的field标签,将标签的内容写入到文件中
|
||||
|
@ -599,9 +506,6 @@ public class WriteTestCase {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
// 返回sheet最后一行的行号
|
||||
return xs.getLastRowNum();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -629,6 +533,8 @@ public class WriteTestCase {
|
|||
xc.setCellStyle(getFieldStyle(field, fieldElement));
|
||||
//向单元格中添加数据有效性
|
||||
field.addDataValidation(xs, index, index);
|
||||
//向单元格中添加Comment注解
|
||||
addComment(xs, xc, fieldElement);
|
||||
|
||||
// 将字段内容写入单元格
|
||||
writeText(xc, textList);
|
||||
|
@ -675,6 +581,8 @@ public class WriteTestCase {
|
|||
xc.setCellStyle(getFieldStyle(field, fieldElement));
|
||||
//向单元格中添加数据有效性
|
||||
field.addDataValidation(xs, index, index);
|
||||
//向单元格中添加Comment注解
|
||||
addComment(xs, xc, fieldElement);
|
||||
|
||||
// 存储裁剪后的text元素
|
||||
ArrayList<Element> subTextList = new ArrayList<Element>();
|
||||
|
@ -718,6 +626,31 @@ public class WriteTestCase {
|
|||
|
||||
return xcs;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用于向单元格上添加Comment标注
|
||||
* @param xs sheet对象
|
||||
* @param xc 相应单元格对象
|
||||
* @param fieldElement 字段元素
|
||||
*/
|
||||
private void addComment(XSSFSheet xs, XSSFCell xc, Element fieldElement) {
|
||||
//获取字段的comment标签内容
|
||||
String commentContent = fieldElement.attributeValue("comment");
|
||||
//判断内容是否存在,若不存在,则结束方法运行,不添加标注
|
||||
if (commentContent == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
// 创建一个标注,并确定其在一个单元格的左上角和右下角
|
||||
Comment com = xs.createDrawingPatriarch().createCellComment(
|
||||
xw.getCreationHelper().createClientAnchor());
|
||||
// 创建标注的内容
|
||||
com.setString(xw.getCreationHelper().createRichTextString(commentContent));
|
||||
// 创建标注的作者(作者为计算机名称)
|
||||
com.setAuthor(System.getenv().get("COMPUTERNAME"));
|
||||
// 将标注附加到单元格上
|
||||
xc.setCellComment(com);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取并返回字段对应的内容
|
||||
|
@ -761,8 +694,8 @@ public class WriteTestCase {
|
|||
/**
|
||||
* 清空fieldMap内的存储字段信息,不清除字段
|
||||
*/
|
||||
private void clearFieldContext() {
|
||||
fieldMap.forEach((key, value) -> value.clearContext());
|
||||
private void clearFieldContent() {
|
||||
fieldMap.forEach((key, value) -> value.clearContent());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -861,11 +794,11 @@ public class WriteTestCase {
|
|||
* 向单元格(字段)上添加一个标记(备注),以记录内容
|
||||
*
|
||||
* @param field 字段id
|
||||
* @param context 标记中记录的内容
|
||||
* @param content 标记中记录的内容
|
||||
* @return 类本身
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public CaseMark markField(String field, String context) {
|
||||
public CaseMark fieldComment(String field, String content) {
|
||||
// 判断字段是否存在,若不存在,则抛出异常
|
||||
if (!fieldMap.containsKey(field)) {
|
||||
throw new LabelNotFoundException("当前sheet不存在的标签id:" + field);
|
||||
|
@ -873,7 +806,7 @@ public class WriteTestCase {
|
|||
|
||||
// 向包含uuid的标签下添加相应的属性
|
||||
((List<Element>) (caseElement.elements())).stream().filter(e -> e.attributeValue("name").equals(field))
|
||||
.forEach(e -> e.addAttribute("mark", context));
|
||||
.forEach(e -> e.addAttribute("comment", content));
|
||||
|
||||
return this;
|
||||
}
|
||||
|
@ -1063,7 +996,7 @@ public class WriteTestCase {
|
|||
/**
|
||||
* 用于存储字段在用例中对应的内容
|
||||
*/
|
||||
public String[] context = null;
|
||||
public String[] content = null;
|
||||
|
||||
/**
|
||||
* 存储字段是否包含数据有效性(由于在创建模板时数据有效性已被写入到模板文件中,故此处无需存储)
|
||||
|
@ -1087,10 +1020,10 @@ public class WriteTestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
* 用于清空context中的内容
|
||||
* 用于清空content中的内容
|
||||
*/
|
||||
public void clearContext() {
|
||||
context = null;
|
||||
public void clearContent() {
|
||||
content = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -81,18 +81,18 @@ public class WriteTestCaseTest {
|
|||
}
|
||||
|
||||
@BeforeMethod
|
||||
public void addContext(Method method) {
|
||||
public void addContent(Method method) {
|
||||
System.out.println("=======正在运行:" + method.getName() + "=======");
|
||||
wtc.addRank(1);
|
||||
wtc.addStep("步骤1", "步骤2", "步骤3");
|
||||
wtc.addTitle("这是标题");
|
||||
wtc.addPrecondition("前置条件1", "前置条件2", "前置条件3");
|
||||
wtc.addExcept("预期1", "预期2", "预期3");
|
||||
wtc.addContext("目的", "这是目的1", "这是目的2");
|
||||
wtc.addContext("模块", "这是模块");
|
||||
wtc.addContext("状态", "这是状态");
|
||||
wtc.addContext("项目", "这是项目");
|
||||
wtc.addContext("设计者", "这是设计者");
|
||||
wtc.addContent("目的", "这是目的1", "这是目的2");
|
||||
wtc.addContent("模块", "这是模块");
|
||||
wtc.addContent("状态", "这是状态");
|
||||
wtc.addContent("项目", "这是项目");
|
||||
wtc.addContent("设计者", "这是设计者");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -104,11 +104,11 @@ public class WriteTestCaseTest {
|
|||
}
|
||||
|
||||
/**
|
||||
* 测试{@link WriteTestCase#addContext(String, String)}方法
|
||||
* 测试{@link WriteTestCase#addContent(String, String)}方法
|
||||
*/
|
||||
@Test
|
||||
public void addContextTest() {
|
||||
wtc.addContext("标题", "这是标题").addContext("目的", "这是目的");
|
||||
public void addContentTest() {
|
||||
wtc.addContent("标题", "这是标题").addContent("目的", "这是目的");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -137,7 +137,7 @@ public class WriteTestCaseTest {
|
|||
*/
|
||||
@Test
|
||||
public void addStepTest() {
|
||||
wtc.addStep("步骤1", "步骤2", "步骤3");
|
||||
wtc.addStep("步骤1", "2020-03-03", "2020/03/03");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -161,7 +161,7 @@ public class WriteTestCaseTest {
|
|||
*/
|
||||
@Test
|
||||
public void addTitleTest() {
|
||||
wtc.addTitle("前置条件标题");
|
||||
wtc.addTitle("2020-02-03");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -204,12 +204,12 @@ public class WriteTestCaseTest {
|
|||
}
|
||||
|
||||
/**
|
||||
* 测试{@link CaseMark#markField(String, String)}方法
|
||||
* 测试{@link CaseMark#fieldComment(String, String)}方法
|
||||
*/
|
||||
@Test
|
||||
public void markFieldTest() {
|
||||
CaseMark cm = wtc.end().markField("步骤", "步骤标记").markField(FieldType.EXPECT.getValue(), "预期标记");
|
||||
cm.markField("目的", "目的标记");
|
||||
CaseMark cm = wtc.end().fieldComment("步骤", "步骤标记").fieldComment(FieldType.EXPECT.getValue(), "预期标记");
|
||||
cm.fieldComment("目的", "目的标记");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -251,7 +251,7 @@ public class WriteTestCaseTest {
|
|||
*/
|
||||
@Test
|
||||
public void markTest() {
|
||||
wtc.end().markStepAndExcept(2, MarkColorsType.RED).markField("目的", "目的标记").changeFieldBackground("设计者",
|
||||
wtc.end().markStepAndExcept(2, MarkColorsType.RED).fieldComment("目的", "目的标记").changeFieldBackground("设计者",
|
||||
MarkColorsType.YELLOW);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<cases><sheet name="测试用例"><case id="fcc8792d-a9b3-4d65-b597-3d5d9a914bbd"><field name="前置条件"><text value=""/></field><field name="步骤" background="12"><text value="1.第一步"/><text value="2.第二部"/><text value="3.第三部"/><text value="4.第三部"/></field><field name="优先级"><text value=""/></field><field name="状态"><text value=""/></field><field name="项目"><text value=""/></field><field name="目的"><text value=""/></field><field name="预期"><text value="1.预期1"/><text value="2.预期2"/><text value="3.预期3"/></field><field name="模块"><text value=""/></field><field name="标题"><text value="用例1"/></field><field name="设计者"><text value=""/></field></case><case id="886f862f-2924-413c-939c-8d890b14ea34"><field name="前置条件"><text value=""/></field><field name="步骤"><text value="1.第一步" colors="10"/><text value="2.第二部"/><text value="3.第三部"/></field><field name="优先级"><text value=""/></field><field name="状态"><text value=""/></field><field name="项目"><text value=""/></field><field name="目的"><text value=""/></field><field name="预期"><text value="1.预期1"/><text value="2.预期2"/><text value="3.预期3"/></field><field name="模块"><text value=""/></field><field name="标题"><text value="用例2"/></field><field name="设计者"><text value=""/></field></case><case id="9c40cb53-7354-4699-9b32-91a09203e047"><field name="前置条件"><text value=""/></field><field name="步骤"><text value="1.第一步" colors="13"/><text value="2.第二部" colors="12"/></field><field name="优先级"><text value=""/></field><field name="状态"><text value=""/></field><field name="项目"><text value=""/></field><field name="目的"><text value=""/></field><field name="预期"><text value="1.预期1"/><text value="2.预期2"/></field><field name="模块"><text value=""/></field><field name="标题"><text value="用例3"/></field><field name="设计者"><text value=""/></field></case><case id="5d14f2d0-d586-4eaf-83d0-ca4ad110b86d"><field name="前置条件"><text value=""/></field><field name="步骤"><text value="1.第一步"/><text value="2.第二部"/><text value="3.第三部"/></field><field name="优先级"><text value=""/></field><field name="状态"><text value=""/></field><field name="项目"><text value=""/></field><field name="目的"><text value=""/></field><field name="预期"><text value="1.预期1"/><text value="2.预期2"/><text value="3.预期3"/></field><field name="模块"><text value=""/></field><field name="标题"><text value="用例4"/></field><field name="设计者"><text value=""/></field></case><case id="18800c73-41fc-4c53-aa37-15f96d70dca5"><field name="前置条件"><text value=""/></field><field name="步骤"><text value="1.第一步" colors="17"/><text value="2.第二"/></field><field name="优先级"><text value=""/></field><field name="状态"><text value=""/></field><field name="项目"><text value=""/></field><field name="目的"><text value=""/></field><field name="预期"><text value="1.预期1"/><text value="2.预期2"/></field><field name="模块"><text value=""/></field><field name="标题"><text value="用例5"/></field><field name="设计者"><text value=""/></field></case><case id="82d9cf27-02e7-4687-9adf-01b3b027954a"><field name="前置条件"><text value="" colors="10"/></field><field name="步骤"><text value="1.第一步" colors="10"/><text value="2.第二部" colors="10"/></field><field name="优先级"><text value="" colors="10"/></field><field name="状态"><text value="" colors="10"/></field><field name="项目"><text value="" colors="10"/></field><field name="目的"><text value="" colors="10"/></field><field name="预期"><text value="1.预期1" colors="10"/><text value="2.预期2" colors="10"/></field><field name="模块"><text value="" colors="10"/></field><field name="标题"><text value="用例6" colors="10"/></field><field name="设计者"><text value="" colors="10"/></field></case></sheet></cases>
|
||||
<cases><sheet name="测试用例"><case id="c3e67668-1f70-4407-a354-8f13a202083a"><field name="前置条件"><text value="1.前置条件1"/><text value="2.前置条件2"/><text value="3.前置条件3"/></field><field name="步骤"><text value="1.步骤1"/><text value="2.步骤2"/><text value="3.步骤3"/></field><field name="优先级"><text value="High"/></field><field name="状态"><text value="这是状态"/></field><field name="项目"><text value="这是项目"/></field><field name="目的"><text value="这是目的1"/><text value="这是目的2"/></field><field name="预期"><text value="1.预期1"/><text value="2.预期2"/><text value="3.预期3"/></field><field name="模块"><text value="这是模块"/></field><field name="标题"><text value="2020-02-03"/></field><field name="设计者"><text value="这是设计者"/></field></case></sheet></cases>
|
|
@ -57,9 +57,9 @@ function toggleAllBoxes() {
|
|||
<tr>
|
||||
<td>Tests passed/Failed/Skipped:</td><td>1/0/0</td>
|
||||
</tr><tr>
|
||||
<td>Started on:</td><td>Mon Mar 02 19:49:26 CST 2020</td>
|
||||
<td>Started on:</td><td>Tue Mar 03 08:04:52 CST 2020</td>
|
||||
</tr>
|
||||
<tr><td>Total time:</td><td>2 seconds (2590 ms)</td>
|
||||
<tr><td>Total time:</td><td>1 seconds (1930 ms)</td>
|
||||
</tr><tr>
|
||||
<td>Included groups:</td><td></td>
|
||||
</tr><tr>
|
||||
|
@ -75,10 +75,10 @@ function toggleAllBoxes() {
|
|||
<td><b>Instance</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td title='pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase.step_01()'><b>step_01</b><br>Test class: pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase</td>
|
||||
<td title='pres.auxiliary.work.testcase.WriteTestCaseTest.addTitleTest()'><b>addTitleTest</b><br>Test class: pres.auxiliary.work.testcase.WriteTestCaseTest</td>
|
||||
<td></td>
|
||||
<td>0</td>
|
||||
<td>pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase@48a242ce</td></tr>
|
||||
<td>pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb</td></tr>
|
||||
</table><p>
|
||||
</body>
|
||||
</html>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated by org.testng.reporters.JUnitXMLReporter -->
|
||||
<testsuite hostname="E8WPO9ZF7HLPHVE" failures="0" tests="1" name="Default test" time="2.59" errors="0" timestamp="2 Mar 2020 11:49:29 GMT">
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase" name="step_01" time="0.042"/>
|
||||
<testsuite hostname="E8WPO9ZF7HLPHVE" failures="0" tests="1" name="Default test" time="1.93" errors="0" timestamp="3 Mar 2020 00:04:54 GMT">
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="addTitleTest" time="0.005"/>
|
||||
</testsuite> <!-- Default test -->
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>TestNG Report</title><style type="text/css">table {margin-bottom:10px;border-collapse:collapse;empty-cells:show}th,td {border:1px solid #009;padding:.25em .5em}th {vertical-align:bottom}td {vertical-align:top}table a {font-weight:bold}.stripe td {background-color: #E6EBF9}.num {text-align:right}.passedodd td {background-color: #3F3}.passedeven td {background-color: #0A0}.skippedodd td {background-color: #DDD}.skippedeven td {background-color: #CCC}.failedodd td,.attn {background-color: #F33}.failedeven td,.stripe .attn {background-color: #D00}.stacktrace {white-space:pre;font-family:monospace}.totop {font-size:85%;text-align:center;border-bottom:2px solid #000}</style></head><body><table><tr><th>Test</th><th># Passed</th><th># Skipped</th><th># Failed</th><th>Time (ms)</th><th>Included Groups</th><th>Excluded Groups</th></tr><tr><th colspan="7">Default suite</th></tr><tr><td><a href="#t0">Default test</a></td><td class="num">1</td><td class="num">0</td><td class="num">0</td><td class="num">2,590</td><td></td><td></td></tr></table><table><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">Default suite</th></tr></tbody><tbody id="t0"><tr><th colspan="4">Default test — passed</th></tr><tr class="passedeven"><td rowspan="1">pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase</td><td><a href="#m0">step_01</a></td><td rowspan="1">1583149768171</td><td rowspan="1">42</td></tr></tbody></table><h2>Default test</h2><h3 id="m0">pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase#step_01</h3><table class="result"></table><p class="totop"><a href="#summary">back to summary</a></p></body></html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>TestNG Report</title><style type="text/css">table {margin-bottom:10px;border-collapse:collapse;empty-cells:show}th,td {border:1px solid #009;padding:.25em .5em}th {vertical-align:bottom}td {vertical-align:top}table a {font-weight:bold}.stripe td {background-color: #E6EBF9}.num {text-align:right}.passedodd td {background-color: #3F3}.passedeven td {background-color: #0A0}.skippedodd td {background-color: #DDD}.skippedeven td {background-color: #CCC}.failedodd td,.attn {background-color: #F33}.failedeven td,.stripe .attn {background-color: #D00}.stacktrace {white-space:pre;font-family:monospace}.totop {font-size:85%;text-align:center;border-bottom:2px solid #000}</style></head><body><table><tr><th>Test</th><th># Passed</th><th># Skipped</th><th># Failed</th><th>Time (ms)</th><th>Included Groups</th><th>Excluded Groups</th></tr><tr><th colspan="7">Default suite</th></tr><tr><td><a href="#t0">Default test</a></td><td class="num">1</td><td class="num">0</td><td class="num">0</td><td class="num">1,930</td><td></td><td></td></tr></table><table><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">Default suite</th></tr></tbody><tbody id="t0"><tr><th colspan="4">Default test — passed</th></tr><tr class="passedeven"><td rowspan="1">pres.auxiliary.work.testcase.WriteTestCaseTest</td><td><a href="#m0">addTitleTest</a></td><td rowspan="1">1583193893812</td><td rowspan="1">5</td></tr></tbody></table><h2>Default test</h2><h3 id="m0">pres.auxiliary.work.testcase.WriteTestCaseTest#addTitleTest</h3><table class="result"></table><p class="totop"><a href="#summary">back to summary</a></p></body></html>
|
|
@ -48,7 +48,7 @@
|
|||
<ul>
|
||||
<li>
|
||||
<a href="#" panel-name="test-xml-Default_suite" class="navigator-link ">
|
||||
<span>C:\Users\Administrator\AppData\Local\Temp\testng-eclipse--1014614818\testng-customsuite.xml</span>
|
||||
<span>C:\Users\Administrator\AppData\Local\Temp\testng-eclipse-26502705\testng-customsuite.xml</span>
|
||||
</a> <!-- navigator-link -->
|
||||
</li>
|
||||
<li>
|
||||
|
@ -101,7 +101,7 @@
|
|||
<div class="method-list-content passed suite-Default_suite">
|
||||
<span>
|
||||
<img src="passed.png" width="3%"/>
|
||||
<a href="#" panel-name="suite-Default_suite" title="pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase" class="method navigator-link" hash-for-method="step_01">step_01</a> <!-- method navigator-link -->
|
||||
<a href="#" panel-name="suite-Default_suite" title="pres.auxiliary.work.testcase.WriteTestCaseTest" class="method navigator-link" hash-for-method="addTitleTest">addTitleTest</a> <!-- method navigator-link -->
|
||||
</span>
|
||||
<br/>
|
||||
</div> <!-- method-list-content passed suite-Default_suite -->
|
||||
|
@ -119,14 +119,14 @@
|
|||
<div class="suite-Default_suite-class-passed">
|
||||
<div class="main-panel-header rounded-window-top">
|
||||
<img src="passed.png"/>
|
||||
<span class="class-name">pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase</span>
|
||||
<span class="class-name">pres.auxiliary.work.testcase.WriteTestCaseTest</span>
|
||||
</div> <!-- main-panel-header rounded-window-top -->
|
||||
<div class="main-panel-content rounded-window-bottom">
|
||||
<div class="method">
|
||||
<div class="method-content">
|
||||
<a name="step_01">
|
||||
</a> <!-- step_01 -->
|
||||
<span class="method-name">step_01</span>
|
||||
<a name="addTitleTest">
|
||||
</a> <!-- addTitleTest -->
|
||||
<span class="method-name">addTitleTest</span>
|
||||
</div> <!-- method-content -->
|
||||
</div> <!-- method -->
|
||||
</div> <!-- main-panel-content rounded-window-bottom -->
|
||||
|
@ -134,7 +134,7 @@
|
|||
</div> <!-- panel Default_suite -->
|
||||
<div panel-name="test-xml-Default_suite" class="panel">
|
||||
<div class="main-panel-header rounded-window-top">
|
||||
<span class="header-content">C:\Users\Administrator\AppData\Local\Temp\testng-eclipse--1014614818\testng-customsuite.xml</span>
|
||||
<span class="header-content">C:\Users\Administrator\AppData\Local\Temp\testng-eclipse-26502705\testng-customsuite.xml</span>
|
||||
</div> <!-- main-panel-header rounded-window-top -->
|
||||
<div class="main-panel-content rounded-window-bottom">
|
||||
<pre>
|
||||
|
@ -143,7 +143,11 @@
|
|||
<suite name="Default suite" guice-stage="DEVELOPMENT">
|
||||
<test name="Default test" verbose="2">
|
||||
<classes>
|
||||
<class name="pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase"/>
|
||||
<class name="pres.auxiliary.work.testcase.WriteTestCaseTest">
|
||||
<methods>
|
||||
<include name="addTitleTest"/>
|
||||
</methods>
|
||||
</class> <!-- pres.auxiliary.work.testcase.WriteTestCaseTest -->
|
||||
</classes>
|
||||
</test> <!-- Default test -->
|
||||
</suite> <!-- Default suite -->
|
||||
|
@ -185,14 +189,14 @@ data.addColumn('string', 'Class');
|
|||
data.addColumn('number', 'Time (ms)');
|
||||
data.addRows(1);
|
||||
data.setCell(0, 0, 0)
|
||||
data.setCell(0, 1, 'step_01')
|
||||
data.setCell(0, 2, 'pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase')
|
||||
data.setCell(0, 3, 42);
|
||||
data.setCell(0, 1, 'addTitleTest')
|
||||
data.setCell(0, 2, 'pres.auxiliary.work.testcase.WriteTestCaseTest')
|
||||
data.setCell(0, 3, 5);
|
||||
window.suiteTableData['Default_suite']= { tableData: data, tableDiv: 'times-div-Default_suite'}
|
||||
return data;
|
||||
}
|
||||
</script>
|
||||
<span class="suite-total-time">Total running time: 42 ms</span>
|
||||
<span class="suite-total-time">Total running time: 5 ms</span>
|
||||
<div id="times-div-Default_suite">
|
||||
</div> <!-- times-div-Default_suite -->
|
||||
</div> <!-- times-div -->
|
||||
|
@ -207,9 +211,44 @@ return data;
|
|||
</div> <!-- panel -->
|
||||
<div panel-name="ignored-methods-Default_suite" class="panel">
|
||||
<div class="main-panel-header rounded-window-top">
|
||||
<span class="header-content">0 ignored methods</span>
|
||||
<span class="header-content">15 ignored methods</span>
|
||||
</div> <!-- main-panel-header rounded-window-top -->
|
||||
<div class="main-panel-content rounded-window-bottom">
|
||||
<div class="ignored-class-div">
|
||||
<span class="ignored-class-name">pres.auxiliary.work.testcase.WriteTestCaseTest</span>
|
||||
<div class="ignored-methods-div">
|
||||
<span class="ignored-method-name">addPreconditionTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">addStepTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">markTextTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">markTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">fieldBackgroundTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">markFieldTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">addRankTest_NotData</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">rowBackgroundTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">endTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">addExceptTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">addContentTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">setPresupposeFieldTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">setReplactWordTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">setRankTest</span>
|
||||
<br/>
|
||||
<span class="ignored-method-name">markStepAndExceptTest</span>
|
||||
<br/>
|
||||
</div> <!-- ignored-methods-div -->
|
||||
</div> <!-- ignored-class-div -->
|
||||
</div> <!-- main-panel-content rounded-window-bottom -->
|
||||
</div> <!-- panel -->
|
||||
<div panel-name="chronological-Default_suite" class="panel">
|
||||
|
@ -218,18 +257,26 @@ return data;
|
|||
</div> <!-- main-panel-header rounded-window-top -->
|
||||
<div class="main-panel-content rounded-window-bottom">
|
||||
<div class="chronological-class">
|
||||
<div class="chronological-class-name">pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase</div> <!-- chronological-class-name -->
|
||||
<div class="chronological-class-name">pres.auxiliary.work.testcase.WriteTestCaseTest</div> <!-- chronological-class-name -->
|
||||
<div class="configuration-class before">
|
||||
<span class="method-name">createTemplet</span>
|
||||
<span class="method-start">0 ms</span>
|
||||
</div> <!-- configuration-class before -->
|
||||
<div class="configuration-method before">
|
||||
<span class="method-name">addContent(public void pres.auxiliary.work.testcase.WriteTestCaseTest.addTitleTest())</span>
|
||||
<span class="method-start">1446 ms</span>
|
||||
</div> <!-- configuration-method before -->
|
||||
<div class="test-method">
|
||||
<span class="method-name">step_01</span>
|
||||
<span class="method-start">1532 ms</span>
|
||||
<span class="method-name">addTitleTest</span>
|
||||
<span class="method-start">1446 ms</span>
|
||||
</div> <!-- test-method -->
|
||||
<div class="configuration-method after">
|
||||
<span class="method-name">endCase</span>
|
||||
<span class="method-start">1453 ms</span>
|
||||
</div> <!-- configuration-method after -->
|
||||
<div class="configuration-class after">
|
||||
<span class="method-name">openFolder</span>
|
||||
<span class="method-start">1580 ms</span>
|
||||
<span class="method-start">1464 ms</span>
|
||||
</div> <!-- configuration-class after -->
|
||||
</div> <!-- main-panel-content rounded-window-bottom -->
|
||||
</div> <!-- panel -->
|
||||
|
|
|
@ -1,559 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated by org.testng.reporters.JUnitReportReporter -->
|
||||
<testsuite hostname="E8WPO9ZF7HLPHVE" failures="0" tests="15" name="pres.auxiliary.work.testcase.WriteTestCaseTest" time="0.031" errors="15" timestamp="2 Mar 2020 11:36:25 GMT">
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="fieldBackgroundTest" time="0.000">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- fieldBackgroundTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="markTextTest" time="0.001">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- markTextTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="addContextTest" time="0.009">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- addContextTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="markStepAndExceptTest" time="0.002">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- markStepAndExceptTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="addPreconditionTest" time="0.002">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- addPreconditionTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="rowBackgroundTest" time="0.003">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- rowBackgroundTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="addExceptTest" time="0.001">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- addExceptTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="markFieldTest" time="0.001">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- markFieldTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="markTest" time="0.001">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- markTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="addTitleTest" time="0.001">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- addTitleTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="addStepTest" time="0.002">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- addStepTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="setRankTest" time="0.001">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- setRankTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="endTest" time="0.002">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- endTest -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="addRankTest_NotData" time="0.003">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- addRankTest_NotData -->
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="setReplactWordTest" time="0.002">
|
||||
<error message="null" type="java.lang.NumberFormatException">
|
||||
<![CDATA[java.lang.NumberFormatException: null
|
||||
at java.base/java.lang.Integer.parseInt(Integer.java:620)
|
||||
at java.base/java.lang.Integer.valueOf(Integer.java:989)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase$Field.<init>(WriteTestCase.java:1100)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.getColumnId(WriteTestCase.java:811)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.switchSheet(WriteTestCase.java:157)
|
||||
at pres.auxiliary.work.n.tcase.WriteTestCase.<init>(WriteTestCase.java:133)
|
||||
at pres.auxiliary.work.testcase.WriteTestCaseTest.createTemplet(WriteTestCaseTest.java:58)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
|
||||
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
|
||||
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:521)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
|
||||
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
|
||||
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
|
||||
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
|
||||
at org.testng.TestRunner.privateRun(TestRunner.java:771)
|
||||
at org.testng.TestRunner.run(TestRunner.java:621)
|
||||
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
|
||||
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
|
||||
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
|
||||
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
|
||||
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
|
||||
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
|
||||
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1200)
|
||||
at org.testng.TestNG.runSuitesLocally(TestNG.java:1125)
|
||||
at org.testng.TestNG.run(TestNG.java:1033)
|
||||
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
|
||||
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
|
||||
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
|
||||
]]>
|
||||
</error>
|
||||
</testcase> <!-- setReplactWordTest -->
|
||||
<testsuite hostname="E8WPO9ZF7HLPHVE" failures="0" tests="1" name="pres.auxiliary.work.testcase.WriteTestCaseTest" time="0.016" errors="0" timestamp="3 Mar 2020 00:04:54 GMT">
|
||||
<testcase classname="pres.auxiliary.work.testcase.WriteTestCaseTest" name="addTitleTest" time="0.016"/>
|
||||
</testsuite> <!-- pres.auxiliary.work.testcase.WriteTestCaseTest -->
|
||||
|
|
|
@ -4,14 +4,74 @@
|
|||
<th>Method name</th>
|
||||
<th>Groups</th>
|
||||
</tr><tr>
|
||||
<td>pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase</td>
|
||||
<td>pres.auxiliary.work.testcase.WriteTestCaseTest</td>
|
||||
<td> </td><td> </td></tr>
|
||||
<tr>
|
||||
<td align='center' colspan='3'>@Test</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>step_01</td>
|
||||
<td>markFieldTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>fieldBackgroundTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>rowBackgroundTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>addRankTest_NotData</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>addPreconditionTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>addStepTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>markTextTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>markTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>setPresupposeFieldTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>addTitleTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>setReplactWordTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>setRankTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>markStepAndExceptTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>addExceptTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>endTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>addContentTest</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td align='center' colspan='3'>@BeforeClass</td>
|
||||
|
@ -24,9 +84,17 @@
|
|||
<td align='center' colspan='3'>@BeforeMethod</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>addContent</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td align='center' colspan='3'>@AfterMethod</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>endCase</td>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td align='center' colspan='3'>@AfterClass</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
|
||||
<table border="1">
|
||||
<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/02 19:49:26</td> <td>0</td> <td> </td><td> </td><td title=">>WriteTestCaseTest_WriteCase.createTemplet()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase@48a242ce]">>>createTemplet</td>
|
||||
<td> </td><td> </td><td> </td> <td>main@366590980</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/02 19:49:28</td> <td>1577</td> <td> </td><td> </td><td title="<<WriteTestCaseTest_WriteCase.openFolder()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase@48a242ce]"><<openFolder</td>
|
||||
<td> </td><td> </td><td> </td> <td>main@366590980</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/02 19:49:28</td> <td>1529</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="WriteTestCaseTest_WriteCase.step_01()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase@48a242ce]">step_01</td>
|
||||
<td>main@366590980</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/03 08:04:53</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td title=">>WriteTestCaseTest.addContent(java.lang.reflect.Method)[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]">>>addContent</td>
|
||||
<td> </td> <td>main@1800659519</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/03 08:04:53</td> <td>1</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="WriteTestCaseTest.addTitleTest()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]">addTitleTest</td>
|
||||
<td>main@1800659519</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/03 08:04:52</td> <td>-1444</td> <td> </td><td> </td><td title=">>WriteTestCaseTest.createTemplet()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]">>>createTemplet</td>
|
||||
<td> </td><td> </td><td> </td> <td>main@1800659519</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/03 08:04:53</td> <td>7</td> <td> </td><td> </td><td> </td><td> </td><td title="<<WriteTestCaseTest.endCase()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]"><<endCase</td>
|
||||
<td> </td> <td>main@1800659519</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/03 08:04:53</td> <td>18</td> <td> </td><td> </td><td title="<<WriteTestCaseTest.openFolder()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]"><<openFolder</td>
|
||||
<td> </td><td> </td><td> </td> <td>main@1800659519</td> <td></td> </tr>
|
||||
</table>
|
||||
|
|
|
@ -1,2 +1,17 @@
|
|||
<h2>Methods that were not run</h2><table>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.addPreconditionTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.addStepTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.markTextTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.markTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.fieldBackgroundTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.markFieldTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.addRankTest_NotData</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.rowBackgroundTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.endTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.addExceptTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.addContentTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.setPresupposeFieldTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.setReplactWordTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.setRankTest</td></tr>
|
||||
<tr><td>pres.auxiliary.work.testcase.WriteTestCaseTest.markStepAndExceptTest</td></tr>
|
||||
</table>
|
|
@ -1,10 +1,14 @@
|
|||
<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
|
||||
<table border="1">
|
||||
<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/02 19:49:26</td> <td>0</td> <td> </td><td> </td><td title=">>WriteTestCaseTest_WriteCase.createTemplet()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase@48a242ce]">>>createTemplet</td>
|
||||
<td> </td><td> </td><td> </td> <td>main@366590980</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/02 19:49:28</td> <td>1529</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="WriteTestCaseTest_WriteCase.step_01()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase@48a242ce]">step_01</td>
|
||||
<td>main@366590980</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/02 19:49:28</td> <td>1577</td> <td> </td><td> </td><td title="<<WriteTestCaseTest_WriteCase.openFolder()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase@48a242ce]"><<openFolder</td>
|
||||
<td> </td><td> </td><td> </td> <td>main@366590980</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/03 08:04:52</td> <td>0</td> <td> </td><td> </td><td title=">>WriteTestCaseTest.createTemplet()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]">>>createTemplet</td>
|
||||
<td> </td><td> </td><td> </td> <td>main@1800659519</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/03 08:04:53</td> <td>1444</td> <td> </td><td> </td><td> </td><td> </td><td title=">>WriteTestCaseTest.addContent(java.lang.reflect.Method)[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]">>>addContent</td>
|
||||
<td> </td> <td>main@1800659519</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/03 08:04:53</td> <td>1445</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="WriteTestCaseTest.addTitleTest()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]">addTitleTest</td>
|
||||
<td>main@1800659519</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/03 08:04:53</td> <td>1451</td> <td> </td><td> </td><td> </td><td> </td><td title="<<WriteTestCaseTest.endCase()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]"><<endCase</td>
|
||||
<td> </td> <td>main@1800659519</td> <td></td> </tr>
|
||||
<tr bgcolor="f99a65"> <td>20/03/03 08:04:53</td> <td>1462</td> <td> </td><td> </td><td title="<<WriteTestCaseTest.openFolder()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]"><<openFolder</td>
|
||||
<td> </td><td> </td><td> </td> <td>main@1800659519</td> <td></td> </tr>
|
||||
</table>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<html><head><title>testng.xml for Default suite</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?>
<br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<br/><suite name="Default suite" guice-stage="DEVELOPMENT">
<br/> <test name="Default test" verbose="2">
<br/> <classes>
<br/> <class name="pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase"/>
<br/> </classes>
<br/> </test> <!-- Default test -->
<br/></suite> <!-- Default suite -->
<br/></tt></body></html>
|
||||
<html><head><title>testng.xml for Default suite</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?>
<br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<br/><suite name="Default suite" guice-stage="DEVELOPMENT">
<br/> <test name="Default test" verbose="2">
<br/> <classes>
<br/> <class name="pres.auxiliary.work.testcase.WriteTestCaseTest">
<br/> <methods>
<br/> <include name="addTitleTest"/>
<br/> </methods>
<br/> </class> <!-- pres.auxiliary.work.testcase.WriteTestCaseTest -->
<br/> </classes>
<br/> </test> <!-- Default test -->
<br/></suite> <!-- Default suite -->
<br/></tt></body></html>
|
|
@ -13,7 +13,7 @@
|
|||
<td>1 method:<br/>
|
||||
<a target='mainFrame' href='methods.html'>chronological</a><br/>
|
||||
<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>
|
||||
<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>
|
||||
<a target='mainFrame' href='methods-not-run.html'>not run (15)</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a target='mainFrame' href='groups.html'>0 group</a></td>
|
||||
|
|
|
@ -2,24 +2,39 @@
|
|||
<testng-results total="1" passed="1" failed="0" skipped="0">
|
||||
<reporter-output>
|
||||
</reporter-output>
|
||||
<suite started-at="2020-03-02T11:49:26Z" name="Default suite" finished-at="2020-03-02T11:49:29Z" duration-ms="2590">
|
||||
<suite started-at="2020-03-03T00:04:52Z" name="Default suite" finished-at="2020-03-03T00:04:54Z" duration-ms="1930">
|
||||
<groups>
|
||||
</groups>
|
||||
<test started-at="2020-03-02T11:49:26Z" name="Default test" finished-at="2020-03-02T11:49:29Z" duration-ms="2590">
|
||||
<class name="pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase">
|
||||
<test-method is-config="true" signature="createTemplet()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase@48a242ce]" started-at="2020-03-02T19:49:26Z" name="createTemplet" finished-at="2020-03-02T19:49:28Z" duration-ms="1524" status="PASS">
|
||||
<test started-at="2020-03-03T00:04:52Z" name="Default test" finished-at="2020-03-03T00:04:54Z" duration-ms="1930">
|
||||
<class name="pres.auxiliary.work.testcase.WriteTestCaseTest">
|
||||
<test-method is-config="true" signature="createTemplet()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]" started-at="2020-03-03T08:04:52Z" name="createTemplet" finished-at="2020-03-03T08:04:53Z" duration-ms="1442" status="PASS">
|
||||
<reporter-output>
|
||||
</reporter-output>
|
||||
</test-method> <!-- createTemplet -->
|
||||
<test-method signature="step_01()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase@48a242ce]" started-at="2020-03-02T19:49:28Z" name="step_01" finished-at="2020-03-02T19:49:28Z" duration-ms="42" status="PASS">
|
||||
<test-method is-config="true" signature="addContent(java.lang.reflect.Method)[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]" started-at="2020-03-03T08:04:53Z" name="addContent" finished-at="2020-03-03T08:04:53Z" duration-ms="0" status="PASS">
|
||||
<params>
|
||||
<param index="0">
|
||||
<value>
|
||||
<![CDATA[public void pres.auxiliary.work.testcase.WriteTestCaseTest.addTitleTest()]]>
|
||||
</value>
|
||||
</param>
|
||||
</params>
|
||||
<reporter-output>
|
||||
</reporter-output>
|
||||
</test-method> <!-- step_01 -->
|
||||
<test-method is-config="true" signature="openFolder()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase@48a242ce]" started-at="2020-03-02T19:49:28Z" name="openFolder" finished-at="2020-03-02T19:49:29Z" duration-ms="998" status="PASS">
|
||||
</test-method> <!-- addContent -->
|
||||
<test-method signature="addTitleTest()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]" started-at="2020-03-03T08:04:53Z" name="addTitleTest" finished-at="2020-03-03T08:04:53Z" duration-ms="5" status="PASS">
|
||||
<reporter-output>
|
||||
</reporter-output>
|
||||
</test-method> <!-- addTitleTest -->
|
||||
<test-method is-config="true" signature="endCase()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]" started-at="2020-03-03T08:04:53Z" name="endCase" finished-at="2020-03-03T08:04:53Z" duration-ms="11" status="PASS">
|
||||
<reporter-output>
|
||||
</reporter-output>
|
||||
</test-method> <!-- endCase -->
|
||||
<test-method is-config="true" signature="openFolder()[pri:0, instance:pres.auxiliary.work.testcase.WriteTestCaseTest@74294adb]" started-at="2020-03-03T08:04:53Z" name="openFolder" finished-at="2020-03-03T08:04:54Z" duration-ms="453" status="PASS">
|
||||
<reporter-output>
|
||||
</reporter-output>
|
||||
</test-method> <!-- openFolder -->
|
||||
</class> <!-- pres.auxiliary.work.testcase.WriteTestCaseTest_WriteCase -->
|
||||
</class> <!-- pres.auxiliary.work.testcase.WriteTestCaseTest -->
|
||||
</test> <!-- Default test -->
|
||||
</suite> <!-- Default suite -->
|
||||
</testng-results>
|
||||
|
|
Loading…
Reference in New Issue