jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gennady Azarenkov <gazaren...@gmail.com>
Subject Re: TCK: SessionTest.testMoveItemExistsException()
Date Tue, 28 Feb 2006 09:20:34 GMT
hi Marcel,

yes, you are right, it is changed in latest srcs, sorry for noise so :)

BTW, i am using sources from trunk/jackrabbit/src/test/java ... is it ok?

thx,

gena

> Hi Gena,
>
> This has already been changed a while ago:
> http://svn.apache.org/viewcvs.cgi/incubator/jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SessionTest.java?rev=348915&r1=330540&r2=348915&diff_format=h
>
> or is there another test case that should be change similarly?
>
> regards
>  marcel
>
> Gennady Azarenkov wrote:
>> hi, in the SessionTest.testMoveItemExistsException():
>>
>> Node moveNode = srcParentNode.addNode(nodeName2, testNodeType); our 
>> implementation throws ConstraintViolationException as srcParentNode is 
>> nt:folder type and testNodeType == "nt:unstructured"
>> so could not be added
>>
>> It works if i change a node type of adding node like:
>> Node moveNode = srcParentNode.addNode(nodeName2, 
>> getProperty("nodetype3"));
>>
>> regards,
>>
>> gena
>>
>>
>>
> 


Mime
View raw message