Back to index

plone3  3.1.7
zopeconfig.py
Go to the documentation of this file.
00001 
00002 from kss.demo.interfaces import (
00003     IKSSDemoResource,
00004     IKSSSeleniumTestResource,
00005     )
00006 from kss.demo.resource import (
00007     KSSDemo,
00008     KSSSeleniumTestDirectory,
00009     )
00010 from zope.interface import implements
00011      
00012 # Create a mesh of provided interfaces
00013 # This is needed, because an utility must have a single interface.
00014 class IResource(IKSSDemoResource, IKSSSeleniumTestResource):
00015     pass
00016 
00017 class KSSCoreSyntaxDemos(object):
00018     implements(IResource)
00019 
00020     demos = (
00021         KSSDemo('', 'Core syntax', "kss_selector_param.html", "Kss selector parameters"),
00022         KSSDemo('', 'Core syntax', "kss_url_param.html", "Kss url parameters"),
00023         KSSDemo('', 'Core syntax', "kss_selector_param_multiprop.html", "Kss selector parameters, with multiproperties"),
00024         KSSDemo('', 'Core syntax', "kss_url_param_multiprop.html", "Kss url parameters, with multiproperties"),
00025         KSSDemo('', 'Core syntax', "kss_client_action_alias.html", "Client action aliases"),
00026         )
00027 
00028     # directories are relative from the location of this .py file
00029     selenium_tests = (
00030         KSSSeleniumTestDirectory('selenium_tests'),
00031         )