Added "$" in the end of multi-file namespace internal names to prevent them from having "Test" suffix. This blows JUnit test-runner's mind.

This commit is contained in:
Evgeny Gerashchenko
2012-08-31 19:02:42 +04:00
parent a54776196a
commit bd5b8d3287
@@ -300,6 +300,7 @@ public class NamespaceCodegen extends GenerationStateAware {
substringTo = name.length(); substringTo = name.length();
} }
return namespaceInternalName + "$src$" + name.substring(substringFrom, substringTo); // dollar sign in the end is to prevent synthetic class from having "Test" or other parseable suffix
return namespaceInternalName + "$src$" + name.substring(substringFrom, substringTo) + "$";
} }
} }