Joel Bender
ab70b4a267
simplify xtob
2017-09-12 22:06:22 -04:00
Joel Bender
3e1f813f71
standardize on cleaner state names
2017-09-12 03:03:23 -04:00
Joel Bender
4c1ecffba6
add a call() transition and tests, foreign device registration tests
2017-09-12 02:52:23 -04:00
Joel Bender
209d619994
state and time machine improvements and starting to add BVLL tests
2017-09-11 02:08:01 -04:00
Joel Bender
a050df73a6
offset assignment bug, working around floating point issues, added tests
2017-09-09 22:56:17 -04:00
Joel Bender
1749f2a0af
merging #131 which ended up being lots of tests
2017-09-09 00:55:06 -04:00
Joel Bender
cd5a4653dd
type checking improved, added tests
2017-09-08 15:00:38 -04:00
Joel Bender
a358aae5bb
add 'events' as a way for multiple state machines in the same group to synchronize or signal each other
2017-09-04 01:22:20 -04:00
Joel Bender
776cf996de
move the match_pdu function where it can be easily used in other tests, add a bunch of tests
2017-09-03 01:18:29 -04:00
Joel Bender
ebbf2f0e35
change receive from equality checking to 'criteria' which is an optional class, for isinstance() checking, and keyword name/value pairs, for hasattr() and getattr() checking
2017-09-02 02:06:54 -04:00
Joel Bender
4e052ada85
'indexing' a network, finding a node by address, might be a good idea to reintroduce in the future
2017-08-31 23:49:31 -04:00
Joel Bender
b67ccac080
minor doc update
2017-08-29 22:55:39 -04:00
Joel Bender
920793543d
replace the start_state.success() with start_state.timeout().success() to make sure a node gets nothing
2017-08-17 12:56:41 -04:00
Joel Bender
2fa62dfe5f
add an IPRouter and tests
2017-08-17 02:53:15 -04:00
Joel Bender
f1d4626527
add crude virtual IP network classes and tests
2017-08-16 23:24:07 -04:00
Joel Bender
75b3e1af6b
remove the restriction on VLAN nodes to have address of type Address
2017-08-15 00:21:39 -04:00
Joel Bender
c58d255153
clean up the comments
2017-08-11 18:00:00 -04:00
Joel Bender
a2933abdad
additional test and documentation
2017-08-08 00:32:29 -04:00
Joel Bender
572dfdf300
more experience writing networking/state machine tests
2017-08-07 23:25:52 -04:00
Joel Bender
b174095a47
remove send() and match_pdu() from TrappedStateMachine so it is a cleaner set of functionality, add a new TSMachine class in the test code so the tests can remain the same
2017-08-07 00:25:16 -04:00
Joel Bender
c91b3d6948
group the functions together
2017-08-07 00:21:33 -04:00
Joel Bender
ce0b176e70
trying out test code pattern
2017-08-03 14:54:53 -04:00
Joel Bender
fa96fcaf0b
add doc strings because I keep forgetting the order
2017-08-03 14:53:48 -04:00
Joel Bender
f96dfa63f8
add a little debugging
2017-08-03 14:53:02 -04:00
Joel Bender
949108e2d5
add an __init__ method to see when it gets called, fix debugging
2017-07-19 00:56:26 -04:00
Joel Bender
be197b511a
blank files for tests
2017-06-26 17:56:22 -04:00
Joel Bender
40a9a7892d
add the capabillity module and tests
2016-08-27 18:49:56 -04:00
Joel Bender
3d18cf1f85
wrote some tests, found a bug
2016-08-24 10:45:35 -04:00
Joel Bender
aecb06c727
fix the names of the encode and decode functions
2016-08-23 16:17:04 -04:00
Joel Bender
168e32fc79
merge in stage to bring branch up-to-date for testing
2016-08-22 00:03:53 -04:00
Joel Bender
95e3de3a01
start some tests
2016-07-08 07:30:23 -04:00
Joel Bender
65aaf89a34
move the setup to the module, split the one big test into two
2016-05-11 17:29:30 -04:00
Joel Bender
869ab21b95
fix debugging output
2016-05-11 17:28:15 -04:00
Joel Bender
49f597bba8
add the template to the basic tests
2016-05-11 17:27:56 -04:00
Joel Bender
5e0e5db72b
add the service access point test
2016-05-10 23:09:41 -04:00
Joel Bender
c123a2707b
add some more trapped classes
2016-05-10 21:54:22 -04:00
Joel Bender
56481f6d2e
wrong class name -- oops
2016-05-10 21:53:28 -04:00
Joel Bender
5e2eface5d
additional trapped classes
2016-05-09 00:16:55 -04:00
Joel Bender
333d6cc66b
end-at-eof muck
2016-05-09 00:16:06 -04:00
Joel Bender
c755781c1b
start with the template
2016-05-09 00:15:33 -04:00
Joel Bender
568507355b
trapped classes moved
2016-05-09 00:14:16 -04:00
Joel Bender
b85af12313
trapped classes module moved
2016-05-09 00:10:55 -04:00
Joel Bender
c2bfeb6073
move the trapped classes where they are a little more accessible
2016-05-07 23:17:35 -04:00
Joel Bender
67e338c4ce
add some simple state machine group tests
2016-05-07 23:16:59 -04:00
Joel Bender
a7dce69e77
add flags for success/fail
2016-05-07 23:16:07 -04:00
Joel Bender
fe356bb8aa
move the trapped classes where they are a little more accessible
2016-05-07 23:15:05 -04:00
Joel Bender
a5bb3166ed
include the extended tag list tests
2016-05-07 20:27:49 -04:00
Joel Bender
7e111a4a61
include the extended tag list tests
2016-05-07 20:26:15 -04:00
Joel Bender
1465deb43e
merge in stage and fix conflicts
2016-05-07 16:56:21 -04:00
Joel Bender
2eb860e08a
remove flakes
2016-05-07 16:06:10 -04:00
Joel Bender
0d8f237754
convert tests from nose to pytest
2016-05-07 15:53:58 -04:00
Joel Bender
970c47ec8d
wrong super() call, typos
2016-05-02 21:38:03 -04:00
Joel Bender
23893cf181
simplify the trapped classes, move bacpypes_debugging to decorator style
2016-05-02 21:33:58 -04:00
Joel Bender
917d138d5a
import the trapped classes so bacpypes_debugging gets to work on the content
2016-05-02 21:32:58 -04:00
Joel Bender
73aea89ada
upgrade the state machine classes
2016-05-02 21:19:08 -04:00
Joel Bender
e80c1ad05a
bring the branch up to date before continuing on #58
2016-04-30 23:30:55 -04:00
Joel Bender
99cb079492
check the instance number and add a test for it
2016-04-29 20:23:59 -04:00
Joel Bender
539c0b47d3
remove flakes
2016-02-27 22:40:30 -05:00
Joel Bender
f016de324f
add tests for the extended tag list
2016-02-27 22:39:18 -05:00
Joel Bender
b983e3e2af
clean up debugging
2016-02-27 22:22:43 -05:00
Joel Bender
c96ff1e018
move the line parsing function outside the class to make it easier to test
2016-02-27 20:10:25 -05:00
Joel Bender
63fcea1626
extended tag list ready to be put to work
2016-02-27 19:52:20 -05:00
Joel Bender
fa71fea8fd
import the tests in the directory to follow the pattern
2016-02-27 19:35:02 -05:00
Joel Bender
fad28f05b9
add some more placeholders for more tests
2016-02-27 19:23:51 -05:00
Joel Bender
6804298aa5
synchronize the py27 changes into py25 and py34, fix the test to match the new exception
2016-02-26 20:55:56 -05:00
Joel Bender
60cba9c949
adjust the tests to expect the InvalidTag exception
2015-09-25 22:27:14 -04:00
Joel Bender
41a66ad92d
concluding merge of issue-48 changes
2015-09-06 00:54:28 -04:00
Joel Bender
0a40541576
manually merge in the appropriate differences between issue-38 and issue-48
2015-09-06 00:46:59 -04:00
Joel Bender
b5d2b56191
make the str() of a CharacterString more closely match an OctetString because the strValue is an octet string
2015-09-05 23:56:56 -04:00
Joel Bender
6d804c4df1
match tests with updated str() results
2015-09-05 23:40:30 -04:00
Joel Bender
2bdfcae2bf
changing the str() function to more closely match the other primitive types
2015-09-05 22:39:09 -04:00
Joel Bender
725ea476b8
missed a conflict
2015-09-05 22:36:53 -04:00
Joel Bender
d0249dd799
bring issue up-to-date with the stage
2015-09-05 18:07:01 -04:00
Joel Bender
af7e2e34a4
date class rolled in
2015-09-05 18:02:17 -04:00
Joel Bender
2f14f1d87b
remove tests that should have been removed before - odd - sigh
2015-09-01 11:20:38 -04:00
Joel Bender
3de6409f9e
move test modules into subdirectories
2015-08-31 22:59:48 -04:00
Joel Bender
1881dcfdbc
merge issue-48 branch for discussion
2015-08-31 22:35:49 -04:00
Christian Tremblay, ing
b483a3608b
Removed files from branch... they should not be there
...
Signed-off-by: Christian Tremblay, ing. <christian.tremblay@servisys.com>
2015-08-31 22:10:27 -04:00
Christian Tremblay, ing
4a2770c5d6
Tried to add a lot of flexibility to the Date object.
...
Regex now recognize a lot of different formats
Deal with errors when trying to find day of week
test_date.py covers a lot of different formats but can be improved.
Signed-off-by: Christian Tremblay, ing. <christian.tremblay@servisys.com>
2015-08-31 22:06:44 -04:00
Joel Bender
dea0667930
line up the tests
2015-08-25 10:33:12 -04:00
Joel Bender
0e0bc2a530
enabled tests
2015-08-24 23:34:51 -04:00
Joel Bender
053a8fd418
test passes, good to go
2015-08-24 22:57:51 -04:00
Joel Bender
a0535f621a
add some tests
2015-08-24 22:16:58 -04:00
Christian Tremblay, ing
5dc0349d39
Merge branch 'master' of https://github.com/JoelBender/bacpypes
2015-08-24 20:29:41 -04:00
Joel Bender
46f9b19fbf
make it a little easier to create application encoded integer tags
2015-08-24 13:39:11 -04:00
Joel Bender
1dcbddeca8
additional tag and tag list tests
2015-08-23 22:43:31 -04:00
Joel Bender
95d949bcfc
add the -very crude- character string tests
2015-08-21 22:55:08 -04:00
Joel Bender
b9fda816ed
just the outline of tag tests
2015-08-21 00:58:58 -04:00
Joel Bender
f0445907a8
added object type tests, found a missing feature, issue #52
2015-08-21 00:00:16 -04:00
Joel Bender
a3005ea17c
enabled enumeration tests after fixing #51
2015-08-20 23:25:04 -04:00
Joel Bender
14924a3272
added enumeration tests and found bugs, made issues #50 and #51
2015-08-20 23:09:34 -04:00
Joel Bender
315b586a90
add object identifier tests (see issues, missing vendor tests)
2015-08-20 00:34:58 -04:00
Joel Bender
53a0447bd2
add date tests
2015-08-20 00:11:52 -04:00
Joel Bender
e0c647f1bb
add time tests
2015-08-19 23:58:37 -04:00
Joel Bender
399ea3f93c
add some bit string tests
2015-08-14 14:24:52 -04:00
Joel Bender
a99e0f4664
ready to do time next I think
2015-08-13 16:20:32 -04:00
Joel Bender
c461566fb2
merging in issue-38, but I'm leaving the issue open until the rest of the datatypes are finished
2015-08-13 14:18:17 -04:00
Joel Bender
e12523eeee
explicit checking for NaN
2015-08-12 09:07:57 -04:00
Joel Bender
22c5fe48f3
add octet string tests
2015-08-11 22:46:20 -04:00
Joel Bender
0d14583c41
add double tests
2015-08-11 22:35:13 -04:00