void () { rename(f, "ff.txt"); setBinaryContent(f,new byte[0]); initModelOnSecondLineAndSelectRevisions(0, 1); assertEquals(FileUtil.toSystemDependentName(f.getPath()), dm.getTitle()); assertTrue(dm.getLeftTitle(new NullRevisionsProgress()), dm.getLeftTitle(new NullRevisionsProgress()).endsWith(" - f.txt")); assertTrue(dm.getRightTitle(new NullRevisionsProgress()), dm.getRightTitle(new NullRevisionsProgress()).endsWith(" - ff.txt")); }