Searched defs:expectedException (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/test/java/lang/StringBuffer/
H A DSupplementary.java333 static void testAppendCodePoint(int codePoint, Class expectedException) { argument
337 if (expectedException.isInstance(e)) {
343 + expectedException.getName());
347 Class expectedException) {
351 if (expectedException.isInstance(e)) {
356 check(true, "codePointCount() didn't throw " + expectedException.getName());
360 Class expectedException) {
364 if (expectedException.isInstance(e)) {
369 check(true, "offsetByCodePoints() didn't throw " + expectedException.getName());
346 testCodePointCount(StringBuffer sb, int beginIndex, int endIndex, Class expectedException) argument
359 testOffsetByCodePoints(StringBuffer sb, int index, int offset, Class expectedException) argument
/openjdk7/jdk/test/java/lang/StringBuilder/
H A DSupplementary.java333 static void testAppendCodePoint(int codePoint, Class expectedException) { argument
337 if (expectedException.isInstance(e)) {
343 + expectedException.getName());
347 Class expectedException) {
351 if (expectedException.isInstance(e)) {
356 check(true, "codePointCount() didn't throw " + expectedException.getName());
360 Class expectedException) {
364 if (expectedException.isInstance(e)) {
369 check(true, "offsetByCodePoints() didn't throw " + expectedException.getName());
346 testCodePointCount(StringBuilder sb, int beginIndex, int endIndex, Class expectedException) argument
359 testOffsetByCodePoints(StringBuilder sb, int index, int offset, Class expectedException) argument
/openjdk7/jdk/test/java/lang/String/
H A DSupplementary.java636 static void testNewString(int[] codePoints, int offset, int count, Class expectedException) { argument
640 if (expectedException.isInstance(e)) {
645 check(true, "new String(int[]...) didn't throw " + expectedException.getName());
649 Class expectedException) {
653 if (expectedException.isInstance(e)) {
658 check(true, "codePointCount() didn't throw " + expectedException.getName());
662 Class expectedException) {
666 if (expectedException.isInstance(e)) {
671 check(true, "offsetByCodePoints() didn't throw " + expectedException.getName());
648 testCodePointCount(String str, int beginIndex, int endIndex, Class expectedException) argument
661 testOffsetByCodePoints(String str, int index, int offset, Class expectedException) argument

Completed in 35 milliseconds