diff options
Diffstat (limited to 'libtests/qtest')
-rw-r--r-- | libtests/qtest/arg_parser.test | 2 | ||||
-rw-r--r-- | libtests/qtest/arg_parser/args-18.out | 2 | ||||
-rw-r--r-- | libtests/qtest/arg_parser/completion-sheep.out | 3 | ||||
-rw-r--r-- | libtests/qtest/arg_parser/exceptions.out | 2 |
4 files changed, 9 insertions, 0 deletions
diff --git a/libtests/qtest/arg_parser.test b/libtests/qtest/arg_parser.test index 42a80531..1d24d507 100644 --- a/libtests/qtest/arg_parser.test +++ b/libtests/qtest/arg_parser.test @@ -32,6 +32,7 @@ my @completion_tests = ( ['arg_parser --quack "user password" ', undef, 'quack-x'], ['arg_parser --quack "user pass\'word" ', undef, 'quack-x'], ['arg_parser --quack user\ password ', undef, 'quack-x'], + ['arg_parser --sheep --', undef, 'sheep'], ); foreach my $c (@completion_tests) @@ -78,6 +79,7 @@ my @arg_tests = ( ['@quack-xyz --', 0], # 15 ['--salad', 2], # 16 ['--salad=spinach', 0], # 17 + ['--sheep --ewe --', 0], # 18 ); for (my $i = 0; $i < scalar(@arg_tests); ++$i) diff --git a/libtests/qtest/arg_parser/args-18.out b/libtests/qtest/arg_parser/args-18.out new file mode 100644 index 00000000..094076f4 --- /dev/null +++ b/libtests/qtest/arg_parser/args-18.out @@ -0,0 +1,2 @@ +you +total quacks: 0 diff --git a/libtests/qtest/arg_parser/completion-sheep.out b/libtests/qtest/arg_parser/completion-sheep.out new file mode 100644 index 00000000..15673934 --- /dev/null +++ b/libtests/qtest/arg_parser/completion-sheep.out @@ -0,0 +1,3 @@ +--ewe +!--potato +!--ram diff --git a/libtests/qtest/arg_parser/exceptions.out b/libtests/qtest/arg_parser/exceptions.out index c71159f8..82eef2a7 100644 --- a/libtests/qtest/arg_parser/exceptions.out +++ b/libtests/qtest/arg_parser/exceptions.out @@ -2,3 +2,5 @@ duplicate handler: QPDFArgParser: adding a duplicate handler for option potato i duplicate handler: QPDFArgParser: adding a duplicate handler for option ram in baaa option table duplicate table: QPDFArgParser: registering already registered option table baaa unknown table: QPDFArgParser: selecting unregistered option table aardvark +copy from unknown table: QPDFArgParser: attempt to copy from unknown table two +copy unknown from other table: QPDFArgParser: attempt to copy unknown argument two from table baaa |