TwrTests.java revision 744
0N/A public static void testCreateFailure1() {
0N/A public static void testCreateFailure2() {
0N/A public static void testCreateFailure2Nested() {
0N/A public static void testCreateFailure3() {
0N/A public static void testCreateFailure3Nested() {
0N/A public static void testCreateFailure4() {
0N/A public static void testCreateFailure4Nested() {
0N/A public static void testCreateFailure5() {
0N/A public static void testCreateFailure5Nested() {
int createFailureId,
int closeFailureBitMap,
public static void testCreateSuccess1() {
throw new MyKindOfException();
throw new AssertionError(
} catch (MyKindOfException e) {
public static void testCreateSuccess2() {
throw new MyKindOfException();
throw new AssertionError(
} catch (MyKindOfException e) {
public static void testCreateSuccess2Nested() {
throw new MyKindOfException();
throw new AssertionError(
} catch (MyKindOfException e) {
public static void testCreateSuccess3() {
throw new MyKindOfException();
throw new AssertionError(
} catch (MyKindOfException e) {
public static void testCreateSuccess3Nested() {
throw new MyKindOfException();
throw new AssertionError(
} catch (MyKindOfException e) {
public static void testCreateSuccess4() {
throw new MyKindOfException();
throw new AssertionError(
} catch (MyKindOfException e) {
public static void testCreateSuccess4Nested() {
throw new MyKindOfException();
throw new AssertionError(
} catch (MyKindOfException e) {
public static void testCreateSuccess5() {
throw new MyKindOfException();
} catch (MyKindOfException e) {
public static void testCreateSuccess5Nested() {
throw new MyKindOfException();
} catch (MyKindOfException e) {
int closeFailureBitMap,
private final int resourceId;
private final boolean closeSucceeds;
if (!createSucceeds)
if (!closeSucceeds)
private final int resourceId;
public int resourceId() {
return resourceId;
super(resourceId);
super(resourceId);