Skip to content

C11: Test suite migration to fingerprint::Vendor #55

Description

@filipeforattini

Parent

#46

What to build

Migrate every test that imports error::AntibotVendor or antibot::ChallengeVendor to use fingerprint::detection::Vendor directly. Affected files: tests/escalation.rs, tests/session_scope_policy.rs, tests/antibot_detection.rs, plus any #[cfg(test)] mod tests block in src/antibot/* or src/error.rs that constructs the legacy enums.

After this slice, no test code in the crate references the deprecated enums. C14 can then delete them without test-suite fallout.

Acceptance criteria

  • tests/escalation.rs migrated — all cases use fingerprint::Vendor and Fingerprinter::analyze_hot (or the helper from C2)
  • tests/session_scope_policy.rs migrated — ChallengeVendor::* references replaced with Vendor::*
  • tests/antibot_detection.rs migrated
  • Any in-source #[cfg(test)] blocks referencing the legacy enums migrated
  • cargo test --all-features --no-fail-fast: zero deprecation warnings from test code; same pre-existing lib failure count
  • All migrated tests pass

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds-triageAwaiting triagerustPull requests that update rust code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions