<commit_before>#include "gtest/gtest.h"

#include <stdint.h>
#include "epackettype.h"
#include "crosepacket.h"
#include "cloginserver.h"
#include "ccharisc.h"
#include "mock/login/mock_cloginclient.h"
#include "mock/login/mock_cloginisc.h"
#include "cnetwork_asio.h"
#include "cli_accept_req.h"
#include "cli_login_req.h"
#include "cli_channel_list_req.h"
#include "cli_srv_select_req.h"
#include "cli_alive.h"
#include "connection.h"
#include "config.h"

using namespace RoseCommon;
using namespace RoseCommon::Packet;

TEST(TestLoginServer, TestClientPacketPath) {
  Core::Config& config = Core::Config::getInstance();
  Core::connectionPool.addConnector(Core::osirose, std::bind(
                                    Core::mysqlFactory,
                                    config.database().user,
                                    config.database().password,
                                    config.database().database,
                                    config.database().host,
                                    config.database().port));
CLoginServer network;
std::unique_ptr<CLoginISC> iscServ = std::make_unique<CLoginISC>();<commit_msg>Update test_login.cpp<commit_after>#include "gtest/gtest.h"

#include <stdint.h>
#include "epackettype.h"
#include "crosepacket.h"
#include "cloginserver.h"
#include "ccharisc.h"
#include "mock/login/mock_cloginclient.h"
#include "mock/login/mock_cloginisc.h"
#include "cnetwork_asio.h"
#include "cli_accept_req.h"
#include "cli_login_req.h"
#include "cli_channel_list_req.h"
#include "cli_srv_select_req.h"
#include "cli_alive.h"
#include "connection.h"
#include "config.h"

using namespace RoseCommon;
using namespace RoseCommon::Packet;

TEST(TestLoginServer, TestClientPacketPath) {
  Core::Config& config = Core::Config::getInstance();
  Core::connectionPool.addConnector<Core::Osirose>(std::bind(
                                    Core::mysqlFactory,
                                    config.database().user,
                                    config.database().password,
                                    config.database().database,
                                    config.database().host,
                                    config.database().port));
CLoginServer network;
std::unique_ptr<CLoginISC> iscServ = std::make_unique<CLoginISC>();
{'fraction_non_alphanumeric': 0.12564991334488734, 'fraction_numerical': 0.0, 'mean_word_length': 2.676751592356688, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '942849', 'n_tokens_mistral': 708, 'n_tokens_neox': 697, 'n_words': 111}