summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-24 17:28:43 +0000
committerDavid Robillard <d@drobilla.net>2014-01-24 17:28:43 +0000
commita659a13c531e991851e013db3d4223bf16a343b8 (patch)
tree583112a95bc6abeb39dd514c987ff1c82b3d2e9e /tests
parent28ab52045a429eb190ea1a23cef92d81c36748f5 (diff)
downloadingen-a659a13c531e991851e013db3d4223bf16a343b8.tar.gz
ingen-a659a13c531e991851e013db3d4223bf16a343b8.tar.bz2
ingen-a659a13c531e991851e013db3d4223bf16a343b8.zip
Fix various whitespace and formatting issues.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5325 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'tests')
-rw-r--r--tests/ingen_test.cpp16
1 files changed, 2 insertions, 14 deletions
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<AtomWriter> atom_writer(
- new AtomWriter(world->uri_map(), world->uris(), client));
- */
SPtr<Interface> 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;
}
-