aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber/unit-tests/propertyhandle/testpropertyhandle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcontextsubscriber/unit-tests/propertyhandle/testpropertyhandle.cpp')
-rw-r--r--libcontextsubscriber/unit-tests/propertyhandle/testpropertyhandle.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcontextsubscriber/unit-tests/propertyhandle/testpropertyhandle.cpp b/libcontextsubscriber/unit-tests/propertyhandle/testpropertyhandle.cpp
index 3a9c885d..44f33264 100644
--- a/libcontextsubscriber/unit-tests/propertyhandle/testpropertyhandle.cpp
+++ b/libcontextsubscriber/unit-tests/propertyhandle/testpropertyhandle.cpp
@@ -147,6 +147,11 @@ void Provider::unsubscribe(const QString& key)
unsubscribeProviderNames << myName;
}
+void Provider::clearValues()
+{
+ cachedValue = TimedValue(QVariant());
+}
+
void Provider::setValue(const QString &key, const QVariant &value)
{
cachedValue = TimedValue(value);