[Sugar-devel] [PATCH sugar-datastore v2 0/3] Add test suite

Sascha Silbe silbe at activitycentral.com
Fri Feb 11 07:58:04 EST 2011


I've finally fixed the style issues, so it's ready for a round of review.
It has detected several data store bugs in the past, both in mainline and
in my version support branch.

v1->v2: fix race condition in the migration test case

Sascha Silbe (3):
  find(): fix sort order in ambiguous cases
  add API to check/wait for index rebuild to finish (SL#1160)
  add (minimal) test suite (SL#1438)

 Makefile.am                   |    6 +-
 src/carquinyol/datastore.py   |   38 +++++
 src/carquinyol/indexstore.py  |    3 +
 tests/.gitignore              |    1 +
 tests/Makefile                |   20 +++
 tests/__init__.py             |    1 +
 tests/basic_api_v2.txt        |  135 +++++++++++++++
 tests/runalltests.py          |  360 +++++++++++++++++++++++++++++++++++++++++
 tests/test_massops.py         |  175 ++++++++++++++++++++
 tests/test_migration_v1_v2.py |  175 ++++++++++++++++++++
 10 files changed, 909 insertions(+), 5 deletions(-)
 create mode 100644 tests/.gitignore
 create mode 100644 tests/Makefile
 create mode 100644 tests/__init__.py
 create mode 100644 tests/basic_api_v2.txt
 create mode 100755 tests/runalltests.py
 create mode 100644 tests/test_massops.py
 create mode 100644 tests/test_migration_v1_v2.py

--
1.7.2.3



More information about the Sugar-devel mailing list