| 68 | } |
| 69 | |
| 70 | int main() { |
| 71 | //locale::global(locale(".UTF8")); |
| 72 | //SetConsoleOutputCP(CP_UTF8); |
| 73 | //SetConsoleCP(CP_UTF8); |
| 74 | //wcout.imbue(locale("")); |
| 75 | srand(GetTickCount()); |
| 76 | |
| 77 | wstring rootDir = getAppDataRoaming(L"Tencent", L"微信-MMKV"); |
| 78 | MMKV::initializeMMKV(rootDir); |
| 79 | |
| 80 | auto processID = GetCurrentProcessId(); |
| 81 | cout << processID << ": started\n"; |
| 82 | |
| 83 | for (size_t index = 0; index < keyCount; index++) { |
| 84 | arrIntKeys.push_back("int-" + to_string(index)); |
| 85 | arrStringKeys.push_back("string-" + to_string(index)); |
| 86 | } |
| 87 | brutleTest(processID); |
| 88 | |
| 89 | cout << processID << ": ended\n"; |
| 90 | } |
nothing calls this directly
no test coverage detected