Back to index

plone3  3.1.7
Public Member Functions
CMFPlone.tests.PloneTestCase.PloneTestCase Class Reference

Inherited by CMFPlone.tests.PloneTestCase.FunctionalTestCase, CMFPlone.tests.testActionIconsTool.TestActionIconsTool, CMFPlone.tests.testActionsTool.TestActionsTool, CMFPlone.tests.testBrowserDefault.TestDefaultPage, CMFPlone.tests.testBrowserDefault.TestPortalBrowserDefault, CMFPlone.tests.testBrowserDefaultScripts.TestBrowserDefaultScripts, CMFPlone.tests.testCalendarView.TestCalendarPortletView, CMFPlone.tests.testCatalogTool.TestCatalogBugs, CMFPlone.tests.testCatalogTool.TestCatalogExpirationFiltering, CMFPlone.tests.testCatalogTool.TestCatalogIndexing, CMFPlone.tests.testCatalogTool.TestCatalogOrdering, CMFPlone.tests.testCatalogTool.TestCatalogSearching, CMFPlone.tests.testCatalogTool.TestCatalogSetup, CMFPlone.tests.testCatalogTool.TestCatalogSorting, CMFPlone.tests.testCatalogTool.TestCatalogUnindexing, CMFPlone.tests.testCatalogTool.TestExtensibleIndexableObjectWrapper, CMFPlone.tests.testCatalogTool.TestFolderCataloging, CMFPlone.tests.testCheckId.TestCheckId, CMFPlone.tests.testCheckId.TestIsIDAutoGenerated, CMFPlone.tests.testCheckId.TestVisibleIdsEnabled, CMFPlone.tests.testContentPublishing.TestContentPublishing, CMFPlone.tests.testContentSecurity.TestContentSecurity, CMFPlone.tests.testContentTypes.TestATContentTypes, CMFPlone.tests.testContentTypes.TestContentTypeInformation, CMFPlone.tests.testContentTypes.TestContentTypes, CMFPlone.tests.testContentTypeScripts.TestBadFileIds, CMFPlone.tests.testContentTypeScripts.TestContentTypeScripts, CMFPlone.tests.testContentTypeScripts.TestEditFileKeepsMimeType, CMFPlone.tests.testContentTypeScripts.TestEditShortName, CMFPlone.tests.testContentTypeScripts.TestFileExtensions, CMFPlone.tests.testContentTypeScripts.TestFileURL, CMFPlone.tests.testContentTypeScripts.TestImageProps, CMFPlone.tests.testContentTypeScripts.TestWorkflowHistory, CMFPlone.tests.testControlPanel.TestControlPanel, CMFPlone.tests.testControlPanelScripts.TestPrefsUserManage, CMFPlone.tests.testCSSandJSRegistry.TestCSSRegistry, CMFPlone.tests.testCSSandJSRegistry.TestJSRegistry, CMFPlone.tests.testCutPasteSecurity.TestCutPasteSecurity, CMFPlone.tests.testDateComponentsSupport.TestDateComponentsSupport, CMFPlone.tests.testDateComponentsSupport.TestDateComponentsSupportAMPM, CMFPlone.tests.testDateComponentsSupport.TestDateComponentsSupportAMPMDefault, CMFPlone.tests.testDateComponentsSupport.TestDateComponentsSupportDefault, CMFPlone.tests.testDateComponentsSupport.TestDateComponentsSupportMinuteStepDefault, CMFPlone.tests.testDateComponentsSupport.TestSpecialCases, CMFPlone.tests.testDateIndexRanges.TestDateIndexRanges, CMFPlone.tests.testDisplayContentsTab.TestDisplayContentsTab, CMFPlone.tests.testExternalEditorEnabled.TestExternalEditorEnabled, CMFPlone.tests.testFolderButtons.TestFolderCutCopy, CMFPlone.tests.testFolderButtons.TestFolderDelete, CMFPlone.tests.testFolderButtons.TestFolderPublish, CMFPlone.tests.testFolderButtons.TestFolderRename, CMFPlone.tests.testFolderLocalRoleForm.TestFolderLocalRole, CMFPlone.tests.testGetObjectSize.TestGetObjSize, CMFPlone.tests.testGetObjectSize.TestGetObjSizedItem, CMFPlone.tests.testGroupDataTool.TestGroupData, CMFPlone.tests.testGroupDataTool.TestGroupDataTool, CMFPlone.tests.testGroupDataTool.TestMethodProtection, CMFPlone.tests.testGroupsTool.TestGroupsTool, CMFPlone.tests.testGroupsTool.TestGroupWorkspacesFolder, CMFPlone.tests.testGroupUserFolder.TestGroupManagement, CMFPlone.tests.testGroupUserFolder.TestGroupUserFolder, CMFPlone.tests.testGroupUserFolder.TestUserManagement, CMFPlone.tests.testGroupUserFolder.TestUsersAndGroups, CMFPlone.tests.testInterfaceTool.TestInterfaceTool, CMFPlone.tests.testLoggedIn.TestLogin, CMFPlone.tests.testMemberDataTool.TestMemberDataTool, CMFPlone.tests.testMembershipTool.TestCreateMemberarea, CMFPlone.tests.testMembershipTool.TestDefaultUserAndPasswordNotChanged, CMFPlone.tests.testMembershipTool.TestMemberareaSetup, CMFPlone.tests.testMembershipTool.TestMembershipTool, CMFPlone.tests.testMembershipTool.TestMethodProtection, CMFPlone.tests.testMembershipTool.TestSearchForMembers, CMFPlone.tests.testMigrations.MigrationTest, CMFPlone.tests.testMigrationTool.TestMigrationTool, CMFPlone.tests.testNavigationParent.TestNavigationParent, CMFPlone.tests.testNavigationView.TestBaseBreadCrumbs, CMFPlone.tests.testNavigationView.TestBaseNavTree, CMFPlone.tests.testNavigationView.TestBasePortalTabs, CMFPlone.tests.testNavigationView.TestBaseSiteMap, CMFPlone.tests.testNavTree.TestFolderTree, CMFPlone.tests.testNavTree.TestNavigationRoot, CMFPlone.tests.testNewsPortletView.TestNewsPortletView, CMFPlone.tests.testNextPrevious.TestNextPrevious, CMFPlone.tests.testOrderSupport.TestOrderSupport, CMFPlone.tests.testOrderSupport.TestOrderSupportInPortal, CMFPlone.tests.testPloneFolder.TestCheckIdAvailable, CMFPlone.tests.testPloneFolder.TestFolderListing, CMFPlone.tests.testPloneFolder.TestManageDelObjects, CMFPlone.tests.testPloneFolder.TestManageDelObjectsInPortal, CMFPlone.tests.testPloneFolder.TestPloneFolder, CMFPlone.tests.testPloneTestCase.TestPloneTestCase, CMFPlone.tests.testPloneTool.TestBreadCrumbs, CMFPlone.tests.testPloneTool.TestEditMetadata, CMFPlone.tests.testPloneTool.TestEditMetadataIndependence, CMFPlone.tests.testPloneTool.TestFormulatorFields, CMFPlone.tests.testPloneTool.TestIDGenerationMethods, CMFPlone.tests.testPloneTool.TestOwnershipStuff, CMFPlone.tests.testPloneTool.TestPloneTool, CMFPlone.tests.testPloneTool.TestPortalStatusMessages, CMFPlone.tests.testPloneView.TestPloneView, CMFPlone.tests.testPloneView.TestVisibleIdsEnabled, CMFPlone.tests.testPortalCreation.TestManagementPageCharset, CMFPlone.tests.testPortalCreation.TestPortalBugs, CMFPlone.tests.testPortalCreation.TestPortalCreation, CMFPlone.tests.testPortalFactory.TestCreateObject, CMFPlone.tests.testPortalFactory.TestPortalFactory, CMFPlone.tests.testQueryCatalog.TestQueryCatalog, CMFPlone.tests.testQueryCatalog.TestQueryCatalogParseError, CMFPlone.tests.testQueryCatalog.TestQueryCatalogQuoting, CMFPlone.tests.testQueryCatalog.TestSearchForms, CMFPlone.tests.testQuickInstallerTool.TestQuickInstallerTool, CMFPlone.tests.testRecentView.TestRecentPortletView, CMFPlone.tests.testRegistrationTool.TestPasswordGeneration, CMFPlone.tests.testRegistrationTool.TestRegistrationTool, CMFPlone.tests.testRelatedItems.TestRelatedItems, CMFPlone.tests.testRestrictedAcquisition.BrokenAcquisitionTest, CMFPlone.tests.testS5.TestS5, CMFPlone.tests.testSecurityDeclarations.TestAllowSendtoSecurity, CMFPlone.tests.testSecurityDeclarations.TestNavtreeSecurity, CMFPlone.tests.testSecurityDeclarations.TestSkinSecurity, CMFPlone.tests.testSkeleton.TestSomething, CMFPlone.tests.testSortObjects.TestSortObjects, CMFPlone.tests.testSyndicationTool.TestSyndicationTool, CMFPlone.tests.testTranslationServiceTool.TestTranslationServiceTool, CMFPlone.tests.testTranslationServiceTool.TestUTranslate, CMFPlone.tests.testUnicodeSplitter.TestCaseNormalizer, CMFPlone.tests.testUnicodeSplitter.TestQuery, CMFPlone.tests.testUnicodeSplitter.TestSplitter, CMFPlone.tests.testURLTool.TestURLTool, CMFPlone.tests.testUserFolderBasics.TestUserFolder, CMFPlone.tests.testUtilities.TestUtilities, CMFPlone.tests.testWebDAV.TestDAVProperties, CMFPlone.tests.testWorkflowTool.TestWorkflowTool, and CMFPlone.tests.zcheck.TestSkins.

List of all members.

Public Member Functions

def setRequestMethod
def getAuthenticator
def setupAuthenticator

Detailed Description

This is a stub now, but in case you want to try
   something fancy on Your Branch (tm), put it here.

Definition at line 21 of file PloneTestCase.py.


Member Function Documentation

Definition at line 30 of file PloneTestCase.py.

00030 
00031     def getAuthenticator(self):
00032         tag = AuthenticatorView('context', 'request').authenticator()
00033         pattern = '<input .*name="(\w+)".*value="(\w+)"'
00034         return match(pattern, tag).groups()

Here is the call graph for this function:

Here is the caller graph for this function:

This is a stub now, but in case you want to try
   something fancy on Your Branch (tm), put it here.

Definition at line 26 of file PloneTestCase.py.

00026 
00027     def setRequestMethod(self, method):
00028         self.app.REQUEST.set('REQUEST_METHOD', method)
00029         self.app.REQUEST.method = method

Here is the caller graph for this function:

Definition at line 35 of file PloneTestCase.py.

00035 
00036     def setupAuthenticator(self):
00037         name, token = self.getAuthenticator()
00038         self.app.REQUEST.form[name] = token
00039 

Here is the call graph for this function:

Here is the caller graph for this function:


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