A propos with correct spelling in french and test02
This commit is contained in:
parent
861726b58d
commit
4e924b4b56
@ -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
|
||||
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
0cdb449c8a62adc04d7ac0a095b2a247 simplestuff-2016-08-30T22h44mn21s.tgz
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
4ccf182439024ca07874281864724ffc simplestuff-2016-09-13T17h03mn16s.tgz
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user