Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ERRAI-1075: Integration tests using APT generators (#316)

* Allow multiple @ErraiApps in same jar

* Generating code for multiple @ErraiApp annotations. With problems.

* Fixed many errors in errai-ui tests APT codegen

* Partially fix errai-bus tests code generation

* Fix ErraiAptExportedTypes tests

* Fix multidimensional arrays marshaller factory generation

* Configured APT generators for errai-ioc. There are error still.

* Configure APT generators for errai-ioc-bus-support. There are still errors.

* Configure APT generators for errai-cdi-server. Fix export file exported public types

* Fix exporting only public elements in Export Files for good

* Fix exporting parameters of methods/constructors annotated with @Inject

* Fix exporting primitive values

* Configure APT generators for errai-data-binding.

* Configure APT generators for errai-jaxrs-client

* Configure APT generators for errai-navigation and errai-validation. Still broken.

* Fix random error caused by local exportable types not being erased

* Make generators be exported as part of their ErraiModule

* Remove test

* Removed unused parameter

* Reorganize tests in errai-security and configure APT generators

* Fix stylesheet files discovery

* Fix stylesheet load for reals

* Fix class name of generated files for local @ErraiApps

* Revert some undesired changes

* Prepared for running tests with apt-generated code

* Create GWT Module file generator to override rebinding rules for APT-generated code

* GWT modules being adapted to apt-generated classes in demos as well

* Place gwtModuleName in @ErraiApp

* Moved GWT module generation to ErraiAppAptGenerator

* Added additionalClassElement configuration to errai-ui

* Improve switch between generating code using APT or GWT generators

* General improvements

* Add testResources configuration to errai-ui

* Configure remaining test @ErraiApps in errai-cdi-server

* More tests configuration

* Remove comments on ErraiGenerators

* Fix errai-security-client IT tests code generation error

* General fixes

* Fixed some tests and add MetaMethodTest for all MetaMethod impls

* Add asyncBeanManager property to async tests @ErraiApp

* Add scope to un-annotated implementations of interface

* Make APTClass be the first option in MetaClassFactory

* Fix error in MetaClassFactory.get

* Resolved primitive issues in MetaClassFactory.loadClass

* Resolved primitive issues in MetaClassFactory.loadClass

* Make sure APTClassUtil is not initialized before codegen tests

* Fix broken test

* Make errai-codegen tests use APTClass before using JavaReflectionClass

* PR general pass

* Rollbcak unneeded change

* Create errai-ioc-extension-tests

* Add log4j.properties to errai-navigation tests

* CDI IOCExtensions now stay in another module and are pre-compiled

* Created mechanism to define exporting strategies depending on the annotation

* Replaced ExportedAnnotations for ExportingStrategies configuration class

* Fixed tests

* Small refactors

* Minor fixes/refactorings

* Fixed errai-navigation tests. Attemp to fix errai-validation but not complete yet

* Fix errai-jaxrs-client tests by configuring mappingAliases correctly

* Fixed one of the broken tests in errai-ioc

* Fix errai-ioc test by configuring @ErraiModule properly

* Improved exporting strategies for errai-ioc and errai-jaxrs-client

* Created jsInteropSupportEnabled configuration property

* Create dynamic validation property in @ErraiApp

* Fix almost every test in errai-data-binding

* Fix StyleBindingDecorator

* Fix errai-ioc test by dealing correctly with generic arrays as parameters in constructors/methods

* Fixed some of the server/client code generation problems

* Server code generation and CDI test fixes

* Moved Funject out of errai-cdi-server, so that it is pre-compiled

* Fix RpcIntegrationTest

* Fix SpecializationIntegrationTest

* Attempt to fix Stereotypes test

* Reset definitions factory before generating code for an @ErraiApp

* Fix JsTypeInjectionTest by changing from List to Set in WindowInjectionContextImpl providers

* General refactorings

* Fix DisconnectedEventIntegrationTest

* Fix BeanManagerIntegrationTest.testNormalScopeOverridesDependent

* Fix BeanManagerIntegrationTest.testBeanManagerLookupInheritedScopeBean by returning inherited annotations on APTClass as well

* Created tests for inherited annotations in APTClass

* Ignore tests of unsupported features in APT environment

* Fix MetaClassFinder extending/restriction methods

* Make ValidatorFactoryGenerator async and ignore dynamic validation tests for now.

* Fix configuration to ignore tests of unsupported features in APT environment

* Remove local flag from '@ErraiApp'. An app is local when the modules property is not empty

* PR final pass

* PR fixes

  1. … 677 more files in changeset.
Merge branch 'master' into errai-codegen-apt

  1. … 142 more files in changeset.
Support custom security exception handling (#311)

Move security redirection logic to security handler that can be replaced via IOC alternatives.

  1. … 20 more files in changeset.
Create APT generators for errai-ioc module

  1. … 256 more files in changeset.
Moved some properties from ErraiModule to ErraiApp

  1. … 20 more files in changeset.
Add ErraiModule class to all errai-demos

    • -0
    • +27
    ./org/jboss/errai/demo/grocery/ErraiJpaDemoGroceryListModule.java
  1. … 16 more files in changeset.
Prepare for ErraiModules

  1. … 20 more files in changeset.
Add Errai APT Generators mechanism

  1. … 268 more files in changeset.
Add annotation processors to demos using Errai UI (and move non-Java files in demos to src/main/resource)

  1. … 52 more files in changeset.
Update demos (description below).

* Upgrade several demos to EmbeddedWildFlyLauncher (SDM was broken in some demos with the JBossLauncher).

* Fix bugs in jpa demos relating to new IoC.

* Remove non-Wildfly app server profiles for several demos (don't have resources to maintain them).

* Rename jboss7 profiles to wildfly.

* Update README.md files to refer to Wildfly instead of JBoss AS 6/7.

* Add .gitignore.

  1. … 59 more files in changeset.
Add support for pause/resume to data binding

  1. … 20 more files in changeset.
Support binding with non-widgets and lists through normal programmatic API.

DataBinder.bind methods now accept non-widget objects. Types should implement

one of the following:

* com.google.gwt.user.client.TakesValue

* com.google.gwt.user.client.ui.HasValue

* com.google.gwt.user.client.ui.HasText

Objects being bound can also be wrappers for native input elements.

  1. … 64 more files in changeset.
First step in data-binding refactoring (description below).

Refactoring data-binding API so that conversion types are locked in

at binding time, and so that converters can be used to enforce

model and widget value types (causing errors if they do not line up).

All conversion between UI and model values is done with converters

and every binding has a non-null converter.

  1. … 25 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

  1. … 3042 more files in changeset.
Revert "Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header."

Changes from the reverted commit did not preserve original copyright dates.

This reverts commit d8e735dfe2f6ed25fe9e06b753ae2f6154d76b02.

  1. … 3068 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

  1. … 3150 more files in changeset.
Test coverage for @Bound in non-composite templates and support ListWidget binding with non-composite templates.

  1. … 17 more files in changeset.
Enable async in grocery list demo and add @LoadAsync to more types.

  1. … 2 more files in changeset.
Fix bean manager lookups of types from IOCProviders.

The universal qualifier used for Providers and ContextualTypeProviders

now has the same semantics for resolution at rebind and runtime.

The unused "unqualified" qualifier is now gone.

  1. … 3 more files in changeset.
Fix issues found in errai-jpa-grocery-list demo (described below).

* Make IoC proxies extend WrappedPortable.

* Make Providers only match exact provided type (like ContextualTypeProviders).

* Make some types @EntryPoints so that they are eagerly loaded on startup.

  1. … 14 more files in changeset.
Replaced outdated SliderBar with a ValueListBox for map notification radius.

Replaced outdated SliderBar with a ValueListBox for map notification radius.

Removed unused dependencies, updated versions and fixed index.html issues.

Please enter the commit message for your changes. Lines starting

  1. … 2 more files in changeset.
Removed unused dependencies, updated versions and fixed index.html issues.

Please enter the commit message for your changes. Lines starting

  1. … 2 more files in changeset.
Fixed issues in Grocery List demo

    • -0
    • +131
    ./org/jboss/errai/demo/grocery/client/local/EditForm.java
  1. … 11 more files in changeset.
Removed double scope annotation from the Grocery List demo

Added widget destroy functionality to ListWidget.onItemsCleared()

    • -0
    • +185
    ./org/jboss/errai/demo/grocery/client/local/Form.java
  1. … 2 more files in changeset.
Added widget destroy functionality to ListWidget.onItemsCleared()

    • -0
    • +185
    ./org/jboss/errai/demo/grocery/client/local/Form.java
  1. … 2 more files in changeset.
Simpler impl. of @OrderedList, @UnOrderedList that doesn't require custom panel type

  1. … 3 more files in changeset.
Merge branch '2.4'

Conflicts:

errai-demos/errai-jpa-demo-todo-list/src/main/java/org/jboss/errai/demo/todo/server/SchemaFixer.java

  1. … 1 more file in changeset.