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-PIT-matching.html b/tests/test-PIT-matching.html
index 4ccac10..a4a5eaf 100644
--- a/tests/test-PIT-matching.html
+++ b/tests/test-PIT-matching.html
@@ -10,12 +10,12 @@
<head>
<title>NDN PIT Matching</title>
- <script type="text/javascript" src="../Helper.js"></script>
+ <script type="text/javascript" src="../build/ndn-js.js"></script>
<script type="text/javascript">
- var ndn = new NDN({verify:false});
+ var ndn = new NDN({port:9696,host:"localhost", verify:false});
- var AsyncGetClosure = function AsyncGetClosure(target) {
+ var AsyncGetClosure = function AsyncGetClosure(target) {
// Inherit from Closure.
Closure.call(this);