Skip to content

Manifold acceptance tests #139

@ascopes

Description

@ascopes

If possible, add acceptance tests for Manifold framework.

http://manifold.systems/

This was attempted previously but issues arose around JCT using a custom classloader implementation rather than a URLClassLoader like the StandardFileManager uses. This issue should now be resolved since we are using a URLClassLoader implementation now.

Other constraints may stop this from being able to be implemented, but it is worth a shot as if it works, it will give us a bunch of additional test cases for integrating with existing projects; especially since I believe Manifold works similar to Lombok in that it alters the AST of compiled sources.

From what I remember, Manifold uses JavacPlugin bases in some places rather than javax.annotation.processing.Processor bases, so this should be a useful additional test to prove that JCT is compatible with the logic flows that Javac uses internally.


I'd ideally like to have several different annotation processor tests for this. At a minimum, the following would be nice to have:

  • preprocessor (#define)
  • extension methods
  • operator overloading
  • unit expressions (var velocity = 100 mi / 3 hr;)

All of the tests can live under the same Maven module rather than separate modules for everything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuegood first issue for contributorstestingImprovements to test packs

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions