test/httpwstest.cpp | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-)
New commits: commit b8949715e89591c3c24b2e87da8dd3606e6e6acb Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Jan 8 21:28:43 2017 -0500 wsd: split testGraphicViewSelection one for each app Change-Id: I8da3470d4ad9cd666bb4cd18cb8d66a0f6b0c8cb Reviewed-on: https://gerrit.libreoffice.org/32870 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/test/httpwstest.cpp b/test/httpwstest.cpp index 99abe35..309055b 100644 --- a/test/httpwstest.cpp +++ b/test/httpwstest.cpp @@ -94,7 +94,9 @@ class HTTPWSTest : public CPPUNIT_NS::TestFixture CPPUNIT_TEST(testInvalidateViewCursor); CPPUNIT_TEST(testViewCursorVisible); CPPUNIT_TEST(testCellViewCursor); - CPPUNIT_TEST(testGraphicViewSelection); + CPPUNIT_TEST(testGraphicViewSelectionWriter); + CPPUNIT_TEST(testGraphicViewSelectionCalc); + CPPUNIT_TEST(testGraphicViewSelectionImpress); CPPUNIT_TEST(testGraphicInvalidate); CPPUNIT_TEST(testCursorPosition); CPPUNIT_TEST(testAlertAllUsers); @@ -140,7 +142,9 @@ class HTTPWSTest : public CPPUNIT_NS::TestFixture void testInvalidateViewCursor(); void testViewCursorVisible(); void testCellViewCursor(); - void testGraphicViewSelection(); + void testGraphicViewSelectionWriter(); + void testGraphicViewSelectionCalc(); + void testGraphicViewSelectionImpress(); void testGraphicInvalidate(); void testCursorPosition(); void testAlertAllUsers(); @@ -2089,17 +2093,21 @@ void HTTPWSTest::testCellViewCursor() testEachView("empty.ods", "spreadsheet", "cellcursor:", "cellviewcursor:", "cellViewCursor"); } -void HTTPWSTest::testGraphicViewSelection() +void HTTPWSTest::testGraphicViewSelectionWriter() { - testEachView("graphicviewselection.odp", "presentation", "graphicselection:", "graphicviewselection:", "graphicViewSelection-odp "); - - CPPUNIT_ASSERT_EQUAL(InitialLoolKitCount, countLoolKitProcesses(InitialLoolKitCount)); testEachView("graphicviewselection.odt", "text", "graphicselection:", "graphicviewselection:", "graphicViewSelection-odt "); +} - CPPUNIT_ASSERT_EQUAL(InitialLoolKitCount, countLoolKitProcesses(InitialLoolKitCount)); +void HTTPWSTest::testGraphicViewSelectionCalc() +{ testEachView("graphicviewselection.ods", "spreadsheet", "graphicselection:", "graphicviewselection:", "graphicViewSelection-ods "); } +void HTTPWSTest::testGraphicViewSelectionImpress() +{ + testEachView("graphicviewselection.odp", "presentation", "graphicselection:", "graphicviewselection:", "graphicViewSelection-odp "); +} + void HTTPWSTest::testGraphicInvalidate() { const auto testname = "graphicInvalidate "; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits