cl5_test.h 844 B

1234567891011121314151617181920212223242526272829
  1. /** BEGIN COPYRIGHT BLOCK
  2. * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  3. * Copyright (C) 2005 Red Hat, Inc.
  4. * All rights reserved.
  5. *
  6. * License: GPL (version 3 or any later version).
  7. * See LICENSE for details.
  8. * END COPYRIGHT BLOCK **/
  9. #ifdef HAVE_CONFIG_H
  10. # include <config.h>
  11. #endif
  12. /* cl5_test.h - changelog test cases */
  13. typedef enum
  14. {
  15. TEST_BASIC, /* open-close-delete, read-write-delete */
  16. TEST_BACKUP_RESTORE,/* test backup and recovery */
  17. TEST_ITERATION, /* similar to iteration used by replica upsate protocol */
  18. TEST_TRIMMING, /* test changelog trimming */
  19. TEST_PERFORMANCE, /* test read/write performance */
  20. TEST_PERFORMANCE_MT,/* test multithreaded performance */
  21. TEST_LDIF, /* test cl2ldif and ldif2cl */
  22. TEST_ALL /* collective test */
  23. } TestType;
  24. void testChangelog (TestType type);