History log of /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/JDWPTestCase.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
25d0ba6cfaa67354e1dd47ce156ca56a815f5fd0 26-May-2016 Roland Levillain <rpl@google.com> Avoid conflicts between default JDWP sync port and transport address.

Establish the JDWP transport connection before binding the
sync socket, so that when the sync port is chosen by the OS,
the latter won't interfere with the transport address.

(cherry picked from commit dc011649298aefaae12c8cda3c0efe282b2383e1)

Bug: 28927931
Bug: 28869570

Change-Id: Icb4a011f84ecb83dc9a170441ab55f33d4a33523
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/JDWPTestCase.java
7155f480730369fd86657146a4343551f1a0e0d0 05-Nov-2015 Sebastien Hertz <shertz@google.com> JDWP: test tag returned by ClassType.Newinstance

Tests ClassType.NewInstance returns the appropriate tag depending on
reference type.

Refactor NewInstanceStringTest to use the same infrastructure
(AbstractNewInstanceTestCase) to test constructors.

Bug: 25490662
Change-Id: I0906f1e8fac3ff6b8c50ff65c8ee6b6500ab0ba7
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/JDWPTestCase.java
ad8a1ac1d45d7626686bfb431f1039e12d5f5794 03-Nov-2015 Sebastien Hertz <shertz@google.com> JDWP: test java.lang.String construction

Tests the creation of java.lang.String with ClassType.NewInstance
command (for all public constructors).

Bug: 25439464
Change-Id: I0a2f43d41c1d8505340d03fc523b9f6a6b3a1ca6
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/JDWPTestCase.java
f5788f20ea7a909f12d33623b1d64148db8aef83 21-Aug-2015 Sebastien Hertz <shertz@google.com> JDWP: test single-step with pending exception

Bug: 23371176
Bug: 23471864
Change-Id: I1a18921a4c882513f83fb0f13b30f40edb2b605e
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/JDWPTestCase.java
e8c8e4aa631449e03043945cb4bbf1338d6b9894 24-Feb-2015 Sebastien Hertz <shertz@google.com> JDWP: check thread state on event suspension

Checks thread status is RUNNING and suspend status is
SUSPEND_STATUS_SUSPENDED when suspending on a thread event (single
step, breakpoint, ...)

Also stops using long type for breakpoint request ID: this is really
an int.

Bug: 19103406
Change-Id: I8640918514e421fc69b7e424aed7beffdb2d4e08
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/JDWPTestCase.java
684d91ef9b8c8022f19cc0d51598c2402303ed7c 08-Oct-2014 Sebastien Hertz <shertz@google.com> Test event requests with LocationOnly modifier other than breakpoint

Checks we correctly support LocationOnly modifier for all possible
events other than breakpoint: single-step, exception, field access
and field modification events.

For exception and field access/modification events, we throw or
access/modify a field in two different methods. Then we request
corresponding event with a LocationOnly modifier related to the
second method only.
Since a location is {class id, method id, code index}, we'd need to
know exactly the code index where the event can be reported. As we
do not know the code (instructions and their respective code index),
we simply send an event request for each location. The common
testing code is in EventLocationEventTestCase class.

For single-step, we can't do the same because we can't request
multiple single-step events on the same thread. So we suspend in a
method, then single-step to the location of the last line of this
method.

Also move "resume debuggee" message into JDWPTestCase.resumeDebuggee
method so this is printed for all tests using it.

Change-Id: Id37df7560b588b8817c1dcf0ac29b1e5ebb91091
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/JDWPTestCase.java
5f0a23683aa603d8c50b6dd071a565821b76067b 10-Dec-2011 Elliott Hughes <enh@google.com> Add harmony's jdwp tests.

Change-Id: I1c0e70cd9e07244fe422a4f77f3727b55ec28402
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/JDWPTestCase.java