diff --git a/server-application-server/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/JythonManagedPropertyEvaluatorTest.java b/server-application-server/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/JythonManagedPropertyEvaluatorTest.java index bcc569116b5825f56d70333cf9ea6ebd8f1a437c..671487e571b6f1a6911142b884d089907596d99e 100644 --- a/server-application-server/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/JythonManagedPropertyEvaluatorTest.java +++ b/server-application-server/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/JythonManagedPropertyEvaluatorTest.java @@ -255,7 +255,7 @@ public class JythonManagedPropertyEvaluatorTest extends AssertJUnit evaluator.updateFromUI(managedProperty, person, action1); assertNotNull(managedProperty.getValue()); - String[] inputTokens1 = managedProperty.getValue().split("\\|"); + String[] inputTokens1 = ((String)managedProperty.getValue()).split("\\|"); assertEquals("a1", inputTokens1[0]); assertEquals("t1=null", inputTokens1[1]); assertEquals("t2=v2", inputTokens1[2]); @@ -264,7 +264,7 @@ public class JythonManagedPropertyEvaluatorTest extends AssertJUnit evaluator.updateFromUI(managedProperty, person, action2); assertNotNull(managedProperty.getValue()); - String[] inputTokens2 = managedProperty.getValue().split("\\!"); + String[] inputTokens2 = ((String)managedProperty.getValue()).split("\\!"); assertEquals("a2", inputTokens2[0]); assertEquals("t1=v11", inputTokens2[1]); assertEquals("t2=v22", inputTokens2[2]); diff --git a/server-application-server/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/structured/AbstractStructuredPropertyConverterTest.java b/server-application-server/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/structured/AbstractStructuredPropertyConverterTest.java index 928f6bb19ef74d976b8de5d8859556caeec5bc47..b4151670d254c4a9cd975a95bac7c652e72b3522 100644 --- a/server-application-server/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/structured/AbstractStructuredPropertyConverterTest.java +++ b/server-application-server/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/structured/AbstractStructuredPropertyConverterTest.java @@ -15,6 +15,7 @@ */ package ch.systemsx.cisd.openbis.generic.shared.managed_property.structured; +import java.io.Serializable; import java.util.Arrays; import java.util.List; @@ -88,7 +89,7 @@ public abstract class AbstractStructuredPropertyConverterTest extends AssertJUni } @Override - public void setValue(String value) + public void setValue(Serializable value) { throw new UnsupportedOperationException(); }