view tests/analyzers/_allowed_dependencies.py @ 10:ab09325f901e

Camera was attached to instance on a different layer, resulting in strange scrolling. Fixed it, and added a check to prevent this happening again (attach-to-other-layer fails and logs a warning).
author jwt@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 06 Jul 2008 17:13:06 +0000
parents 4a0efb7baf70
children 81641655bc38
line wrap: on
line source

# the following dictionary defines the allowed dependencies checked while testing
# format = module -> allowed dependencies from this module
ALLOWED_MODULE_DEPS = {
	'controller': ('model', 'eventchannel', 'gui', 'video', 'loaders', 'view', 'audio', 'util', 'vfs', 'pathfinder'),
	'model': ('util', 'eventchannel'),
	'eventchannel': ('util',),
	'gui': ('eventchannel', 'util', 'video', 'vfs'),
	'video': ('util',),
	'loaders': ('audio', 'video', 'vfs', 'xml', 'util', 'view', 'model'),
	'view': ('model', 'video', 'util', 'audio', 'eventchannel'),
	'audio': ('util', 'vfs'),
	'util': ['engine'],
	'vfs': ('util',),
	'xml': ('vfs', 'util'),
	'pathfinder': ('util', 'model'),
}