Bugzilla – Attachment 88402 Details for
Bug 71005
File locking: No warning dialog is shown when started with --nolockcheck
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
possible patch, based on master
fix_for_automated_test.patch (text/plain), 2.16 KB, created by
ulkitz
on 2013-10-31 08:57:07 UTC
(
hide
)
Description:
possible patch, based on master
Filename:
MIME Type:
Creator:
ulkitz
Created:
2013-10-31 08:57:07 UTC
Size:
2.16 KB
patch
obsolete
>From 3b0fda0dc7249c519b4de01cef66208f7a182302 Mon Sep 17 00:00:00 2001 >From: Ulrich Kitzinger <ulrich.kitzinger@muenchen.de> >Date: Thu, 31 Oct 2013 09:53:15 +0100 >Subject: [PATCH] =?UTF-8?q?Extra=20Parameter=20f=C3=BCr=20automated=20tests?= >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Change-Id: Ia05f42ec2d4bc04775c4434f38a96bc3b09cefc9 >--- > desktop/source/app/cmdlineargs.cxx | 7 +++++-- > desktop/source/app/cmdlinehelp.cxx | 2 ++ > 2 files changed, 7 insertions(+), 2 deletions(-) > >diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx >index a2a1cd1..9885495 100644 >--- a/desktop/source/app/cmdlineargs.cxx >+++ b/desktop/source/app/cmdlineargs.cxx >@@ -449,12 +449,15 @@ bool CommandLineArgs::InterpretCommandLineParameter( const OUString& aArg, OUStr > { > m_nologo = true; > } >+ else if ( oArg == "autotest" ) >+ { >+ // Suppress dialogs during automated testing >+ ::svt::DocumentLockFile::AllowInteraction( false ); >+ } > #if HAVE_FEATURE_MULTIUSER_ENVIRONMENT > else if ( oArg == "nolockcheck" ) > { > m_nolockcheck = true; >- // Workaround for automated testing >- ::svt::DocumentLockFile::AllowInteraction( false ); > } > #endif > else if ( oArg == "help" || aArg == "-h" || aArg == "-?" ) >diff --git a/desktop/source/app/cmdlinehelp.cxx b/desktop/source/app/cmdlinehelp.cxx >index 8311c5d..3cd353f 100644 >--- a/desktop/source/app/cmdlinehelp.cxx >+++ b/desktop/source/app/cmdlinehelp.cxx >@@ -58,6 +58,7 @@ namespace desktop > "--quickstart \n"\ > "--nologo \n"\ > "--nolockcheck \n"\ >+ "--autotest \n"\ > "--nodefault \n"\ > "--headless \n"\ > "--help/-h/-? \n"\ >@@ -79,6 +80,7 @@ namespace desktop > "starts the quickstart service\n"\ > "don't show startup screen.\n"\ > "don't check for remote instances using the installation\n"\ >+ "don't show user dialogs (used for automated tests)\n"\ > "don't start with an empty document\n"\ > "like invisible but no userinteraction at all.\n"\ > "show this message and exit.\n"\ >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 71005
: 88402