Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dali-dev] Re: 2.0 Tests

Tran found this problem with the tests in HEAD. The test run configuration vm argument -Dorg.eclipse.jpt.jpa.jar needs to reference a jar that has the new javax.persistence.Access annotation in it. One option is to download an EclipseLink 2.0.0 build and reference the javax.persistence_2.0_preview.jar.

Karen

On 6/18/2009 4:24 PM, Trân Lê wrote:
Hey Karen,

Are all your tests passing?
The two that I ran failed. I am not sure why?
Thanks,
-Tran


AccessAnnotationTests
testGetAccessOnType
junit.framework.AssertionFailedError
    at junit.framework.Assert.fail(Assert.java:47)
    at junit.framework.Assert.assertTrue(Assert.java:20)
    at junit.framework.Assert.assertNotNull(Assert.java:217)
    at junit.framework.Assert.assertNotNull(Assert.java:210)
    at org.eclipse.jpt2_0.core.tests.internal.resource.java.AccessAnnotationTests.testGetAccessOnType(AccessAnnotationTests.java:75)

Generic2_0JavaPersistentAttributeTests
testGetAccessField
java.lang.NullPointerException
    at org.eclipse.jpt2_0.core.tests.internal.context.java.Generic2_0JavaPersistentAttributeTests.testGetAccessField(Generic2_0JavaPersistentAttributeTests.java:89)

testGetAccessProperty
junit.framework.AssertionFailedError: expected:<FIELD> but was:<null>
junit.framework.AssertionFailedError: expected:<FIELD> but was:<null>
    at junit.framework.Assert.fail(Assert.java:47)
    at junit.framework.Assert.failNotEquals(Assert.java:280)
    at junit.framework.Assert.assertEquals(Assert.java:64)
    at junit.framework.Assert.assertEquals(Assert.java:71)
    at org.eclipse.jpt2_0.core.tests.internal.context.java.Generic2_0JavaPersistentAttributeTests.testGetAccessProperty(Generic2_0JavaPersistentAttributeTests.java:102)



Back to the top