NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <corelib/test_boost.hpp>
#include <objects/general/Name_std.hpp>
#include <objtools/edit/publication_edit.hpp>
#include <common/test_assert.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
USING_SCOPE (objects) | |
USING_SCOPE (edit) | |
NCBITEST_AUTO_INIT () | |
NCBITEST_AUTO_FINI () | |
BOOST_AUTO_TEST_CASE (Test_GetFirstInitial) | |
BOOST_AUTO_TEST_CASE (Test_FixInitials) | |
BOOST_AUTO_TEST_CASE (Test_GenerateInitials) | |
BOOST_AUTO_TEST_CASE (Test_MoveMiddleToFirst) | |
Variables | |
USING_NCBI_SCOPE | |
BOOST_AUTO_TEST_CASE | ( | Test_FixInitials | ) |
Definition at line 90 of file unit_test_pub_edit.cpp.
References FixInitials(), CName_std_Base::GetInitials(), CName_std_Base::SetFirst(), CName_std_Base::SetInitials(), and CName_std_Base::SetLast().
BOOST_AUTO_TEST_CASE | ( | Test_GenerateInitials | ) |
Definition at line 109 of file unit_test_pub_edit.cpp.
References GenerateInitials(), CName_std_Base::GetInitials(), CName_std_Base::IsSetInitials(), CName_std_Base::ResetInitials(), CName_std_Base::SetFirst(), and CName_std_Base::SetLast().
BOOST_AUTO_TEST_CASE | ( | Test_GetFirstInitial | ) |
Definition at line 56 of file unit_test_pub_edit.cpp.
References GetFirstInitial(), and kEmptyStr.
BOOST_AUTO_TEST_CASE | ( | Test_MoveMiddleToFirst | ) |
Definition at line 130 of file unit_test_pub_edit.cpp.
References FixInitials(), CName_std_Base::GetFirst(), CName_std_Base::GetInitials(), MoveMiddleToFirst(), CName_std_Base::SetFirst(), CName_std_Base::SetInitials(), and CName_std_Base::SetLast().
NCBITEST_AUTO_FINI | ( | ) |
Definition at line 51 of file unit_test_pub_edit.cpp.
NCBITEST_AUTO_INIT | ( | ) |
Definition at line 47 of file unit_test_pub_edit.cpp.
USING_SCOPE | ( | edit | ) |
USING_SCOPE | ( | objects | ) |
USING_NCBI_SCOPE |
Definition at line 43 of file unit_test_pub_edit.cpp.