Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFCore.exportimport.tests.test_typeinfo Namespace Reference

Classes

class  TypeInformationXMLAdapterTests
class  TypesToolXMLAdapterTests
class  _TypeInfoSetup
class  exportTypesToolTests
class  importTypesToolTests

Functions

def test_suite

Variables

string _FTI_BODY
string _TYPESTOOL_BODY
tuple _TI_LIST
list _TI_LIST_WITH_FILENAME = []
tuple duplicate = original.copy()
string _EMPTY_TOOL_EXPORT
string _NORMAL_TOOL_EXPORT
string _FILENAME_EXPORT
string _UPDATE_TOOL_IMPORT
string _FOO_EXPORT
string _BAR_EXPORT
string _UPDATE_FOO_IMPORT

Function Documentation

Definition at line 516 of file test_typeinfo.py.

00516 
00517 def test_suite():
00518     return unittest.TestSuite((
00519         unittest.makeSuite(TypeInformationXMLAdapterTests),
00520         unittest.makeSuite(TypesToolXMLAdapterTests),
00521         unittest.makeSuite(exportTypesToolTests),
00522         unittest.makeSuite(importTypesToolTests),
00523         ))

Here is the call graph for this function:


Variable Documentation

Definition at line 211 of file test_typeinfo.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <object name="portal_types" meta_type="CMF Types Tool">
00004  <property name="title"/>
00005 </object>
00006 """

Definition at line 146 of file test_typeinfo.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <object name="portal_types" meta_type="CMF Types Tool">
00004  <property name="title"/>
00005  <object name="bar object" meta_type="Scriptable Type Information"/>
00006  <object name="foo object" meta_type="Factory-based Type Information"/>
00007 </object>
00008 """

Definition at line 162 of file test_typeinfo.py.

Definition at line 178 of file test_typeinfo.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <object name="foo_fti" meta_type="Factory-based Type Information"
00004    xmlns:i18n="http://xml.zope.org/namespaces/i18n">
00005  <property name="title"></property>
00006  <property name="description"></property>
00007  <property name="content_icon"></property>
00008  <property name="content_meta_type"></property>
00009  <property name="product"></property>
00010  <property name="factory"></property>
00011  <property name="immediate_view"></property>
00012  <property name="global_allow">True</property>
00013  <property name="filter_content_types">True</property>
00014  <property name="allowed_content_types"/>
00015  <property name="allow_discussion">False</property>
00016  <alias from="(Default)" to="foo"/>
00017  <alias from="view" to="foo"/>
00018  <action title="Foo" action_id="foo_action" category="Bar"
00019     condition_expr="python:1" url_expr="string:${object_url}/foo"
00020     visible="True"/>
00021 </object>
00022 """

Definition at line 36 of file test_typeinfo.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <object name="portal_types" meta_type="CMF Types Tool">
00004  <property name="title"/>
00005  <object name="bar" meta_type="Scriptable Type Information"/>
00006  <object name="foo" meta_type="Factory-based Type Information"/>
00007 </object>
00008 """

Definition at line 153 of file test_typeinfo.py.

Definition at line 67 of file test_typeinfo.py.

Definition at line 139 of file test_typeinfo.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <object name="portal_types" meta_type="CMF Types Tool">
00004  <property name="title"></property>
00005  <object name="foo_type" meta_type="Factory-based Type Information"/>
00006 </object>
00007 """

Definition at line 59 of file test_typeinfo.py.

Initial value:
00001 """\
00002 <object name="foo">
00003  <alias from="spam" to="eggs"/>
00004 </object>
00005 """

Definition at line 251 of file test_typeinfo.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <types-tool>
00004  <type id="foo"/>
00005 </types-tool>
00006 """

Definition at line 171 of file test_typeinfo.py.

Definition at line 142 of file test_typeinfo.py.