Index: chrome/test/mini_installer/verifier.py |
diff --git a/chrome/test/mini_installer/verifier.py b/chrome/test/mini_installer/verifier.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b2f1bbde4ec98cce27ac7e55b9176128ca4e7b21 |
--- /dev/null |
+++ b/chrome/test/mini_installer/verifier.py |
@@ -0,0 +1,14 @@ |
+# Copyright 2013 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import registry_verifier |
+ |
+ |
gab
2013/08/01 20:30:41
nit: remove extra empty line
sukolsak
2013/08/02 22:59:55
Done.
|
+def Verify(property): |
+ for verifier_name, value in property.iteritems(): |
+ if verifier_name == "RegistryEntries": |
+ registry_verifier.VerifyRegistryEntries(value) |
+ else: |
+ # TODO(sukolsak): implement other verifiers |
+ raise Exception("Unknown verifier") |
gab
2013/08/01 20:30:41
Add to TODO that this should use unittest framewor
sukolsak
2013/08/02 22:59:55
Done.
|