Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 class TestServer(object): | |
| 6 """Base class for any server that needs to be set up for the tests. | |
| 7 """ | |
|
klundberg
2014/11/11 19:24:57
nit: does this fit on the previous line?
jbudorick
2014/11/11 23:19:21
Yes. Fixed.
| |
| 8 | |
| 9 def __init__(self, *args, **kwargs): | |
| 10 pass | |
| 11 | |
| 12 def SetUp(self): | |
| 13 raise NotImplementedError | |
| 14 | |
| 15 def Reset(self): | |
| 16 raise NotImplementedError | |
| 17 | |
| 18 def TearDown(self): | |
| 19 raise NotImplementedError | |
| 20 | |
| OLD | NEW |