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

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

Issue 7994004: Initial source commit to grit-i18n project. (Closed) Base URL: http://grit-i18n.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5
6 from template_writer import TemplateWriter
7
8
9 class MockWriter(TemplateWriter):
10 '''Helper class for unit tests in policy_template_generator_unittest.py
11 '''
12
13 def __init__(self):
14 pass
15
16 def WritePolicy(self, policy):
17 pass
18
19 def BeginTemplate(self):
20 pass
21
22 def GetTemplateText(self):
23 pass
24
25 def IsPolicySupported(self, policy):
26 return True
27
28 def Test(self):
29 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