Fusion de feature/forecast-protocol-1.1-t2 (0fdbede). Conflit résolu dans etm/etm.pri : optimizerprotocol.* (T1) et optimizerclient.* (T2) sont tous deux listés. Cible de test renommée etm-powersync-optimizerclient (règle de nommage du 2026-10-16). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
752 B
Prolog
22 lines
752 B
Prolog
QT += testlib network
|
|
QT -= gui
|
|
|
|
CONFIG += testcase c++17 link_pkgconfig
|
|
PKGCONFIG += nymea
|
|
|
|
TARGET = etm-powersync-optimizerclient
|
|
|
|
# Cible VOLONTAIREMENT légère, comme loadmodel : aucun serveur nymea, aucun EnergyTestBase, et
|
|
# du moteur le seul client de transport (brief 4 T2). Les faux optimiseurs sont des
|
|
# QLocalServer/QTcpServer du processus de test, et le temps est SIMULÉ : aucun des délais
|
|
# (5 s, 10 s, backoff 1 → 60 s) ne s'écoule réellement.
|
|
|
|
INCLUDEPATH += $$PWD/../../../energyplugin
|
|
|
|
HEADERS += $$PWD/../../../energyplugin/etm/scheduler/optimizerclient.h
|
|
SOURCES += $$PWD/../../../energyplugin/etm/scheduler/optimizerclient.cpp \
|
|
testoptimizerclient.cpp
|
|
|
|
target.path = $$[QT_INSTALL_PREFIX]/bin
|
|
INSTALLS += target
|