tests,base: Added GTests for base/match.cc
authorBobby R. Bruce <bbruce@ucdavis.edu>
Fri, 1 Nov 2019 19:44:08 +0000 (12:44 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Thu, 7 Nov 2019 18:34:01 +0000 (18:34 +0000)
commit434047e2c3200b6b249c206fb2a4a306225b473e
treefe6915415462000ddf3c93f2cd767a4308aba7ba
parentf41045ef75a391286c32069c8474fb2a0cc66f72
tests,base: Added GTests for base/match.cc

In order to aid testing the method "match.getExpressions()" has been added.

Change-Id: I11acf9bed286ee2809dfa3d05ef573dea85eb786
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22503
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/match.cc
src/base/match.hh
src/base/match.test.cc [new file with mode: 0644]