20 lines
435 B
Python
20 lines
435 B
Python
# Copyright 2014 The Chromium Authors
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
|
|
class TestServer:
|
|
"""Base class for any server that needs to be set up for the tests."""
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
pass
|
|
|
|
def SetUp(self):
|
|
raise NotImplementedError
|
|
|
|
def Reset(self):
|
|
raise NotImplementedError
|
|
|
|
def TearDown(self):
|
|
raise NotImplementedError
|