Merge pull request #87 from forrestlinfeng/master

fix tar2case bug
This commit is contained in:
ruanshudong 2020-06-10 17:10:06 +08:00 committed by GitHub
commit 84aa9eb90e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -634,7 +634,7 @@ string Tars2Case::generateJson(const InterfacePtr &pPtr, const string& outfile)
p->value["funinput"] = inParam;
p->value["funoutput"] = outParam;
p->value["descinput"] = inDesc;
p->value["descoutput"] = outParam;
p->value["descoutput"] = outDesc;
p->value["rettype"] = JsonOutput::writeJson(toStr(vOperation[i]->getReturnPtr()->getTypePtr()));
p->value["funintpara"] = JsonOutput::writeJson(intCaseParams);
p->value["funintvals"] = JsonOutput::writeJson(intCaseValues);