Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
GenericSetup.ZCTextIndex.tests.test_exportimport.ZCLexiconNodeAdapterTests Class Reference
Inheritance diagram for GenericSetup.ZCTextIndex.tests.test_exportimport.ZCLexiconNodeAdapterTests:
Inheritance graph
[legend]
Collaboration diagram for GenericSetup.ZCTextIndex.tests.test_exportimport.ZCLexiconNodeAdapterTests:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp

Static Public Attributes

 layer = ExportImportZCMLLayer

Private Member Functions

def _getTargetClass
def _populate

Private Attributes

 _obj
 _XML

Detailed Description

Definition at line 54 of file test_exportimport.py.


Member Function Documentation

Definition at line 58 of file test_exportimport.py.

00058 
00059     def _getTargetClass(self):
00060         from Products.GenericSetup.ZCTextIndex.exportimport \
00061                 import ZCLexiconNodeAdapter
00062 
00063         return ZCLexiconNodeAdapter

Definition at line 64 of file test_exportimport.py.

00064 
00065     def _populate(self, obj):
00066         from Products.ZCTextIndex.Lexicon import CaseNormalizer
00067         from Products.ZCTextIndex.Lexicon import Splitter
00068         from Products.ZCTextIndex.Lexicon import StopWordRemover
00069         obj._pipeline = (Splitter(), CaseNormalizer(), StopWordRemover())

Definition at line 70 of file test_exportimport.py.

00070 
00071     def setUp(self):
00072         from Products.ZCTextIndex.ZCTextIndex import PLexicon
00073 
00074         NodeAdapterTestCase.setUp(self)
00075         self._obj = PLexicon('foo_plexicon')
00076         self._XML = _PLEXICON_XML
00077 


Member Data Documentation

Definition at line 74 of file test_exportimport.py.

Definition at line 75 of file test_exportimport.py.

Definition at line 56 of file test_exportimport.py.


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