tests: Updating tests to have correct include path for ndn-js
Now all test cases include ndn-js.js directly. Helper.js has been
removed from the source.
Status:
- there is some problem with tests/test-PIT-matching.html
In Chrome it complains about missing to_ccnb call on Object,
In Firefox it is doing something, but not everything
diff --git a/tests/test-throughput-ws.html b/tests/test-throughput-ws.html
index b059637..3f137e1 100644
--- a/tests/test-throughput-ws.html
+++ b/tests/test-throughput-ws.html
@@ -7,17 +7,14 @@
<head>
<title>NDN Get File via WebSocket</title>
- <script type="text/javascript" src="../tools/build/ndn-js.js"></script>
+ <script type="text/javascript" src="../build/ndn-js.js"></script>
<script type="text/javascript">
- hostip = "131.179.196.232";
- //hostip = "localhost";
- //var ndncon = new NDN({port:9696,host:hostip});
+ hostip = "localhost";
var ndncon = new NDN({port:9696,host:hostip,verify:false});
- ndncon.transport.connectWebSocket(ndncon);
///////////////////////////////////////////////////////////////////////////////////////////////////////////
- /*
+ /*
* Closure for calling expressInterest to fetch big file.
*/
var ContentClosure = function ContentClosure(ndn, T0) {