Ignore:
Timestamp:
Jun 16, 2010 2:28:02 PM (14 years ago)
Author:
mylan
Message:

Merged revisions 3566-3575 via svnmerge from
http://svn.quintagroup.com/products/quintagroup.plonegooglesitemaps/branches/test_refactoring

........

r3566 | mylan | 2010-06-14 12:24:52 +0300 (Mon, 14 Jun 2010) | 1 line


#206: Split single testqPloneGoogleSitemaps module into several specific one

........

r3567 | mylan | 2010-06-14 16:14:34 +0300 (Mon, 14 Jun 2010) | 1 line


#206: Improve code coverage - remove useless BBB code from interfaces.

........

r3568 | mylan | 2010-06-14 20:24:25 +0300 (Mon, 14 Jun 2010) | 1 line


#206: Improve code coverage - added test for MobileSitemap?, MobileSitemapView?.

........

r3569 | mylan | 2010-06-14 22:39:39 +0300 (Mon, 14 Jun 2010) | 1 line


#206: reorganize sitemap tests

........

r3570 | mylan | 2010-06-14 22:40:12 +0300 (Mon, 14 Jun 2010) | 1 line


#206: Added configlet tests

........

r3571 | mylan | 2010-06-14 23:05:19 +0300 (Mon, 14 Jun 2010) | 1 line


#206: remove BBB code for plone<3.0

........

r3572 | mylan | 2010-06-14 23:12:00 +0300 (Mon, 14 Jun 2010) | 1 line


#206: added workflow vocabularies tests for SitemapTypes?

........

r3573 | mylan | 2010-06-15 21:36:40 +0300 (Tue, 15 Jun 2010) | 1 line


#206: some cleanup, simplify tests

........

r3574 | mylan | 2010-06-16 16:35:31 +0300 (Wed, 16 Jun 2010) | 1 line


#206: move mobile sitemap code preparation into base module

........

r3575 | mylan | 2010-06-16 16:37:14 +0300 (Wed, 16 Jun 2010) | 1 line


#206: Added security tests

........

Location:
quintagroup.plonegooglesitemaps/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/trunk

    • Property svnmerge-integrated changed from /quintagroup.plonegooglesitemaps/branches/test_refactoring:1-3563 to /quintagroup.plonegooglesitemaps/branches/test_refactoring:1-3576
    • Property svn:mergeinfo set to /quintagroup.plonegooglesitemaps/branches/test_refactoring:2527-2536
  • quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/interfaces.py

    r1593 r2538  
    44from zope.app.container.constraints import contains 
    55from zope.app.container.constraints import containers 
     6 
     7from Products.DCWorkflow.interfaces import IAfterTransitionEvent 
    68 
    79from quintagroup.plonegooglesitemaps import qPloneGoogleSitemapsMessageFactory as _ 
     
    1113class ISitemap(Interface): 
    1214    """Search engine Sitemap content type""" 
    13  
    14 try: 
    15     from Products.DCWorkflow.interfaces import IAfterTransitionEvent 
    16 except ImportError: 
    17     # Copy IAfterTransitionEvent from Plone-3/Products.DCWorkflow.interfaces 
    18     from zope.interface import Interface, Attribute 
    19     from zope.app.event.interfaces import IObjectEvent 
    20  
    21     class ITransitionEvent(IObjectEvent): 
    22         """An event that's fired upon a workflow transition. 
    23         """ 
    24  
    25         workflow = Attribute(u"The workflow definition triggering the transition") 
    26         old_state = Attribute(u"The state definition of the workflow state before the transition") 
    27         new_state = Attribute(u"The state definition of the workflow state before after transition") 
    28         transition = Attribute(u"The transition definition taking place. " 
    29                                 "May be None if this is the 'transition' to the initial state.") 
    30         status = Attribute(u"The status dict of the object.") 
    31         kwargs = Attribute(u"Any keyword arguments passed to doActionFor() when the transition was invoked") 
    32  
    33     class IAfterTransitionEvent(ITransitionEvent): 
    34  
    35         """An event that's fired after a workflow transition. 
    36         """ 
Note: See TracChangeset for help on using the changeset viewer.