diff options
author | Daniel Sikeler <d.sikeler94@gmail.com> | 2014-11-26 07:09:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-28 11:18:11 +0000 |
commit | 94bcfb04194baa55f995de57981a293cbd1a4f5e (patch) | |
tree | bc3bcfe4ff948837956ac0409c97efa5eddad61d /test | |
parent | 45ca1bfc22f5d6857aeefc1e444f369cf6519805 (diff) |
Unittest for autocorrect in writer
At first we test normal replacement of wrong words.
Second part of the test is about style changes during autocorrection.
And at the end we replace a word with a table.
The rules for the autocorrection are in
test/user-template/user/autocorr/acor_fr.dat
I needed to make SwAutoCorrect public for my test.
Conflicts:
sw/qa/extras/uiwriter/uiwriter.cxx
Change-Id: Ie753c2187c1f4eddaefe0cc428a605107112c24f
Reviewed-on: https://gerrit.libreoffice.org/13131
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/Package_unittest.mk | 1 | ||||
-rw-r--r-- | test/user-template/user/autocorr/acor_fr.dat | bin | 0 -> 9538 bytes |
2 files changed, 1 insertions, 0 deletions
diff --git a/test/Package_unittest.mk b/test/Package_unittest.mk index 3c0aad7330e4..77c45932780d 100644 --- a/test/Package_unittest.mk +++ b/test/Package_unittest.mk @@ -20,5 +20,6 @@ $(eval $(call gb_Package_add_file,test_unittest,unittest/user/autotext/en-US/tem $(eval $(call gb_Package_add_file,test_unittest,unittest/user/autotext/en-US/standard.bau,user/autotext/en-US/standard.bau)) $(eval $(call gb_Package_add_file,test_unittest,unittest/user/autotext/en-US/crdbus50.bau,user/autotext/en-US/crdbus50.bau)) $(eval $(call gb_Package_add_file,test_unittest,unittest/user/config/soffice.cfg/.dummy,empty-directory-dummy)) +$(eval $(call gb_Package_add_file,test_unittest,unittest/user/autocorr/acor_en-US.dat,user/autocorr/acor_fr.dat)) # vim: set noet sw=4 ts=4: diff --git a/test/user-template/user/autocorr/acor_fr.dat b/test/user-template/user/autocorr/acor_fr.dat Binary files differnew file mode 100644 index 000000000000..d4ef5567fa17 --- /dev/null +++ b/test/user-template/user/autocorr/acor_fr.dat |