test,base: Added GTest for base/loader/image_file_data.cc
authorBobby R. Bruce <bbruce@ucdavis.edu>
Wed, 13 Nov 2019 02:57:36 +0000 (18:57 -0800)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Thu, 21 Nov 2019 20:28:16 +0000 (20:28 +0000)
commitcbdf361f3f10ddfc351c24a1baab85a648d5e16d
treef5ec221fdfcf84ff688520d94a5c858edcc93c6c
parentfb888a48f58a7b2b44fa4f63f7492e9d59eb167f
test,base: Added GTest for base/loader/image_file_data.cc

image_file_data.cc reads an image file, or an image file compressed with
gzip. Mock image file data, and that data in a gzipped state, has been
included in base/loader/small_image_file.test.hh to aid testing.

Change-Id: I69691b93ca03c34d6bd736cbc5c6503115bd7b3f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22743
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/SConscript
src/base/loader/image_file_data.test.cc [new file with mode: 0644]
src/base/loader/small_image_file.test.hh [new file with mode: 0644]