Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 824c78a

Browse files
authored
Replace deprecated SetUpTestCase with SetUpTestSuite. (#330)
1 parent 4582876 commit 824c78a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

opencensus/exporters/stats/stackdriver/internal/stackdriver_e2e_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ opencensus::stats::MeasureDouble TestMeasure() {
5858

5959
class StackdriverE2eTest : public ::testing::Test {
6060
protected:
61-
static void SetUpTestCase() {
61+
static void SetUpTestSuite() {
6262
TestMeasure();
6363

6464
if (project_id_.empty() || credentials_.empty()) {

opencensus/trace/internal/span_exporter_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class MyExporter : public exporter::SpanExporter::Handler {
6262

6363
class SpanExporterTest : public ::testing::Test {
6464
protected:
65-
static void SetUpTestCase() {
65+
static void SetUpTestSuite() {
6666
// Only register once.
6767
MyExporter::Register();
6868
}

0 commit comments

Comments
 (0)