Skip to content

Commit 7cb0dac

Browse files
committed
GTEST/UCP: Added one more test. Reverted.
This reverts commit abb595e.
1 parent e92b16b commit 7cb0dac

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

test/gtest/ucp/test_ucp_context.cc

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -124,24 +124,13 @@ class test_unused_config_modifications : public test_ucp_context {
124124
test_unused_config_modifications()
125125
{
126126
ucp_config_modify(m_ucp_config, "QWERTY", "QWERTY");
127-
}
128-
129-
void init() override
130-
{
127+
ucp_config_modify(m_ucp_config, "WARN_UNUSED_CONFIG_MODIFICATIONS",
128+
"n");
131129
}
132130
};
133131

134-
UCS_TEST_P(test_unused_config_modifications, wrap_warning)
135-
{
136-
scoped_log_handler log_handler(wrap_warns_logger);
137-
create_entity();
138-
EXPECT_EQ(m_warnings.size(), 2);
139-
}
140-
141-
UCS_TEST_P(test_unused_config_modifications, hide_warning)
132+
UCS_TEST_P(test_unused_config_modifications, hidden_warning)
142133
{
143-
ucp_config_modify(m_ucp_config, "WARN_UNUSED_CONFIG_MODIFICATIONS", "n");
144-
create_entity();
145134
}
146135

147136
UCP_INSTANTIATE_TEST_CASE_TLS(test_unused_config_modifications, self, "self")

0 commit comments

Comments
 (0)