Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(675)

Unified Diff: scripts/slave/recipe_modules/properties/example.py

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/properties/example.py
diff --git a/scripts/slave/recipe_modules/properties/example.py b/scripts/slave/recipe_modules/properties/example.py
deleted file mode 100644
index 736f90b22cd60dbd55eca7ada01462be351d630b..0000000000000000000000000000000000000000
--- a/scripts/slave/recipe_modules/properties/example.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 2014 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.
-
-from infra.libs.infra_types import thaw
-
-DEPS = ['properties', 'step']
-
-def RunSteps(api):
- api.step('echo', ['echo'] + [repr(api.properties.thaw()['test_prop'])])
- api.step('echo all', ['echo'] + [repr(api.properties.thaw())])
-
-def GenTests(api):
- yield api.test('basic') + api.properties(
- test_prop={'key': 'value'})
- yield api.test('lists') + api.properties(
- test_prop={'key': ['value', ['value']]})
- yield api.test('dicts') + api.properties(
- test_prop={'key': {'key': 'value', 'other_key': {'key': 'value'}}})
-

Powered by Google App Engine
This is Rietveld 408576698