[Subversion] / PEAK / src / peak / api / tests.py  

Log of /PEAK/src/peak/api/tests.py

Parent Directory

No default branch
Bookmark a link to HEAD: (view) (download) (as text)


Revision 1275 - (view) (download) (as text) - [select for diffs]
Modified Mon Jul 21 00:55:16 2003 UTC (20 years, 9 months ago) by pje
File length: 512 byte(s)
Diff to previous 1203
The templates have landed!  We can parse and render templates, and use them
as web methods on locations.  There's even a (yes, just one) unit test.
Big TODO lists both in the package and its test suite, but at least it's
working.  Made minor adjustments to publishing algorithms so that locations
know their parent locations, and methods know the location that they were
found in. Bumped package version to 0.5a3, since we've been in the alpha 3
cycle for a while now.

Revision 1203 - (view) (download) (as text) - [select for diffs]
Modified Tue Jun 24 21:45:21 2003 UTC (20 years, 10 months ago) by pje
File length: 479 byte(s)
Diff to previous 656
Initial draft of security system for 'peak.web', et al.  You can declare
abstract permission types, then declare application-specific rules for
checking those permissions, for a given subject type.  Rules can delegate
to other rules, and user objects can also have global permission grants or
denials.

Revision 656 - (view) (download) (as text) - [select for diffs]
Modified Sun Nov 10 02:46:58 2002 UTC (21 years, 5 months ago) by pje
File length: 441 byte(s)
Diff to previous 652
Added [Load on demand] rules section, and made running.clusters use it.
Also added basic unit tests for peak.running.clusters.

Revision 652 - (view) (download) (as text) - [select for diffs]
Modified Sat Nov 9 00:05:52 2002 UTC (21 years, 5 months ago) by pje
File length: 404 byte(s)
Diff to previous 629
Reorgs and and misc. cleanups; updated TODO for 0.5a1 vs 0.5final

Moved ActiveDescriptor(s) classes from binding.meta to binding.once and the
rest of binding.meta to model.method_exporter.  Moved the method-exporter
tests that lived in metamodels.tests.General to model.tests, where they
really belonged, and added model.tests to the install and API test suite.

Revision 629 - (view) (download) (as text) - [select for diffs]
Modified Thu Nov 7 23:17:01 2002 UTC (21 years, 5 months ago) by pje
File length: 369 byte(s)
Diff to previous 593
Removed OpaqueURL and refactored ParsedURL for simpler creation of URL
classes.  This may need another pass or two to get everything completely
cleaned up.  Added a test suite for peak.naming to do parse tests on a
variety of the built-in URL classes, which really needs a lot more test
examples.  The URL classes also need better parse error messages.  Last,
but not least, we may need a way to map from URLs back to their strings,
if they are created from arguments instead of a string.  But that's
probably lower priority.

Revision 593 - (view) (download) (as text) - [select for diffs]
Modified Sun Nov 3 19:47:29 2002 UTC (21 years, 5 months ago) by pje
File length: 333 byte(s)
Diff to previous 584
Re-org/refactoring of many items from the TODO list for 0.5, including:

* moved peak.binding.imports -> peak.util.imports, added importSuite()

* Decided not to do binding.Acquire, it should just be a documented idiom

* Moved LDAP and lockfile URLs to peak.storage.LDAP and
  peak.running.lockfiles, respectively

* Moved factories.getObjectInstance -> spi, updated peak.ini to load
  naming.spi as the provider.

* Consolidated naming.references into naming.names

* Made ParsedURLs compile their pattern strings, and automatically make
  their 'fromX()' methods classmethods (and the same is true for other
  'struct' types.

* Refactored cursors and connections out into distinct SQLCursor/LDAPCursor
  types, based on a common AbstractCursor.

* Added TooManyResults/TooFewResults errors to peak.exceptions

Revision 584 - (view) (download) (as text) - [select for diffs]
Modified Thu Oct 31 23:45:13 2002 UTC (21 years, 5 months ago) by pje
File length: 424 byte(s)
Diff to previous 559
Added unit tests for transactions, covering just about everything but the
'info' mapping, and error handler processing.

Revision 559 - (view) (download) (as text) - [select for diffs]
Added Fri Oct 11 20:12:59 2002 UTC (21 years, 6 months ago) by pje
File length: 387 byte(s)
Created a peak.api.tests module, which just runs tests on API packages
(like binding, config, naming, etc.) and skips the old tests (metamodels)
and the utils tests.  Changed the "setup.py test" default to use this
shorter and MUCH faster subset of tests.  You can still run the full suite
with "setup.py test -m peak.tests", but on my Windows machines the extra
tests can add up to 20 seconds to my test times, and I rarely change
anything that affects the utils or metamodel tests.  I'll save those for
checkin testing, and use the API-only tests for running as I change things.

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

  Diffs between and
  Type of Diff should be a

Sort log by:

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help