Changed the name of the directory from git to repo.

This commit is contained in:
Winston Li 2015-01-11 12:38:17 +00:00
parent a9c8deca7f
commit dd6c38dd5b
7 changed files with 20 additions and 8 deletions

View file

@ -56,9 +56,9 @@ public class FileUtil {
byte[] secondContents = Files.readAllBytes(second);
boolean equals = Arrays.equals(firstContents, secondContents);
if (!equals) {
// System.out.println("Not equal: (" + first + ", " + second + ")");
// System.out.println(first + ": " + new String(firstContents));
// System.out.println(second + ": " + new String(secondContents));
System.out.println("Not equal: (" + first + ", " + second + ")");
System.out.println(first + ": " + new String(firstContents));
System.out.println(second + ": " + new String(secondContents));
}
return equals;
} catch (IOException e) {

View file

@ -18,8 +18,7 @@ import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.Map;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.*;
/**
* Created by Winston on 11/01/15.
@ -58,7 +57,7 @@ public class WLGitBridgeIntegrationTest {
.call()
.close();
wlgb.stop();
assertTrue(FileUtil.gitDirectoriesAreEqual(getResource("/canCloneARepository/state/git"), git.toPath()));
assertTrue(FileUtil.gitDirectoriesAreEqual(getResource("/canCloneARepository/state/repo"), git.toPath()));
}
private String makeConfigFile() throws IOException {

View file

@ -0,0 +1,12 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 404 </title>
</head>
<body>
<h2>HTTP ERROR: 404</h2>
<p>Problem accessing /canCloneARepository/state/repo/min_mean_wait_evm_7_eps_150dpi.png. Reason:
<pre> Not Found</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>

View file

@ -31,7 +31,7 @@
],
"atts": [
{
"url": "http://127.0.0.1:60000/canCloneARepository/state/git/min_mean_wait_evm_7_eps_150dpi.png",
"url": "http://127.0.0.1:60000/canCloneARepository/state/repo/min_mean_wait_evm_7_eps_150dpi.png",
"path": "min_mean_wait_evm_7_eps_150dpi.png"
}
]