Skip to content

Automatic header-translator test generation #453

Open
@madsmtm

Description

@madsmtm

We should generate tests to ensure that the output of header translation is correct.

These does not necessarily need to be included within icrate, to reduce crates.io download size.

Ideas for tests:

  • ClassType::class works.
  • ClassType::alloc works.
  • Test method encodings (dynamic vs. declared). EDIT: Done in 0bdb036.
  • Test type encodings (using Entity::get_objc_type_encoding).
  • Test statics. EDIT: Done in 9c07a2f
  • Struct sizes and alignment.
  • ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frameworkAffects the framework crates and the translator for themenhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions