Petals BC REST

Error "'expectedXMLPayloadResourceName' and 'expectedStatus' are exclusive parameters"

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.0-SU-UT-FMK
  • Fix Version/s: 1.0.1-SU-UT-FMK
  • Component/s: Unit test fmk for SU
  • Security Level: Public
  • Description:
    Hide

    I get the following error checking that a fault is correctly returned on a MEP RobustInOnly using the assertion
    assertJBIFault(expectedXMLPayloadResourceName, opUnderTest, httpStatus, httpReason, httpBodyResourceName, httpBodyContentType, inXMLPayloadResourceName, uriParameterValues)

    java.lang.AssertionError: 'expectedXMLPayloadResourceName' and 'expectedStatus' are exclusive parameters
    	at org.junit.Assert.fail(Assert.java:88)
    	at org.junit.Assert.assertTrue(Assert.java:41)
    	at org.ow2.petals.binding.rest.junit.Assert.assertJBIResponse(Assert.java:490)
    	at org.ow2.petals.binding.rest.junit.Assert.assertJBIFault(Assert.java:314)
    	at org.ow2.petals.binding.rest.junit.Assert.assertJBIFault(Assert.java:274)
    	at fr.cg35.service.technique.ged.sharedpoint.operation.ConsulterMetadatasFichierOpTest.documentInconnu(ConsulterMetadatasFichierOpTest.java:79)
            ...
    Show
    I get the following error checking that a fault is correctly returned on a MEP RobustInOnly using the assertion assertJBIFault(expectedXMLPayloadResourceName, opUnderTest, httpStatus, httpReason, httpBodyResourceName, httpBodyContentType, inXMLPayloadResourceName, uriParameterValues)
    java.lang.AssertionError: 'expectedXMLPayloadResourceName' and 'expectedStatus' are exclusive parameters
    	at org.junit.Assert.fail(Assert.java:88)
    	at org.junit.Assert.assertTrue(Assert.java:41)
    	at org.ow2.petals.binding.rest.junit.Assert.assertJBIResponse(Assert.java:490)
    	at org.ow2.petals.binding.rest.junit.Assert.assertJBIFault(Assert.java:314)
    	at org.ow2.petals.binding.rest.junit.Assert.assertJBIFault(Assert.java:274)
    	at fr.cg35.service.technique.ged.sharedpoint.operation.ConsulterMetadatasFichierOpTest.documentInconnu(ConsulterMetadatasFichierOpTest.java:79)
            ...
  • Environment:
    -

Activity

Christophe DENEUX made changes - Fri, 5 Jan 2018 - 11:05:35 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Christophe DENEUX made changes - Fri, 5 Jan 2018 - 11:05:37 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Fri, 5 Jan 2018 - 11:06:58 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 1.0.1-SU-UT-FMK [ 10780 ]
Resolution Fixed [ 1 ]

People

Dates

  • Created:
    Fri, 5 Jan 2018 - 11:05:25 +0100
    Updated:
    Fri, 5 Jan 2018 - 11:06:58 +0100
    Resolved:
    Fri, 5 Jan 2018 - 11:06:58 +0100