From a659a13c531e991851e013db3d4223bf16a343b8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 24 Jan 2014 17:28:43 +0000 Subject: Fix various whitespace and formatting issues. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5325 a436a847-0d15-0410-975c-d299462d15a1 --- tests/ingen_test.cpp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'tests/ingen_test.cpp') diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp index cbf40817..28b60da7 100644 --- a/tests/ingen_test.cpp +++ b/tests/ingen_test.cpp @@ -56,12 +56,6 @@ using namespace Ingen; World* world = NULL; -/* -class TestClient : public AtomSink { - void write(const LV2_Atom* msg) { - } -}; -*/ class TestClient : public Interface { public: @@ -194,11 +188,6 @@ main(int argc, char** argv) *world->interface().get()); // AtomWriter to serialise responses from the engine - /* - TestClient client; - SPtr atom_writer( - new AtomWriter(world->uri_map(), world->uris(), client)); - */ SPtr client(new TestClient(world->log())); world->interface()->set_respondee(client); @@ -227,7 +216,7 @@ main(int argc, char** argv) sratom_read(sratom, &forge, world->rdf_world()->c_obj(), cmds->c_obj(), subject.c_obj()); - /* +#if 0 cerr << "READ " << out.len << " BYTES" << endl; const LV2_Atom* atom = (const LV2_Atom*)out.buf; cerr << sratom_to_turtle( @@ -235,7 +224,7 @@ main(int argc, char** argv) &world->uri_map().urid_unmap_feature()->urid_unmap, (const char*)cmds_file_uri.buf, NULL, NULL, atom->type, atom->size, LV2_ATOM_BODY(atom)) << endl; - */ +#endif if (!atom_reader.write((const LV2_Atom*)out.buf)) { return EXIT_FAILURE; @@ -259,4 +248,3 @@ main(int argc, char** argv) delete world; return 0; } - -- cgit v1.2.1