commit | 01e9408ecbf1a33e9a2401b98f45f1b06ba52633 | [log] [download] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Wed Jul 30 21:05:37 2014 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Wed Jul 30 21:08:14 2014 -0700 |
tree | 55ecf3f9f8966261570c5b23b3866970b0ab8947 | |
parent | 32ec5b90f4a02cdefd9af284dbc8f6a7ab5a8456 [diff] |
Use DefaultRenderer in TestGitilesServlet This uses resources from the classpath for loading Soy template files, which is appropriate behavior for tests. Unfortunately it does slow down servlet setup in each test method slightly, as all the templates need to be parsed. If this becomes an issue we can switch to using a single servlet per test class. Change-Id: I4aa2448c7e7d438420e7301f2bcc5e97ef182fa9