[security-dev] CustomPartition tests off?

Bill Burke bburke at redhat.com
Tue Jul 30 09:03:37 EDT 2013


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 at redhat.com>
> To: "Bill Burke" <bburke at redhat.com>
> Cc: security-dev at 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 at redhat.com>
> To: security-dev at 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


More information about the security-dev mailing list