History log of /external/vogar/src/vogar/OutcomeStore.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b9e409160756d5f422da6a56cd2354d0afb27047 02-Dec-2014 Neil Fuller <nfuller@google.com> Update vogar's caliper version to fix a bug

This change contains the tip of the v0.5-rc1 branch from:
https://code.google.com/p/caliper/source/browse/?name=v0.5-rc1
and so constitutes a minor upgrade. Since vogar last
took a caliper snapshot the gson library has been split out.

Because that branch is old I have so far been unable to upstream
fix for Android in that branch. The fix is:

Since the L release, Android returns a special sub-class of
Properties from System.getProperties(). The Properties instance
falls back to a set of immutable properties for certain platform
values. If treated as a Map, i.e. using Map methods like get()
instead of getProperty(), it will appear empty.

This change copies the Properties object to produce a Map instead,
which has all the expected values in it.

The fix is already in the caliper HEAD on googlecode.

---
caliper/src/main/java/com/google/caliper/EnvironmentGetter.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Bug: https://code.google.com/p/android/issues/detail?id=81363
Change-Id: Id5c38dfc729d581ec1addeddc2ee8ca70d34625b
/external/vogar/src/vogar/OutcomeStore.java
f83be5e4273263df2bb9ef609946b911695b3996 02-Dec-2011 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Use tasks everywhere.

I still need to smash together the 'Run' and 'Vogar' classes; this is an intermediate step on the way to removing miniguice DI from vogar.

git-svn-id: http://vogar.googlecode.com/svn/trunk@263 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/OutcomeStore.java
f7cb247687b72084b71a434a25d8b3c320071a96 21-Feb-2011 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Write all results to one large file rather than many small files. Intended to improve performance with NFS.

git-svn-id: http://vogar.googlecode.com/svn/trunk@233 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/OutcomeStore.java
b5c5c44d0c0a01c278cdac68ae23646682eb8ef7 19-Dec-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Inject the log rather than looking it up statically. This is needed for other apps that want to reuse the ExpectationStore but not the rest of Vogar!

git-svn-id: http://vogar.googlecode.com/svn/trunk@219 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/OutcomeStore.java
1cecba893385d4f26b00957eea0af07c7783a26d 16-Sep-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Warn rather than crash if a previous outcome is missing.

git-svn-id: http://vogar.googlecode.com/svn/trunk@157 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/OutcomeStore.java
d9085944c8b6d18628266347c59545abae03ab9c 13-Sep-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Adopt miniguice for dependency injection in vogar. This removes the awful amount of duplication previously necessary to initialize fields.

git-svn-id: http://vogar.googlecode.com/svn/trunk@154 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/OutcomeStore.java
dfebab2a6f40fde48ee696eb0be85ef399891924 30-Jul-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Show 'last run' instead of 'last changed', also store all test run times and corresponding outcome file in a .meta file in each test folder so they can be tracked with more detail.

Also update version of Guava.

git-svn-id: http://vogar.googlecode.com/svn/trunk@140 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/OutcomeStore.java
4ac80fd21b440a8e9debe995e73c71e0fed8735c 07-Jul-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> use trim() instead of manually removing leading and trailing whitespace, and remove trailing slashes on directory names

git-svn-id: http://vogar.googlecode.com/svn/trunk@123 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/OutcomeStore.java
6a52e048641707c987c6a00691ba8c9f891ccf00 01-Jul-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> (Should have been part of r117)

A few tiny fixes:

- Add missing --tag-dir documention to usage()
- Store test history file names in GMT, not the default of PDT
- Eliminate false "(you probably broke this)" positives when no test history is found and a test fails. We have no way of knowing, so print "(no test history available)" instead.

git-svn-id: http://vogar.googlecode.com/svn/trunk@118 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/OutcomeStore.java
8918b5cafd482363a48e0bc9ae0114028cda7e79 29-Jun-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Respond to r103 comments.

Some parts that I disagree with:

- I feel like putting all this display logic in AnnotatedOutcome would overstep the bounds of what it's meant to do. Really, it's summarizeOutcomes() that cares how things are displayed, and I'd prefer changes in presentation to be done in there instead of in AnnotatedOutcome.

- I'm intentionally keeping the config file separate from the vogar-dir since the location of the config file is not something that can be specified at the command-line, while the location of the vogar-dir is.

git-svn-id: http://vogar.googlecode.com/svn/trunk@106 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/OutcomeStore.java
d806c4c900e08bf04e07b5c564f2f61d8c490731 23-Jun-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Add test history. Key additions:

* if a --results-dir is specified, compares current run against previous runs saved in that directory
* --record-results saves outcomes to a file-system database (given by --results-dir). Conceptually, this should be done only on the continous build machine, but I can imagine some local uses
* --tag now saves a history for that tag
* --compare-to-tag or --run-tag will compare against the history saved when the tag was created

git-svn-id: http://vogar.googlecode.com/svn/trunk@103 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/OutcomeStore.java