Commit Graph

27 Commits

Author SHA1 Message Date
Dave Conway-Jones fde157ff50
remove cr lf from incoming filename so easier to pass in results from exec node.
and add test
2018-09-23 10:36:50 +01:00
Nick O'Leary 38a1291c5b
Fixup all the tests 2018-08-20 16:17:24 +01:00
Nick O'Leary 083c321efa
Merge pull request #1848 from node-red-hitachi/grunt-on-windows
Fix test cases on windows and under proxy
2018-07-27 13:21:06 +01:00
nakanishi 66fca8710e Fix test cases on windows and under proxy 2018-07-27 15:40:55 +09:00
Hiroyasu Nishiyama 81efce03ba update file node test to cope with occasional failure 2018-07-27 08:30:03 +09:00
Hiroyasu Nishiyama 054c7a76a4 update test for file node for new output port 2018-07-20 18:28:49 +09:00
Nick O'Leary 3b5a2815a9
Merge master 2018-05-08 23:27:27 +01:00
Christopher Hiller e1195ac00a fix many test problems (#1677)
* fix many test problems

- adds [stoppable](https://npm.im/stoppable) to force-stop net & http
  servers
- upgrades to latest mocha
- much cleanup of servers
- some removal of useless code

Signed-off-by: Christopher Hiller <boneskull@boneskull.com>

* increase wait time to hack at race condition

* PoC with fork of stoppable

Signed-off-by: Christopher Hiller <boneskull@boneskull.com>

* fix custom stoppable url for newer npm

* make travis go faster; attempt to avoid npm troubles

* fix coveralls executable path

* add extra time for flake to trigger spec

Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
2018-04-23 12:37:26 +01:00
mblackstock 10d8ca30b0 use node-red-node-test-helper for node tests 2018-03-01 20:41:16 -08:00
Hiroyasu Nishiyama 34e46fc6d3 fix behavior of msg per line mode of FILE IN node with empty line 2018-01-28 21:27:15 +09:00
Nick O'Leary 4453a51211
Tidy up properly between file node tests 2018-01-14 01:06:55 +00:00
Nick O'Leary 242e35c212
Fix file tests now the node properly creates directories 2018-01-14 00:44:33 +00:00
Kazuki Nakanishi 848fb975ed Fix a problem of file append test on Windows (#1431)
* Fix a problem of file append test on Windows

* Skip the test case of file node that fails on Windows

* Remove close() call

* Fixed a recreated file test case on Windows
2017-11-02 16:51:40 +00:00
Nick O'Leary 2aced893c6
File node: recreate write stream when file deleted
Fixes #1351
2017-07-22 22:28:45 +01:00
Nick O'Leary 47e2707fd3
Restore File In node behaviour of sending msg on error 2017-07-04 19:55:09 +01:00
Dave Conway-Jones b91c178200
add "split/stream" ability to file in node
and add teste
2017-06-22 18:41:49 +01:00
Dave Conway-Jones 06ffe722d4 better tests for windows nodes 2017-03-06 17:40:09 +00:00
Nick O'Leary 0a96259ddf
Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
Dave Conway-Jones b2923d0fc4 enhance a couple of tests to check more
Delay node checks  times properly for both types of queue. And File
checks to make sure other payload types are handled (a bit better than
they were)
2016-04-24 17:41:22 +01:00
Dave Conway-Jones d0f57efe0b test a few extra paths in several nodes
trigger, switch and file
(and linted delay just because)
2016-04-23 21:06:48 +01:00
Nick O'Leary 93f5da325b Fix node test helper for runtime/api changes 2016-01-06 17:01:11 +00:00
Edward Vielmetti 005a98d020 Update for node 4 testing.
Changes to .travis.yml
Patch from @dceejay to make a test portable
Patch from @dceejay to correct a case where an int was expected
2015-09-23 15:27:45 -04:00
Dave Conway-Jones 60539d890b Fix File node check of msg.payload to close #700
Also add feature to allow creation of directory(ies) if path to file
does not exist.
2015-07-10 14:59:23 +01:00
Nick O'Leary 5522e57f65 More node i18n tidy-up 2015-07-02 10:49:38 +01:00
Scott Yoshizawa 2fe859b111 NLS Core nodes
NLS exec node

NLS function/temple/delay nodes

NLS function/template/delay/trigger/comment nodes

NLS io nodes (mqtt/httpin/websocket/watch/serial)

NLS messages.json for tcpin

NLS io nodes (tcpin & udp half)

NLS io nodes (udp)

NLS logic nodes (switch/change)

NLS logic (range) and parsers (csv&html) nodes

NLS parser nodes (json/xml)

NLS test case update for logic/parsers

NLS analysis and hardware nodes

NLS storage nodes (file/redisout/mongodb) and test

NLS storage node (tail)

NLS social nodes (feedparse/email/irc)

NLS socal node (twitter half change)

NLS social node (twitter) and core node (unknown)
2015-07-02 10:46:57 +01:00
dceejay 6f84526364 Remove pre-req for mkdirp package.
(fs-extra has all the features needed already)
2015-04-14 18:41:48 +01:00
dceejay 8a5c1bade5 new tests for sentiment, file and csv
(inc a bugfix for csv :-)

tweka of 0.8 ?

temp remove buffer should equall test from file node test

comment out failing test in file node (0.8 specific fail...)

stagger multiple writes slightly in file test
2015-03-25 14:58:57 +00:00