Javier Amor García
e5f15f69df
RTFHandler: protect against CR and bad hexadecimal sequence
...
In RTF is possible to specify characters with the sequence \'XX being
XX an hexadecimal number.
With this changeset we guard against incorrect hexadecimal numbers which
will be ignored.
The other change added is to ignore carriadge returns in plain text.
2016-02-01 16:55:20 +01:00
Javier Amor García
8e80b57d31
RTFHandler: support charsets in plain text
...
Allow to switch charset in RTF plain text parts.
2016-02-01 11:48:15 +01:00
Jesús García Sáez
bad7fd4532
Unit test encode qp text: long of second line
...
This will fail without sope commit 361178217156177a2a40c327a64f70716b30ae3a
2016-01-19 19:51:41 +01:00
Jesús García Sáez
cb3959d991
Unit test encode qp text
...
This will crash without sope commit 0c9b08d18f07205b4de58bb700ad15a4a4649e53
2016-01-19 19:51:06 +01:00
Jesús García Sáez
2d5995a8f4
Merge pull request #213 from zentyal/jamor/unittest-merge
...
Add RTFHandler unittest
2016-01-12 18:35:43 +01:00
Enrique J. Hernández Blasco
0c5f4edb36
Give support to JUnit output format for sogo-tests
...
To integrate with CI system.
sogo-tests now accepts a flag (-f) to determine the output format:
* text : Current behaviour and default value
* junit: XML output suitable for CI system such as Jenkins
2016-01-12 16:14:30 +01:00
Jesús García Sáez
db213c2b73
unittest: just reformat and indentation
...
no real changes
2015-12-22 11:48:35 +01:00
Jesús García Sáez
c2922e2a26
unittest: QP encode function from NGMimeHeaderFieldGenerator
2015-12-22 11:48:34 +01:00
Jesús García Sáez
1529e7ec4e
unittest: compare properly decimal numbers
2015-12-22 11:48:34 +01:00
Jesús García Sáez
2e1ed274c8
unittest: fix TestNGMailAddressParser
...
It had wrong expectation strings
2015-12-09 20:02:57 +01:00
Jesús García Sáez
e4cd451be8
unittest: removed TestNGMimeAddressHeaderFieldGenerator
...
Needs redo
2015-12-09 20:02:56 +01:00
Javier Amor García
603da75818
Added test for spanish characters
2015-12-09 20:02:56 +01:00
Javier Amor García
9ed3812795
Added test for character escape
2015-12-09 20:02:55 +01:00
Javier Amor García
a0b15d0c8c
Test for [RTFHandler parseFontTable]
...
This changeset includes changes in relevant classes to make
them easier to test.
2015-12-09 20:02:55 +01:00
Javier Amor García
7e4571874e
Added test for RTF with russian characters
...
Changed and refactored TestRTFHandler helper methods
2015-12-09 20:02:54 +01:00
Javier Amor García
b076801e1b
Added test fixture for RTF crash 6977
2015-12-09 20:02:54 +01:00
Jesús García Sáez
0316e441fc
unittest: RTF without color table definition
2015-12-09 20:02:53 +01:00
Jesús García Sáez
75208428dd
unittest: New unittest with a rtf file
...
This currently sigfault due to bad parsing a \*\shppict tag
with a \binXXXX tag inside it
2015-12-09 20:02:53 +01:00
Jesús García Sáez
942f48c9a0
unittest: RTF with \pict
2015-12-09 20:02:52 +01:00
Jesús García Sáez
24a7515bb5
unittest: file as NSData and try different encodings
2015-12-09 20:02:51 +01:00
Jesús García Sáez
a8e5a3c025
unittest: NSString objectFromJSONString for single values
2015-12-09 20:02:51 +01:00
Jesús García Sáez
0b69727a49
unittest: add rtf test
2015-12-09 20:02:50 +01:00
Jesús García Sáez
2a2d141629
unittest: rtf, test crash core dump
2015-12-09 20:02:48 +01:00
Jesús García Sáez
b98d112738
unittest: commented failing test
2015-12-09 20:02:28 +01:00
Ludovic Marcotte
01642eca3e
(fix) fixed one unit test
2015-11-23 13:20:55 -05:00
Francis Lachapelle
f58554a700
Add Macedonian translation
2015-11-11 09:46:01 -05:00
Francis Lachapelle
76b8de1805
Add Portuguese translation
2015-11-10 16:33:11 -05:00
Euan Thoms
eda84c7b5d
Stage1b (v2 branch) of clang compiler warning patches.
2015-11-06 01:29:26 +08:00
Ludovic Marcotte
b378d258cb
(fix) add unit test from PR #105
2015-10-23 15:54:33 -04:00
Francis Lachapelle
ad8941ba56
Fix URL escaping unti test
2015-09-18 13:48:36 -04:00
extrafu
33a1d2c397
Merge pull request #102 from zentyal/master
...
Changes for sogo-openchange from Zentyal
2015-09-09 08:19:14 -04:00
Javier Amor García
cbc3e3e97d
Test for [NGMimeMessageGenerator generateDataForHeaderField:value:]
...
The NGMimeMessageGenerator can be found in sope
2015-09-01 09:09:54 +02:00
Javier Amor García
361d5ea3a6
Added method [SOGoTest stringFromDiffBetween:and:]
2015-09-01 09:09:54 +02:00
Francis Lachapelle
5c3cdda186
Add Chinese (Taiwan) translation
2015-07-23 11:14:08 -04:00
Francis Lachapelle
9430f40101
Add Slovenian translation
2015-07-22 17:22:26 -04:00
Francis Lachapelle
a1406d01e1
Initial Basque translation
2015-04-27 13:59:05 -04:00
Luc Charland
a86b164228
uses a dict instead of a string of a dict for preventInvitationsTest
2015-04-17 10:38:40 -04:00
Ludovic Marcotte
bfaaf6eb34
Revert back to using GNUSTEP_SYSTEM_LIBRARIES for teststrings
2014-12-16 13:17:59 -05:00
Ludovic Marcotte
68655deabd
Improved rpath handling ( #2996 )
2014-12-16 12:36:08 -05:00
Ludovic Marcotte
624af1c0fb
Fixed test
2014-11-10 08:58:30 -05:00
Ludovic Marcotte
3264458f4b
Added back -L directives to properly compile teststrings
2014-10-14 11:27:08 -04:00
Ludovic Marcotte
5f811e1a4e
Added rpath for integration tests
2014-10-14 10:43:52 -04:00
Ludovic Marcotte
4b76e2b933
Added lib64 in the search path
2014-10-14 08:43:28 -04:00
Ludovic Marcotte
ff9d49be71
Dropped rpath since it seems to be ignored on el5
2014-10-08 10:25:46 -04:00
Ludovic Marcotte
7f49dcb2fa
Avoid using SOGO_SYSLIBDIR when testing since it's undefined
2014-10-02 13:10:54 -04:00
Ludovic Marcotte
f88cfae611
Improved and simplified rpath
2014-10-02 12:36:22 -04:00
Ludovic Marcotte
f93c06e6a9
Fixed include
2014-10-02 10:50:34 -04:00
Ludovic Marcotte
68d79472a5
Fixed makefile for teststrings due to sogo lib change
2014-10-02 10:46:47 -04:00
Jeroen Dekkers
6ded9e95b3
Put private libraries in /usr/lib/sogo
2014-10-01 20:36:42 +02:00
Ludovic Marcotte
ce1896b627
Fixed typo
2014-09-17 09:36:35 -04:00