History log of /external/vogar/src/vogar/monitor/TargetMonitor.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/monitor/TargetMonitor.java
023bda1190f439e7019404f461865963e892fc5b 15-Dec-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Close the target stream when we're closing the monitor.

git-svn-id: http://vogar.googlecode.com/svn/trunk@213 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/monitor/TargetMonitor.java
3cc430f91313dab5074cffa6508c0b47cd9f2b50 25-Oct-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Sort tests. Kill the target process if there's a timeout.

The target process has a new flag --skipPast.

git-svn-id: http://vogar.googlecode.com/svn/trunk@191 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/monitor/TargetMonitor.java
5b2080e28c579ae6e563143c6a1788846d8da2f1 17-Oct-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Attempt to improve behavior when vogar is printing both verbose output and streamed output. Previously we were inserting unnecessary line breaks in the streamed output like this:

junit.framework.Assert
ionFailedError: null
at org.json.ParsingTest.assertParsed(ParsingTest.java:207)

The problem was that we were inserting a newline before the verbose output, and then deleting the verbose output but not the newline.

git-svn-id: http://vogar.googlecode.com/svn/trunk@180 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/monitor/TargetMonitor.java
693bab6f249797311a9c4bcd4c9d9c7cfd5ae8d3 16-Oct-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Change how host + target processes communicate.

It used to read XML over a socket. This was robust but omitted native output to stdout and stderr.

Now it reads JSON over stdout. The socket code is still in place (but not currently used) because this change breaks activity mode. I'll do that as a follow up commit.

git-svn-id: http://vogar.googlecode.com/svn/trunk@178 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/monitor/TargetMonitor.java
3c513c52be35990697865d1ad171378565cae1f0 30-Jul-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Dedupe tests by excluding AllTests when running a package of tests. Allow monitors to write unstructured output for debugging purposes.

git-svn-id: http://vogar.googlecode.com/svn/trunk@139 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/monitor/TargetMonitor.java
37f7c3a73d290eed1bf4cdff80e029eaa7620801 22-Jul-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Extract an interface for monitors; and permit the environments to supply custom monitors.

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