334335336337338339340341342343344
// Assert.fail(); completeTransaction(); } catch (IllegalStateException e) { } catch (Throwable e) { e.printStackTrace(); throw new TestFailureException(new AssertionFailedError("Received Exception " + e.getClass() + " : " + e.getMessage())); } finally { completeTransaction(); cleanDb(); } }
7071727374757677
Assert.assertNotNull("The EJBObject is null", object); } catch (Exception e) { Assert.fail("Received Exception " + e.getClass() + " : " + e.getMessage()); } } catch (AssertionFailedError afe) { throw new TestFailureException(afe); } }
8687888990919293
102103104105106107108109
115116117118119120121122
Assert.assertNotNull("The EJB BusinessLocal is null", object ); } catch (Exception e){ Assert.fail("Received Exception "+e.getClass()+ " : "+e.getMessage()); } } catch (AssertionFailedError afe){ throw new TestFailureException(afe); } }
128129130131132133134135
Assert.assertNotNull("The EJB BusinessLocalBean is null", object ); } catch (Exception e){ Assert.fail("Received Exception "+e.getClass()+ " : "+e.getMessage()); } } catch (AssertionFailedError afe){ throw new TestFailureException(afe); } }
141142143144145146147148
Assert.assertNotNull("The EJB BusinessRemote is null", object ); } catch (Exception e){ Assert.fail("Received Exception "+e.getClass()+ " : "+e.getMessage()); } } catch (AssertionFailedError afe){ throw new TestFailureException(afe); } }
154155156157158159160161
167168169170171172173174
180181182183184185186187