diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc')
11 files changed, 11 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java index 6ee8c0c611c9..2ba20762d538 100644 --- a/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java +++ b/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java @@ -62,6 +62,7 @@ public class _XFastPropertySet extends MultiMethodTest { /** * Retrieves relation. */ + @SuppressWarnings("unchecked") protected void before() { exclude = (Set<String>) tEnv.getObjRelation("XFastPropertySet.ExcludeProps") ; if (exclude == null) { diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java index 128e5e255fc0..e6eee001a116 100644 --- a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java +++ b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java @@ -77,6 +77,7 @@ public class _XMultiPropertySet extends MultiMethodTest { /** * Initializes some fields. */ + @SuppressWarnings("unchecked") public void before() { exclProps = (Set<String>) tEnv.getObjRelation("XMultiPropertySet.ExcludeProps"); if (exclProps == null) exclProps = new HashSet<String>(0); diff --git a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java index 2671b4baf620..e912334252eb 100644 --- a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java +++ b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java @@ -76,6 +76,7 @@ public class _XDataInputStream extends MultiMethodTest { * data of different types and fills the appropriate variables. * @throws StatusException If one of relations not found. */ + @SuppressWarnings("unchecked") public void before(){ XInterface x = (XInterface)tEnv.getObjRelation("StreamWriter") ; diff --git a/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java b/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java index 90d049cbd05f..c66c8bea3da5 100644 --- a/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java +++ b/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java @@ -56,6 +56,7 @@ public class _XDataOutputStream extends MultiMethodTest { * If relation or data of some type in stream not found then * tests of corresponding methods are skipped. */ + @SuppressWarnings("unchecked") public void before() throws RuntimeException { List<Object> data = (List<Object>) tEnv.getObjRelation("StreamData") ; diff --git a/qadevOOo/tests/java/ifc/io/_XOutputStream.java b/qadevOOo/tests/java/ifc/io/_XOutputStream.java index 8e53c67def0b..9945437a6f7c 100644 --- a/qadevOOo/tests/java/ifc/io/_XOutputStream.java +++ b/qadevOOo/tests/java/ifc/io/_XOutputStream.java @@ -56,6 +56,7 @@ public class _XOutputStream extends MultiMethodTest { public void resetStreams(); } + @SuppressWarnings("unchecked") protected void before() { checker = (StreamChecker) tEnv.getObjRelation("XOutputStream.StreamChecker"); diff --git a/qadevOOo/tests/java/ifc/sdbc/_XParameters.java b/qadevOOo/tests/java/ifc/sdbc/_XParameters.java index e9d9774c0688..fd3dd2bafcb2 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XParameters.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XParameters.java @@ -100,6 +100,7 @@ public class _XParameters extends MultiMethodTest { /** * Gets object relation */ + @SuppressWarnings("unchecked") public void before() { data = (List<Object>) tEnv.getObjRelation("XParameters.ParamValues") ; if (data == null) { diff --git a/qadevOOo/tests/java/ifc/sdbc/_XRow.java b/qadevOOo/tests/java/ifc/sdbc/_XRow.java index a707bbe34cb2..c92f23af064a 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XRow.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XRow.java @@ -101,6 +101,7 @@ public class _XRow extends MultiMethodTest { /** * Retrieves object relation first. */ + @SuppressWarnings("unchecked") public void before() { data = (List<Object>) tEnv.getObjRelation("CurrentRowData") ; } diff --git a/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java b/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java index 53cd93d9fa5b..0ae50bd300bc 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java @@ -99,6 +99,7 @@ public class _XRowUpdate extends MultiMethodTest { /** * Gets relations. */ + @SuppressWarnings("unchecked") public void before() { rowData = (List<Object>) tEnv.getObjRelation("CurrentRowData") ; if (rowData == null) { diff --git a/qadevOOo/tests/java/ifc/system/_XProxySettings.java b/qadevOOo/tests/java/ifc/system/_XProxySettings.java index 06b18d1a2269..b11e10282a97 100644 --- a/qadevOOo/tests/java/ifc/system/_XProxySettings.java +++ b/qadevOOo/tests/java/ifc/system/_XProxySettings.java @@ -67,6 +67,7 @@ public class _XProxySettings extends MultiMethodTest { * * @see #expectedProxies */ + @SuppressWarnings("unchecked") public void before() { expectedProxies = (Map<String,String>)tEnv.getObjRelation( "XProxySettings.proxySettings"); diff --git a/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java b/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java index 3ca7861c0db0..3d81a16cecba 100644 --- a/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java +++ b/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java @@ -55,6 +55,7 @@ public class _XMultiSelectionSupplier extends MultiMethodTest { Object[] selections = null; Comparator<Object> ObjCompare = null; + @SuppressWarnings("unchecked") protected void before() { selections = (Object[])tEnv.getObjRelation("Selections"); if (selections == null) { diff --git a/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java b/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java index 37fce51db73d..40f1b55c4a8d 100644 --- a/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java +++ b/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java @@ -53,6 +53,7 @@ public class _XSelectionSupplier extends MultiMethodTest { Object[] selections = null; Comparator<Object> ObjCompare = null; + @SuppressWarnings("unchecked") protected void before() { selections = (Object[])tEnv.getObjRelation("Selections"); if (selections == null) { |