Changeset 8 for trunk/tests/Makefile.am

Show
Ignore:
Timestamp:
04/10/06 12:49:58 (3 years ago)
Author:
jordi
Message:

I've changed the way the loadFile() function handles the error. Now all Poppler error are defined under the DocumentError? enumeration. When an error happens we can call the Document::getErrorMessage() static method to get the error message from the error code.

Also I've added the Document domain to the GError.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/Makefile.am

    r7 r8  
    99    main.cxx 
    1010 
    11 test_epdfview_CXXFLAGS =                    \ 
    12     -DTEST_DATA_DIR='"$(top_srcdir)/src/"'  \ 
    13     -I$(top_srcdir)/src                     \ 
    14     $(GLIB_CFLAGS)                          \ 
    15     $(POPPLER_CFLAGS)                       \ 
     11test_epdfview_CXXFLAGS =                        \ 
     12    -DTEST_DATA_DIR='"$(top_srcdir)/tests/"'    \ 
     13    -I$(top_srcdir)/src                         \ 
     14    $(GLIB_CFLAGS)                              \ 
     15    $(POPPLER_CFLAGS)                           \ 
    1616    $(CPPUNIT_CFLAGS) 
    1717