OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:parsedEvents
(Results
1 - 25
of
36
) sorted by null
1
2
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
ClassPrepareTest.java
64
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
66
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
67
assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_PREPARE,
parsedEvents
[0].getEventKind()
69
, JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
71
, ((ParsedEvent.Event_CLASS_PREPARE)
parsedEvents
[0]).getSignature());
73
//logWriter.println("parsedEvent="+
parsedEvents
[0].getClass().getCanonicalName());
74
//logWriter.println(((ParsedEvent.Event_CLASS_PREPARE)
parsedEvents
[0]).getSignature());
103
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(receiveEvent);
105
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
106
assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_PREPARE,
parsedEvents
[0].getEventKind(
[
all
...]
ThreadEndTest.java
76
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
77
logWriter.println("=> Number of events = " +
parsedEvents
.length);
78
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
79
logWriter.println("=> EventKind() = " +
parsedEvents
[0].getEventKind()
80
+ " (" + JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()) + ")");
83
parsedEvents
[0].getEventKind(),
85
JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
86
logWriter.println("=> EventRequestID() = " +
parsedEvents
[0].getRequestID());
88
long threadID = ((Event_THREAD_DEATH)
parsedEvents
[0]).getThreadID();
ThreadStartTest.java
78
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
79
logWriter.println("=> Number of events = " +
parsedEvents
.length);
80
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
81
logWriter.println("=> EventKind() = " +
parsedEvents
[0].getEventKind()
82
+ " (" + JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()) + ")");
85
parsedEvents
[0].getEventKind(),
87
JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
88
logWriter.println("=> EventRequestID() = " +
parsedEvents
[0].getRequestID());
90
long threadID = ((Event_THREAD_START)
parsedEvents
[0]).getThreadID();
VMDeathTest.java
52
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
54
logWriter.println("requestID = " +
parsedEvents
[0].getRequestID());
55
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
58
parsedEvents
[0].getEventKind(),
60
JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
CombinedEvents003Test.java
189
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
192
logWriter.println("=> Received event packet with events number = " +
parsedEvents
.length + " :");
194
for (int i = 0; i <
parsedEvents
.length; i++) {
198
+
parsedEvents
[i].getEventKind()
200
+ JDWPConstants.EventKind.getName(
parsedEvents
[i]
203
+
parsedEvents
[i].getRequestID());
204
if (
parsedEvents
[i].getEventKind() == JDWPConstants.EventKind.VM_DEATH ) {
211
checkEventsLocation(
parsedEvents
, null); // DBG__
214
if (
parsedEvents
.length == 1) {
218
if (
parsedEvents
[0].getEventKind() == JDWPConstants.EventKind.SINGLE_STEP)
[
all
...]
BreakpointTest.java
67
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
69
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
72
parsedEvents
[0].getEventKind(),
74
JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
MethodEntryTest.java
64
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
66
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
69
parsedEvents
[0].getEventKind(),
71
JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
MethodExitTest.java
64
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
66
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
69
parsedEvents
[0].getEventKind(),
71
JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
SingleStepTest.java
156
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
159
logWriter.println("==> Received " +
parsedEvents
.length + " events");
162
for (int i = 0; i <
parsedEvents
.length; i++) {
165
logWriter.println("==> EventKind: " +
parsedEvents
[i].getEventKind() + "("
166
+ JDWPConstants.EventKind.getName(
parsedEvents
[i].getEventKind()) + ")");
167
logWriter.println("==> RequestID: " +
parsedEvents
[i].getRequestID());
171
assertEquals("Received wrong number of events,", 1,
parsedEvents
.length);
172
assertEquals("Received wrong event request ID,", requestID,
parsedEvents
[0].getRequestID());
174
parsedEvents
[0].getEventKind(),
176
JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()))
[
all
...]
FieldAccessTest.java
71
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
74
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
77
parsedEvents
[0].getEventKind(),
79
JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
81
TaggedObject accessedField =((ParsedEvent.Event_FIELD_ACCESS)
parsedEvents
[0]).getObject();
FieldModificationTest.java
71
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
74
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
77
parsedEvents
[0].getEventKind(),
79
JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
81
TaggedObject modifiedField =((ParsedEvent.Event_FIELD_MODIFICATION)
parsedEvents
[0]).getObject();
CombinedEventsTest.java
658
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
660
logWriter.println("=> Events received: " +
parsedEvents
.length);
661
for (int i = 0; i <
parsedEvents
.length; i++) {
665
+
parsedEvents
[i].getEventKind()
667
+ JDWPConstants.EventKind.getName(
parsedEvents
[i]
[
all
...]
ExceptionTest.java
72
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
75
logWriter.println(">> testExceptionEvent:
parsedEvents
.length = " +
parsedEvents
.length);
76
logWriter.println(">> testExceptionEvent:
parsedEvents
[0].getEventKind() = " +
parsedEvents
[0].getEventKind());
77
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
80
parsedEvents
[0].getEventKind(),
82
JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
83
TaggedObject returnedException =((ParsedEvent.Event_EXCEPTION)
parsedEvents
[0]).getException();
128
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event)
[
all
...]
ClassUnloadTest.java
111
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
113
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
115
,
parsedEvents
[0].getEventKind()
117
, JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
119
,
parsedEvents
[0].getRequestID());
CombinedEvents002Test.java
113
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
117
int receivedEventsNumber =
parsedEvents
.length;
121
receivedEventKinds[i] =
parsedEvents
[i].getEventKind();
143
Location location = ((ParsedEvent.Event_METHOD_ENTRY)
parsedEvents
[0]).getLocation();
179
parsedEvents
= ParsedEvent.parseEventPacket(event);
181
receivedEventsNumber =
parsedEvents
.length;
183
receivedEventKinds[1] =
parsedEvents
[0].getEventKind();
186
+
parsedEvents
[i].getEventKind()
187
+ "(" + JDWPConstants.EventKind.getName(
parsedEvents
[i].getEventKind()) + ")");
205
location = ((ParsedEvent.Event_METHOD_EXIT)
parsedEvents
[0]).getLocation()
[
all
...]
FieldModification002Test.java
110
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
113
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
116
parsedEvents
[0].getEventKind(),
118
JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
121
((ParsedEvent.Event_FIELD_MODIFICATION)
parsedEvents
[0]).getValueToBe();
130
((ParsedEvent.Event_FIELD_MODIFICATION)
parsedEvents
[0]).getObject();
MonitorWaitTest.java
115
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(receiveEvent);
116
Event_MONITOR_WAIT event = (ParsedEvent.Event_MONITOR_WAIT)
parsedEvents
[0];
119
assertEquals("Invalid number of events,", 1,
parsedEvents
.length);
120
assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_WAIT,
parsedEvents
[0].getEventKind()
122
, JDWPConstants.EventKind.getName(
parsedEvents
[0].getEventKind()));
141
, ((ParsedEvent.Event_MONITOR_WAIT)
parsedEvents
[0]).getTimeout());
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
BreakpointTest.java
103
ParsedEvent[]
parsedEvents
= ParsedEvent
107
+
parsedEvents
.length);
108
for (int i = 0; i <
parsedEvents
.length; i++) {
110
+
parsedEvents
[0].getEventKind()
112
+ JDWPConstants.EventKind.getName(
parsedEvents
[0]
115
+
parsedEvents
[0].getRequestID());
MethodEntryExitTest.java
114
ParsedEvent[]
parsedEvents
= ParsedEvent
118
+
parsedEvents
.length);
119
for (int i = 0; i <
parsedEvents
.length; i++) {
121
+
parsedEvents
[0].getEventKind()
123
+ JDWPConstants.EventKind.getName(
parsedEvents
[0]
126
+
parsedEvents
[0].getRequestID());
ThreadEndTest.java
101
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
102
logWriter.println("=> Number of events = " +
parsedEvents
.length);
103
for (int i = 0; i <
parsedEvents
.length; i++) {
105
+
parsedEvents
[0].getEventKind()
107
+ JDWPConstants.EventKind.getName(
parsedEvents
[0]
110
+
parsedEvents
[0].getRequestID());
ThreadStartTest.java
105
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(event);
106
logWriter.println("=> Number of events = " +
parsedEvents
.length);
107
for (int i = 0; i <
parsedEvents
.length; i++) {
109
+
parsedEvents
[0].getEventKind()
111
+ JDWPConstants.EventKind.getName(
parsedEvents
[0]
114
+
parsedEvents
[0].getRequestID());
ClassPrepareTest.java
84
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(eventPacket);
85
int eventsCount =
parsedEvents
.length;
93
ParsedEvent event =
parsedEvents
[i];
108
if (
parsedEvents
[i].getRequestID() == 0) {
ExceptionTest.java
85
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(eventPacket);
86
int eventsCount =
parsedEvents
.length;
94
ParsedEvent event =
parsedEvents
[i];
109
if (
parsedEvents
[i].getRequestID() == 0) {
FieldAccessTest.java
89
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(eventPacket);
90
int eventsCount =
parsedEvents
.length;
98
ParsedEvent event =
parsedEvents
[i];
113
if (
parsedEvents
[i].getRequestID() == 0) {
FieldModificationTest.java
90
ParsedEvent[]
parsedEvents
= ParsedEvent.parseEventPacket(eventPacket);
91
int eventsCount =
parsedEvents
.length;
99
ParsedEvent event =
parsedEvents
[i];
114
if (
parsedEvents
[i].getRequestID() == 0) {
Completed in 491 milliseconds
1
2