Józef Kucia : d3d10core/tests: Introduce get_resource_data() helper function.