enum libtest_test_id

From liblfds.org
Revision as of 20:16, 17 February 2017 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source File

└── test_and_benchmark
    └── libtest
        └── inc
            └── libtest
                └── libtest_tests.h


Enum

enum libtest_test_id
{
  LIBTEST_TEST_ID_PORTING_ABSTRACTION_LAYER_ADD,
  LIBTEST_TEST_ID_PORTING_ABSTRACTION_LAYER_CAS,
  LIBTEST_TEST_ID_PORTING_ABSTRACTION_LAYER_DCAS,
  LIBTEST_TEST_ID_PORTING_ABSTRACTION_LAYER_EXCHANGE,

  LIBTEST_TEST_ID_BTREE_ADDONLY_UNBALANCED_ALIGNMENT,
  LIBTEST_TEST_ID_BTREE_ADDONLY_UNBALANCED_RANDOM_ADDS_FAIL,
  LIBTEST_TEST_ID_BTREE_ADDONLY_UNBALANCED_RANDOM_ADDS_FAIL_AND_OVERWRITE,
  LIBTEST_TEST_ID_BTREE_ADDONLY_UNBALANCED_RANDOM_ADDS_OVERWRITE,

  LIBTEST_TEST_ID_FREELIST_ALIGNMENT,
  LIBTEST_TEST_ID_FREELIST_EA_POPPING,
  LIBTEST_TEST_ID_FREELIST_EA_POPPING_AND_PUSHING,
  LIBTEST_TEST_ID_FREELIST_EA_PUSHING,
  LIBTEST_TEST_ID_FREELIST_EA_RAPID_POPPING_AND_PUSHING,
  LIBTEST_TEST_ID_FREELIST_WITHOUT_EA_POPPING,
  LIBTEST_TEST_ID_FREELIST_WITHOUT_EA_POPPING_AND_PUSHING,
  LIBTEST_TEST_ID_FREELIST_WITHOUT_EA_PUSHING,
  LIBTEST_TEST_ID_FREELIST_WITHOUT_EA_RAPID_POPPING_AND_PUSHING,

  LIBTEST_TEST_ID_HASH_ADDONLY_ALIGNMENT,
  LIBTEST_TEST_ID_HASH_ADDONLY_FAIL_AND_OVERWRITE,
  LIBTEST_TEST_ID_HASH_ADDONLY_RANDOM_ADDS_FAIL,
  LIBTEST_TEST_ID_HASH_ADDONLY_RANDOM_ADDS_OVERWRITE,
  LIBTEST_TEST_ID_HASH_ADDONLY_ITERATE,

  LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_ORDERED_ALIGNMENT,
  LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_ORDERED_NEW_ORDERED,
  LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_ORDERED_NEW_ORDERED_WITH_CURSOR,

  LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_UNORDERED_ALIGNMENT,
  LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_UNORDERED_NEW_START,
  LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_UNORDERED_NEW_END,
  LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_UNORDERED_NEW_AFTER,

  LIBTEST_TEST_ID_QUEUE_UMM_ALIGNMENT,
  LIBTEST_TEST_ID_QUEUE_UMM_DEQUEUING,
  LIBTEST_TEST_ID_QUEUE_UMM_ENQUEUING,
  LIBTEST_TEST_ID_QUEUE_UMM_ENQUEUING_AND_DEQUEUING,
  LIBTEST_TEST_ID_QUEUE_UMM_ENQUEUING_WITH_MALLOC_AND_DEQUEUING_WITH_FREE,
  LIBTEST_TEST_ID_QUEUE_UMM_RAPID_ENQUEUING_AND_DEQUEUING,

  LIBTEST_TEST_ID_QUEUE_BMM_ALIGNMENT,
  LIBTEST_TEST_ID_QUEUE_BMM_COUNT,
  LIBTEST_TEST_ID_QUEUE_BMM_ENQUEUING,
  LIBTEST_TEST_ID_QUEUE_BMM_DEQUEUING,
  LIBTEST_TEST_ID_QUEUE_BMM_ENQUEUING_AND_DEQUEUING,
  LIBTEST_TEST_ID_QUEUE_BMM_RAPID_ENQUEUING_AND_DEQUEUING,

  LIBTEST_TEST_ID_QUEUE_BSS_DEQUEUING,
  LIBTEST_TEST_ID_QUEUE_BSS_ENQUEUING,
  LIBTEST_TEST_ID_QUEUE_BSS_ENQUEUING_AND_DEQUEUING,

  LIBTEST_TEST_ID_RINGBUFFER_READING,
  LIBTEST_TEST_ID_RINGBUFFER_WRITING,
  LIBTEST_TEST_ID_RINGBUFFER_READING_AND_WRITING,

  LIBTEST_TEST_ID_STACK_ALIGNMENT,
  LIBTEST_TEST_ID_STACK_POPPING,
  LIBTEST_TEST_ID_STACK_POPPING_AND_PUSHING,
  LIBTEST_TEST_ID_STACK_PUSHING,
  LIBTEST_TEST_ID_STACK_RAPID_POPPING_AND_PUSHING,

  LIBTEST_TEST_ID_COUNT
};

Values

LIBTEST_TEST_ID_PORTING_ABSTRACTION_LAYER_ADD

Atomic add abstraction test.

LIBTEST_TEST_ID_PORTING_ABSTRACTION_LAYER_CAS

Atomic CAS abstraction test.

LIBTEST_TEST_ID_PORTING_ABSTRACTION_LAYER_DCAS

Atomic DWCAS abstraction test.

LIBTEST_TEST_ID_PORTING_ABSTRACTION_LAYER_EXCHANGE

Atomic exchange abstraction test.

LIBTEST_TEST_ID_BTREE_ADDONLY_UNBALANCED_ALIGNMENT

btree (addonly, unbalanced) structs member alignments test.

LIBTEST_TEST_ID_BTREE_ADDONLY_UNBALANCED_RANDOM_ADDS_FAIL

LIBTEST_TEST_ID_BTREE_ADDONLY_UNBALANCED_RANDOM_ADDS_FAIL_AND_OVERWRITE

LIBTEST_TEST_ID_BTREE_ADDONLY_UNBALANCED_RANDOM_ADDS_OVERWRITE

LIBTEST_TEST_ID_FREELIST_ALIGNMENT

freelist structs member alignments test.

LIBTEST_TEST_ID_FREELIST_EA_POPPING

LIBTEST_TEST_ID_FREELIST_EA_POPPING_AND_PUSHING

LIBTEST_TEST_ID_FREELIST_EA_PUSHING

LIBTEST_TEST_ID_FREELIST_EA_RAPID_POPPING_AND_PUSHING

LIBTEST_TEST_ID_FREELIST_WITHOUT_EA_POPPING

LIBTEST_TEST_ID_FREELIST_WITHOUT_EA_POPPING_AND_PUSHING

LIBTEST_TEST_ID_FREELIST_WITHOUT_EA_PUSHING

LIBTEST_TEST_ID_FREELIST_WITHOUT_EA_RAPID_POPPING_AND_PUSHING

LIBTEST_TEST_ID_HASH_ADDONLY_ALIGNMENT

hash (addonly) structs member alignments test.

LIBTEST_TEST_ID_HASH_ADDONLY_FAIL_AND_OVERWRITE

LIBTEST_TEST_ID_HASH_ADDONLY_RANDOM_ADDS_FAIL

LIBTEST_TEST_ID_HASH_ADDONLY_RANDOM_ADDS_OVERWRITE

LIBTEST_TEST_ID_HASH_ADDONLY_ITERATE

LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_ORDERED_ALIGNMENT

list (addonly, singlylinked, ordered) structs member alignments test.

LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_ORDERED_NEW_ORDERED

LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_ORDERED_NEW_ORDERED_WITH_CURSOR

LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_UNORDERED_ALIGNMENT

list (addonly, singlylinked, unordered) structs member alignments test.

LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_UNORDERED_NEW_START

LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_UNORDERED_NEW_END

LIBTEST_TEST_ID_LIST_ADDONLY_SINGLYLINKED_UNORDERED_NEW_AFTER

LIBTEST_TEST_ID_QUEUE_UMM_ALIGNMENT

queue (unbounded, many producer, many consumer) structs member alignments test.

LIBTEST_TEST_ID_QUEUE_UMM_DEQUEUING

LIBTEST_TEST_ID_QUEUE_UMM_ENQUEUING

LIBTEST_TEST_ID_QUEUE_UMM_ENQUEUING_AND_DEQUEUING

LIBTEST_TEST_ID_QUEUE_UMM_ENQUEUING_WITH_MALLOC_AND_DEQUEUING_WITH_FREE

LIBTEST_TEST_ID_QUEUE_UMM_RAPID_ENQUEUING_AND_DEQUEUING

LIBTEST_TEST_ID_QUEUE_BMM_ALIGNMENT

queue (bounded, many producer, many consumer) structs member alignments test.

LIBTEST_TEST_ID_QUEUE_BMM_COUNT

LIBTEST_TEST_ID_QUEUE_BMM_ENQUEUING

LIBTEST_TEST_ID_QUEUE_BMM_DEQUEUING

LIBTEST_TEST_ID_QUEUE_BMM_ENQUEUING_AND_DEQUEUING

LIBTEST_TEST_ID_QUEUE_BMM_RAPID_ENQUEUING_AND_DEQUEUING

LIBTEST_TEST_ID_QUEUE_BSS_DEQUEUING

LIBTEST_TEST_ID_QUEUE_BSS_ENQUEUING

LIBTEST_TEST_ID_QUEUE_BSS_ENQUEUING_AND_DEQUEUING

LIBTEST_TEST_ID_RINGBUFFER_READING

LIBTEST_TEST_ID_RINGBUFFER_WRITING

LIBTEST_TEST_ID_RINGBUFFER_READING_AND_WRITING

LIBTEST_TEST_ID_STACK_ALIGNMENT

stack structs member alignments test.

LIBTEST_TEST_ID_STACK_POPPING

LIBTEST_TEST_ID_STACK_POPPING_AND_PUSHING

LIBTEST_TEST_ID_STACK_PUSHING

LIBTEST_TEST_ID_STACK_RAPID_POPPING_AND_PUSHING

LIBTEST_TEST_ID_COUNT

The number of members in this enum.

Notes

This enum is used by libtest to uniquely identify tests.

See Also