summaryrefslogtreecommitdiffstats
path: root/nserver/tests/protocol_tests.c
Commit message (Collapse)AuthorAgeFilesLines
* nserver/ -> ./rsiddharth2020-04-171-202/+0
|
* nserver: Add license text to source files.rsiddharth2020-04-171-0/+5
|
* nserver: Add ssload.rsiddharth2020-04-171-0/+12
| | | | | | * nserver/src/protocol.c (ssload): New function definition. * nserver/src/protocol.h (ssload): New function declaration. * nserver/tests/protocol_tests.c (test_ssload): New test.
* nserver: Update test_ssdelete.rsiddharth2020-04-171-1/+1
| | | | * nserver/tests/protocol_tests.c (test_ssdelete): Fix test.
* nserver: Add ssstore.rsiddharth2020-04-171-0/+13
| | | | | | * nserver/src/protocol.c (ssstore): New function definition. * nserver/src/protocol.h (ssstore): New function declaration. * nserver/tests/protocol_tests.c (test_ssstore): New test.
* nserver/tests: Update protocol_tests.c.rsiddharth2020-04-171-6/+36
| | | | | * nserver/tests/protocol_tests.c (test_sscreate) (test_sssample, test_ssmean, test_ssdump): Add delete flag test.
* nserver/src/protocol.c: Updat ssdelete.rsiddharth2020-04-171-1/+1
| | | | | | * nserver/src/protocol.c (ssdelete): Refactor to use TSTree. (hash): Remove static variable. No longer used. * nserver/tests/protocol_tests.c (all_tests): Uncomment test_ssdelete.
* nserver: Refactor sslist.rsiddharth2020-04-171-4/+4
| | | | | * nserver/src/protocol.c (sslist): Refactor sslist to use TSTree. * nserver/tests/protocol_tests.c (test_sslist): Update test.
* nserver/src/protocol.c: Refactor ssdump.rsiddharth2020-04-171-3/+3
| | | | | * nserver/src/protocol.c (ssdump): Refactor function to use TSTree. * server/tests/protocol_tests.c (test_ssdump): Updat test.
* nserver: Update ssmean.rsiddharth2020-04-171-2/+2
| | | | | | * nserver/src/protocol.c (ssmean): Rewrite to use TSTree instead of Hashmap. * nserver/tests/protocol_tests.c (test_ssmean): Update test.
* nserver/src/protocol.c: Update sssample.rsiddharth2020-04-171-0/+9
| | | | | | * nserver/src/protocol.c (sssample): Call ssample_parent on key. * nserver/tests/protocol_tests.c (test_sscreate, test_sssample): Update tests to test ssample_parent.
* nserver/tests/protocol_tests.c;: Updat test_sscreate.rsiddharth2020-04-171-1/+4
| | | | * nserver/tests/protocol_tests.c (test_sscreate): Update test.
* nserver/src/protocol.c: Update ssample.rsiddharth2020-04-171-3/+3
| | | | | * nserver/src/protocol.c (ssample): Refactor to use TSTree. * nserver/tests/protocol_tests.c (test_ssample): Update test.
* nserver: protocol.h: Update sssample.rsiddharth2020-04-171-15/+15
| | | | | | | * nserver/src/protocol.c (sssample): Return mean on success. * nserver/src/protocol.h (sssample): Change return data type to double. * nserver/tests/protocol_tests.c (test_sssample): Update test.
* nserver: protocol.h: Add sslist.rsiddharth2020-04-171-0/+12
| | | | | | | * nserver/src/protocol.c (sslist): New function. * nserver/src/protocol.h (sslist): New function declaration. * nserver/tests/protocol_tests.c (test_sslist): Test fr sslist. (all_tests): Add test_sslist.
* nserver: protocol: Define ssdump.rsiddharth2020-04-171-0/+29
| | | | | | * nserver/src/protocol.c (ssdump): New function. * nserver/tests/protocol_tests.c (test_ssdump): New test. (all_tests): Add test_ssdump.
* nserver: protocol: Define ssdelete.rsiddharth2020-04-171-0/+17
| | | | | | * nserver/src/protocol.c (ssdelete): New function. * nserver/tests/protocol_tests.c (test_ssdelete): New test. (all_tests): Add test_ssdelete.
* nserver: protocol: Define ssmean.rsiddharth2020-04-171-0/+17
| | | | | | * nserver/src/protocol.c (ssmean): New function. * nserver/tests/protocol_tests.c (test_ssmean): New test. (all_tests): ADd test_ssmean.
* nserver: protocol: Define sssample.rsiddharth2020-04-171-0/+29
| | | | | | * nserver/src/protocol.c (sssample): New function. * nserver/tests/protocol_tests.c (test_sssample): New test. (all_tests): Add test_sssample.
* nserver/tests: Update test_sscreate.rsiddharth2020-04-171-2/+2
| | | | Change key names.
* nserver/tests: Update test_sscreate.rsiddharth2020-04-171-1/+4
|
* nserver: Add protocol_tests.crsiddharth2020-04-171-0/+23