|
|
|
@ -89,7 +89,7 @@ public class JsonQueryRestControllerTest extends AbstractDaqRestTest {
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.SF_ARCHIVERAPPLIANCE.getKey()))
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2]").exists())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGESTORAGE.getKey()))
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGEBUFFER.getKey()))
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels").isArray())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[0]").exists())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[0]").value("BoolScalar"))
|
|
|
|
@ -122,7 +122,7 @@ public class JsonQueryRestControllerTest extends AbstractDaqRestTest {
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.SF_ARCHIVERAPPLIANCE.getKey()))
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2]").exists())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGESTORAGE.getKey()))
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGEBUFFER.getKey()))
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels").isArray())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[0]").exists())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[0]").value("Int32Scalar"))
|
|
|
|
@ -185,7 +185,7 @@ public class JsonQueryRestControllerTest extends AbstractDaqRestTest {
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[24]").doesNotExist())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.SF_ARCHIVERAPPLIANCE.getKey()))
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGESTORAGE.getKey()))
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGEBUFFER.getKey()))
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels").isArray())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[23]").exists())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[24]").doesNotExist());
|
|
|
|
@ -211,7 +211,7 @@ public class JsonQueryRestControllerTest extends AbstractDaqRestTest {
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[25]").doesNotExist())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.SF_ARCHIVERAPPLIANCE.getKey()))
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGESTORAGE.getKey()))
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGEBUFFER.getKey()))
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels").isArray())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[24]").exists())
|
|
|
|
|
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[25]").doesNotExist());
|
|
|
|
|