From d7fa8fa095f9461c0ba67286c5c73b365f3a50aa Mon Sep 17 00:00:00 2001 From: David Steele Date: Tue, 6 Jun 2017 19:15:13 +0100 Subject: [PATCH 1/1] Harmonizing test harness files Change-Id: I09b8da023a7b8584a0396adfba6a91528eee72a5 Signed-off-by: David Steele --- .../src/dali-adaptor/dali-test-suite-utils/test-compare-types.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-compare-types.h b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-compare-types.h index 248276e..dd6ba24 100644 --- a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-compare-types.h +++ b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-compare-types.h @@ -173,9 +173,16 @@ inline bool CompareType(Property::Value q1, Property::Value q2, result = CompareType(a, b, epsilon); break; } + case Property::STRING: + { + std::string a, b; + q1.Get(a); + q2.Get(b); + result = (a.compare(b) == 0); + break; + } case Property::MATRIX: case Property::MATRIX3: - case Property::STRING: case Property::ARRAY: case Property::MAP: { -- 2.7.4