Xiaoyan Lin d0ae71f62c Fix compiler errors for 9b22097f7e7c878bd18c95d548ad36b5c9ae9e5c
Motivation:

Branch 4.0 is broken as 9b22097f7e7c878bd18c95d548ad36b5c9ae9e5c uses 4.1 APIs in tests.

Modifications:

Fix the tests by using 4.0 APIs.

Result:

Branch 4.0 is back to green.
2016-05-28 09:12:57 -07:00
..