@@ -112,7 +112,7 @@ static void test2_readingTest()
112112 theLearner.multiplex (clientSession, input),
113113 blob));
114114
115- bmqp::MessageProperties::SchemaPtr schema1 = out.makeSchema (
115+ bmqp::MessageProperties::SchemaPtr schema1 = out.getSchema (
116116 bmqtst::TestHelperUtil::allocator ());
117117
118118 BMQTST_ASSERT_EQ (
@@ -123,7 +123,7 @@ static void test2_readingTest()
123123 blob));
124124
125125 BMQTST_ASSERT_EQ (schema1,
126- out.makeSchema (bmqtst::TestHelperUtil::allocator ()));
126+ out.getSchema (bmqtst::TestHelperUtil::allocator ()));
127127 // subsequent call returns the same Schema
128128
129129 int start = bsl::rand () % num;
@@ -146,7 +146,7 @@ static void test2_readingTest()
146146 blob));
147147
148148 bmqp::MessageProperties::SchemaPtr schema2;
149- schema2 = out.makeSchema (bmqtst::TestHelperUtil::allocator ());
149+ schema2 = out.getSchema (bmqtst::TestHelperUtil::allocator ());
150150 BMQTST_ASSERT_NE (schema1, schema2);
151151 // ...unless the input is recycled
152152
@@ -196,17 +196,17 @@ static void test3_observingTest()
196196 BMQTST_ASSERT_EQ (0 , theLearner.read (server, &out1, input, blob));
197197 BMQTST_ASSERT_EQ (0 , theLearner.read (server, &out2, input, blob));
198198
199- bmqp::MessageProperties::SchemaPtr schema1 = out1.makeSchema (
199+ bmqp::MessageProperties::SchemaPtr schema1 = out1.getSchema (
200200 bmqtst::TestHelperUtil::allocator ());
201201
202202 BMQTST_ASSERT_EQ (schema1,
203- out2.makeSchema (bmqtst::TestHelperUtil::allocator ()));
203+ out2.getSchema (bmqtst::TestHelperUtil::allocator ()));
204204 // subsequent call returns the same Schema
205205
206206 BMQTST_ASSERT_EQ (0 , theLearner.read (server, &out2, input, blob));
207207
208208 BMQTST_ASSERT_EQ (schema1,
209- out2.makeSchema (bmqtst::TestHelperUtil::allocator ()));
209+ out2.getSchema (bmqtst::TestHelperUtil::allocator ()));
210210 // subsequent call returns the same Schema
211211
212212 bmqp::MessagePropertiesInfo recycledInput (true , 1 , true );
@@ -216,7 +216,7 @@ static void test3_observingTest()
216216 BMQTST_ASSERT_EQ (0 , theLearner.read (server, &out2, input, blob));
217217
218218 BMQTST_ASSERT_NE (schema1,
219- out2.makeSchema (bmqtst::TestHelperUtil::allocator ()));
219+ out2.getSchema (bmqtst::TestHelperUtil::allocator ()));
220220 // ...unless the input is recycled
221221}
222222
0 commit comments