OpenCoD2-Plus
Call of Duty 2 client & server, rebuilt
Loading...
Searching...
No Matches
hostile_server_test.Case Class Reference

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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 )

Member Data Documentation

◆ absent

hostile_server_test.Case.absent

◆ after

hostile_server_test.Case.after

◆ args

hostile_server_test.Case.args

◆ connect_reply

hostile_server_test.Case.connect_reply = connect_reply

◆ expect

hostile_server_test.Case.expect

◆ forbid

hostile_server_test.Case.forbid = after, expect, absent, forbid

◆ hold

hostile_server_test.Case.hold

◆ limit

hostile_server_test.Case.limit = list(args), hold, silent, limit

◆ name

hostile_server_test.Case.name

◆ raw_index

hostile_server_test.Case.raw_index = name, stage, strings or {}, raw_index

◆ silent

hostile_server_test.Case.silent

◆ stage

hostile_server_test.Case.stage

◆ strings

hostile_server_test.Case.strings

The documentation for this class was generated from the following file: