From b2af27abaf0531cdd72a5d3b298b7eff5d8bffc5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 12 Apr 2017 16:59:49 +0100 Subject: update test to pass now that .ui files are found with 506cab1a01b0481d0831a7a692a26dc5a5b55e91 "take the .ui files from $BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR" in place .ui files are found and the count here changes, reverting the above makes it pass, but also reverting 08cf2fd01064306eef7fdbb5b62320947c4d1089 (framework: last dispatchInterceptor gets asked first, 2016-05-20) that this test wants to test also passes Change-Id: I01f5b77065e9562619412824bf69494b7b672b68 --- framework/qa/cppunit/dispatchtest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/qa') diff --git a/framework/qa/cppunit/dispatchtest.cxx b/framework/qa/cppunit/dispatchtest.cxx index 3dd995510d50..554581debe55 100644 --- a/framework/qa/cppunit/dispatchtest.cxx +++ b/framework/qa/cppunit/dispatchtest.cxx @@ -191,7 +191,7 @@ void DispatchTest::testInterception() CPPUNIT_ASSERT_EQUAL(1, pInterceptor->getExpected()); CPPUNIT_ASSERT_EQUAL(0, pInterceptor->getUnexpected()); dispatchCommand(mxComponent, ".uno:Italic", {}); - CPPUNIT_ASSERT_EQUAL(0, pInterceptor->getExpected()); + CPPUNIT_ASSERT_EQUAL(1, pInterceptor->getExpected()); // This was 1: MyInterceptor::queryDispatch() was called for .uno:Italic. CPPUNIT_ASSERT_EQUAL(0, pInterceptor->getUnexpected()); } -- cgit