Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed tests warning: "TYPED_TEST_CASE is deprecated, please use TYPED_TEST_SUITE" #9574

Merged
merged 2 commits into from
Nov 10, 2021

Conversation

ttnghia
Copy link
Contributor

@ttnghia ttnghia commented Nov 1, 2021

This PR does a simple refactoring in the unit tests, replacing the calls to macro TYPED_TEST_CASE by calling to TYPED_TEST_SUITE macro instead.

This is to fix the warning: "TYPED_TEST_CASE is deprecated, please use TYPED_TEST_SUITE".

Due to high conflict with other PRs, this PR should be merged last, after other C++ PRs, before code freeze.

@ttnghia ttnghia added 3 - Ready for Review Ready for review by team tests Unit testing for project code quality libcudf Affects libcudf (C++/CUDA) code. 5 - DO NOT MERGE Hold off on merging; see PR for details improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Nov 1, 2021
@ttnghia ttnghia self-assigned this Nov 1, 2021
@ttnghia ttnghia requested a review from a team as a code owner November 1, 2021 15:48
# Conflicts:
#	cpp/tests/reductions/scan_tests.cpp
@codecov
Copy link

codecov bot commented Nov 10, 2021

Codecov Report

Merging #9574 (3504286) into branch-21.12 (ab4bfaa) will decrease coverage by 0.11%.
The diff coverage is n/a.

❗ Current head 3504286 differs from pull request most recent head 38a08f9. Consider uploading reports for the commit 38a08f9 to get more accurate results
Impacted file tree graph

@@               Coverage Diff                @@
##           branch-21.12    #9574      +/-   ##
================================================
- Coverage         10.79%   10.67%   -0.12%     
================================================
  Files               116      117       +1     
  Lines             18869    19471     +602     
================================================
+ Hits               2036     2078      +42     
- Misses            16833    17393     +560     
Impacted Files Coverage Δ
python/dask_cudf/dask_cudf/sorting.py 92.90% <0.00%> (-1.21%) ⬇️
python/cudf/cudf/io/csv.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/orc.py 0.00% <0.00%> (ø)
python/cudf/cudf/__init__.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/dlpack.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/frame.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/index.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/parquet.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/series.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/reshape.py 0.00% <0.00%> (ø)
... and 45 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d60e2e6...38a08f9. Read the comment docs.

@jrhemstad
Copy link
Contributor

@gpucibot merge

@ttnghia ttnghia removed the 5 - DO NOT MERGE Hold off on merging; see PR for details label Nov 10, 2021
@rapids-bot rapids-bot bot merged commit f301b28 into rapidsai:branch-21.12 Nov 10, 2021
rapids-bot bot pushed a commit that referenced this pull request Nov 10, 2021
The recent PR #9574 missed updating the docs. This PR fixes that.

Authors:
  - Conor Hoekstra (https://github.com/codereport)

Approvers:
  - Nghia Truong (https://github.com/ttnghia)
  - MithunR (https://github.com/mythrocks)

URL: #9654
@mythrocks
Copy link
Contributor

Thanks for this change, @ttnghia. I've been correcting my tests only when I run into this during peripheral changes.

@ttnghia ttnghia deleted the fix_type_test_case branch November 15, 2021 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change tests Unit testing for project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants