commit | a8659ff5709a27404e69e85e0fd27823c4abc76d | [log] [tgz] |
---|---|---|
author | Steve DiBenedetto <dibenede@cs.colostate.edu> | Thu Dec 04 14:50:28 2014 -0700 |
committer | Steve DiBenedetto <dibenede@cs.colostate.edu> | Tue Dec 16 22:01:41 2014 -0700 |
tree | 38f02c7a0fccb0a925763732a083bf2a0da7ffbc | |
parent | 8e131fd1d31a89b8e6e95a2728457463f0b02e58 [diff] |
face: Make default transport configurable This commit also removes support for the ndnd-tlv-0.7 protocol's default socket location from UnixTransport. Test HOME environment changing has also been centralized into a single fixture (util/test-home-environment-fixture.hpp) refs #2189 Change-Id: Iac1a6c88d7a2d9fcfb91a20356ac21b75daf7d17
diff --git a/tests/unit-tests/transport/test-homes/tcp-transport/bad-malformed-uri/.ndn/client.conf b/tests/unit-tests/transport/test-homes/tcp-transport/bad-malformed-uri/.ndn/client.conf new file mode 100644 index 0000000..872a17a --- /dev/null +++ b/tests/unit-tests/transport/test-homes/tcp-transport/bad-malformed-uri/.ndn/client.conf
@@ -0,0 +1 @@ +transport=tcp \ No newline at end of file
diff --git a/tests/unit-tests/transport/test-homes/tcp-transport/bad-missing-host/.ndn/client.conf b/tests/unit-tests/transport/test-homes/tcp-transport/bad-missing-host/.ndn/client.conf new file mode 100644 index 0000000..c09f144 --- /dev/null +++ b/tests/unit-tests/transport/test-homes/tcp-transport/bad-missing-host/.ndn/client.conf
@@ -0,0 +1 @@ +transport=tcp://:6000 \ No newline at end of file
diff --git a/tests/unit-tests/transport/test-homes/tcp-transport/bad-wrong-transport/.ndn/client.conf b/tests/unit-tests/transport/test-homes/tcp-transport/bad-wrong-transport/.ndn/client.conf new file mode 100644 index 0000000..1ee2a2f --- /dev/null +++ b/tests/unit-tests/transport/test-homes/tcp-transport/bad-wrong-transport/.ndn/client.conf
@@ -0,0 +1 @@ +transport=unix:// \ No newline at end of file
diff --git a/tests/unit-tests/transport/test-homes/tcp-transport/ok-omitted-host-omitted-port/.ndn/client.conf b/tests/unit-tests/transport/test-homes/tcp-transport/ok-omitted-host-omitted-port/.ndn/client.conf new file mode 100644 index 0000000..d09dff3 --- /dev/null +++ b/tests/unit-tests/transport/test-homes/tcp-transport/ok-omitted-host-omitted-port/.ndn/client.conf
@@ -0,0 +1 @@ +transport=tcp:// \ No newline at end of file
diff --git a/tests/unit-tests/transport/test-homes/tcp-transport/ok-omitted-port/.ndn/client.conf b/tests/unit-tests/transport/test-homes/tcp-transport/ok-omitted-port/.ndn/client.conf new file mode 100644 index 0000000..8ce375b --- /dev/null +++ b/tests/unit-tests/transport/test-homes/tcp-transport/ok-omitted-port/.ndn/client.conf
@@ -0,0 +1 @@ +transport=tcp://127.0.0.1 \ No newline at end of file
diff --git a/tests/unit-tests/transport/test-homes/tcp-transport/ok/.ndn/client.conf b/tests/unit-tests/transport/test-homes/tcp-transport/ok/.ndn/client.conf new file mode 100644 index 0000000..2dbad7a --- /dev/null +++ b/tests/unit-tests/transport/test-homes/tcp-transport/ok/.ndn/client.conf
@@ -0,0 +1 @@ +transport=tcp://127.0.0.1:6000