index
:
dynstr
master
Dynamic strings in C
Lars Wirzenius <liw@liw.fi>
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
unittests.c
Age
Commit message (
Expand
)
Author
Files
Lines
2011-03-05
Remove moved files.
Lars Wirzenius
1
-1287
/
+0
2010-10-26
Change Dynstr to not allocate memory for string separately.
Lars Wirzenius
1
-31
/
+1
2010-10-26
Add dynstr_strup function.
Lars Wirzenius
1
-0
/
+16
2010-10-26
Rename dynstr_cat to dynstr_cat_many and introduce 2-argument dynstr_cat.
Lars Wirzenius
1
-4
/
+4
2010-10-26
Clean up temporary files in unit tests when all goes well.
Lars Wirzenius
1
-0
/
+5
2010-10-26
Clean up unittest temporary files in "make clean".
Lars Wirzenius
1
-3
/
+3
2010-10-26
Change calls to dynstr_cat to use (void*)NULL instead of plain NULL.
Lars Wirzenius
1
-4
/
+4
2010-10-25
Reformat files, add comments, add copyright and license info.
Lars Wirzenius
1
-1
/
+19
2010-10-25
Implement dynstr_readline and dynstr_freadline.
Lars Wirzenius
1
-0
/
+73
2010-10-25
Implement dynstr_fread and dynstr_read.
Lars Wirzenius
1
-0
/
+67
2010-10-25
Refactor unittest to combine identical code for write and fwrite tests.
Lars Wirzenius
1
-31
/
+28
2010-10-25
Remove outdated comment.
Lars Wirzenius
1
-2
/
+0
2010-10-25
Implement dynstr_write.
Lars Wirzenius
1
-0
/
+41
2010-10-25
Modify test for dynstr_fwrite to check that it wrote correctly.
Lars Wirzenius
1
-1
/
+11
2010-10-25
Implement dynstr_cmp.
Lars Wirzenius
1
-0
/
+89
2010-10-25
Implement dynstr_fwrite.
Lars Wirzenius
1
-0
/
+30
2010-10-25
Refactor unittest more, to automatically free substrings.
Lars Wirzenius
1
-18
/
+25
2010-10-25
Refactor unit tests to simplify code for each test.
Lars Wirzenius
1
-114
/
+83
2010-10-25
Add tests to get full coverage for dynstr_first_byte and dynstr_last_byte.
Lars Wirzenius
1
-0
/
+28
2010-10-25
Implement dynstr_last_string.
Lars Wirzenius
1
-0
/
+102
2010-10-25
Implement dynstr_first_string.
Lars Wirzenius
1
-0
/
+102
2010-10-24
Implement dynstr_last_byte.
Lars Wirzenius
1
-0
/
+70
2010-10-24
Implement dynstr_first_byte.
Lars Wirzenius
1
-0
/
+70
2010-10-22
Add test for byte_at for 8-bit bytes.
Lars Wirzenius
1
-0
/
+12
2010-10-22
Implement dynstr_byte_at.
Lars Wirzenius
1
-0
/
+24
2010-10-22
Fix accesses of uninitialized memory reported by valgrind.
Lars Wirzenius
1
-3
/
+3
2010-10-22
Fix problem reported by valgrind by initializing sa_mask.
Lars Wirzenius
1
-0
/
+1
2010-10-22
Fix memory leak in test_alloc_does_not_call_error_handler.
Lars Wirzenius
1
-0
/
+1
2010-10-22
Free up some more strings used by unit tests.
Lars Wirzenius
1
-0
/
+31
2010-10-22
Implement dynstr_free, and use it in one location.
Lars Wirzenius
1
-0
/
+1
2010-10-22
Implement dynstr_cat.
Lars Wirzenius
1
-0
/
+52
2010-10-22
Implement dynstr_substr.
Lars Wirzenius
1
-0
/
+117
2010-10-22
Add support creating constant strings.
Lars Wirzenius
1
-0
/
+46
2010-10-22
Add test for second allocation failure for new().
Lars Wirzenius
1
-12
/
+45
2010-10-22
Add test to verify alloc() does not call error handler if allocation succeeds.
Lars Wirzenius
1
-0
/
+13
2010-10-22
Add test to verify that alloc() calls error handler, when appropriate.
Lars Wirzenius
1
-1
/
+65
2010-10-20
Add more tests for dynstr_memcpy.
Lars Wirzenius
1
-0
/
+60
2010-10-20
Implement dynstr_create_from_memory.
Lars Wirzenius
1
-0
/
+18
2010-10-20
Implement dynstr_new_from_cstring and dynstr_memcpy.
Lars Wirzenius
1
-0
/
+19
2010-10-20
Implement dynstr_new_empty, dynstr_len, and dynstr_is_empty.
Lars Wirzenius
1
-0
/
+12
2010-10-20
Add dynstr_init so unit tests can reset library.
Lars Wirzenius
1
-0
/
+24
2010-10-20
Add test to verify dynstr_malloc_error_abort actually calls abort.
Lars Wirzenius
1
-0
/
+38
2010-10-20
Implement dynstr_set_malloc_error_handler.
Lars Wirzenius
1
-0
/
+10
2010-10-20
Initial import.
Lars Wirzenius
1
-0
/
+49