- moved linked_list_iterator_t to iterator_t, located in iterator.h
This commit is contained in:
@@ -101,8 +101,8 @@ void test_linked_list_iterator(tester_t *tester)
|
||||
linked_list->insert_first(linked_list,"four");
|
||||
linked_list->insert_first(linked_list,"five");
|
||||
|
||||
linked_list_iterator_t * iterator;
|
||||
linked_list_iterator_t * iterator2;
|
||||
iterator_t * iterator;
|
||||
iterator_t * iterator2;
|
||||
|
||||
|
||||
tester->assert_true(tester,(linked_list->create_iterator(linked_list,&iterator,TRUE) == SUCCESS), "create_iterator for it 1 call check");
|
||||
@@ -160,7 +160,7 @@ void test_linked_list_iterator(tester_t *tester)
|
||||
void test_linked_list_insert_and_remove(tester_t *tester)
|
||||
{
|
||||
void *value;
|
||||
linked_list_iterator_t * iterator;
|
||||
iterator_t * iterator;
|
||||
|
||||
linked_list_t *linked_list = linked_list_create();
|
||||
linked_list->insert_first(linked_list,"one");
|
||||
|
||||
@@ -96,7 +96,7 @@ void test_parser_with_sa_payload(tester_t *tester)
|
||||
sa_payload_t *sa_payload;
|
||||
status_t status;
|
||||
chunk_t sa_chunk;
|
||||
linked_list_iterator_t *proposals, *transforms, *attributes;
|
||||
iterator_t *proposals, *transforms, *attributes;
|
||||
|
||||
u_int8_t sa_bytes[] = {
|
||||
0x00,0x80,0x00,0x24, /* payload header*/
|
||||
|
||||
@@ -65,7 +65,7 @@ test_t linked_list_test = {test_linked_list,"Linked List"};
|
||||
/**
|
||||
* Test for linked_list_t with iterator
|
||||
*/
|
||||
test_t linked_list_iterator_test = {test_linked_list_iterator,"Linked List Iterator"};
|
||||
test_t iterator_test = {test_linked_list_iterator,"Linked List Iterator"};
|
||||
|
||||
/**
|
||||
* Test for linked_list_t insert and remove
|
||||
@@ -243,7 +243,7 @@ logger_manager_t *global_logger_manager;
|
||||
|
||||
test_t *all_tests[] ={
|
||||
&linked_list_test,
|
||||
&linked_list_iterator_test,
|
||||
&iterator_test,
|
||||
&linked_list_insert_and_remove_test,
|
||||
&thread_pool_test,
|
||||
&job_queue_test1,
|
||||
|
||||
Reference in New Issue
Block a user