extrafu
f1bb581dcc
Merge pull request #209 from extrafu/master
...
Latest OpenChange changes from Zentyal
2016-05-17 13:57:57 -04:00
Ludovic Marcotte
17afe7c077
(fix) avoid escaping values that are quoted ( fixes #3296 )
2016-03-15 10:38:38 -04:00
Jesús García Sáez
36d257e1c7
Merge pull request #254 from zentyal/jag/test-for-string-encoding-for-encoding-named-methods
...
Tests for SOPE string-encoding-for-encoding-named-methods branch
2016-02-22 16:32:17 +01:00
Javier Amor García
d2e7fdf4d2
Tests for SOPE string-encoding-for-encoding-named-methods branch
2016-02-18 11:01:56 +01:00
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
Ludovic Marcotte
e223d064d9
(fix) disabled test for now since it fails on squeeze
2016-01-18 14:13:25 -05:00
Ludovic Marcotte
dbf6426449
(fix) don't use false, but use NO
2016-01-18 14:05:30 -05:00
Ludovic Marcotte
f48b3405d7
(fix) old case with gcc
2016-01-18 11:14:25 -05:00
Ludovic Marcotte
52bc589ab8
(fix) re-enabled test
2016-01-18 10:50:48 -05:00
Ludovic Marcotte
03f879433b
(fix) let the test compile on older gcc
2016-01-18 10:23:19 -05: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
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
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
Jeroen Dekkers
6ded9e95b3
Put private libraries in /usr/lib/sogo
2014-10-01 20:36:42 +02:00
Ludovic Marcotte
b05fcc7d82
Fat commit to refactor the quick record generation
2014-07-30 14:51:00 -04:00
Jeroen Dekkers
efc33d8174
Fix unit test by also checking for the different gnustep 1.24 ordering of elements
2014-05-29 15:53:13 +02:00
Jeroen Dekkers
93971dc434
Add $(TEST_TOOL) as dependency of make check
2014-05-29 15:35:46 +02:00
Ludovic Marcotte
5739356f88
Fix tests to handle list-component
2014-04-09 19:27:38 -04:00
Francis Lachapelle
e6e4616a69
Fix typo in unit test
2013-01-18 09:39:02 -05:00
Wolfgang Sourdeau
160aa42b88
set the "check" target as a non-default target
2012-11-07 09:49:46 -05:00
Wolfgang Sourdeau
de381aca81
Added support for gnutls (thanks to Jeroen Dekkers).
2012-10-23 10:11:36 -04:00
Wolfgang Sourdeau
f4c12f9658
Merge pull request #1 from dekkers/make-check
...
Implement a "make check" target that will run the unit tests (thanks to Jeroen Dekkers)
2012-10-20 12:39:39 -07:00
Wolfgang Sourdeau
948bafd2bf
s/occurence/occurrence/g
2012-10-20 13:27:24 -04:00
Jeroen Dekkers
a632c82b59
Implement a "make check" target that will run the unit tests
2012-10-19 18:46:46 +02:00