cl5_test.h 900 B

123456789101112131415161718192021222324252627
  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. TEST_BASIC, /* open-close-delete, read-write-delete */
  15. TEST_BACKUP_RESTORE, /* test backup and recovery */
  16. TEST_ITERATION, /* similar to iteration used by replica upsate protocol */
  17. TEST_TRIMMING, /* test changelog trimming */
  18. TEST_PERFORMANCE, /* test read/write performance */
  19. TEST_PERFORMANCE_MT, /* test multithreaded performance */
  20. TEST_LDIF, /* test cl2ldif and ldif2cl */
  21. TEST_ALL /* collective test */
  22. } TestType;
  23. void testChangelog(TestType type);