Commit graph

19 commits

Author SHA1 Message Date
Romain Beaumont
db1cbd4941
small style fixes following standard migration 2018-05-14 00:20:21 +02:00
Romain Beaumont
e3e0a26dfe
change codestyle to standard + enforce it with circle ci 2018-05-13 22:50:16 +02:00
Romain Beaumont
ad0c76dd72
remove console.log 2018-01-01 22:48:13 +01:00
Romain Beaumont
482a4ecffd
17w50a support 2018-01-01 21:01:23 +01:00
Romain Beaumont
79f82afb91
var -> const/let in examples and tests 2017-07-13 14:03:52 +02:00
Romain Beaumont
d9d1b7a56e
fix 1.12 tests : implement anon fields, set varint test value to 1 for some switch, implement bitfield, don't assume non-anon containers for packets 2017-06-19 14:34:13 +02:00
Romain Beaumont
20dd0710f2 parallel circle ci testing of clientTest.js (#373) (#449)
parallel testing with circle ci, solve #373
2017-05-10 02:49:13 +02:00
Romain Beaumont
00b539d0c7 fix tests and fix #360 2016-02-23 19:37:47 +01:00
Romain Beaumont
88bb301693 fix packet test 2016-02-23 19:11:12 +01:00
Romain Beaumont
25e2cdcf62 update long and packages 2016-02-19 23:43:30 +01:00
Romain Beaumont
09b491f39e https://github.com/roblabla/ProtoDef/pull/50 : update to new numerical names 2016-02-19 16:58:30 +01:00
Romain Beaumont
3132303c2e add new datatypes test values for 1.7, progress on #359 2016-02-19 01:47:44 +01:00
Romain Beaumont
a129d13cf1 use minecraftVersion in tests, stop if no varint in framer 2016-02-19 00:48:39 +01:00
Romain Beaumont
b2b53c9343 a few small changes to make the code better 2015-11-30 22:19:56 +01:00
Romain Beaumont
d25c4a2017 add optionalNbt, use it directly in protocol.json in packets and for defining slot 2015-11-15 17:48:25 +01:00
Romain Beaumont
30d0939968 use prismarine-nbt 0.1.0 and fix some npm warnings 2015-11-15 02:33:32 +01:00
Romain Beaumont
d86a59c393 use protodef utils, fix #295 2015-11-09 15:40:04 +01:00
Romain Beaumont
f45c6dff49 use protodef:
* move general datatypes to protodef along with their tests
* move states to states.js file
* use one protodef serializer by state and direction instead of one big serializer for everything (same thing for the deserializer)
* define a packet as a protodef type using a switch and a container, and adding each minecraft packet as a type (packet_ + name)
* use mapper type from protodef to convert id to name in packet definition
* use general string type : pstring
* divide by 10 the number of iteration in the benchmark to get back to a reasonable test execution time
2015-11-08 23:29:51 +01:00
Romain Beaumont
92b4b2bf8d split the tests in 3 files, fix #265 2015-10-02 02:02:54 +02:00