/**
     * LATER fix this test case - it leaves the DB connection bad
     */
public void xtestNameClash() {
        WritableVersion wv = model.getWritableVersion(AbstractModel.SUPERUSER);
        try {
            doTestVersion(wv);
            doTestVersion(wv);
            fail("created two groups with same name");
        } catch (ModelException ex) {
            wv.abort();
            Throwable cause = ex;
            while (null != cause.getCause()) {
                cause = cause.getCause();
            }
            cause.printStackTrace();
            fail(cause.getClass().getName() + ": " + cause.getMessage());
        } finally {
            if (!wv.isCompleted()) {
                wv.abort();
            } // not testing persistence here
        }
    }
public void xtestNameClash() {
WritableVersion wv = model.getWritableVersion(AbstractModel.SUPERUSER);
try {
doTestVersion(wv);
doTestVersion(wv);
fail("created two groups with same name");
} catch (ModelException ex) {
wv.abort();
Throwable cause = ex;
while (null != cause.getCause()) {
cause = cause.getCause();
}
cause.printStackTrace();
fail(cause.getClass().getName() + ": " + cause.getMessage());
} finally {
if (!wv.isCompleted()) {
wv.abort();
} // not testing persistence here
}
}
public void xtestNameClash() {
WritableVersion wv = model.getWritableVersion(AbstractModel.SUPERUSER);
try {
doTestVersion(wv);
doTestVersion(wv);
fail("created two groups with same name");
} catch (ModelException ex) {
wv.abort();
Throwable cause = ex;
while (null != cause.getCause()) {
cause = cause.getCause();
}
cause.printStackTrace();
fail(cause.getClass().getName() + ": " + cause.getMessage());
} finally {
if (!wv.isCompleted()) {
wv.abort();
} // not testing persistence here
}
}
public void xtestNameClash() {
WritableVersion wv = model.getWritableVersion(AbstractModel.SUPERUSER);
try {
doTestVersion(wv);
doTestVersion(wv);
fail("created two groups with same name");
} catch (ModelException ex) {
wv.abort();
Throwable cause = ex;
while (null != cause.getCause()) {
cause = cause.getCause();
}
cause.printStackTrace();
fail(cause.getClass().getName() + ": " + cause.getMessage());
} finally {
if (!wv.isCompleted()) {
wv.abort();
} // not testing persistence here
}
}