1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00
Commit Graph

148 Commits

Author SHA1 Message Date
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
Joel Bender
a4ccab87bb change to the _copy names for copy-constructor-like tests 2015-08-11 22:23:50 -04:00
Joel Bender
ef6359c52e add real tests 2015-08-11 22:23:33 -04:00
Joel Bender
92baf4dd6e add unsigned tests 2015-08-11 21:49:05 -04:00
Joel Bender
42cf41e84e add boolean tests, sync parameter names so modules read the same 2015-08-11 21:41:43 -04:00
Joel Bender
bd48ad4788 tests for null objects 2015-08-11 21:28:32 -04:00
Joel Bender
a9f12dbfdf add some failures and ctor value from tag 2015-08-11 18:59:12 -04:00
Joel Bender
f6dadbf22e start simple with integer objects, other files are empty placeholders 2015-08-11 00:16:42 -04:00
Joel Bender
11caa8a18a add __lt__ function to make tasks orderable (so heappush is happy in py34), update metaclass syntax in py34 singleton 2015-08-09 23:26:03 -04:00
Joel Bender
67245e2184 simplify the variable names for the client state machine test and add the server state machine test 2015-08-09 21:34:29 -04:00
Joel Bender
5c48d915e8 add tests 2015-08-09 12:32:44 -04:00
Joel Bender
cfce2d30cb add tests for state transition timeouts using the time machine 2015-08-09 12:32:09 -04:00
Joel Bender
816c652bbf include time limit in tests, add some tests 2015-08-09 12:30:47 -04:00
Joel Bender
1a20f27c8f add trapped client and server classes 2015-08-09 12:29:29 -04:00
Joel Bender
46249dd55a make the time limit manditory, and make sure the machine runs up to, but does not exceed, the limit 2015-08-09 12:28:46 -04:00
Joel Bender
523e462fbf rename the test task manager to TimeMachine 2015-08-08 22:07:38 -04:00
Joel Bender
9300a483d1 still working time machine simulator 2015-08-07 17:02:31 -04:00
Joel Bender
379156b1e6 create a test task manager, which could use some tests...lol 2015-08-06 23:57:16 -04:00
Joel Bender
9e72caa716 shuffling test components around, adding additional state machine tests 2015-08-06 23:45:03 -04:00
Joel Bender
8858c81aa7 move the trapped classes to their own module 2015-08-06 21:53:14 -04:00
Joel Bender
0f37c39191 starting to put together state machine tests 2015-08-05 23:52:19 -04:00
Joel Bender
db3369af40 if the start_state or unexpected_receive_state parameters were provided, bind them to the machine and keep track of them 2015-08-05 23:49:36 -04:00
Joel Bender
a8149cd5dc add a reset function to states, call it when the state machine resets 2015-08-05 23:28:23 -04:00
Joel Bender
f01c0cab17 empty shell for testing state machines 2015-08-03 16:00:41 -04:00
Joel Bender
298f1d4103 state machine classes are added and deflaked, tests are next 2015-08-03 15:52:56 -04:00
Joel Bender
181e224ae0 a little better parameter type checking, a lot more tests 2015-08-03 14:29:58 -04:00
Joel Bender
2c0280c6c4 add some address testing 2015-08-03 00:56:20 -04:00
Christian Tremblay, ing
d84ccba306 Added tests to suite
Signed-off-by: Christian Tremblay, ing. <christian.tremblay@servisys.com>
2015-07-27 21:36:12 -04:00
Joel Bender
717a2dfa63 typo 2015-07-17 10:44:44 -04:00
Joel Bender
d40a022c5c move test code to py25 syntax 2015-07-17 10:42:34 -04:00
Joel Bender
f0af96c55b remove flakes 2015-07-17 09:24:05 -04:00
Joel Bender
2a63f9a25d initial commit 2015-07-15 16:51:27 -04:00