diff options
author | David Robillard <d@drobilla.net> | 2020-08-12 18:24:19 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | ca7b73aea47367e946c473dd235061e48effdb5f (patch) | |
tree | 897225ab6e7acd16fa8402d650b7e8cb4babcf4c /tests | |
parent | bf00e111df96c634f480eac9427238f99ac166d6 (diff) | |
download | serd-ca7b73aea47367e946c473dd235061e48effdb5f.tar.gz serd-ca7b73aea47367e946c473dd235061e48effdb5f.tar.bz2 serd-ca7b73aea47367e946c473dd235061e48effdb5f.zip |
Remove "get" from accessor names
Diffstat (limited to 'tests')
-rw-r--r-- | tests/env_test.c | 2 | ||||
-rw-r--r-- | tests/serd_test.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/env_test.c b/tests/env_test.c index 4131e4cf..9a56befb 100644 --- a/tests/env_test.c +++ b/tests/env_test.c @@ -42,7 +42,7 @@ test_env(void) assert(serd_env_set_base_uri(env, NULL)); assert(serd_env_set_base_uri(env, &SERD_NODE_NULL)); - assert(serd_node_equals(serd_env_get_base_uri(env, NULL), &SERD_NODE_NULL)); + assert(serd_node_equals(serd_env_base_uri(env, NULL), &SERD_NODE_NULL)); SerdStringView prefix; SerdStringView suffix; diff --git a/tests/serd_test.c b/tests/serd_test.c index 7f4c291b..15e50892 100644 --- a/tests/serd_test.c +++ b/tests/serd_test.c @@ -136,7 +136,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); @@ -192,7 +192,7 @@ test_read_string(void) 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 = @@ -499,7 +499,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, ""); @@ -599,7 +599,7 @@ test_reader(const char* path) 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); |