changeset 1478:8ff5505ad28d plugin-path-config

Get an expected value
author Chris Cannam
date Thu, 07 Jun 2018 16:40:28 +0100
parents b60cb1637634
children ba27edcd6102
files system/test/TestEnv.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/system/test/TestEnv.h	Thu Jun 07 16:39:58 2018 +0100
+++ b/system/test/TestEnv.h	Thu Jun 07 16:40:28 2018 +0100
@@ -40,6 +40,14 @@
         QCOMPARE(rv, false);
         QCOMPARE(value, "");
     }
+
+    void getExpected()
+    {
+        string value;
+        bool rv = getEnvUtf8("PATH", value);
+        QCOMPARE(rv, true);
+        QVERIFY(value != "");
+    }
     
     void roundTripAsciiAscii()
     {