diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-06-16 14:12:39 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-06-16 14:12:39 +0200 |
commit | e38acfa15b52353565ad9ddaf3cf96dd13c5b0fb (patch) | |
tree | 970a6576ad5a5acee657b427938c86359641919e /sd | |
parent | 711023ae993a8413f56d891ae276763e6a2018bb (diff) |
Reduce test doc size, use a simpler gltf model
Change-Id: I5bd78343728f8a4d68610397a7be328826a0334c
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/data/media_embedding.odp | bin | 4068627 -> 228295 bytes | |||
-rw-r--r-- | sd/qa/unit/import-tests.cxx | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/data/media_embedding.odp b/sd/qa/unit/data/media_embedding.odp Binary files differindex 4174e844a7c4..8069b3f57009 100644 --- a/sd/qa/unit/data/media_embedding.odp +++ b/sd/qa/unit/data/media_embedding.odp diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 0f813a92e984..d5917327188e 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -727,7 +727,7 @@ void SdFiltersTest::testMediaEmbedding() // First object is a glTF model SdrMediaObj *pModelObj = dynamic_cast<SdrMediaObj*>( pPage->GetObj( 2 )); CPPUNIT_ASSERT_MESSAGE( "missing model", pModelObj != NULL); - CPPUNIT_ASSERT_EQUAL( OUString( "vnd.sun.star.Package:Models/jeep/jeep.json" ), pModelObj->getMediaProperties().getURL()); + CPPUNIT_ASSERT_EQUAL( OUString( "vnd.sun.star.Package:Models/duck/duck.json" ), pModelObj->getMediaProperties().getURL()); CPPUNIT_ASSERT_EQUAL( OUString( "model/vnd.gltf+json" ), pModelObj->getMediaProperties().getMimeType()); // Check the case when experimental mode is disabled @@ -743,7 +743,7 @@ void SdFiltersTest::testMediaEmbedding() // If glTF is not supported, then the fallback image is imported SdrGrafObj *pGrafic = dynamic_cast<SdrGrafObj*>( pPage->GetObj( 2 )); CPPUNIT_ASSERT_MESSAGE( "Could not load glTF fallback image", pGrafic != NULL); - CPPUNIT_ASSERT_EQUAL( OUString( "vnd.sun.star.Package:Models/Fallbacks/jeep.png" ), pGrafic->GetGrafStreamURL()); + CPPUNIT_ASSERT_EQUAL( OUString( "vnd.sun.star.Package:Models/Fallbacks/duck.png" ), pGrafic->GetGrafStreamURL()); // Second object is a sound SdrMediaObj *pMediaObj = dynamic_cast<SdrMediaObj*>( pPage->GetObj( 3 )); |