Skip to content

nvx-rs: move the core modules' tests out of their sources #1203

Closed

Description

Pull request: #1195, step 2 of 5, stacked on #1188.

Goal. Move the unit tests of the core modules out of their production files, unchanged.

Contents.

  • The inline tests modules of contract, error, uuid, hypervisor, net, net::cidr, gpt::crc, protocol::share, protocol::status, and testing::fake_openvmm move into their tests.rs files.
  • The code that only tests compile moves into tests modules: RecordParser::payload_capacity into protocol::nvxs::record::tests, and the protocol::cmdline::model module to protocol::cmdline::tests::model.
  • The 12 files leave the allowlist's baseline.

Done when: #1195 merges.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions