Project

General

Profile

Actions

Task #4492

open

nfdc XML report and nfd-status-http-server test case

Added by Junxiao Shi about 6 years ago. Updated about 2 years ago.

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

0%

Estimated time:
5.00 h

Description

nfdc status report format xml command produces an XML document that

  1. should conform to docs/_static/nfd-status.xsd schema;
  2. is translatable with tools/nfd-status-http-server-files/nfd-status.xsl.

However, neither is tested.

This issue is to add a unit test or CI script that

  1. invokes nfdc status report format xml command or its underlying functions to produce a XML document with various elements, covering every choice in schema and XSLT;
  2. validates the XML document against the schema;
  3. transforms the XML document to HTML with the XSLT;
  4. validates the transformed document against HTML DTD.

The test does not cover the CSS stylesheet applied to the HTML document, or how the HTML document is rendered.

Actions #1

Updated by Davide Pesavento about 6 years ago

  • Tracker changed from Feature to Task
  • Start date deleted (02/08/2018)
Actions #2

Updated by Davide Pesavento over 5 years ago

  • Tags set to UnitTests
Actions #3

Updated by Junxiao Shi about 2 years ago

  • Description updated (diff)

Corrected typo in .xsd filename.

Actions

Also available in: Atom PDF