aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_reader_writer.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-12 18:24:19 +0200
committerDavid Robillard <d@drobilla.net>2021-03-07 15:32:23 -0500
commit37acc7772335e5a0987531fb42f0dd9e529b3b4d (patch)
treecb9cb1374ccdea28e5bcb1afad325a51a7cd5c2d /test/test_reader_writer.c
parent88402a1cddba79e339fc92037be2449c429c0780 (diff)
downloadserd-37acc7772335e5a0987531fb42f0dd9e529b3b4d.tar.gz
serd-37acc7772335e5a0987531fb42f0dd9e529b3b4d.tar.bz2
serd-37acc7772335e5a0987531fb42f0dd9e529b3b4d.zip
Remove "get" from accessor names
Diffstat (limited to 'test/test_reader_writer.c')
-rw-r--r--test/test_reader_writer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c
index d0301a87..7cb4066a 100644
--- a/test/test_reader_writer.c
+++ b/test/test_reader_writer.c
@@ -90,7 +90,7 @@ test_read_chunks(void)
serd_reader_new(SERD_TURTLE, rt, free, NULL, NULL, test_sink, NULL);
assert(reader);
- assert(serd_reader_get_handle(reader) == rt);
+ assert(serd_reader_handle(reader) == rt);
assert(f);
SerdStatus st = serd_reader_start_stream(reader, f, NULL, false);
@@ -146,7 +146,7 @@ test_read_string(void)
serd_reader_new(SERD_TURTLE, rt, free, NULL, NULL, test_sink, NULL);
assert(reader);
- assert(serd_reader_get_handle(reader) == rt);
+ assert(serd_reader_handle(reader) == rt);
// Test reading a string that ends exactly at the end of input (no newline)
const SerdStatus st =
@@ -179,7 +179,7 @@ test_writer(const char* const path)
assert(serd_writer_set_base_uri(writer, &lit));
assert(serd_writer_set_prefix(writer, &lit, &lit));
assert(serd_writer_end_anon(writer, NULL));
- assert(serd_writer_get_env(writer) == env);
+ assert(serd_writer_env(writer) == env);
uint8_t buf[] = {0xEF, 0xBF, 0xBD, 0};
SerdNode s = serd_node_from_string(SERD_URI, "");
@@ -281,7 +281,7 @@ test_reader(const char* path)
SerdReader* reader =
serd_reader_new(SERD_TURTLE, rt, free, NULL, NULL, test_sink, NULL);
assert(reader);
- assert(serd_reader_get_handle(reader) == rt);
+ assert(serd_reader_handle(reader) == rt);
SerdNode g = serd_node_from_string(SERD_URI, "http://example.org/");
serd_reader_set_default_graph(reader, &g);