"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "t/0625_Dialog_Scan_CLI.t" between
gscan2pdf-2.13.1.tar.xz and gscan2pdf-2.13.2.tar.xz

About: gscan2pdf is a GUI to produce PDFs from scanned documents (using Perl).

0625_Dialog_Scan_CLI.t  (gscan2pdf-2.13.1.tar.xz):0625_Dialog_Scan_CLI.t  (gscan2pdf-2.13.2.tar.xz)
skipping to change at line 106 skipping to change at line 106
$signal = $dialog->signal_connect( $signal = $dialog->signal_connect(
'reloaded-scan-options' => sub { 'reloaded-scan-options' => sub {
$dialog $dialog
->signal_handler_disconnect( ->signal_handler_disconnect(
$signal); $signal);
is_deeply( is_deeply(
$dialog->get( $dialog->get(
'current-scan-options') 'current-scan-options')
->get_data, ->get_data,
{ {
backend => [ backend =>
{ mode => 'Gray' } [ { mode => 'Gray' } ]
]
}, },
'retrieved Gray from cache #2' 'retrieved Gray from cache #2'
); );
Gtk3->main_quit; Gtk3->main_quit;
} }
); );
$dialog->set_option( $dialog->set_option(
$dialog->get( $dialog->get(
'available-scan-options') 'available-scan-options')
->by_name('mode'), ->by_name('mode'),
skipping to change at line 148 skipping to change at line 147
} }
); );
$dialog->set_option( $dialog->set_option(
$dialog->get('available-scan-options')->by_name('mode'), $dialog->get('available-scan-options')->by_name('mode'),
'Color' ); 'Color' );
} }
); );
} }
); );
$dialog->set( 'device-list', [ { 'name' => 'test' } ] ); $dialog->set( 'device-list', [ { 'name' => 'test' } ] );
$dialog->set( 'device', 'test' ); $dialog->set( 'device', 'test' );
Gtk3->main; Gtk3->main;
######################### #########################
__END__ __END__
 End of changes. 2 change blocks. 
4 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)