forked from loafle/openapi-generator-original
24 lines
519 B
C++
24 lines
519 B
C++
#pragma once
|
|
|
|
#include "../client/PFXUserApi.h"
|
|
|
|
using namespace test_namespace;
|
|
|
|
class UserApiTests: public QObject {
|
|
Q_OBJECT
|
|
|
|
PFXUser createRandomUser();
|
|
|
|
private slots:
|
|
void createUserTest();
|
|
void createUsersWithArrayInputTest();
|
|
void createUsersWithListInputTest();
|
|
void deleteUserTest();
|
|
void getUserByNameTest();
|
|
void loginUserTest();
|
|
void logoutUserTest();
|
|
void updateUserTest();
|
|
private:
|
|
const QString PetStoreHost = QStringLiteral("http://petstore.swagger.io");
|
|
};
|