A propos with correct spelling in french and test02

This commit is contained in:
Didier Clermonté 2016-09-13 17:22:58 +02:00
parent 861726b58d
commit 4e924b4b56
6 changed files with 5 additions and 7 deletions

View File

@ -15,7 +15,7 @@ CheckPanel.btnNewButton.text=\u2026
CheckPanel.btnNewButton_1.text=Vérifier
CheckPanel.lblNewLabel.text=Sauvegarde \u00E0 v\u00E9rifier :
SibaGUI.mnNewMenu.text=Aide
SibaGUI.mntmNewMenuItem_2.text=A propos
SibaGUI.mntmNewMenuItem_2.text=\u00C0 propos
SourceDirectorySelector.this.dialogTitle=Choix du répertoire à sauvegarder
TargetDirectorySelector.this.dialogTitle=Choix du répertoire de destination
BackupPanel.checkFileChooserButton.text= Fichier à vérifier

View File

@ -1 +0,0 @@
0cdb449c8a62adc04d7ac0a095b2a247 simplestuff-2016-08-30T22h44mn21s.tgz

View File

@ -0,0 +1 @@
4ccf182439024ca07874281864724ffc simplestuff-2016-09-13T17h03mn16s.tgz

View File

@ -56,13 +56,11 @@ public class SibaManagerTest
File source = new File("test/org/dclermonte/siba/data/simplestuff");
File target = SibaManager.backup(source, new File(System.getProperty("java.io.tmpdir")));
File reference = new File("test/org/dclermonte/siba/data/reference/simplestuff-2016-08-30T22h44mn21s.tgz");
File reference = new File("test/org/dclermonte/siba/data/reference/simplestuff-2016-09-13T17h03mn16s.tgz");
Boolean fileEquals = FileUtils.contentEquals(reference, target);
File targetMD5 = new File(target.getAbsolutePath() + ".md5");
target.delete();
targetMD5.delete();
// Test.
Assert.assertTrue(fileEquals);
}
@ -82,11 +80,11 @@ public class SibaManagerTest
@Test
public void backupTest03() throws ArchiveException, IOException, SibaException, NoSuchAlgorithmException
{
File source = new File("test/org/dclermonte/siba/data/reference/simplestuff-2016-08-30T22h44mn21s.tgz");
File source = new File("test/org/dclermonte/siba/data/reference/simplestuff-2016-09-13T17h03mn16s.tgz");
String md5Calculate = SibaUtils.md5(source);
File reference = new File("test/org/dclermonte/siba/data/reference/simplestuff-2016-08-30T22h44mn21s.tgz.md5");
File reference = new File("test/org/dclermonte/siba/data/reference/simplestuff-2016-09-13T17h03mn16s.tgz.md5");
String md5Reference = SibaUtils.loadMD5Sum(reference);
// Test.