Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updated ProxyMakerTests to reflect ERRAI-277 changes.

Ensured same behavior of MetaClass#get*Fields() implementations.

* GWTClass.#get*Fields() and BuildMetaClass.#get*Fields() now behave

the same like JavaReflectionClass.#get[Declared]Fields()

* Added a test case for building a class with access to inherited fields

Fixes https://issues.jboss.org/browse/ERRAI-640

    • -0
    • +37
    ./test/meta/AbstractMetaClassTest.java
    • -0
    • +81
    ./test/meta/build/BuildMetaClassTest.java
  1. … 2 more files in changeset.
Ensured getMethods() returns same result for Gwt and Reflection implementations

    • -0
    • +37
    ./test/meta/AbstractMetaClassTest.java
  1. … 2 more files in changeset.
Ensured getMethods() returns same result for Gwt and Reflection implementations

    • -0
    • +37
    ./test/meta/AbstractMetaClassTest.java
  1. … 2 more files in changeset.
Fixed incorrect initialization of annotation attributes.

Annotations with Array attributes of char, long, enum and Class

Annotations with Annotation attributes

    • -0
    • +637
    ./test/AnnotationTest.java
  1. … 1 more file in changeset.
strange

It's now possible to create aliases for a group of annotations for example create @UiProperty that means the same as @Inject @Bound @DataField

  1. … 17 more files in changeset.
It's now possible to create aliases for a group of annotations on classes

    • -0
    • +76
    ./test/AnnotationAliasTest.java
  1. … 5 more files in changeset.
fix to last commit: do not use regular expression matching to massage path.

load inputstream directly from classloader for looked up file resource instead of calculating path.

use File.pathSeparator instead of "/"

fix to test harness for reachability analysis -- did not work on windows due to improper path handling.

  1. … 1 more file in changeset.
merge

  1. … 3 more files in changeset.
fix to ERRAI-536

    • -112
    • +123
    ./test/InvocationBuilderTest.java
  1. … 6 more files in changeset.
code cleanup

  1. … 4 more files in changeset.
code cleanup of codegen and additional unit tests

    • -267
    • +295
    ./test/ClassBuilderTest.java
  1. … 16 more files in changeset.
Added tests for getBounds() in MetaTypeVariable implementations

    • -0
    • +30
    ./test/meta/AbstractMetaClassTest.java
    • -0
    • +9
    ./test/model/ClassWithGenericCollections.java
- code cleanup - fix to ProxyMaker: all overridden methods should use erased parameter types.

    • -0
    • +37
    ./test/model/ToProxyBean2.java
  1. … 5 more files in changeset.
Marking proxied methods as @Override in the hopes of making Navigation properly proxyable

Also added a log statement to an empty catch block that was suspected to be eating an exception

(it wasn't, in this instance)

  1. … 2 more files in changeset.
Fixed interceptor code gen. problem

    • -1
    • +0
    ./test/AnonymousClassStructureBuilderTest.java
  1. … 1 more file in changeset.
Fixed type hierarchy of MetaGenericDeclaration; added tests for type variables in type parameters

    • -0
    • +22
    ./test/meta/AbstractMetaClassTest.java
    • -1
    • +2
    ./test/model/ClassWithGenericCollections.java
  1. … 11 more files in changeset.
Fixed GWTMethod.getGenericReturnType() to behave like its JavaReflection equivalent

There are tests covering the new behaviour of course!

Conflicts:

errai-codegen-gwt/src/main/java/org/jboss/errai/codegen/meta/impl/gwt/GWTMethod.java

errai-ui/src/main/java/org/jboss/errai/ui/rebind/DecoratorTemplated.java

    • -0
    • +85
    ./test/meta/AbstractMetaClassTest.java
    • -0
    • +5
    ./test/model/ClassWithGenericCollections.java
    • -0
    • +28
    ./test/model/ClassWithGenericMethods.java
  1. … 7 more files in changeset.
Merge branch 'cordova' of git://github.com/edewit/errai into 3.0

Conflicts:

pom.xml

  1. … 2 more files in changeset.
Merge branch 'master' into 3.0

Conflicts:

errai-codegen-gwt/src/main/java/org/jboss/errai/codegen/meta/impl/gwt/GWTParameterizedType.java

  1. … 4 more files in changeset.
Much better implementation for GWTClass.getErased(), plus a test that would have failed with the old impl

    • -0
    • +15
    ./test/meta/AbstractMetaClassTest.java
    • -0
    • +12
    ./test/model/ParameterizedClass.java
  1. … 2 more files in changeset.
Tightened up getErased(): it returns the same instance if the type was already raw

    • -0
    • +6
    ./test/meta/AbstractMetaClassTest.java
  1. … 4 more files in changeset.
A bunch of new unit tests for MetaClass, MetaField, Meta* implementations.

This version of the fixes related to the new tests breaks the errai-bus integration tests.

Will investigate soon.

    • -0
    • +111
    ./test/meta/AbstractMetaClassTest.java
    • -0
    • +8
    ./test/model/ClassWithGenericCollections.java
    • -0
    • +1
    ./test/model/tree/GrandparentInterface.java
  1. … 27 more files in changeset.
Reworked the GWTMetaClassTest so it runs all the same tests as the core (Java Reflection) version of the test

Up next: I will port over the tests that used to be in there so they're in the abstract supertest

and they will be run against both the Java Reflection impl and the GWT TypeOracle impl.

    • -6
    • +10
    ./test/meta/AbstractMetaClassTest.java
    • -0
    • +23
    ./test/model/PrimitiveFieldContainer.java
  1. … 3 more files in changeset.
Refactored to allow for all the MetaClass tests to run against the GWT implementation as well

    • -0
    • +391
    ./test/meta/AbstractMetaClassTest.java
    • -0
    • +19
    ./test/meta/java/JavaReflectionMetaClassTest.java
merge in of all the latest changes from the 2.2 branch

  1. … 26 more files in changeset.