Fix broken calendar tests. DO NOT MERGE

The tests end up in the widget code, which calls getResources(). This needs to
be supported by the mock.

This is a back-port of change 8886 from eclair to donut.

bug=1985641
1 file changed