/** Test execution worker */ protected void runTest( OntModel m, boolean inModel ) throws Exception { boolean profileEx = false; try { ontTest( m ); } catch (ProfileException e) { profileEx = true; } assertEquals( "language element " + m_langElement + " was " + (inModel ? "" : "not") + " expected in model " + m.getProfile().getLabel(), inModel, !profileEx ); }
/** Test execution worker */ protected void runTest( OntModel m, boolean inModel ) throws Exception { boolean profileEx = false; try { ontTest( m ); } catch (ProfileException e) { profileEx = true; } assertEquals( "language element " + m_langElement + " was " + (inModel ? "" : "not") + " expected in model " + m.getProfile().getLabel(), inModel, !profileEx ); }