comparison test/org/tmatesoft/hg/test/TestByteChannel.java @ 431:12f668401613

FIXMEs: awkward API refactored, what need to be internal got hidden; public aspects got captured in slim interfaces
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 29 Mar 2012 20:54:04 +0200
parents b015f3918120
children 2813a26b8999
comparison
equal deleted inserted replaced
430:d280759c2a3f 431:12f668401613
96 96
97 @Test 97 @Test
98 public void testWorkingCopyFileAccess() throws Exception { 98 public void testWorkingCopyFileAccess() throws Exception {
99 final File repoDir = TestIncoming.initEmptyTempRepo("testWorkingCopyFileAccess"); 99 final File repoDir = TestIncoming.initEmptyTempRepo("testWorkingCopyFileAccess");
100 final Map<String, ?> props = Collections.singletonMap(Internals.CFG_PROPERTY_REVLOG_STREAM_CACHE, false); 100 final Map<String, ?> props = Collections.singletonMap(Internals.CFG_PROPERTY_REVLOG_STREAM_CACHE, false);
101 repo = new HgLookup(new BasicSessionContext(props, null, null)).detect(repoDir); 101 repo = new HgLookup(new BasicSessionContext(props, null)).detect(repoDir);
102 File f1 = new File(repoDir, "file1"); 102 File f1 = new File(repoDir, "file1");
103 final String c1 = "First", c2 = "Second", c3 = "Third"; 103 final String c1 = "First", c2 = "Second", c3 = "Third";
104 ByteArrayChannel ch; 104 ByteArrayChannel ch;
105 ExecHelper exec = new ExecHelper(new OutputParser.Stub(), repoDir); 105 ExecHelper exec = new ExecHelper(new OutputParser.Stub(), repoDir);
106 // commit cset 0 106 // commit cset 0