Skip to content

Test code in HandlerVisitorImplTest suggests that the return value of the HandlerStub calls is relevant #2

@mhdirkse

Description

@mhdirkse

The class HandlerStubVisitorImpl calls a HandlerRunner instance. This HandlerRunner calls the right method on the generated handler interface; in the test this is HandlerStub. The testcode tests that the return value of HandlerRunner is properly used, but the interaction between the HandlerRunner and the HandlerStub is not tested. The code suggests otherwise, because the return value is specified in the constructor of HandlerStub.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions