Michael Hansen
e53a35652f
Update to GTest 1.7.0, which has better Clang/libc++ support
9 years ago
Michael Hansen
ce141a7f26
Some fixes for Visual C++
9 years ago
Michael Hansen
043b8b3b95
Add floating point and boolean formatting tests
9 years ago
Michael Hansen
a6cbdc2f13
Add test for recently discovered bug in stack-buffer-constructed plStrings
9 years ago
Michael Hansen
db8d2b8044
Non-decimal int formatters
9 years ago
Michael Hansen
76372424cd
Test plFormat's decimal conversions, and fix several issues with signed
...
decimal formatting (especially with negative values)
9 years ago
Michael Hansen
19150c7e4a
Start adding plFormat tests, and remove assert to match plString
9 years ago
Michael Hansen
e208a00db5
Extend Tokenize, Split and Fill
9 years ago
Michael Hansen
76ec2e93da
Add utility test block, and extend Replace/ToUpper/ToLower
9 years ago
Michael Hansen
e65b53956f
More extensive Left/Right/Substr, and use 'plString' for the test group
9 years ago
Michael Hansen
f626b9ef3d
More trim test cases
9 years ago
Michael Hansen
185066ac52
Add comparison tests
9 years ago
Michael Hansen
d7dec159cf
Also extend FindString, and get rid of unnecessary temporary
9 years ago
Michael Hansen
d5e6abdc5b
Also test conversion length and empty string conversions
9 years ago
Michael Hansen
bde485109c
More extensive FindChar
9 years ago
Michael Hansen
56553c8271
Use U+FFFD on Debug code too, and finish test cases for replacement
9 years ago
Michael Hansen
5e39c31345
Add test for conversion of invalid characters to a replacement
9 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
9 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