Bram Moolenaar
39b21272d5
patch 7.4.1301
...
Problem: Missing options in ch_open().
Solution: Add s:chopt like in the other calls. (Ozaki Kiichi)
2016-02-10 23:28:21 +01:00
Bram Moolenaar
2ab375e54e
patch 7.4.1300
...
Problem: Cannot test CursorMovedI because there is typeahead.
Solution: Add disable_char_avail_for_testing().
2016-02-10 22:23:06 +01:00
Bram Moolenaar
f6157284de
patch 7.4.1299
...
Problem: When the server sends a message with ID zero the channel handler
is not invoked. (Christian J. Robinson)
Solution: Recognize zero value for the request ID. Add a test for invoking
the channel handler.
2016-02-10 21:07:14 +01:00
Bram Moolenaar
d6a8d48587
patch 7.4.1298
...
Problem: When the channel test fails in an unexpected way the server keeps
running.
Solution: Use try/catch. (Ozaki Kiichi)
2016-02-10 20:32:20 +01:00
Bram Moolenaar
a483326e3b
patch 7.4.1297
...
Problem: On Mac test_channel leaves python instances running.
Solution: Use a small waittime to make ch_open() work. (Ozaki Kiichi)
2016-02-09 23:33:25 +01:00
Bram Moolenaar
b92abad0c5
patch 7.4.1291
...
Problem: On MS-Windows the channel test server doesn't quit.
Solution: Use return instead of break. (Ken Takata)
2016-02-08 22:37:24 +01:00
Bram Moolenaar
0fa98e7b85
patch 7.4.1289
...
Problem: Channel test fails on MS-Windows, connect() takes too long.
Solution: Adjust the test for MS-Windows using "waittime".
2016-02-07 22:21:19 +01:00
Bram Moolenaar
74f5e65bcc
patch 7.4.1287
...
Problem: Channel test fails.
Solution: Use reltimefloat().
2016-02-07 21:44:49 +01:00
Bram Moolenaar
7a84dbe6be
patch 7.4.1286
...
Problem: ch_open() with a timeout doesn't work correctly.
Solution: Change how select() is used. Don't give an error on timeout.
Add a test for ch_open() failing.
2016-02-07 21:29:00 +01:00
Bram Moolenaar
cb00f03933
Add missing test file.
2016-02-07 21:25:56 +01:00
Bram Moolenaar
79c2c881bb
patch 7.4.1285
...
Problem: Cannot measure elapsed time.
Solution: Add reltimefloat().
2016-02-07 21:19:28 +01:00
Bram Moolenaar
dc94a26a64
patch 7.4.1284
...
Problem: Test 49 fails.
Solution: Check for a different error message.
2016-02-07 20:29:00 +01:00
Bram Moolenaar
ea8c219ca8
patch 7.4.1281
...
Problem: No test for skipping over code that isn't evaluated.
Solution: Add a test with code that would fail when not skipped.
2016-02-07 19:27:53 +01:00
Bram Moolenaar
595e64e259
patch 7.4.1279
...
Problem: jsonencode() is not producing strict JSON.
Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode()
strict.
2016-02-07 19:19:53 +01:00
Bram Moolenaar
55fab439a6
patch 7.4.1278
...
Problem: When jsonencode() fails it still returns something.
Solution: Return an empty string on failure.
2016-02-07 16:53:13 +01:00
Bram Moolenaar
835dc636a5
patch 7.4.1274
...
Problem: Cannot run a job.
Solution: Add job_start(), job_status() and job_stop(). Currently only works
for Unix.
2016-02-07 14:27:38 +01:00
Bram Moolenaar
3712792637
patch 7.4.1271
...
Problem: assert_false(v:false) reports an error. (Nikolai Pavlov)
Solution: Recognize v:true and v:false. (Closes #625 )
2016-02-06 20:29:28 +01:00
Bram Moolenaar
4f8b8faec3
patch 7.4.1269
...
Problem: Encoding {'key':} to JSON doesn't give an error (Tyru)
Solution: Give an error.
2016-02-06 18:42:07 +01:00
Bram Moolenaar
f416086f26
patch 7.4.1265
...
Problem: Not all channel commands are tested.
Solution: Add a test for "normal", "expr" and "redraw".
2016-02-05 23:09:12 +01:00
Bram Moolenaar
6076fe1986
patch 7.4.1264
...
Problem: Crash when receiving an empty array.
Solution: Check for array with wrong number of arguments. (Damien)
2016-02-05 22:49:56 +01:00
Bram Moolenaar
4d919d748e
patch 7.4.1263
...
Problem: ch_open() hangs when the server isn't running.
Solution: Add a timeout. Use a dict to pass arguments. (Yasuhiro Matsumoto)
2016-02-05 22:36:41 +01:00
Bram Moolenaar
a07fec9c85
patch 7.4.1262
...
Problem: The channel callback is not invoked.
Solution: Make a list of pending callbacks.
2016-02-05 21:04:08 +01:00
Bram Moolenaar
a8343c1808
patch 7.4.1260
...
Problem: The channel feature doesn't work on Win32 GUI.
Solution: Use WSAGetLastError(). (Ken Takata)
2016-02-04 22:09:48 +01:00
Bram Moolenaar
3fc3e14282
patch 7.4.1259
...
Problem: No test for what patch 7.3.414 fixed.
Solution: Add a test. (Elias Diem)
2016-02-04 21:53:33 +01:00
Bram Moolenaar
a02b321686
patch 7.4.1258
...
Problem: The channel test can fail if messages arrive later.
Solution: Add a short sleep. (Jun T.)
2016-02-04 21:03:33 +01:00
Bram Moolenaar
e24692573a
patch 7.4.1257
...
Problem: Channel test fails in some configurations.
Solution: Add check for the +channel feature.
2016-02-04 10:54:34 +01:00
Bram Moolenaar
b3e2f00f39
patch 7.4.1256
...
Problem: On Mac sys.exit(0) doesn't kill the test server.
Solution: Use self.server.shutdown(). (Jun Takimoto)
2016-02-04 00:11:37 +01:00
Bram Moolenaar
66624ff0d9
patch 7.4.1255
...
Problem: Crash for channel "eval" command without third argument.
Solution: Check for missing argument.
2016-02-03 23:59:43 +01:00
Bram Moolenaar
3b05b135e3
patch 7.4.1254
...
Problem: Opening a second channel causes a crash. (Ken Takata)
Solution: Don't re-allocate the array with channels.
2016-02-03 23:25:07 +01:00
Bram Moolenaar
608a8919ca
patch 7.4.1253
...
Problem: Python test server not displaying second of two commands.
Solaris doesn't have "pkill --full".
Solution: Also echo the second command. Use "pkill -f".
2016-02-03 22:39:51 +01:00
Bram Moolenaar
e7bed627c8
patch 7.4.1252
...
Problem: The channel test server may receive two messages concatenated.
Solution: Split the messages.
2016-02-03 22:20:29 +01:00
Bram Moolenaar
fcb1e3d168
patch 7.4.1249
...
Problem: Crash when the process a channel is connected to exits.
Solution: Use the file descriptor properly. Add a test. (Damien)
Also add a test for eval().
2016-02-03 21:32:46 +01:00
Bram Moolenaar
f92591f7f9
patch 7.4.1248
...
Problem: Can't reliably stop the channel test server. Can't start the
server if the python file is not executable.
Solution: Use "pkill" instead of "killall". Run the python file as an
argument instead of as an executable.
2016-02-03 20:22:32 +01:00
Bram Moolenaar
a0f9cd148e
patch 7.4.1247
...
Problem: The channel test doesn't run on MS-Windows.
Solution: Make it work on the MS-Windows console. (Ken Takata)
2016-02-03 20:13:24 +01:00
Bram Moolenaar
7c764f7bbf
Make the python script executable.
2016-02-02 23:33:43 +01:00
Bram Moolenaar
d7ece1008e
patch 7.4.1246
...
Problem: The channel functionality isn't tested.
Solution: Add a test using a Python test server.
2016-02-02 23:23:02 +01:00
Bram Moolenaar
155500077c
patch 7.4.1228
...
Problem: copy() and deepcopy() fail with special variables. (Nikolai
Pavlov)
Solution: Make it work. Add a test. Closes #614 .
2016-01-31 18:45:24 +01:00
Bram Moolenaar
a542c680a8
patch 7.4.1223
...
Problem: Crash when setting v:errors to a number.
Solution: Free the typval without assuming its type. (Yasuhiro Matsumoto)
2016-01-31 16:28:04 +01:00
Bram Moolenaar
6650a69454
patch 7.4.1181
...
Problem: free_tv() can't handle special variables. (Damien)
Solution: Add the variable type.
2016-01-26 19:59:10 +01:00
Bram Moolenaar
ac80999985
add missing test file
2016-01-25 22:44:54 +01:00
Bram Moolenaar
7465c6375f
patch 7.4.1180
...
Problem: Crash with invalid argument to glob2regpat().
Solution: Check for NULL. (Justin M. Keyes, closes #596 ) Add a test.
2016-01-25 22:20:27 +01:00
Bram Moolenaar
f4f79b84a5
patch 7.4.1179
...
Problem: test_writefile and test_viml do not delete the tempfile.
Solution: Delete the tempfile. (Charles Cooper) Add DeleteTheScript().
2016-01-25 20:38:30 +01:00
Bram Moolenaar
767d8c1a1a
patch 7.4.1178
...
Problem: empty() doesn't work for the new special variables.
Solution: Make empty() work. (Damien)
2016-01-25 20:22:54 +01:00
Bram Moolenaar
65591001e4
patch 7.4.1173
...
Problem: No test for new behavior of v:true et al.
Solution: Add a test.
2016-01-24 21:51:57 +01:00
Bram Moolenaar
f48aa160fd
patch 7.4.1168
...
Problem: This doesn't give the right result: eval(string(v:true)). (Nikolay
Pavlov)
Solution: Make the string "v:true" instead of "true".
2016-01-24 17:54:24 +01:00
Bram Moolenaar
0436922965
patch 7.4.1167
...
Problem: No tests for "is" and "isnot" with the new variables.
Solution: Add tests.
2016-01-24 17:21:29 +01:00
Bram Moolenaar
fcaaae6b3f
patch 7.4.1166
...
Problem: Can't encode a Funcref into JSON. jsonencode() doesn't handle the
same list or dict twice properly. (Nikolay Pavlov)
Solution: Give an error. Reset copyID when the list or dict is finished.
2016-01-24 16:49:11 +01:00
Bram Moolenaar
6039c7f053
patch 7.4.1164
...
Problem: No tests for comparing special variables. Error in jsondecode()
not reported. test_json does not work Japanse system.
Solution: Set scriptencoding. (Ken Takata) Add a few more tests. Add error.
2016-01-24 15:05:32 +01:00
Bram Moolenaar
17a13437c9
patch 7.4.1163
...
Problem: Expressions "0 + v:true" and "'' . v:true" cause an error.
Solution: Return something sensible when using a special variable as a
number or as a string. (suggested by Damien)
2016-01-24 14:22:10 +01:00
Bram Moolenaar
2faa29f896
patch 7.4.1161
...
Problem: ":argadd" without argument is supposed to add the current buffer
name to the arglist.
Solution: Make it work as documented. (Coot, closes #577 )
2016-01-23 23:02:34 +01:00