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 5class TestServer(object): 6 """Base class for any server that needs to be set up for the tests.""" 7 8 def __init__(self, *args, **kwargs): 9 pass 10 11 def SetUp(self): 12 raise NotImplementedError 13 14 def Reset(self): 15 raise NotImplementedError 16 17 def TearDown(self): 18 raise NotImplementedError 19 20