summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-06 08:55:09 +0200
committerNoel Grandin <noel@peralex.com>2014-08-12 09:41:28 +0200
commit0477e6c39b7ce8b7f6560fbf222c19fe4f358dc8 (patch)
tree218eba20dd23c6a865cf01aa7532bf1261a69bc8 /forms
parente2e55a7c49079dfd896da6515b98d451e4c8735b (diff)
java: add @Override annotation to overriding methods
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
Diffstat (limited to 'forms')
-rw-r--r--forms/qa/integration/forms/CellBinding.java2
-rw-r--r--forms/qa/integration/forms/ControlValidation.java2
-rw-r--r--forms/qa/integration/forms/FormControlTest.java2
-rw-r--r--forms/qa/integration/forms/FormPropertyBags.java2
-rw-r--r--forms/qa/integration/forms/ListBox.java3
-rw-r--r--forms/qa/integration/forms/ListSelection.java3
-rw-r--r--forms/qa/integration/forms/MasterDetailForms.java2
-rw-r--r--forms/qa/integration/forms/RadioButtons.java2
-rw-r--r--forms/qa/integration/forms/TableCellTextBinding.java1
-rw-r--r--forms/qa/integration/forms/TestCase.java1
-rw-r--r--forms/qa/integration/forms/TestSkeleton.java5
-rw-r--r--forms/qa/integration/forms/ValueBinding.java5
-rw-r--r--forms/qa/integration/forms/WaitForInput.java1
-rw-r--r--forms/qa/integration/forms/XMLFormSettings.java2
14 files changed, 33 insertions, 0 deletions
diff --git a/forms/qa/integration/forms/CellBinding.java b/forms/qa/integration/forms/CellBinding.java
index 0f24220bfea6..fc9f14de9cb7 100644
--- a/forms/qa/integration/forms/CellBinding.java
+++ b/forms/qa/integration/forms/CellBinding.java
@@ -51,6 +51,7 @@ public class CellBinding extends complexlib.ComplexTestCase
{
}
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -64,6 +65,7 @@ public class CellBinding extends complexlib.ComplexTestCase
};
}
+ @Override
public String getTestObjectName()
{
return "Form Control Spreadsheet Cell Binding Test";
diff --git a/forms/qa/integration/forms/ControlValidation.java b/forms/qa/integration/forms/ControlValidation.java
index 733f4978ea16..6946307578ba 100644
--- a/forms/qa/integration/forms/ControlValidation.java
+++ b/forms/qa/integration/forms/ControlValidation.java
@@ -39,6 +39,7 @@ public class ControlValidation extends complexlib.ComplexTestCase implements com
{
}
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -46,6 +47,7 @@ public class ControlValidation extends complexlib.ComplexTestCase implements com
};
}
+ @Override
public String getTestObjectName()
{
return "Form Control Validation Test";
diff --git a/forms/qa/integration/forms/FormControlTest.java b/forms/qa/integration/forms/FormControlTest.java
index 0b826977a1bd..5c870689edf6 100644
--- a/forms/qa/integration/forms/FormControlTest.java
+++ b/forms/qa/integration/forms/FormControlTest.java
@@ -61,6 +61,7 @@ public class FormControlTest extends complexlib.ComplexTestCase implements XSQLE
private final String m_dataSourceName = "integration.forms.FormControlTest";
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -75,6 +76,7 @@ public class FormControlTest extends complexlib.ComplexTestCase implements XSQLE
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Database Form Controls Test";
diff --git a/forms/qa/integration/forms/FormPropertyBags.java b/forms/qa/integration/forms/FormPropertyBags.java
index 184fd35be2d5..8d6781b78aaa 100644
--- a/forms/qa/integration/forms/FormPropertyBags.java
+++ b/forms/qa/integration/forms/FormPropertyBags.java
@@ -50,6 +50,7 @@ public class FormPropertyBags extends complexlib.ComplexTestCase implements XPro
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -58,6 +59,7 @@ public class FormPropertyBags extends complexlib.ComplexTestCase implements XPro
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Form Component Property Bag Test";
diff --git a/forms/qa/integration/forms/ListBox.java b/forms/qa/integration/forms/ListBox.java
index aff906105cd8..8d3bcc7d5d0d 100644
--- a/forms/qa/integration/forms/ListBox.java
+++ b/forms/qa/integration/forms/ListBox.java
@@ -52,6 +52,7 @@ public class ListBox extends TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -112,6 +113,7 @@ public class ListBox extends TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public void before() throws Exception, java.lang.Exception
{
super.before();
@@ -119,6 +121,7 @@ public class ListBox extends TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/forms/qa/integration/forms/ListSelection.java b/forms/qa/integration/forms/ListSelection.java
index 64fef4894987..2529b08c31e9 100644
--- a/forms/qa/integration/forms/ListSelection.java
+++ b/forms/qa/integration/forms/ListSelection.java
@@ -45,6 +45,7 @@ public class ListSelection extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -53,6 +54,7 @@ public class ListSelection extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Form Control List Selection Test";
@@ -213,6 +215,7 @@ public class ListSelection extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/forms/qa/integration/forms/MasterDetailForms.java b/forms/qa/integration/forms/MasterDetailForms.java
index 6d8222a85e90..b45d60402419 100644
--- a/forms/qa/integration/forms/MasterDetailForms.java
+++ b/forms/qa/integration/forms/MasterDetailForms.java
@@ -65,6 +65,7 @@ public class MasterDetailForms extends complexlib.ComplexTestCase implements com
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -80,6 +81,7 @@ public class MasterDetailForms extends complexlib.ComplexTestCase implements com
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Form Control Spreadsheet Cell Binding Test";
diff --git a/forms/qa/integration/forms/RadioButtons.java b/forms/qa/integration/forms/RadioButtons.java
index bd915ad42627..0aff6e7bd870 100644
--- a/forms/qa/integration/forms/RadioButtons.java
+++ b/forms/qa/integration/forms/RadioButtons.java
@@ -42,6 +42,7 @@ public class RadioButtons extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -53,6 +54,7 @@ public class RadioButtons extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Form Radio Buttons Test";
diff --git a/forms/qa/integration/forms/TableCellTextBinding.java b/forms/qa/integration/forms/TableCellTextBinding.java
index 2fe0736bb929..5e28bc8ccba8 100644
--- a/forms/qa/integration/forms/TableCellTextBinding.java
+++ b/forms/qa/integration/forms/TableCellTextBinding.java
@@ -130,6 +130,7 @@ public class TableCellTextBinding
/** runs the thread
*/
+ @Override
public void run()
{
try
diff --git a/forms/qa/integration/forms/TestCase.java b/forms/qa/integration/forms/TestCase.java
index e3cf9d813237..c2c18d2889df 100644
--- a/forms/qa/integration/forms/TestCase.java
+++ b/forms/qa/integration/forms/TestCase.java
@@ -36,6 +36,7 @@ public abstract class TestCase extends complexlib.ComplexTestCase implements com
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return this.getClass().getName();
diff --git a/forms/qa/integration/forms/TestSkeleton.java b/forms/qa/integration/forms/TestSkeleton.java
index 4c8df12923f4..d0a9e0980ba1 100644
--- a/forms/qa/integration/forms/TestSkeleton.java
+++ b/forms/qa/integration/forms/TestSkeleton.java
@@ -28,6 +28,7 @@ public class TestSkeleton extends TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -36,6 +37,7 @@ public class TestSkeleton extends TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Test Skeleton";
@@ -47,18 +49,21 @@ public class TestSkeleton extends TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public void before() throws Exception, java.lang.Exception
{
super.before();
}
/* ------------------------------------------------------------------ */
+ @Override
public void after() throws Exception, java.lang.Exception
{
super.before();
}
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/forms/qa/integration/forms/ValueBinding.java b/forms/qa/integration/forms/ValueBinding.java
index 4df2c566068a..7f1a2104252b 100644
--- a/forms/qa/integration/forms/ValueBinding.java
+++ b/forms/qa/integration/forms/ValueBinding.java
@@ -43,6 +43,7 @@ public class ValueBinding extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -51,12 +52,14 @@ public class ValueBinding extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Form Control Value Binding Test";
}
/* ------------------------------------------------------------------ */
+ @Override
public void before() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.before();
@@ -64,6 +67,7 @@ public class ValueBinding extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public void after() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.waitForUserInput();
@@ -76,6 +80,7 @@ public class ValueBinding extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/forms/qa/integration/forms/WaitForInput.java b/forms/qa/integration/forms/WaitForInput.java
index 1559575b4093..4c56b6eda746 100644
--- a/forms/qa/integration/forms/WaitForInput.java
+++ b/forms/qa/integration/forms/WaitForInput.java
@@ -33,6 +33,7 @@ class WaitForInput extends java.lang.Thread
return m_bDone;
}
+ @Override
public void run()
{
try
diff --git a/forms/qa/integration/forms/XMLFormSettings.java b/forms/qa/integration/forms/XMLFormSettings.java
index 1d26ff2a5090..31ab48e0a790 100644
--- a/forms/qa/integration/forms/XMLFormSettings.java
+++ b/forms/qa/integration/forms/XMLFormSettings.java
@@ -52,6 +52,7 @@ public class XMLFormSettings extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -60,6 +61,7 @@ public class XMLFormSettings extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Form Control Spreadsheet Cell Binding Test";