<commit_before>#include "../../testing/testing.hpp"

#include "../platform.hpp"
#include "../download_manager.hpp"
#include "../../coding/file_writer.hpp"
#include "../../coding/file_reader.hpp"

#include <QCoreApplication>
#include <boost/bind.hpp>

#include "../../base/start_mem_debug.hpp"

// file on the server contains "Test1"
#define TEST_FILE_URL1 "http://mapswithme.com/unit_tests/1.txt"
#define TEST_FILE_NAME1 "unit_test1.tmp"
// file on the server contains "Test2"
#define TEST_FILE_URL2 "http://mapswithme.com/unit_tests/2.txt"
#define TEST_FILE_NAME2 "unit_test2.tmp"
// file on the server contains "Test3"
#define TEST_FILE_URL3 "http://mapswithme.com/unit_tests/3.txt"
#define TEST_FILE_NAME3 "unit_test3.tmp"

#define TEST_INVALID_URL "http://very_invalid_url.kotorogo.net/okak.test"

#define TEST_ABSENT_FILE_URL "http://mapswithme.com/unit_tests/not_existing_file"
#define TEST_ABSENT_FILE_NAME "not_existing_file"

#define TEST_LOCKED_FILE_URL  "http://mapswithme.com/unit_tests/1.txt"
#define TEST_LOCKED_FILE_NAME "locked_file.tmp"

#define TEST_BIG_FILE_URL "http://mapswithme.com/unit_tests/47kb.file"
<commit_msg>Fix server paths in download_test.<commit_after>#include "../../testing/testing.hpp"

#include "../platform.hpp"
#include "../download_manager.hpp"

#include "../../coding/file_writer.hpp"
#include "../../coding/file_reader.hpp"

#include <QCoreApplication>
#include <boost/bind.hpp>

#include "../../base/start_mem_debug.hpp"

// file on the server contains "Test1"
#define TEST_FILE_URL1 "http://melnichek.ath.cx:34568/unit_tests/1.txt"
#define TEST_FILE_NAME1 "unit_test1.tmp"
// file on the server contains "Test2"
#define TEST_FILE_URL2 "http://melnichek.ath.cx:34568/unit_tests/2.txt"
#define TEST_FILE_NAME2 "unit_test2.tmp"
// file on the server contains "Test3"
#define TEST_FILE_URL3 "http://melnichek.ath.cx:34568/unit_tests/3.txt"
#define TEST_FILE_NAME3 "unit_test3.tmp"

#define TEST_INVALID_URL "http://very_invalid_url.kotorogo.net/okak.test"

#define TEST_ABSENT_FILE_URL "http://melnichek.ath.cx:34568/unit_tests/not_existing_file"
#define TEST_ABSENT_FILE_NAME "not_existing_file"

#define TEST_LOCKED_FILE_URL  "http://melnichek.ath.cx:34568/unit_tests/1.txt"
#define TEST_LOCKED_FILE_NAME "locked_file.tmp"

#define TEST_BIG_FILE_URL "http://melnichek.ath.cx:34568/unit_tests/47kb.file"

{'fraction_non_alphanumeric': 0.149616368286445, 'fraction_numerical': 0.028132992327365727, 'mean_word_length': 5.465564738292011, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7237142', 'n_tokens_mistral': 908, 'n_tokens_neox': 883, 'n_words': 144}