summaryrefslogtreecommitdiffstats
path: root/src/sord_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-28 23:36:32 +0000
committerDavid Robillard <d@drobilla.net>2011-01-28 23:36:32 +0000
commit9d9cd92a474f8ad5b8c75d3bedede0960281ef48 (patch)
tree91ff2827a28ddaaf5fce3a543eb947f7aea6c692 /src/sord_test.c
parent04da598576390d6bf0ed73865b6b3272fdf2840b (diff)
downloadsord-9d9cd92a474f8ad5b8c75d3bedede0960281ef48.tar.gz
sord-9d9cd92a474f8ad5b8c75d3bedede0960281ef48.tar.bz2
sord-9d9cd92a474f8ad5b8c75d3bedede0960281ef48.zip
Syntax support via Serd.
Preliminary syntax-using command line program. git-svn-id: http://svn.drobilla.net/sord/trunk@9 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sord_test.c')
-rw-r--r--src/sord_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sord_test.c b/src/sord_test.c
index 371e5c1..3df3ccc 100644
--- a/src/sord_test.c
+++ b/src/sord_test.c
@@ -266,7 +266,7 @@ main(int argc, char** argv)
sord_free(NULL); // Shouldn't crash
// Create with default options
- Sord sord = sord_new("testdb");
+ Sord sord = sord_new();
sord_set_option(sord, "http://unknown", "something", SORD_LITERAL, NULL, NULL);
sord_open(sord);
generate(sord, n_tuples, n_objects_per);
@@ -321,7 +321,7 @@ main(int argc, char** argv)
const size_t option_len = strlen(option);
for (int i = 0; i < 6; ++i) {
strncpy(option + option_len - 3, index_names[i], 3);
- sord = sord_new("testdb");
+ sord = sord_new();
sord_set_option(sord, option, "true", SORD_LITERAL, NULL, NULL);
printf("Testing Index `%s'\n", index_names[i]);
sord_open(sord);
@@ -332,7 +332,7 @@ main(int argc, char** argv)
}
free(option);
- sord = sord_new("testdb");
+ sord = sord_new();
sord_open(sord);
if (test_write(sord, n_tuples, n_objects_per))
goto fail;