summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xqadevOOo/runner/convwatch/ReportDesignerTest.java4
-rw-r--r--qadevOOo/runner/graphical/OpenOfficeDatabaseReportExtractor.java5
-rwxr-xr-xtestautomation/dbaccess/optional/includes/ctrl_Several1.inc4
-rwxr-xr-xtestautomation/dbaccess/required/includes/MainApp.inc10
-rwxr-xr-xtestautomation/dbaccess/required/includes/ReportBuilder01.inc14
-rwxr-xr-xtestautomation/dbaccess/tools/controltools.inc4
-rwxr-xr-xtestautomation/dbaccess/tools/reporttools.inc19
-rw-r--r--testtools/source/bridgetest/makefile.mk6
8 files changed, 34 insertions, 32 deletions
diff --git a/qadevOOo/runner/convwatch/ReportDesignerTest.java b/qadevOOo/runner/convwatch/ReportDesignerTest.java
index 18633da7b..7212500df 100755
--- a/qadevOOo/runner/convwatch/ReportDesignerTest.java
+++ b/qadevOOo/runner/convwatch/ReportDesignerTest.java
@@ -416,8 +416,8 @@ public class ReportDesignerTest extends ComplexTestCase {
// log.println("3");
XDatabaseDocumentUI aDBDocUI = (XDatabaseDocumentUI)UnoRuntime.queryInterface(XDatabaseDocumentUI.class, aController);
- boolean isConnect = aDBDocUI.connect();
-// if (isConnect)
+ aDBDocUI.connect();
+// if (aDBDocUI.isConnected())
// {
// System.out.println("true");
// }
diff --git a/qadevOOo/runner/graphical/OpenOfficeDatabaseReportExtractor.java b/qadevOOo/runner/graphical/OpenOfficeDatabaseReportExtractor.java
index fb8c00d3f..9793ce6f5 100644
--- a/qadevOOo/runner/graphical/OpenOfficeDatabaseReportExtractor.java
+++ b/qadevOOo/runner/graphical/OpenOfficeDatabaseReportExtractor.java
@@ -351,9 +351,8 @@ public class OpenOfficeDatabaseReportExtractor extends Assurance
// GlobalLogWriter.get().println("3");
XDatabaseDocumentUI aDBDocUI = (XDatabaseDocumentUI)UnoRuntime.queryInterface(XDatabaseDocumentUI.class, aController);
- boolean isDummy = aDBDocUI.isConnected();
- boolean blah = isDummy;
- boolean isConnect = aDBDocUI.connect();
+ aDBDocUI.connect();
+ boolean isConnect = aDBDocUI.isConnected();
if (isConnect)
{
GlobalLogWriter.println("Connection is true");
diff --git a/testautomation/dbaccess/optional/includes/ctrl_Several1.inc b/testautomation/dbaccess/optional/includes/ctrl_Several1.inc
index bdd2d31b9..107e68bce 100755
--- a/testautomation/dbaccess/optional/includes/ctrl_Several1.inc
+++ b/testautomation/dbaccess/optional/includes/ctrl_Several1.inc
@@ -8,9 +8,9 @@
'*
'* $RCSfile: ctrl_Several1.inc,v $
'*
-'* $Revision: 1.1 $
+'* $Revision: 1.1.68.1 $
'*
-'* last change: $Author: jsi $ $Date: 2008-06-16 07:43:41 $
+'* last change: $Author: msc $ $Date: 2008/10/07 09:51:29 $
'*
'* This file is part of OpenOffice.org.
'*
diff --git a/testautomation/dbaccess/required/includes/MainApp.inc b/testautomation/dbaccess/required/includes/MainApp.inc
index faecfe598..64d8f4f86 100755
--- a/testautomation/dbaccess/required/includes/MainApp.inc
+++ b/testautomation/dbaccess/required/includes/MainApp.inc
@@ -378,13 +378,13 @@ testcase tMainMenuBar
end if
call hMenuClose()
- '/// check if there are 9 items in the tools menu.
- printlog "check if there are 9 items in the tools menu."
+ '/// check if there are 10 items in the tools menu.
+ printlog "check if there are 10 items in the tools menu."
Insight.UseMenu
hMenuSelectNr(5)
iCount = hMenuItemGetCount()
- if (iCount <> 9) then
- warnlog "There should 9 items in the tools menu but there are " + iCount + " items."
+ if (iCount <> 10) then
+ warnlog "There should 10 items in the tools menu but there are " + iCount + " items."
end if
call hMenuClose()
@@ -392,7 +392,7 @@ testcase tMainMenuBar
printlog "check if there are 4 items in the TOOLS/MACRO menu."
Insight.UseMenu
hMenuSelectNr(5)
- hMenuSelectNr(5)
+ hMenuSelectNr(6)
iCount = hMenuItemGetCount()
if (iCount <> 4) then
warnlog "There should 4 items in the TOOLS/MACRO menu but there are " + iCount + " items."
diff --git a/testautomation/dbaccess/required/includes/ReportBuilder01.inc b/testautomation/dbaccess/required/includes/ReportBuilder01.inc
index 62902a9fa..fc60c5d3f 100755
--- a/testautomation/dbaccess/required/includes/ReportBuilder01.inc
+++ b/testautomation/dbaccess/required/includes/ReportBuilder01.inc
@@ -114,13 +114,13 @@ testcase tMainMenuBar
'edit menu
- '/// check if there are 12 items in the edit menu.
- printlog "check if there are 12 items in the edit menu."
+ '/// check if there are 11 items in the edit menu.
+ printlog "check if there are 11 items in the edit menu."
ReportDesign.UseMenu
hMenuSelectNr(2)
iCount = hMenuItemGetCount()
- if (iCount <> 12) then
- warnlog "There should 12 items in the edit menu but there are " + iCount + " items."
+ if (iCount <> 11) then
+ warnlog "There should 11 items in the edit menu but there are " + iCount + " items."
end if
call hMenuClose()
@@ -323,7 +323,7 @@ testcase tExecuteReport
Kontext "ReportDesign"
ReportDesign.UseMenu
hMenuSelectNr(2)
- hMenuSelectNr(12)
+ hMenuSelectNr(11)
sleep(10)
@@ -475,7 +475,7 @@ testcase tGroupingSorting
Kontext "ReportDesign"
ReportDesign.UseMenu
hMenuSelectNr(3)
- hMenuSelectNr(5)
+ hMenuSelectNr(4)
'/// check if the sorting and grouping dialog appear
printlog "check if the sorting and grouping dialog appear"
@@ -526,7 +526,7 @@ testcase tReportNavigator
Kontext "ReportDesign"
ReportDesign.UseMenu
hMenuSelectNr(3)
- hMenuSelectNr(6)
+ hMenuSelectNr(5)
'/// check if the report navigator appear
printlog "check if the report navigator appear"
diff --git a/testautomation/dbaccess/tools/controltools.inc b/testautomation/dbaccess/tools/controltools.inc
index ea1423f86..a5efe6aa2 100755
--- a/testautomation/dbaccess/tools/controltools.inc
+++ b/testautomation/dbaccess/tools/controltools.inc
@@ -8,9 +8,9 @@
'*
'* $RCSfile: controltools.inc,v $
'*
-'* $Revision: 1.1 $
+'* $Revision: 1.1.68.1 $
'*
-'* last change: $Author: jsi $ $Date: 2008-06-16 07:43:45 $
+'* last change: $Author: msc $ $Date: 2008/10/28 07:52:48 $
'*
'* This file is part of OpenOffice.org.
'*
diff --git a/testautomation/dbaccess/tools/reporttools.inc b/testautomation/dbaccess/tools/reporttools.inc
index 8af89c4e9..7f5de6df4 100755
--- a/testautomation/dbaccess/tools/reporttools.inc
+++ b/testautomation/dbaccess/tools/reporttools.inc
@@ -253,8 +253,8 @@ function fOpenReportNavigator
Kontext "ReportDesign"
ReportDesign.UseMenu
hMenuSelectNr(3)
- if (hMenuItemIsChecked(6) = false) then
- hMenuSelectNr(6)
+ if (hMenuItemIsChecked(5) = false) then
+ hMenuSelectNr(5)
else
'nothing
endif
@@ -287,7 +287,7 @@ function fExecuteReport
Kontext "ReportDesign"
ReportDesign.UseMenu
hMenuSelectNr(2)
- hMenuSelectNr(12)
+ hMenuSelectNr(11)
end function
'--------------------------------------------------------------------
@@ -315,8 +315,8 @@ function fCloseAddFieldDialog
Kontext "ReportDesign"
ReportDesign.UseMenu
hMenuSelectNr(3)
- if (hMenuItemIsChecked(4)) then
- hMenuSelectNr(4)
+ if (hMenuItemIsChecked(3)) then
+ hMenuSelectNr(3)
else
warnlog "there should be the Add field dialog. But there is none."
endif
@@ -334,11 +334,11 @@ function fOpenAddFieldDialog
Kontext "ReportDesign"
ReportDesign.UseMenu
hMenuSelectNr(3)
- if (hMenuItemIsChecked(4)) then
- hMenuSelectNr(4)
+ if (hMenuItemIsChecked(3)) then
+ hMenuSelectNr(3)
ReportDesign.UseMenu
hMenuSelectNr(3)
- hMenuSelectNr(4)
+ hMenuSelectNr(3)
printlog "1"
else
hMenuSelectNr(4)
@@ -387,4 +387,7 @@ function tools_reporttools_InstallExtension
tools_reporttools_InstallExtension = 0
endif
+ ' restart the office
+ call ExitRestartTheOffice
+
end function
diff --git a/testtools/source/bridgetest/makefile.mk b/testtools/source/bridgetest/makefile.mk
index fe2d0540e..57e222daf 100644
--- a/testtools/source/bridgetest/makefile.mk
+++ b/testtools/source/bridgetest/makefile.mk
@@ -148,15 +148,15 @@ test:
$(DLLDEST)$/uno_types.rdb : $(SOLARBINDIR)$/udkapi.rdb
echo $(DLLDEST)
- $(GNUCOPY) -p $? $@
+ $(GNUCOPY) $? $@
$(REGMERGE) $@ / $(BIN)$/bridgetest.rdb
$(DLLDEST)$/bridgetest_inprocess$(BATCH_SUFFIX) : bridgetest_inprocess
- $(GNUCOPY) -p $? $@
+ $(GNUCOPY) $? $@
$(GIVE_EXEC_RIGHTS) $@
$(DLLDEST)$/bridgetest_client$(BATCH_SUFFIX) : bridgetest_client
- $(GNUCOPY) -p $? $@
+ $(GNUCOPY) $? $@
$(GIVE_EXEC_RIGHTS) $@
$(DLLDEST)$/bridgetest_server$(BATCH_SUFFIX) : bridgetest_server