aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/qtest
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-09-26 20:36:04 +0200
committerJay Berkenbilt <ejb@ql.org>2009-09-26 20:36:04 +0200
commitf3d7c26de1f575a14017a161ad1fdd2b93385e03 (patch)
tree065d6b0e12534a7371974bfb17e77c91d7b217d6 /libtests/qtest
parent64546cfa0ddc2cf4c91e0865e979947c6b20ca46 (diff)
downloadqpdf-f3d7c26de1f575a14017a161ad1fdd2b93385e03.tar.zst
removed qexc; non-compatible ABI change
git-svn-id: svn+q:///qpdf/trunk@709 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libtests/qtest')
-rw-r--r--libtests/qtest/buffer/buffer.out2
-rw-r--r--libtests/qtest/qexc.test28
-rw-r--r--libtests/qtest/qexc/test0.out2
-rw-r--r--libtests/qtest/qexc/test1.out1
-rw-r--r--libtests/qtest/qexc/test2.out2
-rw-r--r--libtests/qtest/qutil/qutil.out10
6 files changed, 6 insertions, 39 deletions
diff --git a/libtests/qtest/buffer/buffer.out b/libtests/qtest/buffer/buffer.out
index 9ee2b545..787a38ed 100644
--- a/libtests/qtest/buffer/buffer.out
+++ b/libtests/qtest/buffer/buffer.out
@@ -5,7 +5,7 @@ data: 1234567890abcdefghij
count: 32
size: 11
data: qwertyuiop
-INTERNAL ERROR: Pl_Buffer::getBuffer() called when not ready
+Pl_Buffer::getBuffer() called when not ready
size: 9
data: mooquack
done
diff --git a/libtests/qtest/qexc.test b/libtests/qtest/qexc.test
deleted file mode 100644
index 350ceba8..00000000
--- a/libtests/qtest/qexc.test
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env perl
-
-require 5.008;
-BEGIN { $^W = 1; }
-use strict;
-
-chdir("qexc") or die "chdir qexc failed: $!\n";
-
-require TestDriver;
-
-my $td = new TestDriver('qexc');
-
-my @tests =
- (['general exception', 2],
- ['internal error', 3],
- ['system exception', 2],
- );
-
-for (my $i = 0; $i < scalar(@tests); ++$i)
-{
- $td->runtest($tests[$i]->[0],
- {$td->COMMAND => "qexc $i"},
- {$td->FILE => "test$i.out",
- $td->EXIT_STATUS => $tests[$i]->[1]},
- $td->NORMALIZE_NEWLINES);
-}
-
-$td->report(scalar(@tests));
diff --git a/libtests/qtest/qexc/test0.out b/libtests/qtest/qexc/test0.out
deleted file mode 100644
index 7a6dba88..00000000
--- a/libtests/qtest/qexc/test0.out
+++ /dev/null
@@ -1,2 +0,0 @@
-exception: general exception
-what: general exception
diff --git a/libtests/qtest/qexc/test1.out b/libtests/qtest/qexc/test1.out
deleted file mode 100644
index cb18f40c..00000000
--- a/libtests/qtest/qexc/test1.out
+++ /dev/null
@@ -1 +0,0 @@
-uncaught exception: INTERNAL ERROR: internal error
diff --git a/libtests/qtest/qexc/test2.out b/libtests/qtest/qexc/test2.out
deleted file mode 100644
index 0f1994f7..00000000
--- a/libtests/qtest/qexc/test2.out
+++ /dev/null
@@ -1,2 +0,0 @@
-exception: doing something: Invalid argument
-what: doing something: Invalid argument
diff --git a/libtests/qtest/qutil/qutil.out b/libtests/qtest/qutil/qutil.out
index f7af8903..a48e6266 100644
--- a/libtests/qtest/qutil/qutil.out
+++ b/libtests/qtest/qutil/qutil.out
@@ -4,11 +4,11 @@
3.141590
3.142
1000.123000
-exception 1: INTERNAL ERROR: Util::int_to_string has been called with a padding value greater than its internal limit
-exception 2: INTERNAL ERROR: Util::int_to_string has been called with a padding value greater than its internal limit
-exception 3: INTERNAL ERROR: Util::int_to_string has been called with a padding value greater than its internal limit
-exception 4: INTERNAL ERROR: Util::double_to_string has been called with a number and a decimal places specification that would break an internal limit
-exception 5: INTERNAL ERROR: Util::double_to_string has been called with a number and a decimal places specification that would break an internal limit
+exception 1: Util::int_to_string has been called with a padding value greater than its internal limit
+exception 2: Util::int_to_string has been called with a padding value greater than its internal limit
+exception 3: Util::int_to_string has been called with a padding value greater than its internal limit
+exception 4: Util::double_to_string has been called with a number and a decimal places specification that would break an internal limit
+exception 5: Util::double_to_string has been called with a number and a decimal places specification that would break an internal limit
one
7
compare okay