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
Collaboration diagram for GenericSetup.ZCTextIndex.tests.test_exportimport.ZCLexiconNodeAdapterTests:
Collaboration graph

List of all members.

Public Member Functions

def setUp

Static Public Attributes

 layer = ExportImportZCMLLayer

Private Member Functions

def _getTargetClass
def _populate

Private Attributes


Detailed Description

Definition at line 54 of file

Member Function Documentation

Definition at line 58 of file

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

Definition at line 64 of file

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

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

Member Data Documentation

Definition at line 74 of file

Definition at line 75 of file

Definition at line 56 of file

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