From c2ae6a2cd0ac883ae899246f25ff0163fe4866ad Mon Sep 17 00:00:00 2001 From: William Hesse Date: Thu, 18 Aug 2016 16:24:38 +0200 Subject: [PATCH] Implement missing interface member in mock ModelDB This fixes an analyzer warning BUG= R=kustermann@google.com Review URL: https://codereview.chromium.org//2261453002 . --- CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- test/db/properties_test.dart | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb561f15..70e57675 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.2.0+14 + +* Fix analyzer warning. + ## 0.2.0+13 * Remove crypto dependency and upgrade dart dependency to >=1.13 since diff --git a/pubspec.yaml b/pubspec.yaml index e5a79077..29df7fb3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: gcloud -version: 0.2.0+13 +version: 0.2.0+14 author: Dart Team description: Dart gcloud APIs homepage: https://github.com/dart-lang/gcloud diff --git a/test/db/properties_test.dart b/test/db/properties_test.dart index d0ae074f..eed59e9e 100644 --- a/test/db/properties_test.dart +++ b/test/db/properties_test.dart @@ -238,4 +238,5 @@ class ModelDBMock implements ModelDB { datastore.Entity toDatastoreEntity(Model model) => null; String fieldNameToPropertyName(String kind, String fieldName) => null; String kindName(Type type) => null; + Object toDatastoreValue(String kind, String fieldName, Object value) => null; }