OLD | NEW |
(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 |
OLD | NEW |