|
ContributingToGin
Information on how you can contribute to GIN
Featured Contributing to GINThanks for your interest in contributing to GIN! In general, the process is similar to GWT's extremely well-documented process. Code styleGIN uses the same code style rules as GWT, except that lines are allowed to be 100 characters long. TestingGin contains two groups of tests, in test/com/google/gwt/inject/rebind (rebind) and test/com/google/gwt/inject/client (client). The rebind tests exercise our generator directly, the client tests are GWTTestCases that use the GWT compiler to run the generator (just as any normal Gin application would do) and test the results. The client tests are run twice in the build file, once in hosted/dev mode and once in web/production mode to make sure that no problems come up in either environment. Note: Since the rebind tests depend on GWT compiler internals that frequently change between releases, those tests usually work only with a specific GWT version. We try to keep them updated to the latest official GWT release but if you are trying to send in a patch and they're not up-to-date feel free to fix them. Any code change has to include client tests and for complex calculations also rebind tests. Submitting a patchThis process applies for committers and non-committers alike. Prerequisites:
Process:
|