Skip to content

Commit a9a1290

Browse files
committed
update prob tests to use non-deprecated gtest macros
1 parent 0591065 commit a9a1290

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

test/prob/test_fixture_ccdf_log.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ class AgradCcdfLogTestFixture : public ::testing::Test {
801801
}
802802
};
803803

804-
TYPED_TEST_CASE_P(AgradCcdfLogTestFixture);
804+
TYPED_TEST_SUITE_P(AgradCcdfLogTestFixture);
805805

806806
TYPED_TEST_P(AgradCcdfLogTestFixture, CallAllVersions) {
807807
this->call_all_versions();
@@ -833,7 +833,7 @@ TYPED_TEST_P(AgradCcdfLogTestFixture, Length0Vector) {
833833
this->test_length_0_vector();
834834
}
835835

836-
REGISTER_TYPED_TEST_CASE_P(AgradCcdfLogTestFixture, CallAllVersions,
836+
REGISTER_TYPED_TEST_SUITE_P(AgradCcdfLogTestFixture, CallAllVersions,
837837
ValidValues, InvalidValues, FiniteDiff, Function,
838838
RepeatAsVector, LowerBound, UpperBound,
839839
Length0Vector);

test/prob/test_fixture_cdf.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ class AgradCdfTestFixture : public ::testing::Test {
791791
}
792792
};
793793

794-
TYPED_TEST_CASE_P(AgradCdfTestFixture);
794+
TYPED_TEST_SUITE_P(AgradCdfTestFixture);
795795

796796
TYPED_TEST_P(AgradCdfTestFixture, CallAllVersions) {
797797
this->call_all_versions();
@@ -819,7 +819,7 @@ TYPED_TEST_P(AgradCdfTestFixture, Length0Vector) {
819819
this->test_length_0_vector();
820820
}
821821

822-
REGISTER_TYPED_TEST_CASE_P(AgradCdfTestFixture, CallAllVersions, ValidValues,
822+
REGISTER_TYPED_TEST_SUITE_P(AgradCdfTestFixture, CallAllVersions, ValidValues,
823823
InvalidValues, FiniteDiff, Function, RepeatAsVector,
824824
LowerBound, UpperBound, Length0Vector);
825825

test/prob/test_fixture_cdf_log.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ class AgradCdfLogTestFixture : public ::testing::Test {
801801
}
802802
};
803803

804-
TYPED_TEST_CASE_P(AgradCdfLogTestFixture);
804+
TYPED_TEST_SUITE_P(AgradCdfLogTestFixture);
805805

806806
TYPED_TEST_P(AgradCdfLogTestFixture, CallAllVersions) {
807807
this->call_all_versions();
@@ -831,7 +831,7 @@ TYPED_TEST_P(AgradCdfLogTestFixture, Length0Vector) {
831831
this->test_length_0_vector();
832832
}
833833

834-
REGISTER_TYPED_TEST_CASE_P(AgradCdfLogTestFixture, CallAllVersions, ValidValues,
834+
REGISTER_TYPED_TEST_SUITE_P(AgradCdfLogTestFixture, CallAllVersions, ValidValues,
835835
InvalidValues, FiniteDiff, Function, RepeatAsVector,
836836
LowerBound, UpperBound, Length0Vector);
837837

test/prob/test_fixture_distr.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ class AgradDistributionTestFixture : public ::testing::Test {
790790
return params[0];
791791
}
792792
};
793-
TYPED_TEST_CASE_P(AgradDistributionTestFixture);
793+
TYPED_TEST_SUITE_P(AgradDistributionTestFixture);
794794

795795
TYPED_TEST_P(AgradDistributionTestFixture, CallAllVersions) {
796796
this->call_all_versions();
@@ -820,7 +820,7 @@ TYPED_TEST_P(AgradDistributionTestFixture, Length0Vector) {
820820
this->test_length_0_vector();
821821
}
822822

823-
REGISTER_TYPED_TEST_CASE_P(AgradDistributionTestFixture, CallAllVersions,
823+
REGISTER_TYPED_TEST_SUITE_P(AgradDistributionTestFixture, CallAllVersions,
824824
ValidValues, InvalidValues, Propto, FiniteDiff,
825825
Function, RepeatAsVector, Length0Vector);
826826

0 commit comments

Comments
 (0)