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

Side by Side Diff: grit/format/policy_templates/writers/mock_writer.py

Issue 1442863002: Remove contents of grit's SVN repository. (Closed) Base URL: http://grit-i18n.googlecode.com/svn/trunk/
Patch Set: Created 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6
7 from template_writer import TemplateWriter
8
9
10 class MockWriter(TemplateWriter):
11 '''Helper class for unit tests in policy_template_generator_unittest.py
12 '''
13
14 def __init__(self):
15 pass
16
17 def WritePolicy(self, policy):
18 pass
19
20 def BeginTemplate(self):
21 pass
22
23 def GetTemplateText(self):
24 pass
25
26 def IsPolicySupported(self, policy):
27 return True
28
29 def Test(self):
30 pass
OLDNEW
« no previous file with comments | « grit/format/policy_templates/writers/json_writer_unittest.py ('k') | grit/format/policy_templates/writers/plist_helper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698