Houmgaor
21a66841ab
test: expand pascalstring coverage to 100% with edge cases
2026-02-02 00:25:44 +01:00
Houmgaor
0e2502c9dc
test: add PacketID and core packet tests, expand stringstack coverage
...
- Add network/packetid_test.go with tests for PacketID type, constants,
String() method, ranges, uniqueness, and sequential verification
- Add network/mhfpacket/msg_sys_core_test.go with round-trip tests for
MsgSysAck (including large payloads), MsgSysNop, and MsgSysEnd
- Expand common/stringstack/stringstack_test.go with Lock/Unlock tests
achieving 100% coverage
2026-02-01 23:36:18 +01:00
Houmgaor
e929346bf3
test: add unit tests for core packages
...
Add comprehensive test coverage for:
- common/token: token generation and RNG tests
- common/stringsupport: string encoding, CSV operations
- common/byteframe: binary read/write operations
- common/mhfcourse: course/subscription logic
- network/crypt_packet: packet header parsing
- network/binpacket: binary packet round-trips
- network/mhfpacket: packet interface and opcode mapping
- config: configuration struct and loading
- server/entranceserver: response building
- server/signserver: response ID constants
- server/signv2server: HTTP endpoint validation
- server/channelserver: session, semaphore, and handler tests
All tests pass with race detector enabled.
2026-01-30 00:19:27 +01:00
Houmgaor
c8c0dae8fe
test: imports basic tests, all passing.
2025-11-09 12:36:56 +01:00
wish
a2a4989cda
replace outdated code
2023-03-12 23:36:26 +11:00
wish
ccfd2ac36f
create RNG in token module
2023-03-12 23:29:50 +11:00
wish
5761a38000
extra content
2023-03-12 02:09:36 +11:00
wish
41df26928c
remove useless time initialisers
2023-03-11 23:34:19 +11:00
wish
0a98a651b1
simplify course alias definition
2023-03-11 23:33:48 +11:00
wish
bcb71536ec
initial rights v4 concept
2023-03-11 23:17:14 +11:00
wish
181ea56837
convert token to library
2022-11-07 00:22:16 +11:00
wish
ed3687548c
prevent CSVs from adding existing values
2022-08-16 21:03:30 +10:00
wish
2a65977a44
prevent panic on invalid string transform
2022-08-11 02:53:51 +10:00
wish
816ff0eac5
correct failsafe size on PaddedString transform fail
2022-08-04 22:55:32 +10:00
wish
556198af72
softfail on paddedstring and login cleanup
2022-08-04 21:01:32 +10:00
wish
2c0e7a5267
repository cleanup
2022-07-29 03:25:23 +10:00