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

Side by Side Diff: recipe_modules/tryserver/example.py

Issue 2439373002: bot_update: understand new Gerrit patch properties. (Closed)
Patch Set: lint Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 DEPS = [ 5 DEPS = [
6 'recipe_engine/json', 6 'recipe_engine/json',
7 'recipe_engine/raw_io', 7 'recipe_engine/raw_io',
8 'recipe_engine/path', 8 'recipe_engine/path',
9 'recipe_engine/platform', 9 'recipe_engine/platform',
10 'recipe_engine/properties', 10 'recipe_engine/properties',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 yield (api.test('with_rietveld_patch') + 58 yield (api.test('with_rietveld_patch') +
59 api.properties.tryserver() + 59 api.properties.tryserver() +
60 description_step) 60 description_step)
61 61
62 yield (api.test('with_wrong_patch') + api.platform('win', 32)) 62 yield (api.test('with_wrong_patch') + api.platform('win', 32))
63 63
64 yield (api.test('with_rietveld_patch_new') + 64 yield (api.test('with_rietveld_patch_new') +
65 api.properties.tryserver(test_patch_root='sub/project') + 65 api.properties.tryserver(test_patch_root='sub/project') +
66 description_step) 66 description_step)
67 67
68 yield (api.test('with_gerrit_patch_deprecated') +
69 api.properties.tryserver_gerrit(
70 full_project_name='infra/infra'))
71
72 yield (api.test('with_gerrit_patch') +
73 api.properties.tryserver(gerrit_project='infra/infra'))
74
68 yield (api.test('with_wrong_patch_new') + api.platform('win', 32) + 75 yield (api.test('with_wrong_patch_new') + api.platform('win', 32) +
69 api.properties(test_patch_root='sub\\project')) 76 api.properties(test_patch_root='sub\\project'))
70 77
71 yield (api.test('basic_tags') + 78 yield (api.test('basic_tags') +
72 api.properties( 79 api.properties(
73 patch_text='hihihi\nfoo:bar\nbam:baz', 80 patch_text='hihihi\nfoo:bar\nbam:baz',
74 footer='foo' 81 footer='foo'
75 ) + 82 ) +
76 api.step_data( 83 api.step_data(
77 'parse description', 84 'parse description',
78 api.json.output({'Foo': ['bar']})) + 85 api.json.output({'Foo': ['bar']})) +
79 api.step_data( 86 api.step_data(
80 'parse description (2)', 87 'parse description (2)',
81 api.json.output({'Foo': ['bar']})) 88 api.json.output({'Foo': ['bar']}))
82 ) 89 )
OLDNEW
« no previous file with comments | « recipe_modules/tryserver/api.py ('k') | recipe_modules/tryserver/example.expected/with_gerrit_patch.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698