From 3f3fc7b7723698e44427e2a14a2f4906832800bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Wed, 28 Sep 2016 11:45:33 +0200 Subject: [PATCH] [test] add .test.cpp suffix to test case files --- cmake/test-files.cmake | 118 +++++++++--------- test/actor/{actor.cpp => actor.test.cpp} | 0 .../{actor_ref.cpp => actor_ref.test.cpp} | 0 ...ldren.cpp => covered_by_children.test.cpp} | 0 ...lip_ids.cpp => generate_clip_ids.test.cpp} | 0 ...rables.cpp => update_renderables.test.cpp} | 0 .../{annotations.cpp => annotations.test.cpp} | 0 .../{api_misuse.cpp => api_misuse.test.cpp} | 0 ...custom_layer.cpp => custom_layer.test.cpp} | 0 ...er_missing.cpp => render_missing.test.cpp} | 0 ...ed_render.cpp => repeated_render.test.cpp} | 0 .../{binpack.cpp => binpack.test.cpp} | 0 test/gl/{object.cpp => object.test.cpp} | 0 test/map/{map.cpp => map.test.cpp} | 0 .../map/{transform.cpp => transform.test.cpp} | 0 test/math/{clamp.cpp => clamp.test.cpp} | 0 test/math/{minmax.cpp => minmax.test.cpp} | 0 test/math/{wrap.cpp => wrap.test.cpp} | 0 ...sprite_atlas.cpp => sprite_atlas.test.cpp} | 0 ...sprite_image.cpp => sprite_image.test.cpp} | 0 ...rite_parser.cpp => sprite_parser.test.cpp} | 0 ..._source.cpp => asset_file_source.test.cpp} | 0 ...ource.cpp => default_file_source.test.cpp} | 0 .../storage/{headers.cpp => headers.test.cpp} | 0 ...e_source.cpp => http_file_source.test.cpp} | 0 .../storage/{offline.cpp => offline.test.cpp} | 0 ...database.cpp => offline_database.test.cpp} | 0 ...download.cpp => offline_download.test.cpp} | 0 ...source.cpp => online_file_source.test.cpp} | 0 .../{resource.cpp => resource.test.cpp} | 0 ...n_options.cpp => geojson_options.test.cpp} | 0 test/style/{filter.cpp => filter.test.cpp} | 0 .../{functions.cpp => functions.test.cpp} | 0 test/style/{source.cpp => source.test.cpp} | 0 test/style/{style.cpp => style.test.cpp} | 0 .../{style_layer.cpp => style_layer.test.cpp} | 0 ...style_parser.cpp => style_parser.test.cpp} | 0 .../{tile_source.cpp => tile_source.test.cpp} | 0 .../{glyph_atlas.cpp => glyph_atlas.test.cpp} | 0 test/text/{quads.cpp => quads.test.cpp} | 0 ...e_data.cpp => geometry_tile_data.test.cpp} | 0 test/tile/{tile_id.cpp => tile_id.test.cpp} | 0 .../{async_task.cpp => async_task.test.cpp} | 0 test/util/{geo.cpp => geo.test.cpp} | 0 ...http_timeout.cpp => http_timeout.test.cpp} | 0 test/util/{image.cpp => image.test.cpp} | 0 test/util/{mapbox.cpp => mapbox.test.cpp} | 0 test/util/{memory.cpp => memory.test.cpp} | 0 .../{merge_lines.cpp => merge_lines.test.cpp} | 0 ...rsions.cpp => number_conversions.test.cpp} | 0 ...texture.cpp => offscreen_texture.test.cpp} | 0 .../{projection.cpp => projection.test.cpp} | 0 test/util/{run_loop.cpp => run_loop.test.cpp} | 0 ...versions.cpp => text_conversions.test.cpp} | 0 test/util/{thread.cpp => thread.test.cpp} | 0 ...thread_local.cpp => thread_local.test.cpp} | 0 .../{tile_cover.cpp => tile_cover.test.cpp} | 0 test/util/{timer.cpp => timer.test.cpp} | 0 test/util/{token.cpp => token.test.cpp} | 0 .../{work_queue.cpp => work_queue.test.cpp} | 0 60 files changed, 59 insertions(+), 59 deletions(-) rename test/actor/{actor.cpp => actor.test.cpp} (100%) rename test/actor/{actor_ref.cpp => actor_ref.test.cpp} (100%) rename test/algorithm/{covered_by_children.cpp => covered_by_children.test.cpp} (100%) rename test/algorithm/{generate_clip_ids.cpp => generate_clip_ids.test.cpp} (100%) rename test/algorithm/{update_renderables.cpp => update_renderables.test.cpp} (100%) rename test/api/{annotations.cpp => annotations.test.cpp} (100%) rename test/api/{api_misuse.cpp => api_misuse.test.cpp} (100%) rename test/api/{custom_layer.cpp => custom_layer.test.cpp} (100%) rename test/api/{render_missing.cpp => render_missing.test.cpp} (100%) rename test/api/{repeated_render.cpp => repeated_render.test.cpp} (100%) rename test/geometry/{binpack.cpp => binpack.test.cpp} (100%) rename test/gl/{object.cpp => object.test.cpp} (100%) rename test/map/{map.cpp => map.test.cpp} (100%) rename test/map/{transform.cpp => transform.test.cpp} (100%) rename test/math/{clamp.cpp => clamp.test.cpp} (100%) rename test/math/{minmax.cpp => minmax.test.cpp} (100%) rename test/math/{wrap.cpp => wrap.test.cpp} (100%) rename test/sprite/{sprite_atlas.cpp => sprite_atlas.test.cpp} (100%) rename test/sprite/{sprite_image.cpp => sprite_image.test.cpp} (100%) rename test/sprite/{sprite_parser.cpp => sprite_parser.test.cpp} (100%) rename test/storage/{asset_file_source.cpp => asset_file_source.test.cpp} (100%) rename test/storage/{default_file_source.cpp => default_file_source.test.cpp} (100%) rename test/storage/{headers.cpp => headers.test.cpp} (100%) rename test/storage/{http_file_source.cpp => http_file_source.test.cpp} (100%) rename test/storage/{offline.cpp => offline.test.cpp} (100%) rename test/storage/{offline_database.cpp => offline_database.test.cpp} (100%) rename test/storage/{offline_download.cpp => offline_download.test.cpp} (100%) rename test/storage/{online_file_source.cpp => online_file_source.test.cpp} (100%) rename test/storage/{resource.cpp => resource.test.cpp} (100%) rename test/style/conversion/{geojson_options.cpp => geojson_options.test.cpp} (100%) rename test/style/{filter.cpp => filter.test.cpp} (100%) rename test/style/{functions.cpp => functions.test.cpp} (100%) rename test/style/{source.cpp => source.test.cpp} (100%) rename test/style/{style.cpp => style.test.cpp} (100%) rename test/style/{style_layer.cpp => style_layer.test.cpp} (100%) rename test/style/{style_parser.cpp => style_parser.test.cpp} (100%) rename test/style/{tile_source.cpp => tile_source.test.cpp} (100%) rename test/text/{glyph_atlas.cpp => glyph_atlas.test.cpp} (100%) rename test/text/{quads.cpp => quads.test.cpp} (100%) rename test/tile/{geometry_tile_data.cpp => geometry_tile_data.test.cpp} (100%) rename test/tile/{tile_id.cpp => tile_id.test.cpp} (100%) rename test/util/{async_task.cpp => async_task.test.cpp} (100%) rename test/util/{geo.cpp => geo.test.cpp} (100%) rename test/util/{http_timeout.cpp => http_timeout.test.cpp} (100%) rename test/util/{image.cpp => image.test.cpp} (100%) rename test/util/{mapbox.cpp => mapbox.test.cpp} (100%) rename test/util/{memory.cpp => memory.test.cpp} (100%) rename test/util/{merge_lines.cpp => merge_lines.test.cpp} (100%) rename test/util/{number_conversions.cpp => number_conversions.test.cpp} (100%) rename test/util/{offscreen_texture.cpp => offscreen_texture.test.cpp} (100%) rename test/util/{projection.cpp => projection.test.cpp} (100%) rename test/util/{run_loop.cpp => run_loop.test.cpp} (100%) rename test/util/{text_conversions.cpp => text_conversions.test.cpp} (100%) rename test/util/{thread.cpp => thread.test.cpp} (100%) rename test/util/{thread_local.cpp => thread_local.test.cpp} (100%) rename test/util/{tile_cover.cpp => tile_cover.test.cpp} (100%) rename test/util/{timer.cpp => timer.test.cpp} (100%) rename test/util/{token.cpp => token.test.cpp} (100%) rename test/util/{work_queue.cpp => work_queue.test.cpp} (100%) diff --git a/cmake/test-files.cmake b/cmake/test-files.cmake index e376bf098..f460758a0 100644 --- a/cmake/test-files.cmake +++ b/cmake/test-files.cmake @@ -2,44 +2,44 @@ set(MBGL_TEST_FILES # actor - test/actor/actor.cpp - test/actor/actor_ref.cpp + test/actor/actor.test.cpp + test/actor/actor_ref.test.cpp # algorithm - test/algorithm/covered_by_children.cpp - test/algorithm/generate_clip_ids.cpp + test/algorithm/covered_by_children.test.cpp + test/algorithm/generate_clip_ids.test.cpp test/algorithm/mock.hpp - test/algorithm/update_renderables.cpp + test/algorithm/update_renderables.test.cpp # api - test/api/annotations.cpp - test/api/api_misuse.cpp - test/api/custom_layer.cpp - test/api/render_missing.cpp - test/api/repeated_render.cpp + test/api/annotations.test.cpp + test/api/api_misuse.test.cpp + test/api/custom_layer.test.cpp + test/api/render_missing.test.cpp + test/api/repeated_render.test.cpp # geometry - test/geometry/binpack.cpp + test/geometry/binpack.test.cpp # gl - test/gl/object.cpp + test/gl/object.test.cpp # include/mbgl test/include/mbgl/test.hpp # map - test/map/map.cpp - test/map/transform.cpp + test/map/map.test.cpp + test/map/transform.test.cpp # math - test/math/clamp.cpp - test/math/minmax.cpp - test/math/wrap.cpp + test/math/clamp.test.cpp + test/math/minmax.test.cpp + test/math/wrap.test.cpp # sprite - test/sprite/sprite_atlas.cpp - test/sprite/sprite_image.cpp - test/sprite/sprite_parser.cpp + test/sprite/sprite_atlas.test.cpp + test/sprite/sprite_image.test.cpp + test/sprite/sprite_parser.test.cpp # src test/src/main.cpp @@ -58,53 +58,53 @@ set(MBGL_TEST_FILES test/src/mbgl/test/util.hpp # storage - test/storage/asset_file_source.cpp - test/storage/default_file_source.cpp - test/storage/headers.cpp - test/storage/http_file_source.cpp - test/storage/offline.cpp - test/storage/offline_database.cpp - test/storage/offline_download.cpp - test/storage/online_file_source.cpp - test/storage/resource.cpp + test/storage/asset_file_source.test.cpp + test/storage/default_file_source.test.cpp + test/storage/headers.test.cpp + test/storage/http_file_source.test.cpp + test/storage/offline.test.cpp + test/storage/offline_database.test.cpp + test/storage/offline_download.test.cpp + test/storage/online_file_source.test.cpp + test/storage/resource.test.cpp # style/conversion - test/style/conversion/geojson_options.cpp + test/style/conversion/geojson_options.test.cpp # style - test/style/filter.cpp - test/style/functions.cpp - test/style/source.cpp - test/style/style.cpp - test/style/style_layer.cpp - test/style/style_parser.cpp - test/style/tile_source.cpp + test/style/filter.test.cpp + test/style/functions.test.cpp + test/style/source.test.cpp + test/style/style.test.cpp + test/style/style_layer.test.cpp + test/style/style_parser.test.cpp + test/style/tile_source.test.cpp # text - test/text/glyph_atlas.cpp - test/text/quads.cpp + test/text/glyph_atlas.test.cpp + test/text/quads.test.cpp # tile - test/tile/geometry_tile_data.cpp - test/tile/tile_id.cpp + test/tile/geometry_tile_data.test.cpp + test/tile/tile_id.test.cpp # util - test/util/async_task.cpp - test/util/geo.cpp - test/util/http_timeout.cpp - test/util/image.cpp - test/util/mapbox.cpp - test/util/memory.cpp - test/util/merge_lines.cpp - test/util/number_conversions.cpp - test/util/offscreen_texture.cpp - test/util/projection.cpp - test/util/run_loop.cpp - test/util/text_conversions.cpp - test/util/thread.cpp - test/util/thread_local.cpp - test/util/tile_cover.cpp - test/util/timer.cpp - test/util/token.cpp - test/util/work_queue.cpp + test/util/async_task.test.cpp + test/util/geo.test.cpp + test/util/http_timeout.test.cpp + test/util/image.test.cpp + test/util/mapbox.test.cpp + test/util/memory.test.cpp + test/util/merge_lines.test.cpp + test/util/number_conversions.test.cpp + test/util/offscreen_texture.test.cpp + test/util/projection.test.cpp + test/util/run_loop.test.cpp + test/util/text_conversions.test.cpp + test/util/thread.test.cpp + test/util/thread_local.test.cpp + test/util/tile_cover.test.cpp + test/util/timer.test.cpp + test/util/token.test.cpp + test/util/work_queue.test.cpp ) diff --git a/test/actor/actor.cpp b/test/actor/actor.test.cpp similarity index 100% rename from test/actor/actor.cpp rename to test/actor/actor.test.cpp diff --git a/test/actor/actor_ref.cpp b/test/actor/actor_ref.test.cpp similarity index 100% rename from test/actor/actor_ref.cpp rename to test/actor/actor_ref.test.cpp diff --git a/test/algorithm/covered_by_children.cpp b/test/algorithm/covered_by_children.test.cpp similarity index 100% rename from test/algorithm/covered_by_children.cpp rename to test/algorithm/covered_by_children.test.cpp diff --git a/test/algorithm/generate_clip_ids.cpp b/test/algorithm/generate_clip_ids.test.cpp similarity index 100% rename from test/algorithm/generate_clip_ids.cpp rename to test/algorithm/generate_clip_ids.test.cpp diff --git a/test/algorithm/update_renderables.cpp b/test/algorithm/update_renderables.test.cpp similarity index 100% rename from test/algorithm/update_renderables.cpp rename to test/algorithm/update_renderables.test.cpp diff --git a/test/api/annotations.cpp b/test/api/annotations.test.cpp similarity index 100% rename from test/api/annotations.cpp rename to test/api/annotations.test.cpp diff --git a/test/api/api_misuse.cpp b/test/api/api_misuse.test.cpp similarity index 100% rename from test/api/api_misuse.cpp rename to test/api/api_misuse.test.cpp diff --git a/test/api/custom_layer.cpp b/test/api/custom_layer.test.cpp similarity index 100% rename from test/api/custom_layer.cpp rename to test/api/custom_layer.test.cpp diff --git a/test/api/render_missing.cpp b/test/api/render_missing.test.cpp similarity index 100% rename from test/api/render_missing.cpp rename to test/api/render_missing.test.cpp diff --git a/test/api/repeated_render.cpp b/test/api/repeated_render.test.cpp similarity index 100% rename from test/api/repeated_render.cpp rename to test/api/repeated_render.test.cpp diff --git a/test/geometry/binpack.cpp b/test/geometry/binpack.test.cpp similarity index 100% rename from test/geometry/binpack.cpp rename to test/geometry/binpack.test.cpp diff --git a/test/gl/object.cpp b/test/gl/object.test.cpp similarity index 100% rename from test/gl/object.cpp rename to test/gl/object.test.cpp diff --git a/test/map/map.cpp b/test/map/map.test.cpp similarity index 100% rename from test/map/map.cpp rename to test/map/map.test.cpp diff --git a/test/map/transform.cpp b/test/map/transform.test.cpp similarity index 100% rename from test/map/transform.cpp rename to test/map/transform.test.cpp diff --git a/test/math/clamp.cpp b/test/math/clamp.test.cpp similarity index 100% rename from test/math/clamp.cpp rename to test/math/clamp.test.cpp diff --git a/test/math/minmax.cpp b/test/math/minmax.test.cpp similarity index 100% rename from test/math/minmax.cpp rename to test/math/minmax.test.cpp diff --git a/test/math/wrap.cpp b/test/math/wrap.test.cpp similarity index 100% rename from test/math/wrap.cpp rename to test/math/wrap.test.cpp diff --git a/test/sprite/sprite_atlas.cpp b/test/sprite/sprite_atlas.test.cpp similarity index 100% rename from test/sprite/sprite_atlas.cpp rename to test/sprite/sprite_atlas.test.cpp diff --git a/test/sprite/sprite_image.cpp b/test/sprite/sprite_image.test.cpp similarity index 100% rename from test/sprite/sprite_image.cpp rename to test/sprite/sprite_image.test.cpp diff --git a/test/sprite/sprite_parser.cpp b/test/sprite/sprite_parser.test.cpp similarity index 100% rename from test/sprite/sprite_parser.cpp rename to test/sprite/sprite_parser.test.cpp diff --git a/test/storage/asset_file_source.cpp b/test/storage/asset_file_source.test.cpp similarity index 100% rename from test/storage/asset_file_source.cpp rename to test/storage/asset_file_source.test.cpp diff --git a/test/storage/default_file_source.cpp b/test/storage/default_file_source.test.cpp similarity index 100% rename from test/storage/default_file_source.cpp rename to test/storage/default_file_source.test.cpp diff --git a/test/storage/headers.cpp b/test/storage/headers.test.cpp similarity index 100% rename from test/storage/headers.cpp rename to test/storage/headers.test.cpp diff --git a/test/storage/http_file_source.cpp b/test/storage/http_file_source.test.cpp similarity index 100% rename from test/storage/http_file_source.cpp rename to test/storage/http_file_source.test.cpp diff --git a/test/storage/offline.cpp b/test/storage/offline.test.cpp similarity index 100% rename from test/storage/offline.cpp rename to test/storage/offline.test.cpp diff --git a/test/storage/offline_database.cpp b/test/storage/offline_database.test.cpp similarity index 100% rename from test/storage/offline_database.cpp rename to test/storage/offline_database.test.cpp diff --git a/test/storage/offline_download.cpp b/test/storage/offline_download.test.cpp similarity index 100% rename from test/storage/offline_download.cpp rename to test/storage/offline_download.test.cpp diff --git a/test/storage/online_file_source.cpp b/test/storage/online_file_source.test.cpp similarity index 100% rename from test/storage/online_file_source.cpp rename to test/storage/online_file_source.test.cpp diff --git a/test/storage/resource.cpp b/test/storage/resource.test.cpp similarity index 100% rename from test/storage/resource.cpp rename to test/storage/resource.test.cpp diff --git a/test/style/conversion/geojson_options.cpp b/test/style/conversion/geojson_options.test.cpp similarity index 100% rename from test/style/conversion/geojson_options.cpp rename to test/style/conversion/geojson_options.test.cpp diff --git a/test/style/filter.cpp b/test/style/filter.test.cpp similarity index 100% rename from test/style/filter.cpp rename to test/style/filter.test.cpp diff --git a/test/style/functions.cpp b/test/style/functions.test.cpp similarity index 100% rename from test/style/functions.cpp rename to test/style/functions.test.cpp diff --git a/test/style/source.cpp b/test/style/source.test.cpp similarity index 100% rename from test/style/source.cpp rename to test/style/source.test.cpp diff --git a/test/style/style.cpp b/test/style/style.test.cpp similarity index 100% rename from test/style/style.cpp rename to test/style/style.test.cpp diff --git a/test/style/style_layer.cpp b/test/style/style_layer.test.cpp similarity index 100% rename from test/style/style_layer.cpp rename to test/style/style_layer.test.cpp diff --git a/test/style/style_parser.cpp b/test/style/style_parser.test.cpp similarity index 100% rename from test/style/style_parser.cpp rename to test/style/style_parser.test.cpp diff --git a/test/style/tile_source.cpp b/test/style/tile_source.test.cpp similarity index 100% rename from test/style/tile_source.cpp rename to test/style/tile_source.test.cpp diff --git a/test/text/glyph_atlas.cpp b/test/text/glyph_atlas.test.cpp similarity index 100% rename from test/text/glyph_atlas.cpp rename to test/text/glyph_atlas.test.cpp diff --git a/test/text/quads.cpp b/test/text/quads.test.cpp similarity index 100% rename from test/text/quads.cpp rename to test/text/quads.test.cpp diff --git a/test/tile/geometry_tile_data.cpp b/test/tile/geometry_tile_data.test.cpp similarity index 100% rename from test/tile/geometry_tile_data.cpp rename to test/tile/geometry_tile_data.test.cpp diff --git a/test/tile/tile_id.cpp b/test/tile/tile_id.test.cpp similarity index 100% rename from test/tile/tile_id.cpp rename to test/tile/tile_id.test.cpp diff --git a/test/util/async_task.cpp b/test/util/async_task.test.cpp similarity index 100% rename from test/util/async_task.cpp rename to test/util/async_task.test.cpp diff --git a/test/util/geo.cpp b/test/util/geo.test.cpp similarity index 100% rename from test/util/geo.cpp rename to test/util/geo.test.cpp diff --git a/test/util/http_timeout.cpp b/test/util/http_timeout.test.cpp similarity index 100% rename from test/util/http_timeout.cpp rename to test/util/http_timeout.test.cpp diff --git a/test/util/image.cpp b/test/util/image.test.cpp similarity index 100% rename from test/util/image.cpp rename to test/util/image.test.cpp diff --git a/test/util/mapbox.cpp b/test/util/mapbox.test.cpp similarity index 100% rename from test/util/mapbox.cpp rename to test/util/mapbox.test.cpp diff --git a/test/util/memory.cpp b/test/util/memory.test.cpp similarity index 100% rename from test/util/memory.cpp rename to test/util/memory.test.cpp diff --git a/test/util/merge_lines.cpp b/test/util/merge_lines.test.cpp similarity index 100% rename from test/util/merge_lines.cpp rename to test/util/merge_lines.test.cpp diff --git a/test/util/number_conversions.cpp b/test/util/number_conversions.test.cpp similarity index 100% rename from test/util/number_conversions.cpp rename to test/util/number_conversions.test.cpp diff --git a/test/util/offscreen_texture.cpp b/test/util/offscreen_texture.test.cpp similarity index 100% rename from test/util/offscreen_texture.cpp rename to test/util/offscreen_texture.test.cpp diff --git a/test/util/projection.cpp b/test/util/projection.test.cpp similarity index 100% rename from test/util/projection.cpp rename to test/util/projection.test.cpp diff --git a/test/util/run_loop.cpp b/test/util/run_loop.test.cpp similarity index 100% rename from test/util/run_loop.cpp rename to test/util/run_loop.test.cpp diff --git a/test/util/text_conversions.cpp b/test/util/text_conversions.test.cpp similarity index 100% rename from test/util/text_conversions.cpp rename to test/util/text_conversions.test.cpp diff --git a/test/util/thread.cpp b/test/util/thread.test.cpp similarity index 100% rename from test/util/thread.cpp rename to test/util/thread.test.cpp diff --git a/test/util/thread_local.cpp b/test/util/thread_local.test.cpp similarity index 100% rename from test/util/thread_local.cpp rename to test/util/thread_local.test.cpp diff --git a/test/util/tile_cover.cpp b/test/util/tile_cover.test.cpp similarity index 100% rename from test/util/tile_cover.cpp rename to test/util/tile_cover.test.cpp diff --git a/test/util/timer.cpp b/test/util/timer.test.cpp similarity index 100% rename from test/util/timer.cpp rename to test/util/timer.test.cpp diff --git a/test/util/token.cpp b/test/util/token.test.cpp similarity index 100% rename from test/util/token.cpp rename to test/util/token.test.cpp diff --git a/test/util/work_queue.cpp b/test/util/work_queue.test.cpp similarity index 100% rename from test/util/work_queue.cpp rename to test/util/work_queue.test.cpp