1. 04 Apr, 2001 4 commits
  2. 03 Apr, 2001 14 commits
  3. 02 Apr, 2001 12 commits
  4. 01 Apr, 2001 2 commits
  5. 30 Mar, 2001 8 commits
    • Barry Warsaw's avatar
      Fixes so that Full now passes the basic test suite (essentially the · 1b7aef1d
      Barry Warsaw authored
      same set of tests that Minimal also passes).  Not yet tested:
      versions, undo, packing, garbage collection.
      
      InternalInconsistencyError: the base class should be AssertionError.
      
      Fix typo in name of table that keeps the pickle reference counts (it
      should be _pickleRefcounts).
      
      next_object() => next()
      
      Use referencef() in a completely backwards compatible way (I happen to
      have an older version of ZODB installed).
      
      load(): Fix typo in name of table that stores the pickle data (it
      should be _pickles).
      
      store(): Use a local variable called `zero' for the 8-byte zero
      pointer.  When there is no current serial number for the object
      (i.e. it is being stored for the first time), initialize oserial to
      zero (but not orevid).  Better printing of the ConflictError message.
      When there is no version string (i.e. this is being stored in a
      non-version), initialize nvrevid to zero.  Better printing of the
      VersionLockError.  Fix typo in return value; we should return the
      cached serial number, not the serial number that was passed in as an
      argument.
      1b7aef1d
    • Barry Warsaw's avatar
      NewInsertsTest => MinimalNewInsertsTest · 7e2aab94
      Barry Warsaw authored
      FullNewInsertsTest: new class which mirrors MinimalNewInsertsTest and
      performs the same set of tests on the Full database.
      
      Also add some better docstrings.
      
      Added __main__ section so this test can be run standalone.
      7e2aab94
    • Barry Warsaw's avatar
      BaseFramework => MinimalBaseFramework · f2828e83
      Barry Warsaw authored
      MinimalBaseFramework.setUp(): Wrap the creation and opening of the
      database in a try/except so that we guarantee that tearDown() is
      called if there are any errors in database creation.
      
      tearDown(): Added this to make sure that the test directories are
      removed when the test is done.
      
      FullBaseFramework: New class to mirror the same tests for the Full
      database.  Based on MinimalBaseFramework.  This could use some
      factorization.
      
      DBHomeTest => MinimalDBHomeTest
      
      FullDBHomeTest: New class to mirror the same tests for the Full
      database.  Based on MinimalDBHomeTest.  This could use some
      factorization.
      
      Added __main__ section so this test can be run standalone.
      f2828e83
    • Barry Warsaw's avatar
      next_object() => next() · ad7a15d5
      Barry Warsaw authored
      Added tests which flex the complete FullLog API.
      
      Added __main__ section so this test can be run standalone.
      ad7a15d5
    • Barry Warsaw's avatar
      Add test_full unit test. · cd9dc1b0
      Barry Warsaw authored
      cd9dc1b0
    • Guido van Rossum's avatar
      Updated to match reality, e.g. .path. Add TO DO item about · f62bc092
      Guido van Rossum authored
      insertStructure.
      f62bc092
    • 's avatar
      merged addition of some missing class init calls · 5a3047a5
      authored
      5a3047a5
    • 's avatar
      5ddd6528