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