Mercurial > hg > svcore
changeset 1479:ba27edcd6102 plugin-path-config
Smaller test!
| author | Chris Cannam | 
|---|---|
| date | Thu, 07 Jun 2018 16:49:09 +0100 | 
| parents | 8ff5505ad28d | 
| children | 5ac102155409 | 
| files | system/test/TestEnv.h | 
| diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] | 
line wrap: on
 line diff
--- a/system/test/TestEnv.h Thu Jun 07 16:40:28 2018 +0100 +++ b/system/test/TestEnv.h Thu Jun 07 16:49:09 2018 +0100 @@ -49,6 +49,17 @@ QVERIFY(value != ""); } + void roundTripShort() + { + bool rv = false; + rv = putEnvUtf8("XYZABC", "woo"); + QCOMPARE(rv, true); + string value; + rv = getEnvUtf8("XYZABC", value); + QCOMPARE(rv, true); + QCOMPARE(value, "woo"); + } + void roundTripAsciiAscii() { bool rv = false;
