e6401bb6a1
Missing unit test dependency
...
Change-Id: I6ea03aadce23e324ee80f2f73e2175a5307c706a
2014-08-29 13:26:40 +02:00
83991055ee
can actually manage to ask createStream for missing streams
...
writerperfect::(anonymous namespace)::OLEStorageImpl::createStream(rtl::OUString const&) (WPXSvInputStream.cxx:260)
writerperfect::WPXSvInputStreamImpl::getSubStreamByName(char const*) (WPXSvInputStream.cxx:201)
MWAWInputStream::unzipStream()
MWAWInputStream::MWAWInputStream
valgrind + bff
Change-Id: Iaecb8b7f05ed4369ddd37b34166dc3c3388ffb4d
2014-08-19 09:01:09 +01:00
7de2366a97
use consistent style for writerperfect
...
Change-Id: I47089586094b58c39a128e44e2671d69c2d50177
2014-08-15 09:03:51 +02:00
46f52010e0
fdo#81787 attrs are already XML-encoded by libodfgen
...
Change-Id: Icee62e1ec9cee71930bcd52dbab850396fc96efa
2014-08-13 10:06:44 +02:00
d6d73b8e6a
add test-case for EDB-22679
...
Change-Id: Ie4e8548e3202cb1561276ef7480281053867b6fe
2014-08-09 13:35:47 +01:00
345e148b8b
add test-case for EDB-29664
...
Change-Id: Ib57c7846523f7b8b3b08d19355e10a47c778a524
2014-08-07 21:21:19 +01:00
e84664d302
add test-case for EDB-22310
...
Change-Id: I6a7b659b562218e4bdd1b1badf655f65266e8d85
2014-08-07 21:17:17 +01:00
2384444259
add test-case for EDB-22655
...
Change-Id: I96c8ea50425ed82cbbd1f235bd778621956b59ba
2014-08-07 21:17:14 +01:00
8f2a714b60
add test-case for CVE-2007-1735
...
Change-Id: If505b45bd197fb24a2bacaf44cb46f84de8b61ff
2014-08-07 20:55:17 +01:00
fb0fdaaaeb
add EDB-14344 testcase
...
Change-Id: Ia4c6486d2d54103951765ce3e273dece6f022372
2014-08-07 20:52:22 +01:00
8b518739e4
make keynote detection a bit more robust
...
Change-Id: I947bc5867a6b61a923d47cad48d04ab5fc2769c9
2014-07-16 15:32:07 +02:00
c10390a681
fdo#81113 always run the actual detection
...
The old code only run detection if an UCBContent property was passed.
That means that any time the function got only InputStream, it claimed
that it was a Keynote presentation.
Change-Id: I377828229e7e95384257bde247612d7768307581
2014-07-16 15:32:07 +02:00
516fb340b1
integrate libpagemaker
...
Change-Id: I077d7c9a41793abdf5f001386f44ac407f94a6d3
2014-06-27 10:39:29 +02:00
f18548eb68
oops, libwpd -> librevenge
...
Change-Id: I17562f0231d54ba46d009f3270af1d5e729f40a9
2014-06-07 19:04:09 +02:00
31d1d684e7
fix typo in test file name
...
Change-Id: I12bfa086577fcb56cabffcca2eda675d02791fde
2014-06-06 08:45:47 +02:00
ea2537d5ea
Fix memory leak
...
Change-Id: I74001eb033abd7ceb10da60ea707f876d9f22c08
2014-06-05 18:32:31 +02:00
028bd3f5f5
add more test documents for libmwaw
...
Change-Id: Id31953720634cbfd838869ac2470b088da09caae
2014-06-05 11:38:14 +02:00
19fd43a0d9
and of course, GreatWorks test files fail to load on Windows
...
Change-Id: Ic102312af8b3c3218c79b7de9f57126ab4606176
2014-06-04 20:46:24 +02:00
4df5e1b959
pass UCBContent to the filters too
...
Change-Id: I75e4b3226d47ba9cc19e8c6b0e38938e4d7ceb17
2014-06-04 19:08:00 +02:00
74d6a5985f
loading of these fails on windows
...
Change-Id: Ibb9590419d965b789330ce149b88ba8be4e440d0
2014-06-04 18:26:09 +02:00
f133ff4f24
add random unversioned test file for libvisio
...
Change-Id: I36fb1f845dacad3a409b0f089b207fa284c5733a
2014-06-04 18:26:09 +02:00
3fd96d9236
add random unversioned test file for libmspub
...
Change-Id: I1d5841870543c4d8dc1afc1e714b2591431f0f62
2014-06-04 18:26:08 +02:00
f18a86759b
add random unversioned test files for libcdr
...
Change-Id: I9db735d7363e912edc1528c8964e665f1a4c8056
2014-06-04 18:26:08 +02:00
8fd0320e8a
add more test drawings/paintings for libmwaw
...
Change-Id: I7a85c7b7eae2abf29ff1a5742e1218346b1f9e00
2014-06-04 15:48:40 +02:00
e98fbca581
add unit test for writerperfect::DirectoryStream
...
Change-Id: I53aaf2355d9f3071544ebcaaee01bd44a30f88fc
2014-06-04 15:48:39 +02:00
72d7d1f33b
ensure writerperfect::DirectoryStream only works for dirs
...
Change-Id: I588d295d72a600710324ee936d0c2291872c1d73
2014-06-04 15:48:39 +02:00
31ba2cb2fc
add convenience functions to handle dirs
...
Change-Id: I81c94565e09e0d839d95bf4f09b029838bb37ad5
2014-06-04 15:48:39 +02:00
ccb51e13ed
move CppUnit plugin def. to separate source file
...
Change-Id: Id946419274728f96e1de41cffe84280e37e87ab3
2014-06-04 15:48:39 +02:00
07123dc815
add some test documents for libwps
...
Change-Id: I20aa49212b6ecbb819c9671b5c144f294653ab47
2014-06-04 15:48:38 +02:00
4828407311
add some test drawings/paintings for libmwaw
...
Change-Id: Id0f5aa7fbb92d15bbe877e85dd60b51107f49168
2014-06-04 15:48:38 +02:00
e69f5861bb
add more test spreadsheets for libmwaw
...
Change-Id: I8810b84d2675ba3695578b5ed87c32dd1a686ae9
2014-06-04 15:48:38 +02:00
ce1d0fc63b
Missing gb_CppunitTest_use_vcl
...
Change-Id: I803fb17e29f5548897751a212565e8e60f8f8bf5
2014-06-04 09:52:43 +02:00
369d95931f
DeInitVCL at end of tests
...
This required some changes to the framework:
* Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but
once per CppunitTest invocation in a new vclbootstrapprotector (similarly to
the exisiting unobootstrapprotector). CppunitTests that need VCL now need to
declare gb_CppunitTest_use_vcl.
* For things to work properly, the UNO component context needs to be disposed
from within DeInitVCL (cf. Desktop's Application::DeInit called from
DeInitVCL). The easiest solution was to introduce an
Application::setDeInitHook (where the hook is called from DeInitVCL)
specifically for vclbootstrapprotector to call.
* PythonTests don't (yet) call DeInitVCL; they still hook into
BootstrapFixture's original test_init functionality (to call InitVCL), and do
not make use of the vclbootstrapprotector.
Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-06-04 08:55:12 +02:00
d758fb4d34
and another one...
...
Change-Id: I24c146c7372bedf9a70b9739e44968f09b0ba77a
2014-06-03 12:35:02 +02:00
1a6aae7ddd
yet another test file that fails to load on windows
...
Change-Id: I5e8b171e4603ce45ae8f31c6a3d7264f597d8898
2014-06-03 12:30:09 +02:00
8f29b4fcc9
add test spreadsheets and databases for libwps
...
Change-Id: Ied47fbad448b29cdbd6c96079e770305e5b02d63
2014-06-03 12:17:37 +02:00
54dce5b2b0
add test spreadsheets and databases for libmwaw
...
Change-Id: I3443b29b8f18e40f53d889fda0dd4a5c41579eeb
2014-06-03 12:17:37 +02:00
7b91c6aaf9
do not disable complete test, just the one file
...
Change-Id: I1acccba8c2ef44d76c13eadb97d03119f08baa1d
2014-06-03 10:13:32 +02:00
d3ddcbaeef
drop useless const_cast
...
Change-Id: Ie5e6f519a511931b383b6131a4a188abb3396946
2014-06-03 10:11:53 +02:00
9533611f41
drop useless const_cast
...
Change-Id: I8a14faf56303b986c3e6c8e9bec53210ae86fc87
2014-06-03 10:00:23 +02:00
1031dba9e2
getDataStream() returns non-const ptr now
...
Change-Id: I6d1e811622cda61575464df8e4036b388a4ab706
2014-06-03 09:59:20 +02:00
7d376ae64c
writerperfect: Let's disable this test until it works on Windows.
...
Would be unfortunate to have a non-working Windows tinderboxes over the weekned.
Change-Id: I86f3491da0111efbcfb2f4afc4f56c0fd798189d
2014-05-30 23:39:35 +02:00
ee016fbbe3
reading from a stream must start at the beginning
...
Change-Id: I0c668244fffcda04a8fe34ef629754f5935cab4b
2014-05-30 12:53:45 +02:00
aa81b089d3
generalize this for Zip too
...
Change-Id: I9ca0676f056fe3f09821c208ff095beb1f3c19ac
2014-05-30 12:53:44 +02:00
78fe1a5edf
fix creation of substreams for OLE2
...
Change-Id: Idade93bcc1981543357e849b2faf075e7a021d3e
2014-05-30 12:53:44 +02:00
895d63be19
these formats are supported by libmwaw 0.3.x
...
Change-Id: Ie045a3d700d498d58bad1bfcaf4cfd81b63005a6
2014-05-29 17:19:19 +02:00
e120b369f1
enable integration test for libmwaw draw import
...
Change-Id: I2109b948971776f06c3574ad6e7a9bebc33a40b3
2014-05-29 17:19:19 +02:00
64a9f9968a
enable integration test for libmwaw calc import
...
Change-Id: I9ff3ed6b74d93483a2157087707c5ec47888dd6a
2014-05-29 17:19:19 +02:00
89e65184bc
fix detection of Keynote 3 documents
...
Change-Id: I1c3e6b2809ee8b63f6f4db886bf6358b668b505f
2014-05-29 17:19:18 +02:00
696c8edf7a
Add new libmwaw's database/spreadsheet formats...
...
Change-Id: If07a9e548e1db15b403126263f63d9d09575eb95
2014-05-29 16:22:30 +02:00