parent
a5825c22f4
commit
ac10b7f1ab
|
@ -104,7 +104,7 @@ public class TestCaseDebug{
|
|||
String key = null;
|
||||
while(keys.hasNext()){
|
||||
key = (String)keys.next();
|
||||
if(uservariable.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable = key;
|
||||
break;
|
||||
|
@ -115,7 +115,7 @@ public class TestCaseDebug{
|
|||
while(keys.hasNext()){
|
||||
keyexistidentity = 0;
|
||||
key = (String)keys.next();
|
||||
if(uservariable1.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable1 = key;
|
||||
break;
|
||||
|
@ -127,7 +127,7 @@ public class TestCaseDebug{
|
|||
while(keys.hasNext()){
|
||||
keyexistidentity = 0;
|
||||
key = (String)keys.next();
|
||||
if(uservariable2.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable2 = key;
|
||||
break;
|
||||
|
|
|
@ -100,7 +100,7 @@ public class TestCaseExecution {
|
|||
String key = null;
|
||||
while (keys.hasNext()) {
|
||||
key = (String) keys.next();
|
||||
if (uservariable.equals(key)) {
|
||||
if (uservariable.indexOf(key)>-1) {
|
||||
keyexistidentity = 1;
|
||||
uservariable = key;
|
||||
break;
|
||||
|
@ -111,7 +111,7 @@ public class TestCaseExecution {
|
|||
while (keys.hasNext()) {
|
||||
keyexistidentity = 0;
|
||||
key = (String) keys.next();
|
||||
if (uservariable1.equals(key)) {
|
||||
if (uservariable.indexOf(key)>-1) {
|
||||
keyexistidentity = 1;
|
||||
uservariable1 = key;
|
||||
break;
|
||||
|
@ -123,7 +123,7 @@ public class TestCaseExecution {
|
|||
while (keys.hasNext()) {
|
||||
keyexistidentity = 0;
|
||||
key = (String) keys.next();
|
||||
if (uservariable2.equals(key)) {
|
||||
if (uservariable.indexOf(key)>-1) {
|
||||
keyexistidentity = 1;
|
||||
uservariable2 = key;
|
||||
break;
|
||||
|
|
|
@ -114,7 +114,7 @@ public class ThreadForExecuteCase extends Thread{
|
|||
String key = null;
|
||||
while(keys.hasNext()){
|
||||
key = (String)keys.next();
|
||||
if(uservariable.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){ //去判断是否字符串里面包含变量键值
|
||||
keyexistidentity = 1;
|
||||
uservariable = key;
|
||||
break;
|
||||
|
@ -125,7 +125,7 @@ public class ThreadForExecuteCase extends Thread{
|
|||
while(keys.hasNext()){
|
||||
keyexistidentity = 0;
|
||||
key = (String)keys.next();
|
||||
if(uservariable1.equals(key)){
|
||||
if(uservariable1.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable1 = key;
|
||||
break;
|
||||
|
@ -137,7 +137,7 @@ public class ThreadForExecuteCase extends Thread{
|
|||
while(keys.hasNext()){
|
||||
keyexistidentity = 0;
|
||||
key = (String)keys.next();
|
||||
if(uservariable2.equals(key)){
|
||||
if(uservariable2.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable2 = key;
|
||||
break;
|
||||
|
|
|
@ -99,7 +99,7 @@ public class TestLinkCaseDebug{
|
|||
String key = null;
|
||||
while(keys.hasNext()){
|
||||
key = (String)keys.next();
|
||||
if(uservariable.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable = key;
|
||||
break;
|
||||
|
@ -110,7 +110,7 @@ public class TestLinkCaseDebug{
|
|||
while(keys.hasNext()){
|
||||
keyexistidentity = 0;
|
||||
key = (String)keys.next();
|
||||
if(uservariable1.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable1 = key;
|
||||
break;
|
||||
|
@ -122,7 +122,7 @@ public class TestLinkCaseDebug{
|
|||
while(keys.hasNext()){
|
||||
keyexistidentity = 0;
|
||||
key = (String)keys.next();
|
||||
if(uservariable2.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable2 = key;
|
||||
break;
|
||||
|
|
|
@ -94,7 +94,7 @@ public class TestLinkCaseExecution{
|
|||
String key = null;
|
||||
while(keys.hasNext()){
|
||||
key = (String)keys.next();
|
||||
if(uservariable.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable = key;
|
||||
break;
|
||||
|
@ -105,7 +105,7 @@ public class TestLinkCaseExecution{
|
|||
while(keys.hasNext()){
|
||||
keyexistidentity = 0;
|
||||
key = (String)keys.next();
|
||||
if(uservariable1.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable1 = key;
|
||||
break;
|
||||
|
@ -117,7 +117,7 @@ public class TestLinkCaseExecution{
|
|||
while(keys.hasNext()){
|
||||
keyexistidentity = 0;
|
||||
key = (String)keys.next();
|
||||
if(uservariable2.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable2 = key;
|
||||
break;
|
||||
|
|
|
@ -112,7 +112,7 @@ public class ThreadForTestLinkExecuteCase extends Thread{
|
|||
String key = null;
|
||||
while(keys.hasNext()){
|
||||
key = (String)keys.next();
|
||||
if(uservariable.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable = key;
|
||||
break;
|
||||
|
@ -123,7 +123,7 @@ public class ThreadForTestLinkExecuteCase extends Thread{
|
|||
while(keys.hasNext()){
|
||||
keyexistidentity = 0;
|
||||
key = (String)keys.next();
|
||||
if(uservariable1.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable1 = key;
|
||||
break;
|
||||
|
@ -135,7 +135,7 @@ public class ThreadForTestLinkExecuteCase extends Thread{
|
|||
while(keys.hasNext()){
|
||||
keyexistidentity = 0;
|
||||
key = (String)keys.next();
|
||||
if(uservariable2.equals(key)){
|
||||
if(uservariable.indexOf(key)>-1){
|
||||
keyexistidentity = 1;
|
||||
uservariable2 = key;
|
||||
break;
|
||||
|
|
|
@ -109,7 +109,7 @@ public class WebTestControl{
|
|||
luckyclient.publicclass.LogUtil.APP.info("当前用例:【" + testcase.getFullExternalId() + "】执行完成......进入下一条");
|
||||
}
|
||||
tastcount = LogOperation.UpdateTastdetail(taskid, testCases.length);
|
||||
}else if(task.getTestJob().getProjecttype()==1){
|
||||
}else if(task.getTestJob().getProjecttype()==0){
|
||||
List<ProjectCase> cases=GetServerAPI.getCasesbyplanid(task.getTestJob().getPlanid());
|
||||
luckyclient.publicclass.LogUtil.APP.info("当前计划中读取到用例共 " + cases.size() + " 个");
|
||||
LogOperation.UpdateTastStatus(taskid,cases.size());
|
||||
|
|
Loading…
Reference in New Issue