File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
droid-swing-ui/src/main/java/uk/gov/nationalarchives/droid/gui Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -54,24 +54,26 @@ setup() {
5454
5555@test " check for signature updates" {
5656 run $DROID_BIN -c
57- assert_output ' No signature updates are available'
57+ assert_output -p ' Container signature update Version 20250925 is available'
58+ assert_output -p ' Binary signature update Version 121 is available'
5859}
5960
6061@test " download signature updates" {
6162 run $DROID_BIN -d
62- assert_output ' No signature updates are available'
63+ assert_output -p ' Signature update version 20,250,925 has been downloaded'
64+ assert_output -p ' Signature update version 121 has been downloaded'
6365}
6466
6567@test " list signature files" {
6668 run $DROID_BIN -X
67- assert_output -p " Type: Binary Version: 120 File name: DROID_SignatureFile_V120 .xml"
68- assert_output -p " Type: Container Version: 20240715 File name: container-signature-20240715 .xml"
69+ assert_output -p " Type: Binary Version: 121 File name: DROID_SignatureFile_V121 .xml"
70+ assert_output -p " Type: Container Version: 20250925 File name: container-signature-20250925 .xml"
6971}
7072
7173@test " display signature file" {
7274 run $DROID_BIN -x
73- assert_output -p " Type: Container Version: 20240715 File name: container-signature-20240715 .xml"
74- assert_output -p " Type: Binary Version: 120 File name: DROID_SignatureFile_V120 .xml"
75+ assert_output -p " Type: Container Version: 20250925 File name: container-signature-20250925 .xml"
76+ assert_output -p " Type: Binary Version: 121 File name: DROID_SignatureFile_V121 .xml"
7577}
7678
7779@test " set signature file" {
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ public void windowClosing(WindowEvent e) {
298298
299299 helpMenuItem .addActionListener (evt -> {
300300 try {
301- URI uri = globalContext .getGlobalConfig ().getHelpPagesDir ().resolve ("indexs .html" ).toUri ();
301+ URI uri = globalContext .getGlobalConfig ().getHelpPagesDir ().resolve ("index .html" ).toUri ();
302302 Desktop .getDesktop ().browse (uri );
303303 } catch (IOException e ) {
304304 throw new RuntimeException (e );
You can’t perform that action at this time.
0 commit comments