Update tests to prevent memory leakage (#4164)

Install C and C++ tools in Travis
This commit is contained in:
sunn
2019-10-17 11:48:35 +02:00
committed by GitHub
parent c32fa5d012
commit f901a84743
9 changed files with 122 additions and 147 deletions

View File

@@ -7,7 +7,6 @@ using namespace OpenAPI;
class PetApiTests: public QObject {
Q_OBJECT
OAIPetApi* getApi();
OAIPet createRandomPet();
private slots:
@@ -15,4 +14,6 @@ private slots:
void createAndGetPetTest();
void updatePetTest();
void updatePetWithFormTest();
private:
const QString PetStoreHost = QStringLiteral("http://petstore.swagger.io");
};