pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pdf-devel] Autogenerated TSD manual patch


From: gerel
Subject: [pdf-devel] Autogenerated TSD manual patch
Date: Fri, 09 Jan 2009 17:01:17 -0800 (PST)

Hi gnudists,

Finally here is a script to generate the TSD manual. :-)
The script seems to work fine though I didn't read _all_ the generated
manual... jemarch ? :-)

The idea is to update it as we develop each layer, the subsystem tests,
etc. I hope that it will be trivial with this script.

OTOH, there are some bad formatted entries since some test cases are not
including a "Success condition" or "Description" clause, which are mandatory.
For each bad formatted comment the description will say "BAD FORMAT AT:...".


##
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: address@hidden
# target_branch: file:///home/gerel/PROJECTS/libgnupdf/trunk/
# testament_sha1: 4e5fd2f849084974e50adb0ca1d23cee284f1cb3
# timestamp: 2009-01-09 21:50:03 -0300
# base_revision_id: address@hidden
# 
# Begin patch
=== modified file 'ChangeLog'
--- ChangeLog   2009-01-06 15:46:20 +0000
+++ ChangeLog   2009-01-10 00:45:53 +0000
@@ -1,3 +1,19 @@
+2009-01-09  Gerardo E. Gidoni  <address@hidden>
+
+       * doc/generate-tsd.pl.in: new script to generate the TSD manual.
+
+       * configure.ac: added doc/generate-tsd.pl.in.
+
+       * doc/Makefile.am: added rule to generate the TSD manual.
+
+       * doc/gnupdf-tsd.texi: modified to include the generated TSD manual.
+
+       * torture/testdata/TD00001.desc: moved from the original TSD manual.
+
+       * torture/testdata/TD00002.desc: same.
+
+       * torture/testdata/TD00003.desc: same.
+
 2009-01-06  Jose E. Marchesi  <address@hidden>
 
        * doc/Makefile.am: Dont generate html manuals using texi2html.

=== modified file 'configure.ac'
--- configure.ac        2008-12-30 17:33:12 +0000
+++ configure.ac        2009-01-10 00:45:53 +0000
@@ -267,7 +267,7 @@
 AC_SUBST(GNUPDF_VERSION)
 
 dnl Generate output files
-AC_OUTPUT(Makefile lib/Makefile src/Makefile torture/Makefile 
torture/unit/Makefile doc/Makefile utils/Makefile prmgt/Makefile 
prmgt/apic2wiki prmgt/testlog2wiki prmgt/docfuncs prmgt/tsdfuncs 
src/extract-public-hdr build-aux/Makefile prmgt/get-test-data.sh 
prmgt/srcinfo-extractor.pl doc/version.texi prmgt/check-api-doc-consistency.pl)
+AC_OUTPUT(Makefile lib/Makefile src/Makefile torture/Makefile 
torture/unit/Makefile doc/Makefile utils/Makefile prmgt/Makefile 
prmgt/apic2wiki prmgt/testlog2wiki prmgt/docfuncs prmgt/tsdfuncs 
src/extract-public-hdr build-aux/Makefile prmgt/get-test-data.sh 
prmgt/srcinfo-extractor.pl doc/version.texi prmgt/check-api-doc-consistency.pl 
doc/generate-tsd.pl)
 
 dnl Report configuration results
 

=== modified file 'doc/Makefile.am'
--- doc/Makefile.am     2009-01-06 15:46:20 +0000
+++ doc/Makefile.am     2009-01-10 00:45:53 +0000
@@ -22,22 +22,28 @@
 
 AM_MAKEINFOHTMLFLAGS = --css-include=manuals.css
 
+
 if TEXI2HTML
 
 wiki: gnupdf.wiki gnupdf-utils.wiki gnupdf-tsd.wiki gnupdf-hg.wiki
 
+generate-tsd:
+       perl generate-tsd.pl > generated-tsd.texi
+
 gnupdf.wiki: gnupdf.texi
        texi2html --no-menu --init-file=gnupdf-manual-wiki.init gnupdf.texi
 
 gnupdf-utils.wiki: gnupdf-utils.texi
        texi2html --no-menu --init-file=gnupdf-manual-wiki.init 
gnupdf-utils.texi
 
-gnupdf-tsd.wiki: gnupdf-tsd.texi
+gnupdf-tsd.wiki: generate-tsd gnupdf-tsd.texi
        texi2html --no-menu --init-file=gnupdf-manual-wiki.init gnupdf-tsd.texi
 
 gnupdf-hg.wiki: gnupdf-hg.texi
        texi2html --no-menu --init-file=gnupdf-manual-wiki.init gnupdf-hg.texi
 
+
+
 clean-local:
        -rm -f gnupdf.info gnupdf-utils.info gnupdf-hg.info gnupdf-tsd.info
        -rm -f gnupdf.wiki gnupdf-utils.wiki gnupdf-hg.wiki gnupdf-tsd.wiki

=== added file 'doc/generate-tsd.pl.in'
--- doc/generate-tsd.pl.in      1970-01-01 00:00:00 +0000
+++ doc/generate-tsd.pl.in      2009-01-10 00:45:53 +0000
@@ -0,0 +1,227 @@
+#!/usr/bin/env perl
+
+# Copyright (C) 2009 Free Software Foundation, Inc.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+use warnings;
+use strict;
+use File::Find;
+
+##
+# This script generates the TSD manual from the unit tests located at
+# torture/unit and the test data located at torture/testdata.
+###
+
+my $TOPDIR="@abs_top_builddir@";
+my $DATADIR = $TOPDIR."/torture/testdata";
+my $TESTDIR = $TOPDIR."/torture/unit";
+my $TESTREGEX = 'pdf.+\.c$';
+my %dirs =("base"=>$TESTDIR."/base",
+           "object"=>$TESTDIR."/object",
+           "document"=>$TESTDIR."/document",
+           "page"=>$TESTDIR."/page");
+my %mods = ('base'=>[],
+            'object'=>[],
+            'document'=>[],
+            'page'=>[]);
+my @datafiles;
+
+sub print_data_desc
+{
+    my $str = shift;
+    open (FILE, $DATADIR."/$str".'.desc');
+    print <FILE>;
+    close(FILE);
+}
+
+sub print_comment
+{
+    my $comment = shift;
+    my ($tidx,$didx,$sidx,$fidx,$flen,$slen);
+    $tidx = index($comment, "Test:");
+    $slen=18;
+    $flen=10;
+    $comment =~ tr/\n/ /;
+    if ($tidx<0){
+        # should not ocurr.
+        return;
+    }
+    $didx = index($comment, "Description:");
+    $sidx = index($comment, "Success condition:");
+    $fidx = index($comment, "Data file:");
+    if ($sidx < 0){
+        $slen++;
+        $sidx = index($comment, "Success conditions:");
+    }
+    if ($fidx < 0){
+        $flen++;
+        $fidx = index($comment, "Data files:");
+    }
+    print '@deffn Test '.substr($comment,$tidx+5,$didx-($tidx+5))."\n";
+    if ($sidx<0 || $didx<0){
+        print "BAD FORMAT AT: " . substr($comment,$tidx+5,
+                                         length($comment)-($tidx+5));
+        print "\n".'@end deffn'."\n\n";
+        return;
+    }
+    print substr($comment, $didx+12, $sidx-($didx+12))."\n";
+    print '@table @strong'."\n";
+    print '@item Success condition'."\n";
+    if ($fidx<0){
+        print substr($comment, $sidx+$slen, length($comment)-($sidx+$slen));
+        print "\n".'@end table';
+    }else{
+        my $datafiles;
+        print substr($comment, $sidx+$slen, $fidx-($sidx+$slen));
+        print "\n".'@end table';
+        print "\n".'@table @file'."\n";
+        $datafiles = substr($comment, $fidx+$flen,
+                            length($comment)-($fidx+$flen));
+        while($datafiles =~ m/\G\W*(\w+)\W*/g){
+            print '@item '.$1."\n";
+            print_data_desc($1);
+            print "\n";
+        }
+        print "\n".'@end table';
+    }
+    print "\n".'@end deffn'."\n\n";
+}
+
+sub print_tests
+{
+    my $dir = shift;
+    my $testname = shift;
+    my $testfile = $dir.'/'.$testname.'.c';
+    $testfile =~ s/_/-/g;
+    my ($fd,$char,$comment,$nextchar);
+    open($fd,$testfile);
+
+  READCHAR:
+    $comment="";
+    while (read ($fd, $char, 1))
+    {
+        if ($char eq "/")
+        {
+            if (read ($fd, $nextchar, 1) && $nextchar eq "*")
+            {
+              EATCOMMENT:
+                while (read ($fd, $nextchar, 1) && $nextchar ne "*" )
+                {
+                    $comment .= $nextchar;                    
+                }
+                if (read ($fd, $nextchar, 1) && $nextchar eq "/" )
+                {
+                    print_comment($comment) if $comment =~ /^\s+Test:/g;
+                    goto READCHAR;
+                }
+                goto EATCOMMENT;
+            }
+        }
+    }
+
+
+}
+
+sub print_layer
+{
+    my $layer=shift;
+    print '@menu'."\n";
+    foreach my $mod (sort(@{$mods{$layer}})){
+        print "* " . ucfirst $mod. " Module::\n";
+    }
+    print '@end menu'."\n";
+
+    foreach my $mod (sort(@{$mods{$layer}})){
+        my @tests;
+
+        find (sub {
+            if (-r && m/$TESTREGEX/){
+                my $m=substr($_,0,-2);
+                $m =~ s/-/_/g;
+                push @tests,$m;
+            }}, $dirs{$layer}."/$mod");
+
+        print '@node '. ucfirst $mod . " Module\n";
+        print '@subsection '. ucfirst $mod . " Module\n";
+        print '@menu'."\n";
+        foreach my $test (sort(@tests)){
+            print "* $test"."::\n";
+        }
+        print '@end menu'."\n";
+        foreach my $test (sort(@tests)){
+            print '@node '.$test."\n";
+            print '@subsubsection '.$test."\n";
+            print_tests($dirs{$layer}."/$mod",$test);
+        }
+
+    }
+}
+
+
+##
+# MAIN PROGRAM
+###
+# We should uncomment the following lines as we develop each layer.
+
+find (sub {push @{$mods{'base'}},$_ if -d && $_ ne '.';}, $dirs{'base'});
+#find (sub {push (@{$mods{'object'}},$_) if -d && $_ ne '.';}, 
$dirs{'object'});
+#find (sub {push (@{$mods{'document'}},$_) if -d && $_ ne '.';}, 
$dirs{'document'});
+#find (sub {push (@{$mods{'page'}},$_) if -d && $_ ne '.';}, $dirs{'page'});
+
+print '@menu'."\n";
+print "* Base Layer Modules::\n";
+#print "* Object Layer Modules::\n";
+#print "* Document Layer Modules::\n";
+#print "* Page Layer Modules::\n";
+print '@end menu'."\n";
+
+print "address@hidden Base Layer Modules\n";
+print "address@hidden Base Layer Modules\n";
+print_layer('base');
+
+#print "address@hidden Object Layer Modules\n";
+#print "address@hidden Object Layer Modules\n";
+#print_layer('object');
+
+#print "address@hidden Document Layer Modules\n";
+#print "address@hidden Document Layer Modules\n";
+#print_layer('document');
+
+#print "address@hidden Page Layer Modules\n";
+#print "address@hidden Page Layer Modules\n";
+#print_layer('page');
+
+
+print '@node Subsystem Testing'."\n";
+print '@chapter Subsystem Testing'."\n";
+
+print '@node System Testing'."\n";
+print '@chapter System Testing'."\n";
+
+print '@node Test Data Files'."\n";
+print '@chapter Test Data Files'."\n";
+
+print '@table @file'."\n";
+
+
+find (sub {push @datafiles,substr($_,0,-5) if -r && m/.+\.desc/g}, $DATADIR);
+foreach my $name (sort(@datafiles)){
+    print '@item ' . $name ."\n";
+    print_data_desc($name);
+}
+print '@end table'."\n";
+
+
+0;

=== modified file 'doc/gnupdf-tsd.texi'
--- doc/gnupdf-tsd.texi 2008-12-25 15:49:31 +0000
+++ doc/gnupdf-tsd.texi 2009-01-10 00:45:53 +0000
@@ -61,6505 +61,7 @@
 @node Unit Testing
 @chapter Unit Testing
 
address@hidden
-* Base Layer Modules::
address@hidden menu
-
address@hidden Base Layer Modules
address@hidden Base Layer Modules
-
address@hidden
-* Memory Allocation Module::
-* Filesystem Module::
-* Stream Module::
-* Text Module::
-* List Module::
-* Hash Module::
-* Error Module::
-* Types Module::
-* Crypt Module::
-* Floating Point Maths Module::
address@hidden menu
-
address@hidden Memory Allocation Module
address@hidden Memory Allocation Module
-
address@hidden
-* pdf_alloc::
-* pdf_realloc::
-* pdf_dealloc::
address@hidden menu
-
address@hidden pdf_alloc
address@hidden pdf_alloc
-
address@hidden Test pdf_alloc_001
-Allocate some bytes.
address@hidden @strong
address@hidden Success condition
-The call should not produce an error.
address@hidden table
address@hidden deffn
-
address@hidden pdf_realloc
address@hidden pdf_realloc
-
address@hidden Test pdf_realloc_001
-Get more memory.
address@hidden @strong
address@hidden Success condition
address@hidden @bullet
address@hidden The call should not produce an error.
address@hidden The previous contents of the buffer should still be there.
address@hidden itemize
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_realloc_002
-Reduce the size of a memory buffer.
address@hidden @strong
address@hidden Success condition
address@hidden @bullet
address@hidden The call should not produce an error.
address@hidden The truncated previous contents of the buffer should still be 
there.
address@hidden itemize
address@hidden table
address@hidden deffn
-
address@hidden pdf_dealloc
address@hidden pdf_dealloc
-
address@hidden Test pdf_dealloc_001
-Deallocate memory.
address@hidden @strong
address@hidden Success condition
-The call should not produce an error.
address@hidden table
address@hidden deffn
-
address@hidden Filesystem Module
address@hidden Filesystem Module
-
address@hidden
-* pdf_fsys_get_free_space::
-* pdf_fsys_open::
-* pdf_fsys_create_folder::
-* pdf_fsys_get_folder_contents::
-* pdf_fsys_get_parent::
-* pdf_fsys_remove_folder::
-* pdf_fsys_get_item_props::
-* pdf_fsys_item_props_to_hash::
-* pdf_fsys_item_p::
-* pdf_fsys_item_readable_p::
-* pdf_fsys_item_writeable_p::
-* pdf_fsys_get_temp_path_name::
-* pdf_fsys_file_get_filesystem::
-* pdf_fsys_file_get_mode::
-* pdf_fsys_file_get_url::
-* pdf_fsys_file_set_mode::
-* pdf_fsys_file_get_size::
-* pdf_fsys_file_same_p::
-* pdf_fsys_file_set_size::
-* pdf_fsys_file_read::
-* pdf_fsys_file_write::
-* pdf_fsys_file_flush::
-* pdf_fsys_file_request_ria::
-* pdf_fsys_file_has_ria::
-* pdf_fsys_file_cancle_ria::
-* pdf_fsys_file_close::
-* pdf_fsys_file_reopen::
-* pdf_fsys_create::
-* pdf_fsys_destroy::
address@hidden menu
-
address@hidden pdf_fsys_get_free_space
address@hidden pdf_fsys_file_get_size
-
address@hidden Test pdf_fsys_get_free_space_001
-Get the free space left on the filesystem for an existing path
address@hidden @strong
address@hidden Success condition
address@hidden should return the free space left on the filesystem.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_get_free_space_002
-Get the free space left on the filesystem for a non-existing path
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{0}
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_open
address@hidden pdf_fsys_open
-
address@hidden Test pdf_fsys_open_001
-Open an existent and readable file for reading.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_open_002
-Open a non-existent and writable file for writing.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_open_003
-Open an existing and writable file for writing.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_open_004
-Open an existing, readable and writable file for reading and writing.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_open_005
-Open a non-existent file for reading.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_EBADNAME}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_open_006
-Open an only readable file for writing.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_EBADPERMS}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_create_folder
address@hidden pdf_fsys_create_folder
-
address@hidden Test pdf_fsys_create_folder_001
-Create a folder with correct pathname and permission
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_create_folder_002
-Create a folder with incorrect pathname
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_EBADNAME}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_create_folder_003
-Create a folder without permission
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_EBADPERMS}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_get_folder_contents
address@hidden pdf_fsys_get_folder_contents
-
address@hidden Test pdf_fsys_get_folder_contents_001
-Get content of an existing an readable folder
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_get_folder_contents_002
-Get content of an existing an non-readable folder
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_EBADPERMS}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_get_folder_contents_003
-Get content of a non-existing folder
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_EBADNAME}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_get_parent
address@hidden pdf_fsys_get_parent
-
address@hidden Test pdf_fsys_get_parent_001
-Get the name of an existing an readable folder's father
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_get_parent_002
-Get the name of a non-existing an folder's father
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_EBADNAME}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_get_parent_003
-Get the name of an existing folder's father without permission
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_EBADPERMS}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_get_parent_001
-Get the parent name of an existing an readable folder
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_remove_folder
address@hidden pdf_fsys_remove_folder
-
address@hidden Test pdf_fsys_remove_folder_001
-Remove an existing folder with permission
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_remove_folder_002
-Remove an existing folder without permission
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_EBADPERMS}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_remove_folder_003
-Remove a non-existing folder
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_EBADNAME}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_get_item_props
address@hidden pdf_fsys_get_item_props
-
address@hidden Test pdf_fsys_get_item_props_001
-Get properties of an existing and readable filesystem item
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_get_item_props_002
-Get properties of an existing and non-readable filesystem item
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_EBADPERMS}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_get_item_props_003
-Get properties of a non-existing filesystem item
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_BADNAME}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_item_props_to_hash
address@hidden pdf_fsys_item_props_to_hash
-
address@hidden Test pdf_fsys_item_props_to_hash_001
-Convert a filesystem item's properties into a PDF hash
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK} and
-the values in the returned hash should equal the item's properties.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_item_props_to_hash_002
-Convert a filesystem item's properties with missing data into a PDF hash
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_ERROR}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_item_p
address@hidden pdf_fsys_item_p
-
address@hidden Test pdf_fsys_item_p_001
-Determine if an existing file exists
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_TRUE}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_item_p_002
-Determine if a non-existing file exists
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_FALSE}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_item_readable_p
address@hidden pdf_fsys_item_readable_p
-
address@hidden Test pdf_fsys_item_readable_p_001
-Determine if an existing an readable file is readable
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_TRUE}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_item_readable_p_002
-Determine if an existing an non-readable file is readable
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_FALSE}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_item_readable_p_003
-Determine if a non-existing file is readable
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_FALSE}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_item_writeable_p
address@hidden pdf_fsys_item_writeable_p
-
address@hidden Test pdf_fsys_item_writeable_p_001
-Determine if an existing an writeable file is writeable
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_TRUE}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_item_writeable_p_002
-Determine if an existing an non-writeable file is writeable
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_FALSE}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_item_writeable_p_003
-Determine if a non-existing file with a valid path is writeable
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_TRUE}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_item_writeable_p_004
-Determine if a file with an invaild path is writeable
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_FALSE}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_get_temp_path_name
address@hidden pdf_fsys_get_temp_path_name
-
address@hidden Test pdf_fsys_get_temp_path_name_001
-Get the path name for a new temporary file
address@hidden @strong
address@hidden Success condition
address@hidden should return a non-empty string.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_get_filesystem
address@hidden pdf_fsys_file_get_filesystem
-
address@hidden Test pdf_fsys_file_get_filesystem_001
-Get the filesystem of a file opened from the default filesystem
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{NULL}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_get_filesystem_002
-Get the filesystem of a file opened from a filesystem
address@hidden @strong
address@hidden Success condition
address@hidden should return the filesystem, the file was opened from.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_get_mode
address@hidden pdf_fsys_file_get_mode
-
address@hidden Test pdf_fsys_file_get_mode_001
-Get the file mode of a file, opened in read mode
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_FSYS_OPEN_MODE_READ}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_get_mode_002
-Get the file mode of a file. opened in write mode
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_FSYS_OPEN_MODE_WRITE}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_get_mode_003
-Get the file mode of a file, opened in read and write mode
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_FSYS_OPEN_MODE_RW}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_get_url
address@hidden pdf_fsys_file_get_url
-
address@hidden Test pdf_fsys_file_get_url_001
-Get the url of an open file
address@hidden @strong
address@hidden Success condition
address@hidden should return a non-empty string on a filesystem that 
-supports valid URLs, otherwise it should return an empty string.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_set_mode
address@hidden pdf_fsys_file_set_mode
-
address@hidden Test pdf_fsys_file_set_mode_001
-Set a new access mode for an open file
address@hidden @strong
address@hidden Success condition
address@hidden should return the old access mode of the file.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_fsys_file_get_size
address@hidden pdf_fsys_file_get_size
-
address@hidden Test pdf_fsys_file_get_size_001
-Get the size of an open file
address@hidden @strong
address@hidden Success condition
address@hidden should return the size of the file.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_same_p
address@hidden pdf_fsys_file_same_p
-
address@hidden Test pdf_fsys_file_same_p_001
-Compare an open file with its own path
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_TRUE}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_same_p_002
-Compare an open file with another file's path
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_FALSE}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_same_p_003
-Compare an open file with a non-existing path
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_FALSE}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_set_size
address@hidden pdf_fsys_file_set_size
-
address@hidden Test pdf_fsys_file_set_size_001
-Set size of on opended file
address@hidden @strong
address@hidden Success condition
address@hidden should return the new file size (old size plus added size).
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_read
address@hidden pdf_fsys_file_read
-
address@hidden Test pdf_fsys_file_read_001
-Read from an opened file
address@hidden @strong
address@hidden Success condition
address@hidden should return a size that matches the size of the read data. The
-read data should equal the data in the file.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_read_002
-Read more data from an opened file than it contains
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{0}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_read_003
-Read data from an opened file, that was opened for writing only
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{0}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_write
address@hidden pdf_fsys_file_write
-
address@hidden Test pdf_fsys_file_write_001
-Write data to an opened file
address@hidden @strong
address@hidden Success condition
address@hidden should return the size of the data writen to the file.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_write_002
-Write more data to an opened file than space is available
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{0}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_write_003
-Write data to an opened file that was opened readonly.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{0}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_flush
address@hidden pdf_fsys_file_flush
-
address@hidden Test pdf_fsys_file_flush_001
-Write data to a file, flush it and test if it's in the file.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_request_ria
address@hidden pdf_fsys_file_request_ria
-
address@hidden Test pdf_fsys_file_request_ria_001
-Request a read-in-advance operation for on open file on a filesystem, that 
supports ria.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_request_ria_002
-Request a read-in-advance operation for on open file on a filesystem, 
-that doesn't support ria.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_ERROR}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_has_ria
address@hidden pdf_fsys_file_has_ria
-
address@hidden Test pdf_fsys_file_has_ria_001
-Check if the filesystem is performing a ria operation on an open 
-file that has an ongoing ria operation.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_TRUE}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_has_ria_002
-Check if the filesystem is performing a ria operation on an open 
-file that has no ongoing ria operation.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_FALSE}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_has_ria_003
-Check if the filesystem is performing a ria operation on an open 
-file, on a filesystem, that doesn't support ria operations.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_FALSE}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_cancle_ria
address@hidden pdf_fsys_file_cancle_ria
-
address@hidden Test pdf_fsys_file_cancle_ria_001
-Cancle all read-in-advance operations for an open file.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_close
address@hidden pdf_fsys_file_close
-
address@hidden Test pdf_fsys_file_close_001
-Close a file.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_file_reopen
address@hidden pdf_fsys_file_reopen
-
address@hidden Test pdf_fsys_file_reopen_001
-Reopen a file with right permissions in any mode.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fsys_file_reopen_002
-Reopen a readonly file in write mode.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_EBADPERMS}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_create
address@hidden pdf_fsys_create
-
address@hidden Test pdf_fsys_create_001
-Create filesystem.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_fsys_destroy
address@hidden pdf_fsys_destroy
-
address@hidden Test pdf_fsys_destroy_001
-Destroy filesystem.
address@hidden @strong
address@hidden Success condition
address@hidden should return @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
-
address@hidden Stream Module
address@hidden Stream Module
-
address@hidden
-* pdf_stm_mem_new::
-* pdf_stm_read::
-* pdf_stm_read_char::
-* pdf_stm_peek_char::
-* pdf_stm_seek::
-* pdf_stm_tell::
-* pdf_stm_write::
address@hidden menu
-
address@hidden pdf_stm_mem_new
address@hidden pdf_stm_mem_new
-
address@hidden Test pdf_stm_mem_new_001
-Create a new memory-based reading stream.
address@hidden @strong
address@hidden Success condition
address@hidden should return a @code{PDF_OK}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_stm_read
address@hidden pdf_stm_read
-
address@hidden Test pdf_stm_read_001
-Read some bytes from a reading memory stream.
address@hidden @strong
address@hidden Success condition
-The readed data should be consistent.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_read_002
-Read bytes from a reading memory stream getting and EOF condition in
-the returned value.
address@hidden @strong
address@hidden Success condition
-The readed data should be consistent and we should get
-and EOF condition in the returned value.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_read_003
-Read bytes from a reading memory stream in several steps.
address@hidden @strong
address@hidden Success condition
-The readed data should be consistent.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_read_004
-Read some bytes from a reading memory cache with
-two null filters installed.
address@hidden @strong
address@hidden Success condition
-The readed data should be consistent.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_read_005
-Create a memory-based reading stream and attach a RunLength filter
-decoder to it.
address@hidden @strong
address@hidden Success condition
-The decoded data should be correct.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_read_006
-Read some bytes from a read memory stream with an
-ASCII Hex decoder.
address@hidden @strong
address@hidden Success condition
-The decoded data should be correct.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_read_007
-Read some bytes from a read memory stream with an
-ASCII Hex decoder having white characters in the data.
address@hidden @strong
address@hidden Success condition
-The decoded data should be correct.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_read_008
-Read some bytes from a read memory stream with an
-ASCII Hex decoder having an even number of hex digits
-in the input.
address@hidden @strong
address@hidden Success condition
-The decoded data should be correct.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_stm_read_009
-Create a memory-based reading stream and attach a flate filter
-decoder to it.
address@hidden @strong
address@hidden Success condition
-The decoded data should be correct.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_read_010
-Create a memory-based reading stream and attach a JBIG2 decoder to
-it. Then decode a JBIG2 page using a global segment.
address@hidden @strong
address@hidden Success condition
-The decoded bitmap should be equal to @file{TD00003}.
address@hidden Data files
address@hidden @minus
address@hidden @file{TD00001}
address@hidden @file{TD00002}
address@hidden @file{TD00003}
address@hidden itemize
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_read_011
-Create a memory-based reading stream and attach a cipher filter
-decoder to it.
address@hidden @strong
address@hidden Success condition
-The decoded data should be correct.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_stm_read_char
address@hidden pdf_stm_read_char
-
address@hidden Test pdf_stm_read_char_001
-Read a character from a memory stream.
address@hidden @strong
address@hidden Success condition
-The read character should be ok.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_read_char_002
-Read a character from an empty memory stream.
address@hidden @strong
address@hidden Success condition
-The read character should be @code{PDF_EOF}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_stm_peek_char
address@hidden pdf_stm_peek_char
-
address@hidden Test pdf_stm_peek_char_001
-Peek a character from a memory stream.
address@hidden @strong
address@hidden Success condition
-The peek character should be ok.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_peek_char_002
-Peek a character from an empty memory stream.
address@hidden @strong
address@hidden Success condition
-The peek character should be @code{PDF_EOF}.
address@hidden table
address@hidden deffn
-
address@hidden pdf_stm_seek
address@hidden pdf_stm_seek
-
address@hidden Test pdf_stm_seek_001
-Seek into a memory read stream.
address@hidden @strong
address@hidden Success condition
-The seek operation should success.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_seek_002
-Seek to a position beyond the size of the stream
-into a memory read stream.
address@hidden @strong
address@hidden Success condition
-The seek operation should success and the seek
-position should be to the last valid position 
-in the stream.
address@hidden table
address@hidden deffn
-
address@hidden pdf_stm_tell
address@hidden pdf_stm_tell
-
address@hidden Test pdf_stm_tell_001
-Tell an initialized reading memory stream.
address@hidden @strong
address@hidden Success condition
-The tell operation should report the first position
-in the stream (0).
address@hidden table
address@hidden deffn
-
address@hidden pdf_stm_write
address@hidden pdf_stm_write
-
address@hidden Test pdf_stm_write_001
-Write some bytes to a write memory stream.
address@hidden @strong
address@hidden Success condition
-The written data should be consistent.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_write_002
-Write some bytes to a write memory stream with
-two null filter installed.
address@hidden @strong
address@hidden Success condition
-The written data should be consistent.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_write_003
-Write some bytes to a write memory stream
-producing a cache flush.
address@hidden @strong
address@hidden Success condition
-The written data should be consistent.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_write_004
-Write some bytes to a write memory stream with an ASCII Hex encoder.
address@hidden @strong
address@hidden Success condition
-The written data should be consistent.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_write_005
-Create a memory-based writing stream and attach a RunLength filter
-encoder to it.
address@hidden @strong
address@hidden Success condition
-The encoded data should be correct.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_write_006
-Write some bytes to a write memory stream with an
-ASCII Hex encoder, generating new lines.
address@hidden @strong
address@hidden Success condition
-The encoded data should be correct.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_stm_write_007
-Create a memory-based writing stream and attach a flate filter
-encoder to it.
address@hidden @strong
address@hidden Success condition
-The encoded data should be correct.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_stm_write_008
-Create a memory-based writing stream and attach an V2 filter without 
parameters.
address@hidden @strong
address@hidden Success condition
-The installation of the filter should fail.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_write_009
-Create a memory-based writing stream and attach a V2 cipher filter to
-encode it.
address@hidden @strong
address@hidden Success condition
-The encoded data should be correct.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_write_010
-Create a memory-based writing stream and attach an AESV2 cipher filter to
-encode it.
address@hidden @strong
address@hidden Success condition
-The encoded data should be correct.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_write_011
-Create a memory-based writing stream and attach an MD5 filter to
-encode it.
address@hidden @strong
address@hidden Success condition
-The encoded data should be correct.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_stm_write_012
-Create a memory-based writing stream and attach an AESv2 cipher filter to
-encode it.
address@hidden @strong
address@hidden Success condition
-The encoded data should be correct.
address@hidden table
address@hidden deffn
-
-
address@hidden Text Module
address@hidden Text Module
-
address@hidden
-* pdf_text_init::
-* pdf_text_new_destroy::
-* pdf_text_dup::
-* pdf_text_new_from_host::
-* pdf_text_new_from_pdf_string::
-* pdf_text_new_from_unicode::
-* pdf_text_new_from_u32::
-* pdf_text_get_country::
-* pdf_text_get_language::
-* pdf_text_set_country::
-* pdf_text_set_language::
-* pdf_text_empty_p::
-* pdf_text_get_host_encoding::
-* pdf_text_check_host_encoding::
-* pdf_text_get_best_encoding::
-* pdf_text_get_host::
-* pdf_text_get_pdfdocenc::
-* pdf_text_get_unicode::
-* pdf_text_get_hex::
-* pdf_text_set_host::
-* pdf_text_set_pdfdocenc::
-* pdf_text_set_unicode::
-* pdf_text_concat::
-* pdf_text_replace::
-* pdf_text_replace_ascii::
-* pdf_text_filter::
-* pdf_text_cmp::
-
-
address@hidden menu
-
address@hidden pdf_text_init
address@hidden pdf_text_init
-
address@hidden Test pdf_text_init_001
-Initialize text module
address@hidden @strong
address@hidden Success conditions
-1. The call should not produce an error.
-
-2. A valid (non-empty) host encoding should be detected.
-
-3. A valid host endianness should be detected (either LE or BE).
-
-4. A valid (non-empty) host EOL marker should be detected.
-
-5. A valid (non-empty) language ID should be detected.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_new_destroy
address@hidden pdf_text_new_destroy
-
address@hidden Test pdf_text_new_destroy_001
-Create an empty text object and destroy it
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new} should not return a  @code{NULL} pointer.
-
-2. The text data of the created object should be empty.
-
-3. The language code of the output object should be empty
-
-4. The country code of the output object should be empty
-
-5. The call to @code{pdf_text_destroy} should return PDF_OK;
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_dup
address@hidden pdf_text_dup
-
address@hidden Test pdf_text_dup_001
-Duplicate an empty text object
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_dup} should not return a  @code{NULL} pointer.
-
-2. The text data of the created object should be empty.
-
-3. The language code of the output object should be empty
-
-4. The country code of the output object should be empty
-
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_dup_002
-Duplicate a text object with data contents but no language/country code
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_dup} should not return a  @code{NULL} pointer.
-
-2. The text data of the output object should be equal to the text data of the 
input object.
-
-3. The language code of the output object should be empty
-
-4. The country code of the output object should be empty
-
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_dup_003
-Duplicate a text object with data contents and language code
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_dup} should not return a  @code{NULL} pointer.
-
-2. The text data of the output object should be equal to the text data of the 
input object.
-
-3. The language code of the output object should be equal to the language code 
of the input object.
-
-4. The country code of the output object should be empty.
-
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_dup_004
-Duplicate a text object with data contents, language code and country code
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_dup} should not return a  @code{NULL} pointer.
-
-2. The text data of the output object should be equal to the text data of the 
input object.
-
-3. The language code of the output object should be equal to the language code 
of the input object.
-
-4. The country code of the output object should be equal to the country code 
of the input object.
-
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_new_from_host
address@hidden pdf_text_new_from_host
-
address@hidden Test pdf_text_new_from_host_001
-Create a text object with an input valid host-encoded string
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_new_from_host} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_host_002
-Create a text object with an input invalid host-encoded string
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_new_from_host} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_host_003
-Create a text object with an input string encoded in an invalid host encoding
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_new_from_host} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_new_from_pdf_string
address@hidden pdf_text_new_from_pdf_string
-
address@hidden Test pdf_text_new_from_pdf_string_001
-Create a text object with an input valid PDF-Doc-Encoded string
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_pdf_string} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones.
-
-3. The language code within the text object must be empty.
-
-4. The country code within the text object must be empty.
-
-5. The call should return a NULL @code{remaining_str} pointer and a zero 
@code{remaining_length}
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_pdf_string_002
-Create a text object with an input invalid PDF-Doc-Encoded string
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_pdf_string} should NOT return PDF_OK.
-
-2. Pointer to the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_pdf_string_003
-Create a text object with an input valid UTF-16BE encoded string with BOM 
(containing both 16-bit and 32-bit UTF-16 code points!) and without 
lang/country information.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_pdf_string} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object.
-
-3. The contents of the text object must be the expected ones.
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
-
-5. The call should return a NULL @code{remaining_str} pointer and a zero 
@code{remaining_length}
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_pdf_string_004
-Create a text object with an input valid UTF-16BE encoded string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_pdf_string} should NOT return PDF_OK.
-
-2. Pointer to the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_pdf_string_005
-Create a text object with an input invalid UTF-16BE encoded string with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_pdf_string} should NOT return PDF_OK.
-
-2. Pointer to the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_pdf_string_006
-Create a text object with an input valid UTF-16BE encoded string with BOM 
(containing both 16-bit and 32-bit UTF-16 code points!) which also contains a 
valid language code embedded.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_pdf_string} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones.
-
-4. The languange code within the text object must be the expected one.
-
-5. The country code within the text object must be empty.
-
-6. The call should return a NULL @code{remaining_str} pointer and a zero 
@code{remaining_length}
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_pdf_string_007
-Create a text object with an input valid UTF-16BE encoded string with BOM 
(containing both 16-bit and 32-bit UTF-16 code points!) which also contains a 
valid language code and a valid country code embedded.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_pdf_string} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones.
-
-4. The languange code within the text object must be the expected one.
-
-5. The country code within the text object must be the expected one.
-
-6. The call should return a NULL @code{remaining_str} pointer and a zero 
@code{remaining_length}
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_pdf_string_008
-Create a text object with an input valid UTF-16BE encoded string with BOM 
(containing both 16-bit and 32-bit UTF-16 code points!) which also contains 
more than one (three) valid language code embedded (the string contains more 
than one string in more than one different language).
address@hidden @strong
address@hidden Success conditions
-1. The first call to @code{pdf_text_new_from_pdf_string} should return PDF_OK.
-
-2. The first call should return a valid pointer to the new text object
-
-3. The contents of the first text object must be the expected ones.
-
-4. The languange code within the first text object must be the expected one.
-
-5. The country code within the first text object must be empty.
-
-6. The first call should return a valid @code{remaining_str} pointer and a 
non-zero @code{remaining_length}
-
-7. The second call to @code{pdf_text_new_from_pdf_string} should return PDF_OK.
-
-8. The second call should return a valid pointer to the new text object
-
-9. The contents of the second text object must be the expected ones.
-
-10. The languange code within the second text object must be the expected one.
-
-11. The country code within the second text object must be empty.
-
-12. The second call should return a valid @code{remaining_str} pointer and a 
non-zero @code{remaining_length}
-
-13. The third call to @code{pdf_text_new_from_pdf_string} should return PDF_OK.
-
-14. The third call should return a valid pointer to the new text object
-
-15. The contents of the third text object must be the expected ones.
-
-16. The languange code within the third text object must be the expected one.
-
-17. The country code within the third text object must be empty.
-
-18. The second call should return a NULL @code{remaining_str} pointer and a 
zero @code{remaining_length}
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_pdf_string_009
-Create a text object with an input valid UTF-16BE encoded string with BOM 
(containing both 16-bit and 32-bit UTF-16 code points!) which also contains 
more than one (three) valid language code and a valid country code embedded 
(the string contains more than one string in more than one different 
language/country).
address@hidden @strong
address@hidden Success conditions
-1. The first call to @code{pdf_text_new_from_pdf_string} should return PDF_OK.
-
-2. The first call should return a valid pointer to the new text object
-
-3. The contents of the first text object must be the expected ones.
-
-4. The languange code within the first text object must be the expected one.
-
-5. The country code within the first text object must be the expected one.
-
-6. The first call should return a valid @code{remaining_str} pointer and a 
non-zero @code{remaining_length}
-
-7. The second call to @code{pdf_text_new_from_pdf_string} should return PDF_OK.
-
-8. The second call should return a valid pointer to the new text object
-
-9. The contents of the second text object must be the expected ones.
-
-10. The languange code within the second text object must be the expected one.
-
-11. The country code within the second text object must be the expected one.
-
-12. The second call should return a valid @code{remaining_str} pointer and a 
non-zero @code{remaining_length}
-
-13. The third call to @code{pdf_text_new_from_pdf_string} should return PDF_OK.
-
-14. The third call should return a valid pointer to the new text object
-
-15. The contents of the third text object must be the expected ones.
-
-16. The languange code within the third text object must be the expected one.
-
-17. The country code within the third text object must be the expected one.
-
-18. The second call should return a NULL @code{remaining_str} pointer and a 
zero @code{remaining_length}
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_new_from_unicode
address@hidden pdf_text_new_from_unicode
-
address@hidden Test pdf_text_new_from_unicode_001
-Create a text object with an input valid UTF-8 encoded string (containing 
8-bit, 16-bit, 24-bit and 32-bit code points!) without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones (without BOM).
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_002
-Create a text object with an input valid UTF-16BE encoded string (16-bit and 
32-bit code points!) without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones (without BOM).
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_003
-Create a text object with an input valid UTF-16LE encoded string (16-bit and 
32-bit code points!) without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones (without BOM).
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_004
-Create a text object with an input valid UTF-16HE encoded string (16-bit and 
32-bit code points!) without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones (without BOM).
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_005
-Create a text object with an input valid UTF-32BE encoded string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones (without BOM).
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_006
-Create a text object with an input valid UTF-32LE encoded string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones (without BOM).
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_007
-Create a text object with an input valid UTF-32HE encoded string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the object must be completely equal to the input data
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_008
-Create a text object with an input valid UTF-8 encoded string (containing 
8-bit, 16-bit, 24-bit and 32-bit code points!) with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones (without BOM).
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_009
-Create a text object with an input valid UTF-16BE encoded string (16-bit and 
32-bit code points!) with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones (without BOM).
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_010
-Create a text object with an input valid UTF-16LE encoded string (16-bit and 
32-bit code points!) with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones (without BOM).
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_011
-Create a text object with an input valid UTF-16HE encoded string (16-bit and 
32-bit code points!) with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones (without BOM).
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_012
-Create a text object with an input valid UTF-32BE encoded string with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones (without BOM).
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_013
-Create a text object with an input valid UTF-32LE encoded string with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the text object must be the expected ones (without BOM).
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_014
-Create a text object with an input valid UTF-32HE encoded string with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The function should return a valid pointer to the new text object
-
-3. The contents of the object must be completely equal to the input data
-
-4. The language code within the text object must be empty.
-
-5. The country code within the text object must be empty.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_new_from_unicode_015
-Create a text object with an input invalid UTF-8 encoded string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should NOT return PDF_OK.
-
-2. Pointer to the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_016
-Create a text object with an input invalid UTF-16BE encoded string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should NOT return PDF_OK.
-
-2. Pointer to the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_017
-Create a text object with an input invalid UTF-16LE encoded string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should NOT return PDF_OK.
-
-2. Pointer to the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_018
-Create a text object with an input invalid UTF-16HE encoded string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should NOT return PDF_OK.
-
-2. Pointer to the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_019
-Create a text object with an input invalid UTF-32BE encoded string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should NOT return PDF_OK.
-
-2. Pointer to the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_020
-Create a text object with an input invalid UTF-32LE encoded string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should NOT return PDF_OK.
-
-2. Pointer to the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_unicode_021
-Create a text object with an input invalid UTF-32HE encoded string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should NOT return PDF_OK.
-
-2. Pointer to the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_new_from_u32
address@hidden pdf_text_new_from_u32
-
address@hidden Test pdf_text_new_from_u32_001
-Create a text object given '0' as input number
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_u32} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_new_from_u32_001
-Create a text object given a non-zero positive number
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_u32} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden pdf_text_get_country
address@hidden pdf_text_get_country
-
address@hidden Test pdf_text_get_country_001
-Get country ID when the stored country ID is valid
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_get_country} should return a valid pointer.
-
-2. The length of the returned string should be 2.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_country_002
-Get country ID when the stored country ID is invalid
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_get_country} should return a valid pointer.
-
-2. The length of the returned string should be 0.
address@hidden table
address@hidden deffn
-
address@hidden pdf_text_get_language
address@hidden pdf_text_get_language
-
address@hidden Test pdf_text_get_language_001
-Get language ID when the stored language ID is valid
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_get_language} should return a valid pointer.
-
-2. The length of the returned string should be 2.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_language_002
-Get language ID when the stored language ID is invalid
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_get_language} should return a valid pointer.
-
-2. The length of the returned string should be 0.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_set_country
address@hidden pdf_text_set_country
-
address@hidden Test pdf_text_set_country_001
-Set a valid two-character country ID
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_country} should return PDF_OK.
-
-2. The contents of the internal country ID representation should be the 
expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_country_002
-Set an invalid one-character country ID
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_country} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_country_003
-Set an invalid empty country ID
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_country} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden pdf_text_set_language
address@hidden pdf_text_set_language
-
address@hidden Test pdf_text_set_language_001
-Set a valid two-character language ID
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_language} should return PDF_OK.
-
-2. The contents of the internal language ID representation should be the 
expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_language_002
-Set an invalid one-character language ID
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_language} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_language_003
-Set an invalid empty language ID
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_language} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_empty_p
address@hidden pdf_text_empty_p
-
address@hidden Test pdf_text_empty_p_001
-Check if a given empty text object is empty
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_empty_p} should return PDF_TRUE.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_empty_p_002
-Check if a given non-empty text object is empty
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_empty_p} should return PDF_FALSE.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_get_host_encoding
address@hidden pdf_text_get_host_encoding
-
address@hidden Test pdf_text_get_host_encoding_001
-Get the host encoding configured by the user. As this test really depends on 
what the user has configured in the system, the unit test will only check that 
a non-empty host encoding is returned.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_get_host_encoding} should return a non-empty 
@code{pdf_text_host_encoding_t} variable.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_check_host_encoding
address@hidden pdf_text_check_host_encoding
-
address@hidden Test pdf_text_check_host_encoding_001
-Check if a given valid host encoding is available in the system. ASCII-7 is 
considered as the host encoding that every system should at least have, so the 
test will check for it.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_check_host_encoding} should return PDF_OK.
-
-2. A non-empty @code{pdf_text_host_encoding_t} variable should be returned as 
well.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_check_host_encoding_002
-Check if a given invalid host encoding is available in the system. An 
inexistent host encoding will be requested.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_check_host_encoding} should NOT return PDF_OK.
-
-2. The @code{pdf_text_host_encoding_t} variable should remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden pdf_text_get_best_encoding
address@hidden pdf_text_get_best_encoding
-
address@hidden Test pdf_text_get_best_encoding_001
-Check if a best encoding is returned. If available, it must return a valid 
Unicode-based host encoding. If no Unicode encoding is available, it should 
return the preferred encoding. As this test really depends on what the user has 
configured in the system, the unit test will only check that a non-empty host 
encoding is returned.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_get_best_encoding} should return a non-empty 
@code{pdf_text_host_encoding_t} variable.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_get_host
address@hidden pdf_text_get_host
-
address@hidden Test pdf_text_get_host_001
-Get the contents of a text object in a valid host encoding
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_host} should return PDF_OK.
-
-2. The returned string must be the expected one.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_host_002
-Get the contents of a text object in an invalid host encoding
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_host} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden pdf_text_get_pdfdocenc
address@hidden pdf_text_get_pdfdocenc
-
address@hidden Test pdf_text_get_pdfdocenc_001
-Get the contents of a text object in PDF Doc Encoding. The contents of the 
text object can all be transformed to PDF Doc Encoding without loss of 
information.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_pdfdocenc} should return PDF_OK.
-
-2. The returned string must be the expected one, and NUL terminated
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_pdfdocenc_002
-Get the contents of a text object in PDF Doc Encoding. The contents of the 
text object cannot be transformed to PDF Doc Encoding without loss of 
information. A default character must be used for those characters that cannot 
be represented in PDF Doc Encoding.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_pdfdocenc} should return PDF_OK.
-
-2. The returned string must be the expected one, and NUL terminated
address@hidden table
address@hidden deffn
-
address@hidden pdf_text_get_unicode
address@hidden pdf_text_get_unicode
-
address@hidden Test pdf_text_get_unicode_001
-Get the contents of a non-empty text object in UTF-8 without BOM. The contents 
of the text object include characters that are encoded in UTF-8 using 8-bit, 
16-bit, 24-bit and 32-bit.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, not NUL terminated.
-
-3. The returned length must be the expected one.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_002
-Get the contents of a non-empty text object in UTF-8 with BOM. The contents of 
the text object include characters that are encoded in UTF-8 using 8-bit, 
16-bit, 24-bit and 32-bit.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, not NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
BOM in UTF-8.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_003
-Get the contents of an empty text object in UTF-8 without BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be NULL.
-
-3. The returned length must be zero.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_004
-Get the contents of an empty text object in UTF-8 with BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the BOM in UTF-8, not NUL terminated.
-
-3. The returned length must be equal to the length of the BOM in UTF-8.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_005
-Get the contents of a non-empty text object with lang/country info, in UTF-8 
without BOM and with lang/country information embedded (which should not be 
supported in UTF-8).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_006
-Get the contents of a non-empty text object with lang/country info, in UTF-8 
with BOM and with lang/country information embedded (which should not be 
supported in UTF-8).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_get_unicode_007
-Get the contents of a non-empty text object in UTF-16BE without BOM. The 
contents of the text object include characters that are encoded in UTF-16 using 
16-bit and 32-bit.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, not NUL terminated.
-
-3. The returned length must be the expected one.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_008
-Get the contents of a non-empty text object in UTF-16BE with BOM. The contents 
of the text object include characters that are encoded in UTF-16 using 16-bit 
and 32-bit.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, not NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
BOM in UTF-16.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_009
-Get the contents of an empty text object in UTF-16BE without BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be NULL.
-
-3. The returned length must be zero.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_010
-Get the contents of an empty text object in UTF-16BE with BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the BOM in UTF-16BE, not NUL 
terminated.
-
-3. The returned length must be equal to the length of the BOM in UTF-16.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_011
-Get the contents of a non-empty text object with lang/country info, in 
UTF-16BE without BOM and with lang/country information embedded (which IS 
supported in UTF-16BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, including the lang/country 
information embedded, not NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
lang/country info.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_012
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-16BE without BOM and with lang/country information embedded 
(which IS supported in UTF-16BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, including the language 
information embedded, not NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
language info.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_013
-Get the contents of an empty text object with lang/country info, in UTF-16BE 
without BOM and with lang/country information embedded (which IS supported in 
UTF-16BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only include the lang/country information 
embedded, not NUL terminated.
-
-3. The returned length must be equal to the length of the lang/country info.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_014
-Get the contents of an empty text object with language info (no country info), 
in UTF-16BE without BOM and with lang/country information embedded (which IS 
supported in UTF-16BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the language information embedded, 
not NUL terminated.
-
-3. The returned length must be equal to the length of the language info.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_015
-Get the contents of a non-empty text object with lang/country info, in 
UTF-16BE with BOM and with lang/country information embedded (which IS 
supported in UTF-16BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, including the BOM and the 
lang/country information embedded, not NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
lang/country info and the BOM.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_016
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-16BE with BOM and with lang/country information embedded (which 
IS supported in UTF-16BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, including the BOM and the 
language information embedded, not NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
language info and the BOM.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_017
-Get the contents of an empty text object with lang/country info, in UTF-16BE 
with BOM and with lang/country information embedded (which IS supported in 
UTF-16BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only include the BOM and lang/country information 
embedded, not NUL terminated.
-
-3. The returned length must be equal to the length of the lang/country info 
plus the length of the BOM.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_018
-Get the contents of an empty text object with language info (no country info), 
in UTF-16BE with BOM and with lang/country information embedded (which IS 
supported in UTF-16BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the BOM and the language information 
embedded, not NUL terminated.
-
-3. The returned length must be equal to the length of the language info plus 
the length of the BOM.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_019
-Get the contents of a non-empty text object in UTF-16LE without BOM. The 
contents of the text object include characters that are encoded in UTF-16 using 
16-bit and 32-bit.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, not NUL terminated.
-
-3. The returned length must be the expected one.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_020
-Get the contents of a non-empty text object in UTF-16LE with BOM. The contents 
of the text object include characters that are encoded in UTF-16 using 16-bit 
and 32-bit.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, not NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
BOM in UTF-16.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_021
-Get the contents of an empty text object in UTF-16LE without BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be NULL.
-
-3. The returned length must be zero.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_022
-Get the contents of an empty text object in UTF-16LE with BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the BOM in UTF-16LE, not NUL 
terminated.
-
-3. The returned length must be equal to the length of the BOM in UTF-16.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_023
-Get the contents of a non-empty text object with lang/country info, in 
UTF-16LE without BOM and with lang/country information embedded (which is NOT 
supported in UTF-16LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_024
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-16LE without BOM and with lang/country information embedded 
(which is NOT supported in UTF-16LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_025
-Get the contents of an empty text object with lang/country info, in UTF-16LE 
without BOM and with lang/country information embedded (which is NOT supported 
in UTF-16LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_026
-Get the contents of an empty text object with language info (no country info), 
in UTF-16LE without BOM and with lang/country information embedded (which is 
NOT supported in UTF-16LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_027
-Get the contents of a non-empty text object with lang/country info, in 
UTF-16LE with BOM and with lang/country information embedded (which is NOT 
supported in UTF-16LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_028
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-16LE with BOM and with lang/country information embedded (which 
is NOT supported in UTF-16LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_029
-Get the contents of an empty text object with lang/country info, in UTF-16LE 
with BOM and with lang/country information embedded (which is NOT supported in 
UTF-16LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_030
-Get the contents of an empty text object with language info (no country info), 
in UTF-16LE with BOM and with lang/country information embedded (which is NOT 
supported in UTF-16LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_031
-Get the contents of a non-empty text object in UTF-32BE without BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, not NUL terminated.
-
-3. The returned length must be the expected one.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_032
-Get the contents of a non-empty text object in UTF-32BE with BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, not NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
BOM in UTF-32.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_033
-Get the contents of an empty text object in UTF-32BE without BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be NULL.
-
-3. The returned length must be zero.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_034
-Get the contents of an empty text object in UTF-32BE with BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the BOM in UTF-32BE, not NUL 
terminated.
-
-3. The returned length must be equal to the length of the BOM in UTF-32.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_035
-Get the contents of a non-empty text object with lang/country info, in 
UTF-32BE without BOM and with lang/country information embedded (which is NOT 
supported in UTF-32BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_036
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-32BE without BOM and with lang/country information embedded 
(which is NOT supported in UTF-32BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_037
-Get the contents of an empty text object with lang/country info, in UTF-32BE 
without BOM and with lang/country information embedded (which is NOT supported 
in UTF-32BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_038
-Get the contents of an empty text object with language info (no country info), 
in UTF-32BE without BOM and with lang/country information embedded (which is 
NOT supported in UTF-32BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_039
-Get the contents of a non-empty text object with lang/country info, in 
UTF-32BE with BOM and with lang/country information embedded (which is NOT 
supported in UTF-32BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_040
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-32BE with BOM and with lang/country information embedded (which 
is NOT supported in UTF-32BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_041
-Get the contents of an empty text object with lang/country info, in UTF-32BE 
with BOM and with lang/country information embedded (which is NOT supported in 
UTF-32BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_042
-Get the contents of an empty text object with language info (no country info), 
in UTF-32BE with BOM and with lang/country information embedded (which is NOT 
supported in UTF-32BE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_043
-Get the contents of a non-empty text object in UTF-32LE without BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, not NUL terminated.
-
-3. The returned length must be the expected one.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_044
-Get the contents of a non-empty text object in UTF-32LE with BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, not NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
BOM in UTF-32.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_045
-Get the contents of an empty text object in UTF-32LE without BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be NULL.
-
-3. The returned length must be zero.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_046
-Get the contents of an empty text object in UTF-32LE with BOM.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the BOM in UTF-32LE, not NUL 
terminated.
-
-3. The returned length must be equal to the length of the BOM in UTF-32.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_047
-Get the contents of a non-empty text object with lang/country info, in 
UTF-32LE without BOM and with lang/country information embedded (which is NOT 
supported in UTF-32LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_048
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-32LE without BOM and with lang/country information embedded 
(which is NOT supported in UTF-32LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_049
-Get the contents of an empty text object with lang/country info, in UTF-32LE 
without BOM and with lang/country information embedded (which is NOT supported 
in UTF-32LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_050
-Get the contents of an empty text object with language info (no country info), 
in UTF-32LE without BOM and with lang/country information embedded (which is 
NOT supported in UTF-32LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_051
-Get the contents of a non-empty text object with lang/country info, in 
UTF-32LE with BOM and with lang/country information embedded (which is NOT 
supported in UTF-32LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_052
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-32LE with BOM and with lang/country information embedded (which 
is NOT supported in UTF-32LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_053
-Get the contents of an empty text object with lang/country info, in UTF-32LE 
with BOM and with lang/country information embedded (which is NOT supported in 
UTF-32LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_054
-Get the contents of an empty text object with language info (no country info), 
in UTF-32LE with BOM and with lang/country information embedded (which is NOT 
supported in UTF-32LE).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_get_unicode_055
-Get the contents of a non-empty text object in UTF-8 without BOM and with NUL 
suffix. The contents of the text object include characters that are encoded in 
UTF-8 using 8-bit, 16-bit, 24-bit and 32-bit.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_056
-Get the contents of a non-empty text object in UTF-8 with BOM and with NUL 
suffix. The contents of the text object include characters that are encoded in 
UTF-8 using 8-bit, 16-bit, 24-bit and 32-bit.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
BOM in UTF-8 and the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_057
-Get the contents of an empty text object in UTF-8 without BOM and with NUL 
suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must not be NULL, and should include the last NUL.
-
-3. The returned length must be equal to 1.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_058
-Get the contents of an empty text object in UTF-8 with BOM and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the BOM in UTF-8, NUL terminated.
-
-3. The returned length must be equal to the length of the BOM in UTF-8 plus 
the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_059
-Get the contents of a non-empty text object with lang/country info, in UTF-8 
without BOM, with lang/country information embedded (which should not be 
supported in UTF-8) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_060
-Get the contents of a non-empty text object with lang/country info, in UTF-8 
with BOM, with lang/country information embedded (which should not be supported 
in UTF-8) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_get_unicode_061
-Get the contents of a non-empty text object in UTF-16BE without BOM and with 
NUL suffix. The contents of the text object include characters that are encoded 
in UTF-16 using 16-bit and 32-bit.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_062
-Get the contents of a non-empty text object in UTF-16BE with BOM and with NUL 
suffix. The contents of the text object include characters that are encoded in 
UTF-16 using 16-bit and 32-bit.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
BOM in UTF-16 and the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_063
-Get the contents of an empty text object in UTF-16BE without BOM and with NUL 
suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must not be NULL.
-
-3. The returned length must be equal to the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_064
-Get the contents of an empty text object in UTF-16BE with BOM and with NUL 
suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the BOM in UTF-16BE, NUL terminated.
-
-3. The returned length must be equal to the length of the BOM in UTF-16 plus 
the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_065
-Get the contents of a non-empty text object with lang/country info, in 
UTF-16BE without BOM, with lang/country information embedded (which IS 
supported in UTF-16BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, including the lang/country 
information embedded, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
lang/country info and the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_066
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-16BE without BOM, with lang/country information embedded (which 
IS supported in UTF-16BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, including the language 
information embedded, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
language info and the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_067
-Get the contents of an empty text object with lang/country info, in UTF-16BE 
without BOM, with lang/country information embedded (which IS supported in 
UTF-16BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only include the lang/country information 
embedded, NUL terminated.
-
-3. The returned length must be equal to the length of the lang/country info 
plus the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_068
-Get the contents of an empty text object with language info (no country info), 
in UTF-16BE without BOM, with lang/country information embedded (which IS 
supported in UTF-16BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the language information embedded, 
NUL terminated.
-
-3. The returned length must be equal to the length of the language info plus 
the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_069
-Get the contents of a non-empty text object with lang/country info, in 
UTF-16BE with BOM, with lang/country information embedded (which IS supported 
in UTF-16BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, including the BOM and the 
lang/country information embedded, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
lang/country info and the BOM and the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_070
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-16BE with BOM, with lang/country information embedded (which IS 
supported in UTF-16BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, including the BOM and the 
language information embedded, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
language info and the BOM and the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_071
-Get the contents of an empty text object with lang/country info, in UTF-16BE 
with BOM, with lang/country information embedded (which IS supported in 
UTF-16BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only include the BOM and lang/country information 
embedded, NUL terminated.
-
-3. The returned length must be equal to the length of the lang/country info 
plus the length of the BOM and the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_072
-Get the contents of an empty text object with language info (no country info), 
in UTF-16BE with BOM, with lang/country information embedded (which IS 
supported in UTF-16BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the BOM and the language information 
embedded, NUL terminated.
-
-3. The returned length must be equal to the length of the language info plus 
the length of the BOM and the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_073
-Get the contents of a non-empty text object in UTF-16LE without BOM and with 
NUL suffix. The contents of the text object include characters that are encoded 
in UTF-16 using 16-bit and 32-bit.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_074
-Get the contents of a non-empty text object in UTF-16LE with BOM and with NUL 
suffix. The contents of the text object include characters that are encoded in 
UTF-16 using 16-bit and 32-bit.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
BOM in UTF-16 and the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_075
-Get the contents of an empty text object in UTF-16LE without BOM and with NUL 
suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must not be NULL.
-
-3. The returned length must be equal to the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_076
-Get the contents of an empty text object in UTF-16LE with BOM and with NUL 
suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the BOM in UTF-16LE, NUL terminated.
-
-3. The returned length must be equal to the length of the BOM in UTF-16 plus 
the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_077
-Get the contents of a non-empty text object with lang/country info, in 
UTF-16LE without BOM, with lang/country information embedded (which is NOT 
supported in UTF-16LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_078
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-16LE without BOM, with lang/country information embedded (which 
is NOT supported in UTF-16LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_079
-Get the contents of an empty text object with lang/country info, in UTF-16LE 
without BOM, with lang/country information embedded (which is NOT supported in 
UTF-16LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_080
-Get the contents of an empty text object with language info (no country info), 
in UTF-16LE without BOM, with lang/country information embedded (which is NOT 
supported in UTF-16LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_081
-Get the contents of a non-empty text object with lang/country info, in 
UTF-16LE with BOM, with lang/country information embedded (which is NOT 
supported in UTF-16LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_082
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-16LE with BOM, with lang/country information embedded (which is 
NOT supported in UTF-16LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_083
-Get the contents of an empty text object with lang/country info, in UTF-16LE 
with BOM, with lang/country information embedded (which is NOT supported in 
UTF-16LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_084
-Get the contents of an empty text object with language info (no country info), 
in UTF-16LE with BOM, with lang/country information embedded (which is NOT 
supported in UTF-16LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_085
-Get the contents of a non-empty text object in UTF-32BE without BOM and with 
NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_086
-Get the contents of a non-empty text object in UTF-32BE with BOM and with NUL 
suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
BOM in UTF-32 and the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_087
-Get the contents of an empty text object in UTF-32BE without BOM and with NUL 
suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must not be NULL.
-
-3. The returned length must be equal to the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_088
-Get the contents of an empty text object in UTF-32BE with BOM and with NUL 
suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the BOM in UTF-32BE, NUL terminated.
-
-3. The returned length must be equal to the length of the BOM in UTF-32 plus 
the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_089
-Get the contents of a non-empty text object with lang/country info, in 
UTF-32BE without BOM, with lang/country information embedded (which is NOT 
supported in UTF-32BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_090
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-32BE without BOM, with lang/country information embedded (which 
is NOT supported in UTF-32BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_091
-Get the contents of an empty text object with lang/country info, in UTF-32BE 
without BOM, with lang/country information embedded (which is NOT supported in 
UTF-32BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_092
-Get the contents of an empty text object with language info (no country info), 
in UTF-32BE without BOM, with lang/country information embedded (which is NOT 
supported in UTF-32BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_093
-Get the contents of a non-empty text object with lang/country info, in 
UTF-32BE with BOM, with lang/country information embedded (which is NOT 
supported in UTF-32BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_094
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-32BE with BOM, with lang/country information embedded (which is 
NOT supported in UTF-32BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_095
-Get the contents of an empty text object with lang/country info, in UTF-32BE 
with BOM, with lang/country information embedded (which is NOT supported in 
UTF-32BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_096
-Get the contents of an empty text object with language info (no country info), 
in UTF-32BE with BOM, with lang/country information embedded (which is NOT 
supported in UTF-32BE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_097
-Get the contents of a non-empty text object in UTF-32LE without BOM and with 
NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_098
-Get the contents of a non-empty text object in UTF-32LE with BOM and with NUL 
suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must be the expected one, NUL terminated.
-
-3. The returned length must be the expected one, including the length of the 
BOM in UTF-32 and the length of the NUL suffix.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_099
-Get the contents of an empty text object in UTF-32LE without BOM and with NUL 
suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must not be NULL.
-
-3. The returned length must be equal to the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_100
-Get the contents of an empty text object in UTF-32LE with BOM and with NUL 
suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should return PDF_OK.
-
-2. The returned string must only contain the BOM in UTF-32LE, NUL terminated.
-
-3. The returned length must be equal to the length of the BOM in UTF-32 plus 
the length of the last NUL.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_101
-Get the contents of a non-empty text object with lang/country info, in 
UTF-32LE without BOM, with lang/country information embedded (which is NOT 
supported in UTF-32LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_102
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-32LE without BOM, with lang/country information embedded (which 
is NOT supported in UTF-32LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_103
-Get the contents of an empty text object with lang/country info, in UTF-32LE 
without BOM, with lang/country information embedded (which is NOT supported in 
UTF-32LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_104
-Get the contents of an empty text object with language info (no country info), 
in UTF-32LE without BOM, with lang/country information embedded (which is NOT 
supported in UTF-32LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_105
-Get the contents of a non-empty text object with lang/country info, in 
UTF-32LE with BOM, with lang/country information embedded (which is NOT 
supported in UTF-32LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_106
-Get the contents of a non-empty text object with language info (no country 
info), in UTF-32LE with BOM, with lang/country information embedded (which is 
NOT supported in UTF-32LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_107
-Get the contents of an empty text object with lang/country info, in UTF-32LE 
with BOM, with lang/country information embedded (which is NOT supported in 
UTF-32LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_unicode_108
-Get the contents of an empty text object with language info (no country info), 
in UTF-32LE with BOM, with lang/country information embedded (which is NOT 
supported in UTF-32LE) and with NUL suffix.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_unicode} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
-
-
address@hidden pdf_text_get_hex
address@hidden pdf_text_get_hex
-
address@hidden Test pdf_text_get_hex_001
-Get the contents of a non-empty text object in Hexadecimal representation in 
ASCII
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_hex} should return a valid string, NUL 
terminated.
-
-2. The contents of the returned string must be the expected ones.
-
-3. The length of the string must be non-zero.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_get_hex_002
-Get the contents of an empty text object in Hexadecimal representation in ASCII
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_get_hex} should return a valid string, NUL 
terminated.
-
-2. The length of the string must be zero.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_set_host
address@hidden pdf_text_set_host
-
address@hidden Test pdf_text_set_host_001
-Set the contents of a text object with an input valid host-encoded string
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_set_host} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_host_002
-Set the contents of a text object with an input invalid host-encoded string
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_set_host} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_host_003
-Set the contents of a text object with an input string encoded in an invalid 
host encoding
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_set_host} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden pdf_text_set_pdfdocenc
address@hidden pdf_text_set_pdfdocenc
-
address@hidden Test pdf_text_set_pdfdocenc_001
-Set the contents of a text object with an input valid PDF Doc Encoded string
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_set_pdfdocenc} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_pdfdocenc_002
-Set the contents of a text object with an input empty PDF Doc Encoded string
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_set_pdfdocenc} should return PDF_OK.
-
-2. The contents of the text object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_pdfdocenc_003
-Set the contents of a text object with an input invalid PDF Doc Encoded string
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_set_pdfdocenc} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_set_unicode
address@hidden pdf_text_set_unicode
-
address@hidden Test pdf_text_set_unicode_001
-Set the contents of a text object with an input valid UTF-8 encoded string 
(containing 8-bit, 16-bit, 24-bit and 32-bit code points!) without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_002
-Set the contents of a text object with an input valid UTF-16BE encoded string 
(16-bit and 32-bit code points!) without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_003
-Set the contents of a text object with an input valid UTF-16LE encoded string 
(16-bit and 32-bit code points!) without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_004
-Set the contents of a text object with an input valid UTF-16HE encoded string 
(16-bit and 32-bit code points!) without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_005
-Set the contents of a text object with an input valid UTF-32BE encoded string 
without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_006
-Set the contents of a text object with an input valid UTF-32LE encoded string 
without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_007
-Set the contents of a text object with an input valid UTF-32HE encoded string 
without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_new_from_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_008
-Set the contents of a text object with an input valid UTF-8 encoded string 
(containing 8-bit, 16-bit, 24-bit and 32-bit code points!) with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_009
-Set the contents of a text object with an input valid UTF-16BE encoded string 
(16-bit and 32-bit code points!) with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_010
-Set the contents of a text object with an input valid UTF-16LE encoded string 
(16-bit and 32-bit code points!) with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_011
-Set the contents of a text object with an input valid UTF-16HE encoded string 
(16-bit and 32-bit code points!) with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_012
-Set the contents of a text object with an input valid UTF-32BE encoded string 
with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_013
-Set the contents of a text object with an input valid UTF-32LE encoded string 
with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_014
-Set the contents of a text object with an input valid UTF-32HE encoded string 
with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones (without BOM).
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_set_unicode_015
-Set the contents of a text object with an input invalid UTF-8 encoded string 
without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_016
-Set the contents of a text object with an input invalid UTF-16BE encoded 
string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_017
-Set the contents of a text object with an input invalid UTF-16LE encoded 
string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_018
-Set the contents of a text object with an input invalid UTF-16HE encoded 
string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_019
-Set the contents of a text object with an input invalid UTF-32BE encoded 
string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_020
-Set the contents of a text object with an input invalid UTF-32LE encoded 
string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_021
-Set the contents of a text object with an input invalid UTF-32HE encoded 
string without BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_022
-Set the contents of a text object with an input invalid UTF-8 encoded string 
with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_023
-Set the contents of a text object with an input invalid UTF-16BE encoded 
string with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_024
-Set the contents of a text object with an input invalid UTF-16LE encoded 
string with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_025
-Set the contents of a text object with an input invalid UTF-16HE encoded 
string with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_026
-Set the contents of a text object with an input invalid UTF-32BE encoded 
string with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_027
-Set the contents of a text object with an input invalid UTF-32LE encoded 
string with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_028
-Set the contents of a text object with an input invalid UTF-32HE encoded 
string with BOM
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should NOT return PDF_OK.
-
-2. The contents of the text object must remain unchanged.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_set_unicode_029
-Set the contents of a text object with an input valid UTF-16BE encoded string 
with BOM and embedded language/country information (it should treat that 
information as standard UTF-16BE)
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones.
-
-3. The language code must be empty.
-
-4. The country code must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_set_unicode_030
-Set the contents of a text object with an input valid UTF-16BE encoded string 
without BOM and embedded language/country information (it should treat that 
information as standard UTF-16BE)
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{pdf_text_set_unicode} should return PDF_OK.
-
-2. The contents of the text object must be the expected ones.
-
-3. The language code must be empty.
-
-4. The country code must be empty.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_concat
address@hidden pdf_text_concat
-
address@hidden Test pdf_text_concat_001
-Concatenate two non-empty text objects with the same lang/country information. 
Don't override langinfo.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_concat} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
-
-3. The lang/country information in the output object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_concat_002
-Concatenate two non-empty text objects without lang/country information. Don't 
override langinfo.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_concat} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
-
-3. The lang/country information in the output object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_concat_003
-Concatenate two non-empty text objects with different lang/country 
information. Don't override langinfo.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_concat} should NOT return PDF_OK.
-
-2. The contents of the output text object must remain unchanged.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_concat_004
-Concatenate two empty text objects with the same lang/country information. 
Don't override langinfo.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_concat} should return PDF_OK.
-
-2. The contents of the output text object should be empty.
-
-3. The lang/country information in the output object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_concat_005
-Concatenate two empty text objects without lang/country information. Don't 
override langinfo.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_concat} should return PDF_OK.
-
-2. The contents of the output text object should be empty.
-
-3. The lang/country information in the output object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_concat_006
-Concatenate two empty text objects with different lang/country information. 
Don't override langinfo.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_concat} should NOT return PDF_OK.
-
-2. The contents of the output text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_concat_007
-Concatenate two non-empty text objects with the same lang/country information. 
Override langinfo.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_concat} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
-
-3. The lang/country information in the output object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_concat_008
-Concatenate two non-empty text objects without lang/country information. 
Override langinfo.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_concat} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
-
-3. The lang/country information in the output object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_concat_009
-Concatenate two non-empty text objects with different lang/country 
information. Override langinfo.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_concat} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
-
-3. The lang/country information in the output object must remain unchanged.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_concat_010
-Concatenate two empty text objects with the same lang/country information. 
Override langinfo.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_concat} should return PDF_OK.
-
-2. The contents of the output text object should be empty.
-
-3. The lang/country information in the output object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_concat_011
-Concatenate two empty text objects without lang/country information. Override 
langinfo.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_concat} should return PDF_OK.
-
-2. The contents of the output text object should be empty.
-
-3. The lang/country information in the output object must be empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_concat_012
-Concatenate two empty text objects with different lang/country information. 
Override langinfo.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_concat} should return PDF_OK.
-
-2. The contents of the output text object should be empty.
-
-3. The lang/country information in the output object must be empty.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_replace
address@hidden pdf_text_replace
-
address@hidden Test pdf_text_replace_001
-Replace an old non-empty pattern with a new non-empty pattern of different 
sizes (old > new). At least one replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_002
-Replace an old non-empty pattern with a new non-empty pattern of different 
sizes (old < new). At least one replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_003
-Replace an old non-empty pattern with a new non-empty pattern of same sizes. 
At least one replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_004
-Replace an old non-empty pattern with a new empty pattern (remove old pattern 
from text). At least one replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_005
-Replace an old non-empty pattern with a new non-empty pattern of different 
sizes (old > new). No replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace} should return PDF_OK.
-
-2. The contents of the output text object remain unchanged.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_006
-Replace an old non-empty pattern with a new non-empty pattern of different 
sizes (old < new). No replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace} should return PDF_OK.
-
-2. The contents of the output text object remain unchanged.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_007
-Replace an old non-empty pattern with a new non-empty pattern of same sizes. 
No replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace} should return PDF_OK.
-
-2. The contents of the output text object remain unchanged.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_008
-Replace an old non-empty pattern with a new empty pattern (remove old pattern 
from text). No replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace} should return PDF_OK.
-
-2. The contents of the output text object remain unchanged.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_009
-Replace an old empty pattern with a new non-empty pattern (old pattern can't 
be empty!)
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_replace_010
-Replace an old non-empty pattern with a new non-empty pattern in an empty text 
object.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace} should return PDF_OK.
-
-2. The contents of the output text object remain empty.
address@hidden table
address@hidden deffn
-
address@hidden pdf_text_replace_ascii
address@hidden pdf_text_replace_ascii
-
address@hidden Test pdf_text_replace_ascii_001
-Replace an old non-empty ASCII pattern with a new ASCII non-empty pattern of 
different sizes (old > new). At least one replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace_ascii} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_ascii_002
-Replace an old non-empty ASCII pattern with a new non-empty ASCII pattern of 
different sizes (old < new). At least one replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace_ascii} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_ascii_003
-Replace an old non-empty ASCII pattern with a new non-empty ASCII pattern of 
same sizes. At least one replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace_ascii} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_ascii_004
-Replace an old non-empty ASCII pattern with a new empty ASCII pattern (remove 
old pattern from text). At least one replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace_ascii} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_ascii_005
-Replace an old non-empty ASCII pattern with a new non-empty ASCII pattern of 
different sizes (old > new). No replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace_ascii} should return PDF_OK.
-
-2. The contents of the output text object remain unchanged.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_ascii_006
-Replace an old non-empty ASCII pattern with a new non-empty ASCII pattern of 
different sizes (old < new). No replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace_ascii} should return PDF_OK.
-
-2. The contents of the output text object remain unchanged.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_ascii_007
-Replace an old non-empty ASCII pattern with a new non-empty ASCII pattern of 
same sizes. No replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace_ascii} should return PDF_OK.
-
-2. The contents of the output text object remain unchanged.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_ascii_008
-Replace an old non-empty ASCII pattern with a new empty ASCII pattern (remove 
old pattern from text). No replacement is done.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace_ascii} should return PDF_OK.
-
-2. The contents of the output text object remain unchanged.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_replace_ascii_009
-Replace an old empty ASCII pattern with a new non-empty ASCII pattern (old 
pattern can't be empty!)
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace_ascii} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_replace_ascii_010
-Replace an old non-empty ASCII pattern with a new non-empty ASCII pattern in 
an empty text object.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace_ascii} should return PDF_OK.
-
-2. The contents of the output text object remain empty.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_replace_ascii_011
-Replace an old non-valid ASCII pattern with a new valid ASCII pattern.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace_ascii} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_replace_ascii_012
-Replace an old valid ASCII pattern with a new non-valid ASCII pattern.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_replace_ascii} should NOT return PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_filter
address@hidden pdf_text_filter
-
address@hidden Test pdf_text_filter_001
-Apply the `Normalize line endings' filter to a text object which contains 
different types of line endings.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_002
-Apply the `Normalize line endings' filter to an empty text object.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_003
-Apply the `Remove line endings' filter to a text object which contains 
different types of line endings.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_004
-Apply the `Remove line endings' filter to an empty text object.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_005
-Apply the `Remove ampersands' filter to a text object which contains single 
and double ampersands.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_006
-Apply the `Remove ampersands' filter to an empty text object.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_007
-Apply the `Normalize with full width' filter to a text object that contains 
code points that have a valid full width representation.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_008
-Apply the `Normalize with full width' filter to a text object that does not 
contain code points that have a valid full width representation.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_009
-Apply the `Normalize with full width' filter to an empty text object.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must remain unchanged.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_010
-Apply the `Upper case' filter to a text object that contains 
simple-case-conversion characters.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
-
-3. The length of the output text must be equal to the length of the input text.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_011
-Apply the `Upper case' filter to a text object that contains 
special-case-conversion characters with no context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_012
-Apply the `Upper case' filter to a text object that contains 
special-case-conversion characters with Final_Sigma context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_013
-Apply the `Upper case' filter to a text object that contains 
special-case-conversion characters with After_Soft_Dotted context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_014
-Apply the `Upper case' filter to a text object that contains 
special-case-conversion characters with More_Above context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_filter_015
-Apply the `Upper case' filter to a text object that contains 
special-case-conversion characters with Before_Dot context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_016
-Apply the `Upper case' filter to a text object that contains 
special-case-conversion characters with After_I context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_017
-Apply the `Upper case' filter to a text object that contains 
special-case-conversion characters with language-dependent context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_018
-Apply the `Upper case' filter to a text object that contains 
special-case-conversion characters with language-dependent and After_I context 
condition (to check two context conditions at the same time).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_019
-Apply the `Upper case' filter to a text object that contains 
special-case-conversion characters with language-dependent and Not_Before_Dot 
context condition (to check two context conditions at the same time, where one 
of them is negated with Not_).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_filter_020
-Apply the `Upper case' filter to a text object that contains one 
special-case-conversion character with Final_Sigma context condition, where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_021
-Apply the `Upper case' filter to a text object that contains one 
special-case-conversion characters with After_Soft_Dotted context condition, 
where the condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_022
-Apply the `Upper case' filter to a text object that contains one 
special-case-conversion character with More_Above context condition, where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_filter_023
-Apply the `Upper case' filter to a text object that contains one 
special-case-conversion character with Before_Dot context condition, where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_024
-Apply the `Upper case' filter to a text object that contains one 
special-case-conversion character with After_I context condition, where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_025
-Apply the `Upper case' filter to a text object that contains one 
special-case-conversion character with language-dependent context condition, 
where the condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_026
-Apply the `Upper case' filter to a text object that contains one 
special-case-conversion character with language-dependent and After_I context 
condition (to check two context conditions at the same time), where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_027
-Apply the `Upper case' filter to a text object that contains one 
special-case-conversion character with language-dependent and Not_Before_Dot 
context condition (to check two context conditions at the same time, where one 
of them is negated with Not_), where the condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_filter_028
-Apply the `Small case' filter to a text object that contains 
simple-case-conversion characters.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
-
-3. The length of the output text must be equal to the length of the input text.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_029
-Apply the `Small case' filter to a text object that contains 
special-case-conversion characters with no context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_030
-Apply the `Small case' filter to a text object that contains 
special-case-conversion characters with Final_Sigma context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_031
-Apply the `Small case' filter to a text object that contains 
special-case-conversion characters with After_Soft_Dotted context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_032
-Apply the `Small case' filter to a text object that contains 
special-case-conversion characters with More_Above context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_filter_033
-Apply the `Small case' filter to a text object that contains 
special-case-conversion characters with Before_Dot context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_034
-Apply the `Small case' filter to a text object that contains 
special-case-conversion characters with After_I context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_035
-Apply the `Small case' filter to a text object that contains 
special-case-conversion characters with language-dependent context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_036
-Apply the `Small case' filter to a text object that contains 
special-case-conversion characters with language-dependent and After_I context 
condition (to check two context conditions at the same time).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_037
-Apply the `Small case' filter to a text object that contains 
special-case-conversion characters with language-dependent and Not_Before_Dot 
context condition (to check two context conditions at the same time, where one 
of them is negated with Not_).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_filter_038
-Apply the `Small case' filter to a text object that contains one 
special-case-conversion character with Final_Sigma context condition, where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_039
-Apply the `Small case' filter to a text object that contains one 
special-case-conversion characters with After_Soft_Dotted context condition, 
where the condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_040
-Apply the `Small case' filter to a text object that contains one 
special-case-conversion character with More_Above context condition, where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_filter_041
-Apply the `Small case' filter to a text object that contains one 
special-case-conversion character with Before_Dot context condition, where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_042
-Apply the `Small case' filter to a text object that contains one 
special-case-conversion character with After_I context condition, where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_043
-Apply the `Small case' filter to a text object that contains one 
special-case-conversion character with language-dependent context condition, 
where the condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_044
-Apply the `Small case' filter to a text object that contains one 
special-case-conversion character with language-dependent and After_I context 
condition (to check two context conditions at the same time), where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_045
-Apply the `Small case' filter to a text object that contains one 
special-case-conversion character with language-dependent and Not_Before_Dot 
context condition (to check two context conditions at the same time, where one 
of them is negated with Not_), where the condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_filter_046
-Apply the `Title case' filter to a text object that contains 
simple-case-conversion characters.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
-
-3. The length of the output text must be equal to the length of the input text.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_047
-Apply the `Title case' filter to a text object that contains 
special-case-conversion characters with no context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_048
-Apply the `Title case' filter to a text object that contains 
special-case-conversion characters with Final_Sigma context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_049
-Apply the `Title case' filter to a text object that contains 
special-case-conversion characters with After_Soft_Dotted context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_050
-Apply the `Title case' filter to a text object that contains 
special-case-conversion characters with More_Above context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_filter_051
-Apply the `Title case' filter to a text object that contains 
special-case-conversion characters with Before_Dot context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_052
-Apply the `Title case' filter to a text object that contains 
special-case-conversion characters with After_I context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_053
-Apply the `Title case' filter to a text object that contains 
special-case-conversion characters with language-dependent context condition.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_054
-Apply the `Title case' filter to a text object that contains 
special-case-conversion characters with language-dependent and After_I context 
condition (to check two context conditions at the same time).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_055
-Apply the `Title case' filter to a text object that contains 
special-case-conversion characters with language-dependent and Not_Before_Dot 
context condition (to check two context conditions at the same time, where one 
of them is negated with Not_).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_filter_056
-Apply the `Title case' filter to a text object that contains one 
special-case-conversion character with Final_Sigma context condition, where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_057
-Apply the `Title case' filter to a text object that contains one 
special-case-conversion characters with After_Soft_Dotted context condition, 
where the condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_058
-Apply the `Title case' filter to a text object that contains one 
special-case-conversion character with More_Above context condition, where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_filter_059
-Apply the `Title case' filter to a text object that contains one 
special-case-conversion character with Before_Dot context condition, where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_060
-Apply the `Title case' filter to a text object that contains one 
special-case-conversion character with After_I context condition, where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_061
-Apply the `Title case' filter to a text object that contains one 
special-case-conversion character with language-dependent context condition, 
where the condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_062
-Apply the `Title case' filter to a text object that contains one 
special-case-conversion character with language-dependent and After_I context 
condition (to check two context conditions at the same time), where the 
condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_063
-Apply the `Title case' filter to a text object that contains one 
special-case-conversion character with language-dependent and Not_Before_Dot 
context condition (to check two context conditions at the same time, where one 
of them is negated with Not_), where the condition is not fulfilled.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_filter_064
-Apply the `Title case', `Small case' and `Upper case' filters to a text 
object. (At most one case conversion must be applied in a filter operation).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should NOT return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_filter_065
-Apply the `Small case' , `Remove ampersands' and  `Normalize with full width' 
filters to a text object (Applying more than one filter at a time).
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_filter} should return PDF_OK.
-
-2. The contents of the output text object must be the expected ones.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_text_cmp
address@hidden pdf_text_cmp
-
address@hidden Test pdf_text_cmp_001
-Compare two equal text objects, case-sensitive.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_cmp} should return 0.
-
-2. The returned status in @code{ p_ret_code} should be PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_cmp_002
-Compare two equal text objects, non-case-sensitive.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_cmp} should return 0.
-
-2. The returned status in @code{ p_ret_code} should be PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_cmp_003
-Compare two equal text objects (one in uppercase, the other one in lowercase), 
case-sensitive.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_cmp} should NOT return 0.
-
-2. The returned status in @code{ p_ret_code} should be PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_cmp_004
-Compare two equal text objects (one in uppercase, the other one in lowercase), 
non-case-sensitive.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_cmp} should return 0.
-
-2. The returned status in @code{ p_ret_code} should be PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_text_cmp_005
-Compare two different text objects, case-sensitive.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_cmp} should NOT return 0.
-
-2. The returned status in @code{ p_ret_code} should be PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_text_cmp_006
-Compare two different text objects, non-case-sensitive.
address@hidden @strong
address@hidden Success conditions
-1. The call to @code{ pdf_text_cmp} should NOT return 0.
-
-2. The returned status in @code{ p_ret_code} should be PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden List Module
address@hidden List Module
-
address@hidden
-* pdf_list_add_at::
-* pdf_list_add_first::
-* pdf_list_add_last::
-* pdf_list_new::
-* pdf_list_destroy::
-* pdf_list_get_at::
-* pdf_list_indexof_from_to::
-* pdf_list_indexof_from::
-* pdf_list_indexof::
-* pdf_list_iterator_from_to::
-* pdf_list_iterator_next::
-* pdf_list_iterator::
-* pdf_list_iterator_free::
-* pdf_list_next_node::
-* pdf_list_node_value::
-* pdf_list_previous_node::
-* pdf_list_remove_at::
-* pdf_list_remove_node::
-* pdf_list_remove::
-* pdf_list_search_from_to::
-* pdf_list_search_from::
-* pdf_list_search::
-* pdf_list_set_at::
-* pdf_list_size::
-* pdf_list_sorted_add::
-* pdf_list_sorted_remove::
-* pdf_list_sorted_indexof::
-* pdf_list_sorted_indexof_from_to::
-* pdf_list_sorted_search::
-* pdf_list_sorted_search_from_to::
address@hidden menu
-
address@hidden pdf_list_add_at
address@hidden pdf_list_add_at
-
address@hidden Test pdf_list_add_at_001
-Try to add a new element at the 0 position.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_add_at_002
-Try to add a new element at an invalid position.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EINVRANGE
address@hidden table
address@hidden deffn
-
address@hidden pdf_list_add_first
address@hidden pdf_list_add_first
-
address@hidden Test pdf_list_add_first_001
-Try to add an element at the beginning of the list.
address@hidden @strong
address@hidden Success condition
-We get the right pdf_list_size().
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_add_first_002
-Try to add an element at the beginning of the list allowing duplicates.
address@hidden @strong
address@hidden Success condition
-We get the right pdf_list_size().
address@hidden table
address@hidden deffn
-
address@hidden pdf_list_add_last
address@hidden pdf_list_add_last
-
address@hidden Test pdf_list_add_last_001
-Try to add some elements.
address@hidden @strong
address@hidden Success condition
-We get the right pdf_list_size().
address@hidden table
address@hidden deffn
-
address@hidden pdf_list_new
address@hidden pdf_list_new
-
address@hidden Test pdf_list_new_001
-Try to create an empty list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_new_002
-Try to create an empty list given a NULL list pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_new_003
-Try to create an empty list allowing duplicates.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden pdf_list_destroy
address@hidden pdf_list_destroy
-
address@hidden Test pdf_list_destroy_001
-Try to destroy an empty list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden pdf_list_get_at
address@hidden pdf_list_get_at
-
address@hidden Test pdf_list_get_at_001
-Try to get a node value.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_get_at_002
-Try to get a node value given a NULL value pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_get_at_003
-Try to get a node value at an invalid position.
address@hidden @strong
address@hidden Success condition
-Returns EINVRANGE
address@hidden table
address@hidden deffn
-
address@hidden pdf_list_indexof_from_to
address@hidden pdf_list_indexof_from_to
-
address@hidden Test pdf_list_indexof_from_to_001
-Try to get the index of a existent element from position '0'.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_indexof_from_to_002
-Try to get the index of a existent element from invalid position.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EINVRANGE
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_indexof_from_to_003
-Try to get the index of a existent element given a NULL position pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_indexof_from_to_004
-Try to get the index of a non-existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE
address@hidden table
address@hidden deffn
-
address@hidden pdf_list_indexof_from
address@hidden pdf_list_indexof_from
-
-
address@hidden Test pdf_list_indexof_from_001
-Try to get the index of a existent element from position '0'.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_indexof_from_002
-Try to get the index of a existent element from invalid position.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EINVRANGE
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_indexof_from_003
-Try to get the index of a existent element given a NULL position pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_indexof_from_004
-Try to get the index of a non-existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_indexof
address@hidden pdf_list_indexof
-
address@hidden Test pdf_list_indexof_001
-Try to get the index of an existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_indexof_002
-Try to get the index of a non-existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_indexof_003
-Try to get the index of an element given a NULL position pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_iterator_from_to
address@hidden pdf_list_iterator_from_to
-
address@hidden Test pdf_list_iterator_from_to_001
-Try to get an iterator in a given range.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_iterator_from_to_002
-Try to get an iterator in an invalid range.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EINVRANGE
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_iterator_from_to_003
-Try to get an iterator given a NULL iterator pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_iterator_next
address@hidden pdf_list_iterator_next
-
address@hidden Test pdf_list_iterator_next_001
-Try to get the next element using an iterator.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_iterator_next_002
-Try to get the next element using an iterator from an empty list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_iterator
address@hidden pdf_list_iterator
-
address@hidden Test pdf_list_iterator_001
-Try to create an iterator from list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_iterator_002
-Try to create an iterator given a NULL iterator pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden pdf_list_iterator_free
address@hidden pdf_list_iterator_free
-
address@hidden Test pdf_list_iterator_free_001
-Try to destroy an iterator.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden pdf_list_next_node
address@hidden pdf_list_next_node
-
address@hidden Test pdf_list_next_node_001
-Try to get the next node given another node.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_next_node_002
-Try to get the next node given the last node in the list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_next_node_003
-Try to get the next node given a NULL next pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_node_value
address@hidden pdf_list_node_value
-
address@hidden Test pdf_list_node_value_001
-Try to get a node value.
address@hidden @strong
address@hidden Success condition
-The returned value is the expected.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_previous_node
address@hidden pdf_list_previous_node
-
address@hidden Test pdf_list_previous_node_001
-Try to get the previous node given another node.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_previous_node_002
-Try to get the previous node given the first node.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_previous_node_003
-Try to get the previous node given a NULL prev pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_remove_at
address@hidden pdf_list_remove_at
-
address@hidden Test pdf_list_remove_at_001
-Try to remove a node at some position
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_remove_at_002
-Try to remove a node at an invalid position
address@hidden @strong
address@hidden Success condition
-Returns PDF_EINVRANGE
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_remove_node
address@hidden pdf_list_remove_node
-
address@hidden Test pdf_list_remove_node_001
-Try to remove a given node from a list.
address@hidden @strong
address@hidden Success condition
-The size is the expected.
address@hidden table
address@hidden deffn
-
address@hidden pdf_list_remove
address@hidden pdf_list_remove
-
address@hidden Test pdf_list_remove_001
-Try to remove an existing element in a list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_remove_002
-Try to remove an non-existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_search_from_to
address@hidden pdf_list_search_from_to
-
address@hidden Test pdf_list_search_from_to_001
-Try to search an existent element in the correct range.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_search_from_to_002
-Try to seach an element in an invalid range.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EINVRANGE.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_search_from_to_003
-Try to search a non-existent element in a list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_search_from_to_004
-Try search an element given a NULL node pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_search_from
address@hidden pdf_list_search_from
-
address@hidden Test pdf_list_search_from_001
-Try to search an existent element in the correct range.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_search_from_002
-Try to seach an element in an invalid range.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EINVRANGE.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_search_from_003
-Try to search a non-existent element in a list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_search_from_004
-Try search an element given a NULL node pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_search
address@hidden pdf_list_search
-
address@hidden Test pdf_list_search_001
-Try to search for an existing element in a list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_search_002
-Try to search an existent element given a NULL node pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_search_003
-Try to search for a non-existent element in a list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_set_at
address@hidden pdf_list_set_at
-
address@hidden Test pdf_list_set_at_001
-Try to replace a node value in a list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_set_at_002
-Try to replace a node value at an invalid position.
address@hidden @strong
address@hidden Success condition
-Returns PDF_INVRANGE
address@hidden table
address@hidden deffn
-
address@hidden pdf_list_size
address@hidden pdf_list_size
-
address@hidden Test pdf_list_size_001
-Try to get an empty list size.
address@hidden @strong
address@hidden Success condition
-Returns 0.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_sorted_add
address@hidden pdf_list_sorted_add
-
address@hidden Test pdf_list_sorted_add_001
-Try to add an element at the beginning of the list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_add_002
-Try to add an element at the beginning of the list with NULL compar_fn.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden pdf_list_sorted_remove
address@hidden pdf_list_sorted_remove
-
address@hidden Test pdf_list_sorted_remove_001
-Try to remove an existing element in a list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_remove_002
-Try to remove an non-existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_remove_003
-Try to remove an element with a NULL compar_fn.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_sorted_indexof
address@hidden pdf_list_sorted_indexof
-
address@hidden Test pdf_list_sorted_indexof_001
-Try to get the index of an existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_indexof_002
-Try to get the index of a non-existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_indexof_003
-Try to get the index of an element given a NULL position pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_indexof_004
-Try to get the index of an element given a NULL compar_fn.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_sorted_indexof_from_to
address@hidden pdf_list_sorted_indexof_from_to
-
address@hidden Test pdf_list_sorted_indexof_from_to_001
-Try to get the index of a existent element from position '0'.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_indexof_from_to_002
-Try to get the index of a existent element from invalid position.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EINVRANGE
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_indexof_from_to_003
-Try to get the index of a existent element given a NULL position pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_indexof_from_to_004
-Try to get the index of a non-existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_indexof_from_to_005
-Try to get the index of a existent element given a NULL compar_fn.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_sorted_search
address@hidden pdf_list_sorted_search
-
-
address@hidden Test pdf_list_sorted_search_001
-Try to search for an existing element in a list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_search_002
-Try to search an existent element given a NULL node pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_search_003
-Try to search for a non-existent element in a list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_search_004
-Try to search an existent element given a NULL compar_fn.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_list_sorted_search_from_to
address@hidden pdf_list_sorted_search_from_to
-
-
address@hidden Test pdf_list_sorted_search_from_to_001
-Try to search an existent element in the correct range.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_search_from_to_002
-Try to seach an element in an invalid range.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EINVRANGE.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_search_from_to_003
-Try to search a non-existent element in a list.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ENONODE.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_search_from_to_004
-Try search an element given a NULL node pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_list_sorted_search_from_to_005
-Try search an element given a NULL compar_fn.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden Hash Module
address@hidden Hash Module
-
address@hidden
-* pdf_hash_new::
-* pdf_hash_detroy::
-* pdf_hash_size::
-* pdf_hash_key_p::
-* pdf_hash_rename::
-* pdf_hash_add::
-* pdf_hash_add_stm::
-* pdf_hash_add_hash::
-* pdf_hash_add_list::
-* pdf_hash_add_text::
-* pdf_hash_add_time::
-* pdf_hash_remove::
-* pdf_hash_search::
-* pdf_hash_iterator::
-* pdf_hash_iterator_next::
-* pdf_hash_iterator_free::
address@hidden menu
-
address@hidden pdf_hash_new
address@hidden pdf_hash_new
-
address@hidden Test pdf_hash_new_001
-Try to create an empty hash.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_hash_new_002
-Try to create an empty hash with a NULL pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden pdf_hash_detroy
address@hidden pdf_hash_detroy
-
address@hidden Test pdf_hash_detroy_001
-Try to destroy an empty hash.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden pdf_hash_size
address@hidden pdf_hash_size
-
address@hidden Test pdf_hash_size_001
-Try to get the size of an empty hash.
address@hidden @strong
address@hidden Success condition
-Returns 0
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_hash_key_p
address@hidden pdf_hash_key_p
-
-
address@hidden Test pdf_hash_key_p_001
-Try to prove that a given key exist.
address@hidden @strong
address@hidden Success condition
-Returns PDF_TRUE
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_hash_key_p_002
-Try to prove that a given key doesn't exist.
address@hidden @strong
address@hidden Success condition
-Returns PDF_FALSE
address@hidden table
address@hidden deffn
-
address@hidden pdf_hash_rename
address@hidden pdf_hash_rename
-
-
address@hidden Test pdf_hash_rename_001
-Try to rename an existent key and prove it was renamed.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_hash_rename_002
-Try to rename a non-existent key.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ERROR
address@hidden table
address@hidden deffn
-
-
-
address@hidden Test pdf_hash_rename_003
-Try to rename a key given a NULL key.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_hash_rename_004
-Try to rename a key given a NULL new_key.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_hash_add
address@hidden pdf_hash_add
-
address@hidden Test pdf_hash_add_001
-Try to add key/value pair to an empty hash.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_hash_add_002
-Try to add NULL/value pair to an empty hash.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_hash_add_003
-Try to add key/NULL pair to an empty hash.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_hash_add_stm
address@hidden pdf_hash_add_stm
-
address@hidden Test pdf_hash_add_stm_001
-Try to add a stream inside a hash table.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden pdf_hash_add_hash
address@hidden pdf_hash_add_hash
-
address@hidden Test pdf_hash_add_hash_001
-Try to add a hash table inside a hash table.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden pdf_hash_add_list
address@hidden pdf_hash_add_list
-
address@hidden Test pdf_hash_add_list_001
-Try to add a list inside a hash table.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden pdf_hash_add_text
address@hidden pdf_hash_add_text
-
address@hidden Test pdf_hash_add_text_001
-Try to add a text variable inside a hash table.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden pdf_hash_add_time
address@hidden pdf_hash_add_time
-
address@hidden Test pdf_hash_add_time_001
-Try to add a time variable inside a hash table.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_hash_remove
address@hidden pdf_hash_remove
-
-
address@hidden Test pdf_hash_remove_001
-Try to remove an existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_hash_remove_002
-Try to remove a non-existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ERROR
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_hash_remove_003
-Try to remove a element givn a NULL key.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_hash_search
address@hidden pdf_hash_search
-
-
address@hidden Test pdf_hash_search_001
-Try to search an existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_hash_search_002
-Try to search a non-existent element.
address@hidden @strong
address@hidden Success condition
-Returns PDF_ERROR
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_hash_search_003
-Try to search an element given a NULL elem_pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden Test pdf_hash_search_004
-Try to search an element given a NULL key.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_hash_iterator
address@hidden pdf_hash_iterator
-
address@hidden Test pdf_hash_iterator_001
-Try to create an iterator.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_hash_iterator_002
-Try to create an iterator given a NULL iterator pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden pdf_hash_iterator_next
address@hidden pdf_hash_iterator_next
-
-
address@hidden Test pdf_hash_iterator_next_001
-Try to iterate over an iterator.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_hash_iterator_next_003
-Try to iterate over an iterator given a NULL key pointer.
address@hidden @strong
address@hidden Success condition
-Returns PDF_EBADDATA
address@hidden table
address@hidden deffn
-
address@hidden pdf_hash_iterator_free
address@hidden pdf_hash_iterator_free
-
address@hidden Test pdf_hash_iterator_free_001
-Try to free an iterator.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
-
address@hidden Error Module
address@hidden Error Module
-
address@hidden
-* pdf_error::
-* pdf_perror::
address@hidden menu
-
address@hidden pdf_error
address@hidden pdf_error
-
-
address@hidden Test pdf_error_001
-Try to trigger an error code with NULL fd.
address@hidden @strong
address@hidden Success condition
-The program doesn't crash.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_error_002
-Try to trigger an error code with NULL format.
address@hidden @strong
address@hidden Success condition
-The program doesn't crash.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_error_003-018
-Try to trigger an error code with valid format and fd.
address@hidden @strong
address@hidden Success condition
-The program doesn't crash.
address@hidden table
address@hidden deffn
-
address@hidden pdf_perror
address@hidden pdf_perror
-
address@hidden Test pdf_perror_001
-Try to trigger an error code with NULL string.
address@hidden @strong
address@hidden Success condition
-The program doesn't crash.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_perror_002
-Try to trigger an error code with valid string.
address@hidden @strong
address@hidden Success condition
-The program doesn't crash.
address@hidden table
address@hidden deffn
-
address@hidden Types Module
address@hidden Types Module
-
address@hidden
-* pdf_i64_add::
-* pdf_i64_abs::
-* pdf_i64_assign::
-* pdf_i64_assign_quick::
-* pdf_i64_cmp::
-* pdf_i64_copy::
-* pdf_i64_neg::
-* pdf_i64_new::
-* pdf_i64_div::
-* pdf_i64_mult::
-* pdf_i64_mod::
address@hidden menu
-
address@hidden pdf_i64_add
address@hidden pdf_i64_add
-
-
address@hidden Test pdf_i64_add_001
-Checks if the carry number is properly carried.
address@hidden @strong
address@hidden Success condition
-The call should not produce an error.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_add_002
-Checks if function checks the proper initialisation of target
address@hidden @strong
address@hidden Success condition
-The call should produce an error
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_add_003
- Adds a positive and negative number
address@hidden @strong
address@hidden Success condition
-The call should not produce an error
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_add_004
- Adds two negative numbers
address@hidden @strong
address@hidden Success condition
-The call should not produce an error
address@hidden table
address@hidden deffn
-
address@hidden pdf_i64_abs
address@hidden pdf_i64_abs
-
address@hidden Test pdf_i64_abs_001
-Checks if the result is the absolute of the number
address@hidden @strong
address@hidden Success condition
-The call should produce a positive number from a negative
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_abs_002
-Checks if the result is the absolute of the input value
address@hidden @strong
address@hidden Success condition
-The call should produce a positive number from a positive
address@hidden table
address@hidden deffn
-
address@hidden pdf_i64_assign
address@hidden pdf_i64_assign
-
address@hidden Test pdf_i64_assign_001
-Checks if the the pdf_i64_assign function properly assigns
address@hidden @strong
address@hidden Success condition
-The call should not produce an error
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_assign_002
-Checks if the the pdf_i64_assign function properly assigns 
-the high and low values to a NULL pdf_i64_t pointer type
address@hidden @strong
address@hidden Success condition
-The call should not produce an error
address@hidden table
address@hidden deffn
-
address@hidden pdf_i64_assign_quick
address@hidden pdf_i64_assign_quick
-
address@hidden Test pdf_i64_assign_quick_001
-Checks if the the pdf_i64_assign function properly assigns
-the high and low values to a pdf_i64_t type
address@hidden @strong
address@hidden Success condition
-The call should not produce an error
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_assign_quick_002
-Checks if the the pdf_i64_assign function properly assigns
-the high and low values to a pdf_i64_t type
address@hidden @strong
address@hidden Success condition
-The call should not produce an error
address@hidden table
address@hidden deffn
-
address@hidden pdf_i64_cmp
address@hidden pdf_i64_cmp
-
address@hidden Test pdf_i64_cmp_001
-Checks if the comparison between a negative and positive
-number is carried out properly
address@hidden @strong
address@hidden Success condition
-The call should produce a -1
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_cmp_002
-Checks if the comparison between a positive and negative
-number is carried out properly
address@hidden @strong
address@hidden Success condition
-The call should produce a 1
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_cmp_003
-Checks if the comparison between two equal numbers
-number is carried out properly
address@hidden @strong
address@hidden Success condition
-The call should produce a 0
address@hidden table
address@hidden deffn
-
address@hidden pdf_i64_copy
address@hidden pdf_i64_copy
-
address@hidden Test pdf_i64_copy_001
-Checks if the the pdf_i64_copy copies the values of one 
-pdf_i64_t variable into another
address@hidden @strong
address@hidden Success condition
-No error is produced
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_copy_002
-Checks if the the pdf_i64_copy function gets an error if
-the target pointer is not properly initialised
address@hidden @strong
address@hidden Success condition
-Error is produced
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_i64_neg
address@hidden pdf_i64_neg
-
address@hidden Test pdf_i64_neg_001
-Checks if the result is the negation of the number
address@hidden @strong
address@hidden Success condition
-The call should produce a negative number from a positive
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_neg_002
-Checks if the result is the negation of the number
address@hidden @strong
address@hidden Success condition
-The call should produce a positive number from a negative
address@hidden table
address@hidden deffn
-
address@hidden pdf_i64_new
address@hidden pdf_i64_new
-
address@hidden Test pdf_i64_new_001
-Checks if the the pdf_i64_new function properly assigns
-the high and low values to a pdf_i64_t type
address@hidden @strong
address@hidden Success condition
-Function carried out with no errors
address@hidden table
address@hidden deffn
-
address@hidden pdf_i64_mult
address@hidden pdf_i64_mult
-
-
address@hidden Test pdf_i64_mult_001
-Multiplies two positive numbers
address@hidden @strong
address@hidden Success condition
-The call should not produce an error.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_mult_002
-Checks if function checks the proper initialisation of target
address@hidden @strong
address@hidden Success condition
-The call should produce an error
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_mult_003
- Mults a positive and negative number
address@hidden @strong
address@hidden Success condition
-The call should not produce an error
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_mult_004
- Mults two negative numbers
address@hidden @strong
address@hidden Success condition
-The call should not produce an error
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_i64_div
address@hidden pdf_i64_div
-
-
address@hidden Test pdf_i64_div_001
-Divides two positive numbers
address@hidden @strong
address@hidden Success condition
-The call should not produce an error.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_div_002
-Checks if function checks the proper initialisation of target
address@hidden @strong
address@hidden Success condition
-The call should produce an error
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_div_003
- Divs a positive and negative number
address@hidden @strong
address@hidden Success condition
-The call should not produce an error
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_div_004
- Divs two negative numbers
address@hidden @strong
address@hidden Success condition
-The call should not produce an error
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_i64_mod
address@hidden pdf_i64_mod
-
address@hidden Test pdf_i64_mod_001
-Mods two positive numbers
address@hidden @strong
address@hidden Success condition
-The call should not produce an error.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_mod_002
-Checks if function checks the proper initialisation of target
address@hidden @strong
address@hidden Success condition
-The call should produce an error
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_mod_003
- Mods a positive and negative number
address@hidden @strong
address@hidden Success condition
-The call should not produce an error
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_i64_mod_004
- Mods two negative numbers
address@hidden @strong
address@hidden Success condition
-The call should not produce an error
address@hidden table
address@hidden deffn
-
-
-
address@hidden Crypt Module
address@hidden Crypt Module
-
address@hidden
-* pdf_crypt_init::
-* pdf_crypt_cipher_new::
-* pdf_crypt_cipher_destroy::
-* pdf_crypt_cipher_setkey::
-* pdf_crypt_cipher_encrypt::
-* pdf_crypt_cipher_decrypt::
-* pdf_crypt_md_new::
-* pdf_crypt_md_write::
-* pdf_crypt_md_read::
-* pdf_crypt_md_destroy::
address@hidden menu
-
address@hidden pdf_crypt_init
address@hidden pdf_crypt_init
-
address@hidden Test pdf_crypt_init_001
-Initialize the module.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_crypt_cipher_new
address@hidden pdf_crypt_cipher_new
-
address@hidden Test pdf_crypt_cipher_new_001
-Create an AESV2 cipher.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_crypt_cipher_new_002
-Create a V2 cipher.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_crypt_cipher_destroy
address@hidden pdf_crypt_cipher_destroy
-
address@hidden Test pdf_crypt_cipher_destroy_001
-Destroy a cipher.
address@hidden @strong
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_crypt_cipher_setkey
address@hidden pdf_crypt_cipher_setkey
-
-
-
address@hidden pdf_crypt_cipher_encrypt
address@hidden pdf_crypt_cipher_encrypt
-
address@hidden Test pdf_crypt_cipher_encrypt_001
address@hidden @strong
-Encrypt an empty buffer (AESV2).
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_crypt_cipher_encrypt_002
address@hidden @strong
-Encrypt an ciphered buffer (AESV2).
address@hidden Success condition
-The output data should be correct.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_crypt_cipher_encrypt_003
address@hidden @strong
-Encrypt an ciphered buffer incrementally (AESV2).
address@hidden Success condition
-The output data should be correct.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_crypt_cipher_decrypt
address@hidden pdf_crypt_cipher_decrypt
-
address@hidden Test pdf_crypt_cipher_decrypt_001
address@hidden @strong
-Decrypt an ciphered buffer (AESV2).
address@hidden Success condition
-The output data should be correct.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_crypt_cipher_decrypt_002
address@hidden @strong
-Decrypt an ciphered empty buffer (V2).
address@hidden Success condition
-Returns PDF_OK and the length of output buffer is zero.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_crypt_cipher_decrypt_003
address@hidden @strong
-Decrypt an ciphered buffer (AESV2).
address@hidden Success condition
-The output data should be correct.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_crypt_cipher_decrypt_004
address@hidden @strong
-Decrypt an ciphered buffer incrementally (AESV2).
address@hidden Success condition
-The output data should be correct.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_crypt_md_new
address@hidden pdf_crypt_md_new
-
address@hidden Test pdf_crypt_md_new_001
address@hidden @strong
-Create a new message-digester.
address@hidden Success condition
-Returns PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_crypt_md_write
address@hidden pdf_crypt_md_write
-
address@hidden Test pdf_crypt_md_write_001
address@hidden @strong
-Pass an empty message.
address@hidden Success condition
-Returns PDF_OK.
address@hidden table
address@hidden deffn
-
-
address@hidden pdf_crypt_md_read
address@hidden pdf_crypt_md_read
-
address@hidden Test pdf_crypt_md_read_001
address@hidden @strong
-Compute the md5 of an empty buffer.
address@hidden Success condition
-Returns PDF_OK and output buffer matches.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_crypt_md_read_002
address@hidden @strong
-Compute the md5 checksum of a string.
address@hidden Success condition
-The output data should be correct.
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_crypt_md_read_003
address@hidden @strong
-Compute the md5 checksum of a string.
address@hidden Success condition
-The output data should be correct.
address@hidden table
address@hidden deffn
-
-
-
address@hidden pdf_crypt_md_destroy
address@hidden pdf_crypt_md_destroy
-
address@hidden Test pdf_crypt_md_destroy_001
address@hidden @strong
-Destroy a message-digest descriptor.
address@hidden Success condition
-Returns PDF_OK
address@hidden table
address@hidden deffn
-
address@hidden Floating Point Maths Module
address@hidden Floating Point Maths Module
-
address@hidden
-* pdf_fp_func_eval::
address@hidden menu
-
address@hidden pdf_fp_func_eval
address@hidden pdf_fp_func_eval
-
address@hidden Test pdf_fp_func_eval_001
-Evaluate a type 4 function implementing the predefined function
-SimpleDot and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_002
-Evaluate a type 4 function implementing the predefined function
-InvertedSimpleDot and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_003
-Evaluate a type 4 function implementing the predefined function
-DoubleDot and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_004
-Evaluate a type 4 function implementing the predefined function
-InvertedDoubleDot and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_005
-Evaluate a type 4 function implementing the predefined function
-CosineDot and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_006
-Evaluate a type 4 function implementing the predefined function
-Double and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_007
-Evaluate a type 4 function implementing the predefined function
-InvertedDouble and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_008
-Evaluate a type 4 function implementing the predefined function
-Line and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_009
-Evaluate a type 4 function implementing the predefined function
-LineX and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_010
-Evaluate a type 4 function implementing the predefined function
-LineY and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_011
-Evaluate a type 4 function implementing the predefined function
-Round and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_012
-Evaluate a type 4 function implementing the predefined function
-Ellipse and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_013
-Evaluate a type 4 function implementing the predefined function
-EllipseA and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_014
-Evaluate a type 4 function implementing the predefined function
-InvertedEllipseA and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_015
-Evaluate a type 4 function implementing the predefined function
-EllipseB and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_016
-Evaluate a type 4 function implementing the predefined function
-EllipseC and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_017
-Evaluate a type 4 function implementing the predefined function
-InvertedEllipseC and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_018
-Evaluate a type 4 function implementing the predefined function
-Square and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_019
-Evaluate a type 4 function implementing the predefined function
-Cross and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_020
-Evaluate a type 4 function implementing the predefined function
-Rhomboid and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Test pdf_fp_func_eval_021
-Evaluate a type 4 function implementing the predefined function
-Diamond and compare the results with a C implementation.
address@hidden @strong
address@hidden Success condition
-The result of the type 4 function evaluations should match the results
-from the C implementation with an absolute error less than
address@hidden
address@hidden table
address@hidden deffn
-
address@hidden Subsystem Testing
address@hidden Subsystem Testing
-
address@hidden System Testing
address@hidden System Testing
-
address@hidden Test Data Files
address@hidden Test Data Files
-
address@hidden @file
address@hidden TD00001
-JBIG2 global segment for the page @file{TD00002}.
address@hidden TD00002
-JBIG2 page using global segment @file{TD00001}.
address@hidden TD00003
-Decoded JBIG2 page bitmap from page @file{TD00002} and global
-segment @file{TD00001}.
address@hidden table
address@hidden generated-tsd.texi
 
 @node GNU Free Documentation License
 @appendix GNU Free Documentation License

=== added file 'torture/testdata/TD00001.desc'
--- torture/testdata/TD00001.desc       1970-01-01 00:00:00 +0000
+++ torture/testdata/TD00001.desc       2009-01-10 00:45:53 +0000
@@ -0,0 +1,1 @@
+JBIG2 page using global segment @file{TD00001}.

=== added file 'torture/testdata/TD00002.desc'
--- torture/testdata/TD00002.desc       1970-01-01 00:00:00 +0000
+++ torture/testdata/TD00002.desc       2009-01-10 00:45:53 +0000
@@ -0,0 +1,1 @@
+JBIG2 global segment for the page @file{TD00002}.

=== added file 'torture/testdata/TD00003.desc'
--- torture/testdata/TD00003.desc       1970-01-01 00:00:00 +0000
+++ torture/testdata/TD00003.desc       2009-01-10 00:45:53 +0000
@@ -0,0 +1,2 @@
+Decoded JBIG2 page bitmap from page @file{TD00002} and global
+segment @file{TD00001}.

# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWdYn/VcACn3/gET0QEB/////
f/fe77////9gEpnXWfTe72s155L3ve7ur3t5AoFF7x7289zb2fezrPo9vc97aa05zL2exx3ee3Oi
7aHePQxQhGk2TVPzSmZRNtTJqH6UBtMkAD1AAaABo09BJEgyATFNT9VPUb1TyTyNI8TUekDNTelM
0jQBo0AP1ICRCTQimKeo2mIzUeqabaSHqeiNDRtQNADaIAAZBISJT0mnpDVGbUGnlJ6PUmh6aR6j
QNGNRkBoADQAIpI0p6npqGQaTaNNMkDCMQZAANDRoAAABJECACGQQEaNMkeinijGU9NQDQaGmhoZ
GgZIOAAvAhIYB6r4DkYRxefuVq8klNtea15B65U+tsLaG9URmxs/LL8zqbTcwX01sty4Rx7Zi16T
ZmqtNolTjD/AYopAjOCQVnZjbkIh003LJwgs7M5BWUMapkOiIvRHFUPAxxP2j8K/xaDKFG4/nVQS
22CgmE2/os0ZuOymZxyLa8vfhNPivcskLfyd2Emird6NV5MK44Np5M6mEmapg2jrREvroKH6Xo6v
4Y4YM0gISIJIUaIdnRxWevvxbwuv6FOMTSXHBngH3wqdlz/ZekoGCeaiipMoqxli32B4lob/u/zm
7OwYAK7KsLHBmg32q+5t5M2Ay5mA5yyIeCi9/gpB/2sO4mxjaTa8JlrBY3y1B2+3hdk1Siz2yBRu
Zqm2Ex5MZaOpgruw3Z4PZ5za1dXyD/H18BTru6IfaqdfZ10UNTLz5BlgpyXA5ztAv8nog/QQrRj+
ZfnVnTliSQSCOUq4MxwBZxz+j+WkpS4LDRolbcXcMZvSLyC9f1ycq9Q/4YnfHZSWQrjNutpWG/XQ
SJ2nqmcfx6WKMogMw+7ThslZXrM7I+4r0P9tYHP5UAxoj0gy1CDDemzUwSTv1DRmBwGnEFWjBFrK
bMJ6PiwpLeWOrgxhm+hcL17gmPCNi9iIcNIjLPQ2lP+mfUc4dnReqNwkx57giQwAHKYKqBJsTTUr
fbYUKSZ/IrYbb1OcQsGhdHq+fSG8Xruv9veen8QktIicb3Hx2JZAwWV18JcKEWKS71gA2/IrYt6q
KXHQ+vkKmoHJ2jR+fQUzoQSSTQQupkI+rOqAFjjb+nm3c7abGmks4A2gi87S8zSBjFsPGxiXmajG
0Bqw3MQ5wfE16zBq6k8sPNYSsyaIqYihhDBpTUTTjpp1a31B9tSjIdCZi1TCMMYJKcYk1Ba12raC
KmJm5Qyl7qBoO2zp8TfBRRzFzlnVq1KFrF1kwyG8cV56CbrdwoYNMSb3jhH9MJISQrDBtserNsL3
9ldAqFfy7l0bjl5OBsZg2nkhhd+PkhAeDo5CT2OZem6vqXRO3gadY7RilWHot1OqIKlsZnKAprri
vno3fnZmj7BQQWRZLgPxJQ5R0QfHQGAxh/AIjKYdvcpBon1NghpwTmvEIrWMwnLGxjCb1X0ianIp
TUYbU+HLj5dLjj6G2PR4gRhYO9tMRr4zxHwqyVhdIgIyKkTyGlaeLW/2KvkDS6qbRHLP0UyJE2wV
e1mT9Yu5vItF+w2d1Q46asl+YsWcKMZyd5xA30oGGfGmAiaGVoOLd4+XVZUB/urlK6DECBGEIbvP
xR8gktPozcXC51iRCnGJF3u2upBroBDsKVvnx4UJTdwXbuqOWDW1Js0eqLBlFVT3YgWSk3g/8LtW
cJxVEPEZ1/Srr6wDp3CX1sjlcMNPf1l5oZzmKJoA8LAPu3Rgxgx4glQJYJAtXOgCKwywmbcicBuk
LkIazEiCJhcMKtExwigYRB0tpc9GEBYZoKPOzjHCXElWdM5YK0xuDU4lLoaYRhMHXqnfyhhKwEme
hEq9tpzk6SWtXdu4v8Y8Q3qSi8UZYwfhwpfvN5Z9iNoIqQVmehdkjBGeUy8u0DMtAqGj78e7W4rN
5YSzQe0Y3kzaYmhEbE1Ne1HA4DnqOY4TKuNI7uP91QhJ20KDqsKqkTAH6nQBNWDGLG8rMi0YfjQv
IMWshzlYSJEVzkSDQTG4gamhQgSYtLMShiSqLRjeXJGwgHAvJDnaKwgebbejUscwfDFh63kSBGaG
oD4kiehKdiZ8hiCKDG4qRs7+RNEpVWeGZB2vJ7SwvMTfTLAwCwmd/oLgR4GdixeplgRmguLTMcyN
u2RxKxiuBcQNpadRtIDAj1zKwRXe6NDCygamM5DKNyCZmETAuJFp2oqU1XsZlhVBnex7jl5QfaYs
bqUrHW0MjbgCL7EaFRxMwREVY15qWOCK6ri+8nI91FM3jgjmDBLgexG/G+seojtjmK93RxIzREaV
WuT0NC0jOsrKUK8jIrmbgUjUXDGZQTmI5/qJo1kroFBUDCYS7wtRAtIockM2BYQvHKGzhcRxMAoI
YrMxi8oWEC4OtjbbpBum2zLNXDIh4jUiZlhIqzN4WbnxuKyyFKGA4xYQNRiNBsbxkxEpPK2Frjbn
xGQBdvkDeMS83jGeovIXmJEkYFpYVVlxAMQRlrvDYI4O3rEmnfDLUNpg0M4ButnD0IBNCBMS4vQr
m3HgaBiK6yDgSMMzwvRBvNXqGqmbM99+LAh+DdNbKqHDOrF3MzGwZSmDQ5GNrh4Zy67hWQNq8EJZ
4zL7flsYB2jl5inyBUAMYbrIXM0K3YNjWwdDI3wxET6jYQk0dMCFNBjRwhvhPdJG6W9Lw1chbAsp
6wn88oBOlrXL4VjiNji3ntIaEb1gOgGmFoRcgY2n2Lc22Sv13/5d/8k8/ron6lIrRmgZMw2W5frS
qMLpF5uplF/4FOI61BOwwXqcoLmdYkXesngzmC/eSW0vPNEXwsGCxGHmqYR8DGKjzFP2yRU6i4KE
v5IA0ACu6ymkMwDK9JcWikq89xYb01u4kszl0fttDFVOUYVxGxwGGtndMoUs2VnPIUqAUFkMUo3O
7DIjn9Y7uO9iNiV9zOpTFQpqnUel0oLPC9m7ZOsCjUQ6AkVAYJ9DSQMaNYtY1FG0FiRYxsThs3dg
DsIIQfbwkdCyInnG2ETSGib3sc1hBTPTa91h7Y0eIqkQY5QPEdR8xcfIU09g7+krKixebaXlRMl/
XkV4YD3i7XjHDMagyPMWGBYKR30wHaK0ibpEbRvPS63noITy3pmexFQWECWZk6nCytGjkJRkmuOF
iif0rMQMVHwWYnnR/NA+AdCQWJGAx+dlAxaT91T+QEwi3i0EaVkuAzPQWntkBzjCBScJOTn2rf5O
wKTJHEb/EOSGIzfGqhVpZIsd0KfyNmSBEyRyeQF9bDBUs2nbTZRkoJ3266Gws907xmiObByW+cR7
QyNDE+s5iJAa5TBYZ3l5EY+pHMOQOk4pgrPPDw2ootCKtxFv3op09HoVx62Qw0Z1Uv6bB+5ddgRd
xBqF9rPNuCKFSC21xPiI0VsQoKJEywoGO/HJKiIQ4dHpimSbJKWYvpJHiqNTmOskciBWI6wcqEdR
FiZQEXR2ICw6zdijay4Lgcyas9facTAyGOJx4oOkoP1l2RdVh2AwwiJEXpRIY1zE6Cw4wLf/OLjZ
Ys0ybDzJrjKOiGHazlT+0KtGfbdIDUN4uylDykTMNwxUWTIouMhaoq2HfxQXs8GXqBrm+zOb2OCt
wxwV+TerHXUGOhSNjkeiYpRaAsDYDAmdaYO08o8ndxux+47jvOoMzsLqLh8gGKDYWrNkaNCghkis
67EGrN7P4oN4sbuZicIaxh0DkznLCuDLs5eiHHz1r1IUQxupAWRh6sEske5M2sR0jE+BDvuWAUtx
NZELRsYBkO7mvCjcc/VlQkOqEOtYMAYALdsJ4JwoGRSThnR0ugYC5AbMlieWQwwmHdIcGEXUOZne
FDOCSuICkAnAbT09luWIejNJfROC8tyPjH7SB3EDYMd55PJYVlDznmPiOYtLTzkT1CxLCSCsY9hA
2oJF6vrApwBgJ+oCAMZRIOIDEhdCIJh9vyzNFtRmr0Xli9xSsgsRgmjkcyx43x+JTuVOx0dnjIkQ
SbCZQzSVDJDFqJtjGqAPA3XwICGA0a0ms1v9zCEzQpOxn/19+aw2Afe6vCrzC3iboB/xsKAg/U4B
HGnnggNJUhenR714EW+UEWSUfN6OXzLZqEEzDXtY8KLW199jDDoCVmfjQHg7XAzbDKiBRSJVSSVK
MaNPq91H9HqWRiI66O6iaDOE1IwO2Cd4yipEiBfjAkEIT3bra7Yb8YtymscKllA38WzqZuYGtpIr
x5K7KiuAiAhghGKk0wwTCkbgv9ySqkXTZhjNYehpLT441AWTFNE0Ho7w9aL6jRckLzAjuXakdRrL
LucM3Hiw/W4SS4NjYCU1ql+4kcCZCxyh0GBZQyghgSzBkpgQcLbbGP0Y/PZLAGMBhNw59uYYS9FP
KpmR10fXSsh6oRPejxgiRoyKi9MFqaJl0RFfRHFUAOtGRmmdxMkFDxDNZ5NpWIngIVyUTW4nLOBB
GO1HGHNzsc0k7DEww01hlJ0anpmn5gBVYqGAxlKCoikUTJpGBI7DCto3m9KDozsbyygTJaTIBSmL
FYIdkgnprICwUDY2XTwU8+nIO2cCDMoXy3xQ4y0UiIQhgRhIGFhiAbIHVFZDAyoaL25eHn+EjwBK
IZ7xznHk8oWKUkeJgdDZWtDoSQ0uRWYcZd7Vxqa3OkyEdEVhvQE6cydNFO3v8hEL5+9zS4qBZuj2
iSk6yR6Zgr9xz854f42L2kHujsPCSdxBUKwsp0pwRjs2BAUOjwCO6E7EkGK3P7gb5qQX0dwx5fDz
dCqRNqdlhayodOUyqdRSSlRl5He0vgpZpGnSPkDfXBOXD8w538wsDmXY8fZ7ha2Zo1VSS7u0pH1n
FKyBhIn3b2tssXFS5ROUJEFyL5ZQQEiKGZUSQndHWGZ3y/qkAqCDpOPPUByZQtElTMrbzx8SEl4I
mQXEiBDMw/KKuSyT2wCc99SZBYhxhDGHEgoBXxfexxLEv2uGlncwpl2z33OV5OTSdiyLs43BoHx5
FCKAZfM8hBTbcnHHFshWfKH5iynQ54UykL4ooOSDSgfay9winGTDCVlAOY2CKJdpX5UWOdmqLkwk
eML3EYpFhoBEq0mluC4UJ7PuojdfPgZGwbbbb6nTSR1gaSO5CUxQ2QbfS0lorXhxSsHRUjvV6iRt
tjeaGFMRdqK9SDDqAc7ESh021WjAHsAGHQGxbgcV1vz0A5/Y23YDDS0F2ozgVkbyrXnnGRmxmfOm
ETZ4pNiFDmAiAbLlftURA7NrYlvM5FA1FTZcO7RZismGFIpEMWQzarbERDcOosAxfuDUYW8ZVyEX
8KIKFE8mwHBB5EMKwR9SzHSPajnyXAzXQX3K+iShuQVOSH2MxgK6OQuIaJEu4pahNVdJiGsWnYrq
lqJjSV5QpFcEllk5yacBk1vU3+n6DJPOg0xxjQdJLb10C6MKFWma6UBal+oDACa7UCUKNLx0ztVM
GpfL2rTZTLOa0uKnKmiZexjiOIqxK2yxh7w16ZBZhk8MYi0NoYAuF0eh555woFCzyKrr9J4g2R94
MK3TfLszxDvJ/xdyRThQkNYn/Vc=

###

cheers
-gerel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]