Project

General

Profile

Actions

Task #1952

closed

Feature #3744: Modularize NLSR

Decouple classes from Nlsr object for easier unit testing

Added by Vince Lehman about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Currently, multiple objects use an Nlsr object as a parameter in their constructor. This makes unit tests difficult since an Nlsr object must be initialized to test these components.

Classes:

  • HelloProtocol

  • Lsdb

  • NamePrefixTable

  • FileProcessor

Instead, the objects should take the information they require from Nlsr as parameters.


Related issues 2 (1 open1 closed)

Related to NLSR - Task #4839: Move setInfoInterestFilter and setLsaInterestFilter to their respective classesNewSaurab Dulal

Actions
Blocks NLSR - Feature #4288: Move sequence number file setting to the constructorClosedAshlesh Gawande

Actions
Actions

Also available in: Atom PDF