Add ../ to javascript src because test files were moved to testing subdirectory.
diff --git a/js/testing/test-encode-decode-Interest.html b/js/testing/test-encode-decode-Interest.html
index 8fdffe0..67727d1 100644
--- a/js/testing/test-encode-decode-Interest.html
+++ b/js/testing/test-encode-decode-Interest.html
@@ -6,70 +6,70 @@
<head>
<title>NDN Encocde/Decode Interest</title>
- <script type="text/javascript" src="java_socket_bridge.js"></script>
+ <script type="text/javascript" src="../java_socket_bridge.js"></script>
- <script type="text/javascript" src="CCNProtocolDTags.js"></script>
+ <script type="text/javascript" src="../CCNProtocolDTags.js"></script>
- <script type="text/javascript" src="CCNTime.js"></script>
+ <script type="text/javascript" src="../CCNTime.js"></script>
- <script type="text/javascript" src="ContentName.js"></script>
+ <script type="text/javascript" src="../ContentName.js"></script>
- <script type="text/javascript" src="ContentObject.js"></script>
+ <script type="text/javascript" src="../ContentObject.js"></script>
- <script type="text/javascript" src="DateFormat.js"></script>
+ <script type="text/javascript" src="../DateFormat.js"></script>
- <script type="text/javascript" src="Exclude.js"></script>
+ <script type="text/javascript" src="../Exclude.js"></script>
- <script type="text/javascript" src="ExcludeAny.js"></script>
+ <script type="text/javascript" src="../ExcludeAny.js"></script>
- <script type="text/javascript" src="ExcludeComponent.js"></script>
+ <script type="text/javascript" src="../ExcludeComponent.js"></script>
- <script type="text/javascript" src="Interest.js"></script>
+ <script type="text/javascript" src="../Interest.js"></script>
- <script type="text/javascript" src="KeyLocator.js"></script>
+ <script type="text/javascript" src="../KeyLocator.js"></script>
- <script type="text/javascript" src="KeyName.js"></script>
+ <script type="text/javascript" src="../KeyName.js"></script>
- <script type="text/javascript" src="PublisherID.js"></script>
+ <script type="text/javascript" src="../PublisherID.js"></script>
- <script type="text/javascript" src="Signature.js"></script>
+ <script type="text/javascript" src="../Signature.js"></script>
- <script type="text/javascript" src="SignedInfo.js"></script>
+ <script type="text/javascript" src="../SignedInfo.js"></script>
- <script type="text/javascript" src="PublisherPublicKeyDigest.js"></script>
+ <script type="text/javascript" src="../PublisherPublicKeyDigest.js"></script>
- <script type="text/javascript" src="FaceInstance.js"></script>
+ <script type="text/javascript" src="../FaceInstance.js"></script>
- <script type="text/javascript" src="ForwardingEntry.js"></script>
+ <script type="text/javascript" src="../ForwardingEntry.js"></script>
- <script type="text/javascript" src="encoding/BinaryXMLEncoder.js"></script>
+ <script type="text/javascript" src="../encoding/BinaryXMLEncoder.js"></script>
- <script type="text/javascript" src="encoding/BinaryXMLCodec.js"></script>
+ <script type="text/javascript" src="../encoding/BinaryXMLCodec.js"></script>
- <script type="text/javascript" src="encoding/BinaryXMLDecoder.js"></script>
+ <script type="text/javascript" src="../encoding/BinaryXMLDecoder.js"></script>
- <script type="text/javascript" src="encoding/DataUtils.js"></script>
+ <script type="text/javascript" src="../encoding/DataUtils.js"></script>
- <script type="text/javascript" src="encoding/EncodingUtils.js"></script>
+ <script type="text/javascript" src="../encoding/EncodingUtils.js"></script>
- <script language="JavaScript" type="text/javascript" src="security/KeyManager.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../security/KeyManager.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/jsbn.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/jsbn2.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/rsa.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/rsa2.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/jsbn.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/jsbn2.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/rsa.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/rsa2.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/sha1.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/sha256.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/sha512.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/md5.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/ripemd160.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/base64.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/sha1.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/sha256.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/sha512.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/md5.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/ripemd160.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/base64.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/rsapem-1.1.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/rsasign-1.2.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/asn1hex-1.1.js"></script>
- <script language="JavaScript" type="text/javascript" src="securityLib/x509-1.1.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/rsapem-1.1.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/rsasign-1.2.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/asn1hex-1.1.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../securityLib/x509-1.1.js"></script>
<script type="text/javascript">
@@ -172,7 +172,7 @@
<body >
<form>
- Please Enter a Interest:<br />
+ Please Enter an Interest:<br />
<input id="interest" type="text" name="INTERSET" value="/PARC/abc" />
@@ -180,7 +180,7 @@
<button onclick="encode()">Encode</button>
<button onclick="decode()">Decode</button>
- <p id="result">01D2F2FAA574657374000000</p>
+ <p id="result"></p>