-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Its logic to test that GeneratesCodeProcessor had run before RequiresGeneratedCodeProcessor was incorrect. Specifically: 1. Filer.getResource() does not throw for nonexisting files if the location is the output location. 2. The resource to test should have a ".java" extension. 3. The filer fails if you even try to read a resource that exists. Instead, we just keep track of whether the GeneratesCodeProcessor has run on elements and check that explicitly. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=92832468
- Loading branch information
Showing
1 changed file
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters