Skip to content

Commit

Permalink
enable debug log for some automated tests
Browse files Browse the repository at this point in the history
should help investigate failure for automated tests

Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Jul 11, 2023
1 parent 3681ecb commit fd37c58
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/testpermissions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ class TestPermissions : public QObject
Q_OBJECT

private slots:
void initTestCase()
{
OCC::Logger::instance()->setLogDebug(true);
}

void t7pl()
{
Expand Down
5 changes: 5 additions & 0 deletions test/testsyncengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ class TestSyncEngine : public QObject
Q_OBJECT

private slots:
void initTestCase()
{
OCC::Logger::instance()->setLogDebug(true);
}

void testFileDownload() {
FakeFolder fakeFolder{FileInfo::A12_B12_C12_S12()};
ItemCompletedSpy completeSpy(fakeFolder);
Expand Down

0 comments on commit fd37c58

Please sign in to comment.