diff test/org/tmatesoft/hg/test/TestAuxUtilities.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 6437d261048a
children 072b5f3ed0c8
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/TestAuxUtilities.java	Thu Mar 29 18:48:23 2012 +0200
+++ b/test/org/tmatesoft/hg/test/TestAuxUtilities.java	Thu Mar 29 20:54:04 2012 +0200
@@ -219,14 +219,14 @@
 	@Test
 	public void testRevlogInspectors() throws Exception { // TODO move to better place
 		HgRepository repository = Configuration.get().find("branches-1"); // any repo
-		repository.getChangelog().walk(0, TIP, new HgChangelog.RevisionInspector() {
+		repository.getChangelog().indexWalk(0, TIP, new HgChangelog.RevisionInspector() {
 
 			public void next(int localRevision, Nodeid revision, int linkedRevision) {
 				Assert.assertEquals(localRevision, linkedRevision);
 			}
 		});
 		final HgDataFile fileNode = repository.getFileNode("file1");
-		fileNode.walk(0, TIP, new HgDataFile.RevisionInspector() {
+		fileNode.indexWalk(0, TIP, new HgDataFile.RevisionInspector() {
 			int i = 0;
 
 			public void next(int localRevision, Nodeid revision, int linkedRevision) {
@@ -235,7 +235,7 @@
 				Assert.assertEquals(fileNode.getRevision(localRevision), revision);
 			}
 		});
-		fileNode.walk(0, TIP, new HgDataFile.ParentInspector() {
+		fileNode.indexWalk(0, TIP, new HgDataFile.ParentInspector() {
 			int i = 0;
 			Nodeid[] all = new Nodeid[fileNode.getRevisionCount()];