Skip to content
Permalink
Browse files

add more STIG CKL debugging

  • Loading branch information
squinky86 committed Feb 10, 2020
1 parent 8fa9bca commit 56c66a305653a60e35d50bfc3b46dc1ac3ea6bea
Showing with 5 additions and 1 deletion.
  1. +4 −1 src/stigqter.cpp
  2. +1 −0 src/workercklimport.cpp
@@ -191,7 +191,7 @@ void STIGQter::RunTests()
}

// remap unmapped to CM-6
std::cout << "\tTest " << step++ << ": Import eMASS Results" << std::endl;
std::cout << "\tTest " << step++ << ": Remapping Unmapped to CM-6" << std::endl;
MapUnmapped(true);
while (!isProcessingEnabled())
{
@@ -247,7 +247,9 @@ void STIGQter::RunTests()
// reopen assets
{
ui->lstAssets->selectAll();
QApplication::processEvents();
OpenCKL();
QApplication::processEvents();
}

for (int j = 1; j < ui->tabDB->count(); j++)
@@ -260,6 +262,7 @@ void STIGQter::RunTests()
//run AssetView tests
std::cout << "\tTest " << step++ << ": Running Asset Tests" << std::endl;
tmpAssetView->RunTests(); //will delete asset
QApplication::processEvents();
}
}

@@ -82,6 +82,7 @@ void WorkerCKLImport::ParseCKL(const QString &fileName)
a = CheckAsset(a);
if (a.GetSTIGs().contains(tmpSTIG))
{
Q_EMIT updateStatus("Unable to add " + PrintSTIG(tmpSTIG) + " to " + PrintAsset(a) + "!");
QMessageBox::warning(nullptr, QStringLiteral("Asset already has STIG applied!"), "The asset " + PrintAsset(a) + " already has the STIG " + PrintSTIG(tmpSTIG) + " applied and will not be imported.");
}
else

0 comments on commit 56c66a3

Please sign in to comment.
You can’t perform that action at this time.