to make sure my changes don't break anything, and I'm not convinced that the test cases worked before I touched anything.

For example, in o.a.w.s.registry.LifeCycleManagerTest, there is :


public void testCreateObjectAssociation() throws JAXRException { try { manager.createObject(LifeCycleManager.ASSOCIATION); fail(); } catch (UnsupportedCapabilityException e) { // OK } }

    public void testCreateObjectAuditableEvent() throws JAXRException {
        try {
            manager.createObject(LifeCycleManager.AUDITABLE_EVENT);
            fail();
        } catch (UnsupportedCapabilityException e) {
            // OK
        }
    }

Now, I'm really tired, but I think that it's assuming that ASSOCIATION and AUDITABLE_EVENT are not level 0 features, and thus the exception should be thrown. However, both are level 0... what am I missing?

geir

--
Geir Magnusson Jr                                  +1-203-665-6437
[EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to