Dominik Picheta
cff6ec2155
Implements onProgressChanged callback for httpclient.
2016-09-24 22:58:10 +02:00
Dominik Picheta
0baef8e6ea
Implements getContent and postContent for (Async)HttpClient.
2016-09-24 20:33:00 +02:00
Dominik Picheta
fa9ec7a6b5
Handle redirects in HttpClient's post procs & post test.
2016-09-24 17:50:58 +02:00
Dominik Picheta
1fb5dd2477
Fixes #4797 .
2016-09-19 19:36:35 +02:00
Dominik Picheta
8386476592
Implements proxy support for (Async)HttpClient. Ref #4423 .
...
Fixes #2160 .
2016-09-18 22:59:12 +02:00
Dominik Picheta
0c99523ad3
Implements timeouts for synchronous HttpClient.
2016-09-18 19:08:12 +02:00
Dominik Picheta
3ad368f8ca
Improvements to httpclient. Refs #4423 .
...
* Adds ability to query HttpCode and compare it with strings.
* Moves HttpMethod to HttpCore module.
* Implements synchronous HttpClient using {.multisync.}.
2016-09-18 18:16:51 +02:00
Ruslan Mustakov
e26f9cb665
Use array encoding for non-UTF-8 strings in marshal. Fixes #4779 .
2016-09-16 17:02:34 +07:00
Andreas Rumpf
feec7f9334
Merge pull request #4629 from flyx/times-parse-yearday
...
Calculate correct yearday in times.parse
2016-08-25 16:36:49 +02:00
Felix Krause
74a55995f0
Fixed tests to expect [Suite] output from unittest
2016-08-24 22:32:29 +02:00
Felix Krause
932abc7bf8
Improved times tests
...
* Added check for yearday
* Changed some test dates to check different equivalence classes of
yearday (before leap day, at leap day, after february in leap year,
after february in non-leap year)
2016-08-21 14:19:22 +02:00
Andreas Rumpf
8f457f6ebb
make tests green again
2016-07-29 23:51:01 +02:00
Stephane Fontaine
48867b2541
Update htmlparser test `output` variable
2016-07-28 20:25:12 +04:00
Stephane Fontaine
fa537ee3a4
htmlparser: Add test for paragraph inside <dd,li>
2016-07-27 21:24:51 +04:00
Andreas Rumpf
fc0bb82802
fixes #4494
2016-07-22 22:31:09 +02:00
Joey Payne
890d7fac14
Fix split stdlib test
2016-07-01 07:24:30 -06:00
Joey Payne
33146a74c1
Add os tests for directory creation, iteration and deletion
2016-06-20 14:32:01 -06:00
Andreas Rumpf
95bb19a579
moved random procs from math to its own module (breaking change)
2016-05-30 16:24:52 +02:00
Andreas Rumpf
301d39b882
Merge pull request #4130 from lihf8515/devel
...
Update parsecfg.nim
2016-05-26 10:51:10 +02:00
Andreas Rumpf
4b13484025
Merge pull request #4025 from flyx/highlight-yaml
...
YAML highlighting support for doctools/highlite
2016-05-12 14:59:00 +02:00
lihf8515
a1de24e2f6
Update tparscfg.nim
2016-05-02 16:59:38 +08:00
Felix Krause
6fe916fc77
Fixes to YAML highlighting support, added tests
2016-04-01 21:35:46 +02:00
Anatoly Galiulin
9aa845c6b6
Add parseUInt and parseBiggestUInt functions to stdlib (parseutils, strutils)
2016-03-30 17:38:57 +06:00
Federico Ceratto
d9cb85c2d8
Spellcheck
2016-02-29 11:25:51 +00:00
def
510a503f34
Fix tmitems test for changed behaviour of json
2016-02-24 19:03:55 +01:00
def
57897698d1
Fix test cases for JSON object changes
2016-02-24 19:03:55 +01:00
Anatoly Galiulin
477e3b0e20
Fixed issue 3539, added test
2016-01-28 16:56:06 +06:00
Andreas Rumpf
0d4e52c648
makes tests green
2016-01-15 14:44:54 +01:00
Dominik Picheta
fffdae32c7
Fixed TimeInterval bug.
2016-01-08 11:54:34 +00:00
Dominik Picheta
09b159b816
Fixed ttime test. Improved docs in times module.
2016-01-08 11:46:11 +00:00
JamesP
8af8f7673b
add timeinterval helping functions as per issue #3609
...
add tests to ttime.nim for timeinterval add/subtract functionality
Changed assert to doAssert in ttime.nim
Added extra tests to ttime.nim
Removal of singular help procs for working with TimeIntervals
Added TimeIin proc toSeconds(a: TimeInfo, interval: TimeInterval) where subtracting a year gave wrong results
Add overflow of units on initInterval eg, 65 seconds is 5 seconds and 1 minute
2015-12-08 10:16:42 +10:00
JamesP
c660a7f942
add assertion tests from times module to ttime.nim test file in tests\stdlib
2015-12-01 18:07:31 +10:00
Charles Blake
a1df79d5f2
Add a unit test that covers issue 3477
...
https://github.com/nim-lang/Nim/issues/3477
2015-11-19 07:03:06 -05:00
Araq
d8b0edc323
Merge branch 'mget' of https://github.com/def-/Nim into def--mget
...
Conflicts:
lib/pure/collections/critbits.nim
lib/pure/collections/tables.nim
lib/pure/xmltree.nim
lib/system/sets.nim
tests/collections/ttables.nim
tests/collections/ttablesref.nim
2015-10-13 00:22:27 +02:00
Peter Mora
b284ace099
fixing unittest
2015-10-06 08:24:43 +02:00
Araq
5a003532d0
fixes #2473 ; cleanup of some tests
2015-09-30 21:13:13 +02:00
Dominik Picheta
0370dff8e0
Merge pull request #3378 from jlp765/streamsEx
...
Streams examples & default newFileStream() file mode
2015-09-27 13:46:04 +01:00
JamesP
8b230ec085
minor fix - remove comments from discard section
...
so koch test doesn't complain
2015-09-27 16:21:47 +10:00
JamesP
772c25bfe8
fix discard output: section
2015-09-27 15:49:40 +10:00
JamesP
e0707797a5
add test for newFileStream() opening a missing file
2015-09-26 08:34:59 +10:00
JamesP
63c35a98f4
add memfiles test of create/read/write data
2015-09-24 09:43:31 +10:00
JamesP
48932dbf98
improve discard text
2015-09-24 09:34:44 +10:00
JamesP
7490667578
add memfiles test that closing a closed memFile is ignored (and raises no [OSError])
2015-09-24 09:23:48 +10:00
Adam Strzelecki
e80465dacf
tests: Trim .nim files trailing whitespace
...
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Araq
dd2a0ec431
cleaned up twchartoutf8 test
2015-08-21 21:40:24 +02:00
Andreas Rumpf
47919e219b
Merge pull request #3205 from fenekku/unittest-work-2
...
other unittest pull-request
2015-08-21 21:30:10 +02:00
jangko
7c757599f1
fixed UTF-16 to UTF-8 conversion in widestrs.nim
...
the source of problem for issue #3228
also add test for entire range of valid UTF-16
and test for invalid UTF-16 sequence
2015-08-21 10:43:31 +07:00
jangko
c103eddc73
fixed UTF-16 to UTF-8 conversion in widestrs.nim
...
the source of problem for issue #3228
also add test for entire range of valid UTF-16
2015-08-20 20:30:14 +07:00
Dominik Picheta
ad245dbd77
Merge pull request #3131 from zachaysan/devel
...
Create chomp proc and tests
2015-08-13 22:31:30 +01:00
fenekku
c62698b296
make testSetupIMPL and testTeardownIMPL non-public
2015-08-12 10:30:36 -04:00