Project

General

Profile

Actions

Task #4270

open

Feature #4267: Remove explicit TLV classes

Write tests for the common TLV system.

Added by Nicholas Gordon about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Experimentally, we should write the tests for the revised TLV system first, to see if it helps in our workflow.

Ideally, these tests would show something like, for class X:

  • The function that serializes a given instance of X produces a string matching some expectation.
  • The function that de-serializes a string representing an instance of X will produce an identical instance of X when de-serialized.
  • Any separately-serializable components Y of X also fulfill the above two criteria.

As a corollary of the above, it should be possible to "fabricate" an instance of a given class, by hand.


Related issues 2 (2 open0 closed)

Blocked by NLSR - Task #4269: Design common TLV system.New

Actions
Blocks NLSR - Task #4271: Implement common TLV system.New

Actions
Actions #1

Updated by Nicholas Gordon about 7 years ago

  • Tracker changed from Feature to Task
Actions #2

Updated by Nicholas Gordon about 7 years ago

  • Blocked by Task #4269: Design common TLV system. added
Actions #3

Updated by Nicholas Gordon about 7 years ago

  • Blocks Task #4271: Implement common TLV system. added
Actions

Also available in: Atom PDF