Yes, this can work too. Pretty much like we have for the CustomAccountTestCase.
I'm using a different mapping, the result is the same.
Pushed some changes.
Regards.
----- Original Message -----
From: "Bill Burke" <bburke(a)redhat.com>
To: security-dev(a)lists.jboss.org
Sent: Tuesday, July 30, 2013 10:03:37 AM
Subject: Re: [security-dev] CustomPartition tests off?
How do I get the test to work? I need to extend PartitionTypeEntity and
add an @Entity and @IdentityManaged(CustomerPartition.class)? Or is
there another way?
On 7/29/2013 4:26 PM, Pedro Igor Silva wrote:
Btw, I have a version of this test running. If you like I can push
and you can take a look.
----- Original Message -----
From: "Pedro Igor Silva" <psilva(a)redhat.com>
To: "Bill Burke" <bburke(a)redhat.com>
Cc: security-dev(a)lists.jboss.org
Sent: Monday, July 29, 2013 5:23:20 PM
Subject: Re: [security-dev] CustomPartition tests off?
Hi Bill,
It is ignored because I'm working with another tests, not only for partitions
but for custom identity and attributed types too. But it should work if you're
creating your own partition type.
The testing is failing because we need a specific mapping for the custom type, what
I`m working now.
Thanks.
Pedro Igor
----- Original Message -----
From: "Bill Burke" <bburke(a)redhat.com>
To: security-dev(a)lists.jboss.org
Sent: Monday, July 29, 2013 3:31:23 PM
Subject: Re: [security-dev] CustomPartition tests off?
Particularly updating an attribute fails.
On 7/29/2013 2:26 PM, Bill Burke wrote:
> Does custom partition JPA work? The CustomPartitionTestCase is @Ignore.
> Also, the testAttributes() test seems to fail when I run with my IDE.
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
_______________________________________________
security-dev mailing list
security-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/security-dev