google-code-export / gwt-test-utils

Automatically exported from code.google.com/p/gwt-test-utils
1 stars 0 forks source link

GXT 3 compliancy #134

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a project with gxt 3.0 (actually 3.0.0-rc). the project use a gxt 
Dialog
2. run a gwt-test-utils test on UI with Dialog

What is the expected output? What do you see instead?
I expect the test to pass.
I got an exception

Caused by: java.lang.ClassCastException: com.google.gwt.dom.client.BodyElement 
cannot be cast to com.sencha.gxt.core.client.dom.XElement
    at com.sencha.gxt.core.client.dom.XElement.as(XElement.java:104)
    at com.sencha.gxt.core.client.GXT.init(GXT.java:130)
    at com.sencha.gxt.widget.core.client.Component.

and also

java.lang.NoClassDefFoundError: Could not initialize class 
com.sencha.gxt.widget.core.client.Dialog

I also have the same issue with gxt Window.

In another test class using a gxt Window I have this one :

java.lang.VerifyError: (class: com/sencha/gxt/core/client/dom/XElement, method: 
<init> signature: ()V) Call to wrong initialization method
    at com.sencha.gxt.core.client.GXT.init(GXT.java:130)
    at com.sencha.gxt.widget.core.client.Component.<clinit>(Component.java:89)

What version of the product are you using? On what operating system?
gwt-test-utils 0.38
gwt 2.4.0
gxt 3.0.0-rc

Please provide any additional information below.

Some of my existing test work well with gxt 3 and it seems only be related to 
dialog or Window.

I know moving to gxt 3 should be challenging for your project but I guess it's 
in your schedule. Is it ?

Regards

David

Original issue reported on code.google.com by david.le...@gmail.com on 5 Apr 2012 at 4:22

GoogleCodeExporter commented 9 years ago
Hi David,

Yes, I planned to start support for GXT 3.0 as soon as it will be released. I 
will generate a new artificat (gwt-test-utils-gxt3) and I guess it won't take 
to much time to have something working with old features (such as gxt Dialog).

I read somewhere that GXT 3.0 would be released this month, am I wrong ?

Original comment by gael.laz...@gmail.com on 5 Apr 2012 at 4:30

GoogleCodeExporter commented 9 years ago
Hi,

great news, even more if you thing it will be quite easy to move on 3.0.

the release candidate is available since 28 march, so I guess I will not be so 
long to have an official release.

I hope it will soon because I need my test to help me in the migration ...
In the meantime I'll see if I can mock these objects to make my tests pass.

Regards

Original comment by david.le...@gmail.com on 5 Apr 2012 at 4:42

GoogleCodeExporter commented 9 years ago

Original comment by gael.laz...@gmail.com on 9 Apr 2012 at 8:08

GoogleCodeExporter commented 9 years ago

Original comment by gael.laz...@gmail.com on 9 Apr 2012 at 8:08

GoogleCodeExporter commented 9 years ago

Original comment by gael.laz...@gmail.com on 22 May 2012 at 11:45

GoogleCodeExporter commented 9 years ago
Hi there,

Since overlay types support is a prerequisite for GXT 3.0 support (because of 
XElement, which a central overlay type in GXT), I started working on it right 
now ! (reported issue 
http://code.google.com/p/gwt-test-utils/issues/detail?id=133)

Original comment by gael.laz...@gmail.com on 30 Jun 2012 at 5:01

GoogleCodeExporter commented 9 years ago
So what is the status of GXT 3 support?

Original comment by adzin...@gmail.com on 8 Jan 2013 at 3:46

GoogleCodeExporter commented 9 years ago
I'm waiting also for the support to GWT 3 :)

Original comment by andreina...@ceiba.com.co on 6 Sep 2013 at 12:47