[Libreoffice-commits] core.git: sw/CppunitTest_sw_filters_test.mk sw/qa
Miklos Vajna
vmiklos at suse.cz
Tue Jul 9 07:02:53 PDT 2013
sw/CppunitTest_sw_filters_test.mk | 1
sw/qa/core/data/html/pass/fdo65932.html | 45 ++++++++++++++++++++++++++++++++
sw/qa/core/filters-test.cxx | 4 ++
3 files changed, 50 insertions(+)
New commits:
commit 311a80e05c9f712f49e4f3a989abef4dabd5fdbc
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Tue Jul 9 15:53:39 2013 +0200
fdo#65932 testcase
Change-Id: I7105b85f063be801caa3cd397fcdfa24e74caa28
diff --git a/sw/CppunitTest_sw_filters_test.mk b/sw/CppunitTest_sw_filters_test.mk
index df13402..7eea51e 100644
--- a/sw/CppunitTest_sw_filters_test.mk
+++ b/sw/CppunitTest_sw_filters_test.mk
@@ -62,6 +62,7 @@ $(eval $(call gb_CppunitTest_use_components,sw_filters_test,\
forms/util/frm \
framework/util/fwk \
i18npool/util/i18npool \
+ linguistic/source/lng \
oox/util/oox \
package/source/xstor/xstor \
package/util/package2 \
diff --git a/sw/qa/core/data/html/pass/fdo65932.html b/sw/qa/core/data/html/pass/fdo65932.html
new file mode 100644
index 0000000..d17936d
--- /dev/null
+++ b/sw/qa/core/data/html/pass/fdo65932.html
@@ -0,0 +1,45 @@
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+ <body class="en file-preview-body shmodel-body deferred-resources pdf-preview-pdf-embedded">
+ <div id="outer-frame">
+ <div id="page-content">
+ <div class="nav-header">
+
+
+ <div class="buttons">
+ <a id="create-an-account-button" href="/register?signup_tag=shmodel" target="_blank" class="freshbutton-lightblue">Sign up for Dropbox</a>
+ </div>
+ </div>
+ <div style="display: none;" id="c2d-modal">
+ <div id="create-account-content">
+ <div>
+ <form novalidate="novalidate" id="c2d-register-form" method="post">
+ <input type="hidden" name="signup_tag" value="copy_to_dropbox" />
+ <input type="hidden" name="dl_redir" value="1" />
+ </form>
+ </div>
+ </div>
+ <div style="display:none;" id="login-account-content">
+ <div style="display: none;" id="c2d-twofactor-login">
+ <form novalidate="novalidate" id="c2d-twofactor-login-form" method="post">
+ <div id="c2d-twofactor-error" class="error-message"></div>
+ <div class="sick-input">
+ <label for="email">6-digit code</label>
+ <input autocomplete="off" type="text" id="c2d-twofactor-code" name="twofactor_code" tabindex="13" />
+ </div>
+ <input name="twofactor_login_submit" value="Submit code" class="freshbutton-blue" type="submit" id="twofactor_login_submit" tabindex="15" />
+ <p class="resend-code">
+ <a id="c2d-resend-link">Didn't receive one?</a>
+ </p>
+ </form>
+ </div>
+ </div>
+ </div>
+ <noscript>
+ <p class="center">The Dropbox website requires JavaScript.</p>
+ </noscript>
+ </div>
+ <div style="position: absolute; top: 0; left: 0; font-family: Courier" id="ieconsole"></div>
+ <div style="position:absolute; top:-10000px;width:0px; height:0px; left: 0;" id="FB_HiddenContainer"></div>
+ <div style="display:none;" id="notice-container" class="clearfix"></div>
+ </body>
+</html>
diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx
index e5ba36b..14678a4 100644
--- a/sw/qa/core/filters-test.cxx
+++ b/sw/qa/core/filters-test.cxx
@@ -117,6 +117,10 @@ void SwFiltersTest::testCVEs()
getURLFromSrc("/sw/qa/core/data/rtf/"),
OUString(),
SFX_FILTER_STARONEFILTER);
+
+ testDir(OUString("HTML"),
+ getURLFromSrc("/sw/qa/core/data/html/"),
+ OUString(sHTML));
}
void SwFiltersTest::setUp()
More information about the Libreoffice-commits
mailing list