|
OpenCoD2-Plus
Call of Duty 2 client & server, rebuilt
|
Public Member Functions | |
| __init__ (self, name, stage='active', strings=None, raw_index=None, after=None, expect=None, absent=(), forbid=None, args=(), hold=12, silent=False, limit=None, connect_reply=None) | |
Public Attributes | |
| name | |
| stage | |
| strings | |
| raw_index = name, stage, strings or {}, raw_index | |
| after | |
| expect | |
| absent | |
| forbid = after, expect, absent, forbid | |
| args | |
| hold | |
| silent | |
| limit = list(args), hold, silent, limit | |
| connect_reply = connect_reply | |
stage: 'gamestate' sends strings/raw_index in the gamestate and goes no further than `after`; 'active' first brings the client to its first snapshot, then sends `after`. expect: text the log must hold. absent: files that must not exist, relative to the client's main folder's parent. forbid: text the log must not hold. args: the client's. hold: seconds to watch it after that. silent: no more snapshots after that. limit: (text, the most times the log may hold it). connect_reply: the server's answer to connect.
| hostile_server_test.Case.__init__ | ( | self, | |
| name, | |||
| stage = 'active', | |||
| strings = None, | |||
| raw_index = None, | |||
| after = None, | |||
| expect = None, | |||
| absent = (), | |||
| forbid = None, | |||
| args = (), | |||
| hold = 12, | |||
| silent = False, | |||
| limit = None, | |||
| connect_reply = None ) |
| hostile_server_test.Case.absent |
| hostile_server_test.Case.after |
| hostile_server_test.Case.args |
| hostile_server_test.Case.connect_reply = connect_reply |
| hostile_server_test.Case.expect |
| hostile_server_test.Case.hold |
| hostile_server_test.Case.name |
| hostile_server_test.Case.silent |
| hostile_server_test.Case.stage |
| hostile_server_test.Case.strings |