summaryrefslogtreecommitdiff
path: root/tests/giomm_asyncresult_sourceobject
Commit message (Collapse)AuthorAgeFilesLines
* tests: Use EXIT_* for clarity.Murray Cumming2011-02-241-1/+1
| | | | * tests/*.cc: Use EXIT_SUCCESS rather than 0 because I think that is clearer.
* Actually run all tests, and check some failures.Murray Cumming2011-02-241-9/+18
| | | | | | | | | | | | | | | | | | | * tests/Makefile.am: Add all tests to TESTS so they are really run during make check, instead of just built. * tests/giomm_asyncresult_sourceobject/main.cc: * tests/giomm_ioerror/main.cc: * tests/giomm_simple/main.cc: * tests/glibmm_bool_arrayhandle/main.cc: * tests/glibmm_bool_vector/main.cc: * tests/glibmm_buildfilename/main.cc: * tests/glibmm_date/main.cc: * tests/glibmm_ustring_compose/main.cc: * tests/glibmm_valuearray/main.cc: * tests/glibmm_variant/main.cc: * tests/glibmm_vector/main.cc: Remove all use of std::cout by default, allowing it to be renabled by changing a line. Return (or) exit with EXIT_FAILURE after any use of std::cerr, so that make check can report it.
* AsyncResult: Add get_source_object_base(), deprecating get_source_object().Murray Cumming2010-03-081-0/+30
* gio/asyncresult.[hg|ccg]: Deprecate get_source_object(), replacing it with get_source_object_base(), because in giomm, the C++ wrapper object might be a Glib::Interface, but not a Glib::Object (though the underlying C instance must be a GObject). This happens if giomm does not know about the GType of the underlying C Object, which is a legitimate situation. * tests/giomm_asyncresult_sourceobject/main.cc: Added this test case from Michael Hasselmann, from bug #608269.