yyagl.tests package

Submodules

yyagl.tests.test_computer_proxy module

class yyagl.tests.test_computer_proxy.ComputerProxyTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_compute_once()[source]
test_compute_once_a_frame()[source]
test_init()[source]
class yyagl.tests.test_computer_proxy.ExampleProxy[source]

Bases: yyagl.gameobject.GameObject, yyagl.computer_proxy.ComputerProxy

inc_cnt()[source]
inc_cnt_frame()[source]
reset()[source]

yyagl.tests.test_dictfile module

class yyagl.tests.test_dictfile.DictFileTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_deepupdate()[source]
test_init()[source]
test_operations()[source]
test_store()[source]

yyagl.tests.test_engine module

class yyagl.tests.test_engine.ConfigurationTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]
class yyagl.tests.test_engine.EngineTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]

yyagl.tests.test_game module

class yyagl.tests.test_game.GameInstance[source]

Bases: yyagl.game.Game

destroy()[source]
class yyagl.tests.test_game.GameTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]
class yyagl.tests.test_game.LogicTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]

yyagl.tests.test_gameobject module

class yyagl.tests.test_gameobject.AiTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]
class yyagl.tests.test_gameobject.AudioTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]
class yyagl.tests.test_gameobject.ColleagueTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]
class yyagl.tests.test_gameobject.EventTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]
class yyagl.tests.test_gameobject.FsmTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]
class yyagl.tests.test_gameobject.GameObjectInstance[source]

Bases: yyagl.gameobject.GameObject

destroy()[source]
class yyagl.tests.test_gameobject.GameObjectTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init(mock_fsm_destroy, mock_event_destroy, mock_ai_destroy, mock_phys_destroy, mock_audio_destroy, mock_logic_destroy, mock_gui_destroy, mock_gfx_destroy)[source]
class yyagl.tests.test_gameobject.GfxTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]
class yyagl.tests.test_gameobject.GuiTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]
class yyagl.tests.test_gameobject.LogicTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]
class yyagl.tests.test_gameobject.PhysicsTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_init()[source]

yyagl.tests.test_observer module

class yyagl.tests.test_observer.Observed[source]

Bases: yyagl.observer.Subject

class yyagl.tests.test_observer.Observer(observed)[source]

Bases: object

cb()[source]
class yyagl.tests.test_observer.ObserverTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_all()[source]

Module contents