forked from qt-creator/qt-creator
McuSupport: settings unit tests
Change-Id: I0fe1b8f9523f952e14a23c7ffa9ef7d3b6ff6ddf Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
committed by
Christiaan Janssen
parent
9697e3407f
commit
a49c029056
@@ -76,6 +76,11 @@ QString McuPackage::label() const
|
||||
return m_label;
|
||||
}
|
||||
|
||||
QString McuPackage::settingsKey() const
|
||||
{
|
||||
return m_settingsKey;
|
||||
}
|
||||
|
||||
const QString &McuPackage::environmentVariableName() const
|
||||
{
|
||||
return m_environmentVariableName;
|
||||
@@ -148,7 +153,6 @@ bool McuPackage::isValidStatus() const
|
||||
return m_status == Status::ValidPackage || m_status == Status::ValidPackageMismatchedVersion;
|
||||
}
|
||||
|
||||
|
||||
void McuPackage::updateStatusUi()
|
||||
{
|
||||
switch (m_status) {
|
||||
@@ -269,7 +273,6 @@ QWidget *McuPackage::widget()
|
||||
return m_widget;
|
||||
}
|
||||
|
||||
|
||||
McuToolChainPackage::McuToolChainPackage(const QString &label,
|
||||
const FilePath &defaultPath,
|
||||
const FilePath &detectionPath,
|
||||
@@ -466,5 +469,4 @@ QVariant McuToolChainPackage::debuggerId() const
|
||||
return DebuggerItemManager::registerDebugger(newDebugger);
|
||||
}
|
||||
|
||||
|
||||
} // namespace McuSupport::Internal
|
||||
|
||||
Reference in New Issue
Block a user