* FYI: Add a missing java.lang.Thread throwpoint test
@ 2006-02-17 13:13 Gary Benson
0 siblings, 0 replies; only message in thread
From: Gary Benson @ 2006-02-17 13:13 UTC (permalink / raw)
To: mauve-patches
[-- Attachment #1: Type: text/plain, Size: 118 bytes --]
Hi all,
This commit adds a throwpoint check that I missed when I did
the other java.lang.Thread ones.
Cheers,
Gary
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 1378 bytes --]
Index: ChangeLog
===================================================================
RCS file: /cvs/mauve/mauve/ChangeLog,v
retrieving revision 1.1480
diff -u -r1.1480 ChangeLog
--- ChangeLog 16 Feb 2006 11:15:05 -0000 1.1480
+++ ChangeLog 17 Feb 2006 13:10:11 -0000
@@ -1,3 +1,7 @@
+2006-02-17 Gary Benson <gbenson@redhat.com>
+
+ * gnu/testlet/java/lang/Thread/security.java: One more test.
+
2006-02-16 Gary Benson <gbenson@redhat.com>
* gnu/testlet/java/lang/Thread/security.java: New test.
Index: gnu/testlet/java/lang/Thread/security.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/lang/Thread/security.java,v
retrieving revision 1.1
diff -u -r1.1 security.java
--- gnu/testlet/java/lang/Thread/security.java 16 Feb 2006 11:15:05 -0000 1.1
+++ gnu/testlet/java/lang/Thread/security.java 17 Feb 2006 13:10:11 -0000
@@ -189,6 +189,18 @@
harness.debug(ex);
harness.check(false, "unexpected check");
}
+
+ // throwpoint: java.lang.Thread-enumerate
+ harness.checkPoint("enumerate");
+ try {
+ sm.prepareChecks(modifyThreadGroup);
+ Thread.enumerate(new Thread[0]);
+ sm.checkAllChecked(harness);
+ }
+ catch (SecurityException ex) {
+ harness.debug(ex);
+ harness.check(false, "unexpected check");
+ }
// throwpoint: java.lang.Thread-stop()
harness.checkPoint("stop()");
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-17 13:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-17 13:13 FYI: Add a missing java.lang.Thread throwpoint test Gary Benson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).