mirror of
https://gitlab.com/spaceti-app/integrations/common/server-sdk.git
synced 2026-07-12 15:30:36 +02:00
trying to implement valgrind test
This commit is contained in:
parent
f9e65feb5f
commit
c69bf4d2be
@ -30,3 +30,11 @@ test: # name of task
|
|||||||
script: # run in bash
|
script: # run in bash
|
||||||
- cd build
|
- cd build
|
||||||
- make check test
|
- make check test
|
||||||
|
|
||||||
|
valgrind: # name of task
|
||||||
|
stage: test # in what stage it will run ( 1. build then test etc )
|
||||||
|
tags: # Tags are used to choose correct gitlab-runner
|
||||||
|
- hw # spaceti-runner server has running runners and one has tag 'hw'
|
||||||
|
script: # run in bash
|
||||||
|
- cd build
|
||||||
|
- valgrind make check test
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
namespace core {
|
namespace core {
|
||||||
|
|
||||||
void RequestTest::auth_test()
|
void RequestTest::basicAuthorization_test()
|
||||||
{
|
{
|
||||||
QString expected = "Basic VGVzdGVyOlRlc3Q=";
|
QString expected = "Basic VGVzdGVyOlRlc3Q=";
|
||||||
Request req;
|
Request req;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ private:
|
|||||||
// void wont_run(); // no Q_SLOT ( only slots will be runned within tests )
|
// void wont_run(); // no Q_SLOT ( only slots will be runned within tests )
|
||||||
|
|
||||||
|
|
||||||
Q_SLOT void auth_test();
|
Q_SLOT void basicAuthorization_test();
|
||||||
};
|
};
|
||||||
|
|
||||||
} //
|
} //
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user