You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
784 B
21 lines
784 B
# Copyright 2015 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
class Entity(object):
|
|
"""
|
|
A common base class for sequences / assertions.
|
|
|
|
This class serves as a common base class for all entities in the test. This
|
|
allows us to filter out objects that are part of the tests easily. All
|
|
tests, sequences and assertions should inherit from this class. They will
|
|
likely do so by defining their own base class that inherits from this.
|
|
|
|
"""
|
|
def __init__(self, device_context):
|
|
"""
|
|
@param device_context: An object that wraps information about the device
|
|
under test.
|
|
"""
|
|
self.device_context = device_context
|