libvips/test
John Cupitt 4c5873809f experiment with renaming stream
rename as VipsConnection, VipsSource, VipsTarget etc.

see https://github.com/libvips/libvips/issues/1494#issuecomment-569498619

renamed with this script:

```

set -e

edit() {
        sed -i -E "$1" rename
}

for i in $*; do
        cp $i rename

        edit s/VIPS_STREAMOU/VIPS_TARGET_CUSTOM/g
        edit s/VIPS_STREAMO/VIPS_TARGET/g
        edit s/VIPS_STREAMIU/VIPS_SOURCE_CUSTOM/g
        edit s/VIPS_STREAMI/VIPS_SOURCE/g
        edit s/VIPS_STREAM/VIPS_CONNECTION/g

        edit s/vips_streamou/vips_target_custom/g
        edit s/vips_streamo/vips_target/g
        edit s/vips_streamiu/vips_source_custom/g
        edit s/vips_streami/vips_source/g
        edit s/vips_stream/vips_connection/g

        edit s/VipsStreamou/VipsTargetCustom/g
        edit s/VipsStreamo/VipsTarget/g
        edit s/VipsStreamiu/VipsSourceCustom/g
        edit s/VipsStreami/VipsSource/g
        edit s/VipsStream/VipsConnection/g

        # eg. VIPS_TYPE_STREAM or VIPS_IS_STREAM
        edit "s/VIPS_([A-Z]+)_STREAMOU/VIPS_\1_TARGET_CUSTOM/g"
        edit "s/VIPS_([A-Z]+)_STREAMO/VIPS_\1_TARGET/g"
        edit "s/VIPS_([A-Z]+)_STREAMIU/VIPS_\1_SOURCE_CUSTOM/g"
        edit "s/VIPS_([A-Z]+)_STREAMI/VIPS_\1_SOURCE/g"
        edit "s/VIPS_([A-Z]+)_STREAM/VIPS_\1_CONNECTION/g"

        edit s/streamou/target_custom/g
        edit s/streamo/target/g
        edit s/streamiu/source_custom/g
        edit s/streami/source/g

        # various identifiers which also change
        edit s/is_a_stream/is_a_source/g
        edit s/find_load_stream/find_load_source/g
        edit s/find_save_stream/find_save_target/g
        edit s/new_from_stream/new_from_source/g
        edit s/write_to_stream/write_to_target/g
        edit s/vips_thumbnail_stream/vips_thumbnail_source/g

        # eg. vips_webpload_stream
        edit "s/vips_([a-z]+)load_stream/vips_\1load_source/g"

        # eg. vips_webpsave_stream
        edit "s/vips_([a-z]+)save_stream/vips_\1save_target/g"

        mv rename $i
done
```
2019-12-29 21:40:21 +00:00
..
test-suite relax text test render threshold 2019-12-26 14:11:15 +00:00
.gitignore Update C++ binding and function list 2019-11-29 14:51:03 +01:00
Makefile.am experiment with renaming stream 2019-12-29 21:40:21 +00:00
README.md vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_cli.sh revise test_cli for new sample jpg 2019-11-26 09:14:40 +00:00
test_connections experiment with renaming stream 2019-12-29 21:40:21 +00:00
test_connections.c experiment with renaming stream 2019-12-29 21:40:21 +00:00
test_connections.sh experiment with renaming stream 2019-12-29 21:40:21 +00:00
test_descriptors.c experiment with renaming stream 2019-12-29 21:40:21 +00:00
test_descriptors.sh add note in test_desc about ppm loader 2019-12-23 14:58:22 +00:00
test_formats.sh add streams.c test 2019-11-24 18:22:43 +00:00
test_seq.sh argh reapply seq removal 2017-03-06 11:55:38 +00:00
test_stall.sh "squash" to tiffsave now does lab as well 2019-12-18 17:29:34 +00:00
test_threading.sh Fix test_{threading,thumbnail}.sh without install 2016-05-09 00:48:37 +02:00
test_thumbnail.sh Change jcupitt references to libvips. 2018-09-21 09:05:47 -07:00
variables.sh.in update jpg name in variables.sh.in as well 2019-11-27 08:58:30 +00:00

libvips test suite

This is in two parts: a few simple bash scripts in this directory are run on "make check", and a fancier Python test suite that's run by Travis on each commit.