Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
ResourceRegistries.tests.testJSRegistry.testJSZMIMethods Class Reference
Inheritance diagram for ResourceRegistries.tests.testJSRegistry.testJSZMIMethods:
Inheritance graph
[legend]
Collaboration diagram for ResourceRegistries.tests.testJSRegistry.testJSZMIMethods:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def afterSetUp
def testAdd

Public Attributes

 tool

Detailed Description

Definition at line 52 of file testJSRegistry.py.


Member Function Documentation

Definition at line 54 of file testJSRegistry.py.

00054 
00055     def afterSetUp(self):
00056         self.tool = getattr(self.portal, JSTOOLNAME)
00057         self.tool.clearResources()

Definition at line 58 of file testJSRegistry.py.

00058 
00059     def testAdd(self):
00060         self.tool.manage_addScript(id='joe')
00061         self.assertEqual(len(self.tool.getResources()), 1)
00062         self.failUnless(self.tool.getResources())
00063 


Member Data Documentation

Definition at line 55 of file testJSRegistry.py.


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