• Dan Winship's avatar
    gio/tests: add some more async stream tests · 578b657f
    Dan Winship authored
    Add read_async() and skip_async() tests to buffered-input-stream.
    
    Fix and re-enable filter-streams's existing close_async() tests, and
    add read_async(), skip_async(), and write_async() tests as well. Also,
    redo the tests to use dummy GFilterInputStream and GFilterOutputStream
    subclasses rather than GBufferedInput/OutputStream, so that we're
    testing the base filter stream implementations of everything (since
    the buffered stream overrides are already getting tested in the
    buffered-input-stream and buffered-output-stream tests anyway).
    
    Add a skip_async() test to unix-streams. (This one would crash without
    the bugfix in the previous commit.)
    578b657f