summaryrefslogtreecommitdiff
path: root/tests/giomm_asyncresult_sourceobject
Commit message (Collapse)AuthorAgeFilesLines
* Gio::AsyncResult: Explain why wrap() is not used in get_source_object_base()Kjell Ahlstedt2019-01-251-1/+16
| | | | | | * gio/src/asyncresult.ccg: Replace a TODO comment with an explanation. * tests/giomm_asyncresult_sourceobject/main.cc: Add code that demonstrates why Glib::wrap(GObject* object, bool take_copy) returns an empty RefPtr.
* Run clang-format on tests.Murray Cumming2016-02-261-7/+9
|
* C++11: examples/tests: More use of auto.Murray Cumming2015-07-151-2/+2
|
* 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.