Update calls to deprecated functions to use non-deprecated versions.

Review Request #10614 — Created July 2, 2019 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x
4b81739...

Reviewers

We had several methods and classes marked as deprecated that were still
being used, primarily in unit tests. This change updates those to use
the modern versions, so we can soon remove all deprecated code.

Unit tests pass.