NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include "discrepancy_core.hpp"
#include "utils.hpp"
#include <algorithm>
#include <sstream>
#include <objmgr/object_manager.hpp>
#include <objmgr/seqdesc_ci.hpp>
#include <objmgr/util/sequence.hpp>
#include <serial/objcopy.hpp>
#include <util/compress/stream_util.hpp>
#include <util/format_guess.hpp>
#include <valarray>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | CCaseRegistry |
Macros | |
#define | REGISTER_DISCREPANCY_TYPE(type) |
Functions | |
USING_SCOPE (objects) | |
static CCaseRegistry::TAliasMap | xPopulateAliases () |
std::ostream & | operator<< (std::ostream &str, NDiscrepancy::eTestNames name) |
eTestNames | GetDiscrepancyCaseName (string_view name) |
string_view | GetDiscrepancyCaseName (eTestNames name) |
vector< string_view > | GetDiscrepancyAliases (eTestNames name) |
string_view | GetDiscrepancyDescr (string_view name) |
string_view | GetDiscrepancyDescr (eTestNames name) |
TGroup | GetDiscrepancyGroup (eTestNames name) |
TGroup | GetDiscrepancyGroup (string_view name) |
vector< string > | GetDiscrepancyNames (TGroup group) |
TTestNamesSet | GetDiscrepancyTests (TGroup group) |
Variables | |
static constexpr CCaseRegistry::TArray | g_test_registry = CCaseRegistry::PopulateTests() |
#define REGISTER_DISCREPANCY_TYPE | ( | type | ) |
vector<string_view> GetDiscrepancyAliases | ( | eTestNames | name | ) |
Definition at line 155 of file discrepancy_core.cpp.
References CDiscrepancyCaseProps::Aliases, and CCaseRegistry::GetProps().
Referenced by CDiscRepArgDescriptions::PrintUsage().
string_view GetDiscrepancyCaseName | ( | eTestNames | name | ) |
Definition at line 150 of file discrepancy_core.cpp.
References CCaseRegistry::GetProps(), and CDiscrepancyCaseProps::sName.
eTestNames GetDiscrepancyCaseName | ( | string_view | name | ) |
Definition at line 131 of file discrepancy_core.cpp.
References map_checker< Container >::find(), g_test_registry, CCaseRegistry::GetAliasMap(), i, CDiscrepancyCaseProps::sName, and NStr::StartsWith().
Referenced by CDiscrepancyContext::AddTest(), AutofixCommandHugeMode(), BOOST_AUTO_TEST_CASE(), CDiscrepancyGroup::CDiscrepancyGroup(), CReportItemFactory::Create(), CReportItem::CreateReportItem(), GetDiscrepancyDescr(), GetDiscrepancyGroup(), GetDiscrepancyNames(), CDiscrepancyDlg::LoadSettings(), CDiscrepancyConf::OnOk(), operator<<(), CDiscRepArgDescriptions::PrintUsage(), CDiscRepApp::Run(), CDiscrepancyConf::UpdateList(), CDiscrepancyList::UpdateList(), and CDiscrepancyAutofixTreeItemData::x_AddParamPanel().
string_view GetDiscrepancyDescr | ( | eTestNames | name | ) |
Definition at line 175 of file discrepancy_core.cpp.
References CDiscrepancyCaseProps::Descr, and CCaseRegistry::GetProps().
Referenced by BOOST_AUTO_TEST_CASE(), and CDiscrepancyList::UpdateList().
string_view GetDiscrepancyDescr | ( | string_view | name | ) |
Definition at line 170 of file discrepancy_core.cpp.
References GetDiscrepancyCaseName().
TGroup GetDiscrepancyGroup | ( | eTestNames | name | ) |
Definition at line 180 of file discrepancy_core.cpp.
References CCaseRegistry::GetProps(), and CDiscrepancyCaseProps::Group.
Referenced by GetDiscrepancyGroup(), and CDiscrepancyPanel::UpdateTestList().
TGroup GetDiscrepancyGroup | ( | string_view | name | ) |
Definition at line 185 of file discrepancy_core.cpp.
References GetDiscrepancyCaseName(), and GetDiscrepancyGroup().
Definition at line 190 of file discrepancy_core.cpp.
References GetDiscrepancyCaseName(), GetDiscrepancyTests(), names, string, and tests.
Referenced by BOOST_AUTO_TEST_CASE().
TTestNamesSet GetDiscrepancyTests | ( | TGroup | group | ) |
Definition at line 201 of file discrepancy_core.cpp.
References eAutofix, g_test_registry, CCaseRegistry::GetAutofixTests(), and names.
Referenced by BOOST_AUTO_TEST_CASE(), GetDiscrepancyNames(), CDiscRepArgDescriptions::PrintUsage(), CDiscRepApp::Run(), CDiscrepancyConf::UpdateList(), CDiscrepancyList::UpdateList(), CDiscrepancyPanel::UpdateTestList(), CDiscrepancyAutofixTreeItemData::x_AddParamPanel(), and CTable2AsnValidator::x_PopulateDiscrepancy().
std::ostream& operator<< | ( | std::ostream & | str, |
NDiscrepancy::eTestNames | name | ||
) |
Definition at line 125 of file discrepancy_core.cpp.
References GetDiscrepancyCaseName(), and str().
USING_SCOPE | ( | objects | ) |
|
static |
Definition at line 93 of file discrepancy_core.cpp.
References g_test_registry, and i.
Referenced by CCaseRegistry::GetAliasMap().
|
staticconstexpr |
Definition at line 91 of file discrepancy_core.cpp.
Referenced by GetDiscrepancyCaseName(), GetDiscrepancyTests(), CCaseRegistry::GetProps(), and xPopulateAliases().