Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions gui/manualtest/projectfiledialog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

# Project file dialog

Some manual testing in the project file dialog interface


## Test: Misra C checkbox

Matrix: Use both open source and premium

1. Load project file in trac ticket 14488
1. Goto "Edit project"
1. Goto "Addons" tab

EXPECTED: The misra c checkbox should be checked

TODO: can this test be automated

2 changes: 1 addition & 1 deletion gui/projectfiledialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,8 @@ void ProjectFileDialog::loadFromProjectFile(const ProjectFile *projectFile)
mUI->mMisraC->setText("Misra C");
else {
mUI->mMisraC->setText("Misra C 2012 " + tr("Note: Open source Cppcheck does not fully implement Misra C 2012"));
updateAddonCheckBox(mUI->mMisraC, projectFile, dataDir, ADDON_MISRA);
}
updateAddonCheckBox(mUI->mMisraC, projectFile, dataDir, ADDON_MISRA);
mUI->mMisraVersion->setEnabled(mUI->mMisraC->isChecked());
connect(mUI->mMisraC, &QCheckBox::toggled, mUI->mMisraVersion, &QComboBox::setEnabled);

Expand Down
Loading