Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 100% coverageissue29 | Jason Madden | 2017-06-30 | 17 | -445/+225 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add change note and badge to readme. Remove unused class and function. Omit standalonetests.py entirely from coverage. Another unused class. Incorporate feedback in test__api.py * Bring back _callFUT and make the queryAdapterInContext tests call it * Change raise NotImplentedError into specific fails_if_called() calls. Remove redundant argument now that all test in Test_adapts pass under all versions. Remove NotImplementedError from test_globalregistry.py Remove NotImplementedError from test_hookable.py Remove NotImplementedError from test_registry.py Remove NotImplementedError from test_security.py Remove NotImplementedError from test_zcml.py Remove NotImplementedError from test_factory.py Document ZCML feature and devmode. Really accept all arguments unless opted out. | ||||
* | Remove _u compat function. | Jason Madden | 2016-08-02 | 1 | -7/+1 |
| | | | | Since we no longer support 3.2 we can use the literal syntax. | ||||
* | Add failing functiona/integration tests at this level for the interaction ↵ | Jason Madden | 2015-05-28 | 1 | -1/+72 |
| | | | | between zope.security/zope.proxy/zope.component. These previously existed in a zcml.rst doctest only and will fail under PyPy under zopefoundation/zope.security#11 and/or zopefoundation/zope.proxy#8 is fixed. | ||||
* | Run test_persistentregistry under PyPy/3, and fix it. Doctests still fail ↵ | Jason Madden | 2015-05-27 | 1 | -0/+2 |
| | | | | under PyPy. | ||||
* | Disable 'standalone' test when zope.security is missing. | Tres Seaver | 2015-02-25 | 1 | -35/+42 |
| | |||||
* | Restore 100% coverage. | Tres Seaver | 2014-12-11 | 1 | -1/+1 |
| | |||||
* | Suppress ResourceWarning under Py3k. | Tres Seaver | 2014-03-17 | 1 | -14/+18 |
| | |||||
* | Implemented ability to specify adapter and utility names in Python. Use | Stephan Richter | 2014-02-05 | 5 | -12/+71 |
| | | | | | | the ``@zope.component.named(name)`` decorator to specify the name. All tox environments pass and coverage is at 100%. | ||||
* | Replace failUnless with the new spelling to fix a warning on Python 3. | Gediminas Paulauskas | 2013-07-05 | 1 | -6/+6 |
| | |||||
* | Reset the cached adapter_hooks at zope.testing.cleanup.cleanUp time (LP1100501). | Jason Madden | 2013-03-04 | 2 | -1/+15 |
| | |||||
* | - Changed "ZODB3" depdendency to "persistent". | Stephan Richter | 2013-02-28 | 3 | -3/+9 |
| | | | | | | - ``tox`` now runs all tests for Python 3.2 and 3.3. - Enable buildout for Python 3. - Fixed new failing tests. | ||||
* | Defend against hash randomization. | Tres Seaver | 2012-11-21 | 1 | -1/+1 |
| | |||||
* | Assert unsupported in older Pythons | Ross Patterson | 2012-08-01 | 1 | -1/+1 |
| | |||||
* | Don't pickle registry flattened bases in the 'ro' attribute. | Ross Patterson | 2012-08-01 | 2 | -1/+13 |
| | | | | | This avoids pickle references that are redundant with the '__bases__' pickling. | ||||
* | Add coverage for pickling/persisting registry bases. | Ross Patterson | 2012-08-01 | 1 | -5/+7 |
| | |||||
* | Merge tseaver-test_cleanup branch. | Tres Seaver | 2012-06-29 | 49 | -6650/+5078 |
| | |||||
* | Fixes LP768151: Wrap ``site`` context manager in try/finally (patch by Jason ↵ | Wolfgang Schnerring | 2012-04-02 | 2 | -2/+19 |
| | | | | Madden <jamadden@gmail.com>) | ||||
* | Make tests for ``with site()`` run under Python-2.5 | Wolfgang Schnerring | 2011-11-16 | 2 | -3/+5 |
| | |||||
* | Add convenience contextmanager for setting the site | Wolfgang Schnerring | 2011-11-16 | 3 | -2/+31 |
| | |||||
* | Merge: | Chris McDonough | 2011-09-15 | 6 | -1043/+67 |
| | | | | | | svn merge --ignore-ancestry -r122753:122812 svn+ssh://svn.zope.org/repos/main/zope.component/branches/chrism-zope.interface-componentregistry | ||||
* | note about interface declaration order for multi adapters | Johannes Raggam | 2011-02-28 | 1 | -0/+6 |
| | |||||
* | forgot to include the zope.component meta.zcml as a dependency of configure.zcml | Thomas Lotze | 2010-09-19 | 1 | -0/+2 |
| | |||||
* | no need to clearZCML() in the configure test | Thomas Lotze | 2010-09-19 | 1 | -2/+0 |
| | |||||
* | added a smoke test for configure.zcml | Thomas Lotze | 2010-09-18 | 2 | -0/+17 |
| | |||||
* | use the new zope.testrunner package | Thomas Lotze | 2010-09-18 | 2 | -2/+2 |
| | |||||
* | Remove CVS '6997Id$' fossils. | Tres Seaver | 2010-06-03 | 21 | -41/+1 |
| | |||||
* | Prefer the standard libraries doctest module to the one from zope.testing. | Hanno Schlichting | 2010-04-30 | 1 | -1/+3 |
| | |||||
* | Comply with repository policy. | Tres Seaver | 2010-04-06 | 22 | -22/+22 |
| | |||||
* | The ZCML directives provided by zope.component now register the components in | Fabio Tranchitella | 2010-03-04 | 4 | -5/+27 |
| | | | | | | | | | the registry returned by getSiteManager instead of the global registry. This allows the hooking of the getSiteManager method before the load of a ZCML file to register the components in a custom registry. | ||||
* | - Fixed a bug introduced by recent refactoring, where passing | Sidnei da Silva | 2010-02-22 | 3 | -1/+81 |
| | | | | | | CheckerPublic to securityAdapterFactory wrongly wrapped the factory into a LocatingUntrustedAdapterFactory. | ||||
* | The tested testrunner was picking up options from the outer testrunner. | Martijn Faassen | 2010-01-21 | 1 | -2/+2 |
| | | | | | Avoid this. | ||||
* | Fix a bug where dotted names didn't work in ZCML with ZCMLFileLayer. | Martijn Faassen | 2010-01-21 | 1 | -2/+5 |
| | |||||
* | Add eventtesting support for ZCMLLayerBase. | Sylvain Viollon | 2010-01-21 | 1 | -2/+9 |
| | |||||
* | merge -r 108354:108362 ↵ | Jan-Wijbrand Kolman | 2010-01-21 | 5 | -0/+234 |
| | | | | svn+ssh://svn.zope.org/repos/main/zope.component/branches/sylvain-zcmltestlayer | ||||
* | merged the conditional-zope.security branch to the trunk | Fabio Tranchitella | 2009-11-08 | 7 | -98/+995 |
| | |||||
* | All tests passed before; | Godefroid Chapelle | 2009-10-12 | 1 | -6/+5 |
| | | | | | | Removed code that seems useless; All tests pass after. | ||||
* | - Fixed a problem, where ``queryNextUtility`` could fail if the context could | Stephan Richter | 2009-07-24 | 2 | -1/+10 |
| | | | | | not be adapted to a ``IComponentLookup``. | ||||
* | Fixed 2 related bugs: | Jim Fulton | 2009-06-02 | 3 | -45/+94 |
| | | | | | | | | | | | | | | | | When a utility is registered and there was previously a utility registered for the same interface and name, then the old utility is unregistered. The 2 bugs related to this: - There was no ``Unregistered`` for the implicit unregistration. Now there is. - The old utility was still held and returned by getAllUtilitiesRegisteredFor. In other words, it was still considered registered, eeven though it wasn't. A particularly negative consequence of this is that the utility is held in memory or in the database even though it isn't used. | ||||
* | Move over zope:view and zope:resource from zope.app.component into | Martijn Faassen | 2009-05-21 | 4 | -6/+764 |
| | | | | | zope.component. | ||||
* | Hook in the hookable tests, which weren't run by default. | Martijn Faassen | 2009-05-21 | 1 | -0/+1 |
| | |||||
* | Move testingNextUtility from zope.app.component.testing. | Dan Korostelev | 2009-03-12 | 2 | -0/+107 |
| | |||||
* | Add getNextUtility/queryNextUtility functions that used to be in zope.site ↵ | Dan Korostelev | 2009-03-11 | 4 | -0/+139 |
| | | | | earlier (and in zope.app.component even more earlier). | ||||
* | As 'setuptools' is a dependency 'pkg_resources' will be available always. ↵ | Baiju Muthukadan | 2009-03-11 | 1 | -7/+1 |
| | | | | Ref: http://mail.zope.org/pipermail/zope-dev/2009-March/035277.html | ||||
* | Remove IDefaultViewName, add more sensible changelog entry about removal of ↵ | Dan Korostelev | 2009-03-08 | 1 | -19/+0 |
| | | | | BBB interfaces. | ||||
* | Bring back ComponentLookupError to zope.component's root module as it's used ↵ | Dan Korostelev | 2009-03-08 | 1 | -0/+1 |
| | | | | in some zope modules. | ||||
* | Remove the broken IResource interface. It will be added to zope.app.publisher. | Dan Korostelev | 2009-03-08 | 1 | -4/+1 |
| | |||||
* | Remove most of deprecated interfaces. IResource and IDefaultViewName are ↵ | Dan Korostelev | 2009-03-07 | 1 | -62/+1 |
| | | | | still to be moved to zope.app.publisher and/or zope.publisher. | ||||
* | Remove duplication of bbb interfaces. Add a marker comment that those things ↵ | Dan Korostelev | 2009-03-07 | 1 | -71/+7 |
| | | | | are deprecated. | ||||
* | Ugh. Fix borked merge. | Tres Seaver | 2009-03-05 | 7 | -231/+209 |
| | |||||
* | Merge the 'tseaver-wo_zope_deferredimport' branch: | Tres Seaver | 2009-03-05 | 4 | -4/+220 |
| | | | | | | | | | | | | | - Added a pure-Python 'hookable' implementation, for use when 'zope.hookable' is not present. - Undeprecated the interfaces in the 'bbb' package: the promised removal hasn't happened, and other core pacakges are still using them. Moved them into ``zope.component.interfaces``, their original location, and the one from which consumers have been importing them. - Removed use of 'zope.deferredimport' by breaking import cycles. |