Michael Hansen
5e39c31345
Add test for conversion of invalid characters to a replacement
10 years ago
Michael Hansen
d8e6d79fbd
More fully test encoding conversions. Also fixes some existing bugs:
...
- UTF-16 surrogate pairs were getting encoded incorrectly
- Signed shift converting from ISO-8859-1 got too many bits
- Edge case incorrect for converting to ISO-8859-1
10 years ago
Darryl Pogue
6ba5822117
Move plCmdParser to CoreLib.
10 years ago
Darryl Pogue
2e42d76ff2
Added plCmdParser class.
10 years ago
Michael Hansen
d42650a32f
Disable pfPythonTest on non-Windows until it can be built and linked
...
without the Windows-specific pieces.
10 years ago
Anne Marije v/d Meer
eeec4bac56
- Fixed spaces in plstring docs
...
- Moved the CRT flag
- removed format tests as plString::format is deprecated.
10 years ago
Anne Marije v/d Meer
bc3f64274c
- CMakeLists.txt : Fix mess caused by rebase/merge
...
- pfPythonTest/CMakeLists.txt: changed python linking like Mystler suggested (at least I hope I understood it right)
- test_plString.cpp : added actual test, removed tab somewhere
10 years ago
Anne Marije v/d Meer
098df8b41e
Changed to use arrsize
...
Added extra test in ToUTF16
10 years ago
Darryl Pogue
985c05d4af
Uncomment some plString tests to see if they work.
...
They do work in gcc on Linux.
10 years ago
Darryl Pogue
0f08019616
Some minor whitespace cleanup.
10 years ago
Darryl Pogue
dd1de875c5
Remove hack not needed for VS2013.
10 years ago
Darryl Pogue
518901f6df
Fix pfPython tests on Windows.
...
target_link_library all the things :(
10 years ago
Darryl Pogue
e2887eb075
make check working, 1 test app per library
10 years ago
Darryl Pogue
d6cb56fd9c
Move @cwalther's tests into new dir scheme.
10 years ago
Darryl Pogue
7b60621171
Get CTest working and add pnEncryption tests.
...
This will allow you to run all the tests with `make test` or `ctest`.
10 years ago
Anne Marije v/d Meer
19297f1944
Make building the tests optional.
...
Make gtest build with shared crt by defaul. It would be better to do this in one of our own CMakeLists instead of google's but I couldn't figure out how.
10 years ago
Anne Marije v/d Meer
7bde88a635
Cleanup of unused code and fix of unit test to reflect that accented chars are counted as two.
10 years ago
Anne Marije v/d Meer
ed0c021803
Added gtest.
...
Added Unittest.
Small fix documentation plString.
10 years ago
Anne Marije van der Meer
85b97435cc
Making tests run on Linux and removing unicode on unsupported places
10 years ago