diff --git a/openbis/sourceTest/java/ch/ethz/sis/openbis/systemtest/asapi/v3/SearchDataSetTypeTest.java b/openbis/sourceTest/java/ch/ethz/sis/openbis/systemtest/asapi/v3/SearchDataSetTypeTest.java index ff94590cd1144e2802a7ea0ee3581eb036a7b691..1b6c372e3244e600000c397b2ac4aa11849a67a3 100644 --- a/openbis/sourceTest/java/ch/ethz/sis/openbis/systemtest/asapi/v3/SearchDataSetTypeTest.java +++ b/openbis/sourceTest/java/ch/ethz/sis/openbis/systemtest/asapi/v3/SearchDataSetTypeTest.java @@ -110,6 +110,12 @@ public class SearchDataSetTypeTest extends AbstractTest + "HCS_IMAGE: BACTERIUM[MATERIAL] ANY_MATERIAL[MATERIAL] GENDER[CONTROLLEDVOCABULARY:GENDER] COMMENT[VARCHAR], " + "HCS_IMAGE_ANALYSIS_DATA:, LINK_TYPE:, REQUIRES_EXPERIMENT:, UNKNOWN:, " + "VALIDATED_CONTAINER_TYPE:, VALIDATED_IMPOSSIBLE_TO_UPDATE_TYPE:, VALIDATED_NORMAL_TYPE:]"); + List<String> vocabularyCodes = new ArrayList<String>(); + for(DataSetType type:types) { + vocabularyCodes.addAll(extractVocabularyCodes(type.getPropertyAssignments())); + } + Collections.sort(vocabularyCodes); + assertEquals(vocabularyCodes.toString(), "[GENDER, ORGANISM, ORGANISM]"); v3api.logout(sessionToken); }