mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-07-23 19:51:05 -04:00
refactor: decouple tests
This commit is contained in:
25
tests/LlmChatBackendTest.hpp
Normal file
25
tests/LlmChatBackendTest.hpp
Normal file
@@ -0,0 +1,25 @@
|
||||
// Copyright (C) 2026 Petr Mironychev
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// Additional attribution terms under GPLv3 §7(b) apply — see LICENSE
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
namespace QodeAssist {
|
||||
|
||||
class LlmChatBackendTest final : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
void testTurnLedgerTracksTheActiveTurn();
|
||||
void testTurnLedgerDrainsPermissionsOnTurnEnd();
|
||||
void testLlmBackendStreamsThroughAFakeClient();
|
||||
void testRenderHistoryKeepsToolExchangePairs();
|
||||
void testLlmBackendIgnoresEventsFromOtherRequests();
|
||||
void testLlmBackendPermissionRoundTrip();
|
||||
void testLlmBackendDrainsPermissionsWhenTheTurnEnds();
|
||||
};
|
||||
|
||||
} // namespace QodeAssist
|
||||
Reference in New Issue
Block a user