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

Public Member Functions

 __init__ (self, args)
 check (self, name, ok, detail='')
 client (self, name, cfg, game_args=(), test=None, env=None, driver='disk', setup=None, seconds=TIMEOUT)
 menu_music (self)
 local_2d (self)
 left_right (self)
 map_change (self)
 no_device (self)
 snd_khz_22 (self)
 callback_cost (self)

Public Attributes

 args = args
list failures = []
 game = os.path.abspath(args.game_dir)
 binary = os.path.abspath(args.binary or os.path.join(ROOT, DEFAULT_CLIENT[args.protocol]))

Constructor & Destructor Documentation

◆ __init__()

sound_test.Run.__init__ ( self,
args )

Member Function Documentation

◆ callback_cost()

sound_test.Run.callback_cost ( self)

◆ check()

sound_test.Run.check ( self,
name,
ok,
detail = '' )

◆ client()

sound_test.Run.client ( self,
name,
cfg,
game_args = (),
test = None,
env = None,
driver = 'disk',
setup = None,
seconds = TIMEOUT )
Runs a client to its config's quit. Returns (samples, log text).

◆ left_right()

sound_test.Run.left_right ( self)

◆ local_2d()

sound_test.Run.local_2d ( self)

◆ map_change()

sound_test.Run.map_change ( self)

◆ menu_music()

sound_test.Run.menu_music ( self)

◆ no_device()

sound_test.Run.no_device ( self)

◆ snd_khz_22()

sound_test.Run.snd_khz_22 ( self)

Member Data Documentation

◆ args

sound_test.Run.args = args

◆ binary

sound_test.Run.binary = os.path.abspath(args.binary or os.path.join(ROOT, DEFAULT_CLIENT[args.protocol]))

◆ failures

list sound_test.Run.failures = []

◆ game

sound_test.Run.game = os.path.abspath(args.game_dir)

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