diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-12 16:59:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-12 17:04:41 +0100 |
commit | b2af27abaf0531cdd72a5d3b298b7eff5d8bffc5 (patch) | |
tree | e7de660f235b2a558111875f49d6a2f3f499f3fe /framework | |
parent | 7ef47336411389ac492729bef52fe62aebe90f5a (diff) |
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
Diffstat (limited to 'framework')
-rw-r--r-- | framework/qa/cppunit/dispatchtest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } |