Are CodePro support GWT?

CodePro AnalytiX (Audit & Test), includes over 1000 audit rules and metrics, JUnit test generation & editing, code coverage, and duplicate code analysis

Moderators: gnebling, jwren, Eric Clayberg, Dan Rubel, Brian Wilkerson, dcarew

Are CodePro support GWT?

Postby guazwk » Tue Sep 21, 2010 11:39 pm

I am new with CodePro. So I use the GWT designer to create a default project and use CodePro to test on it. But the CodePro show the error on "RootPanel"

Do we need any configuration on the CodePro?

Below is the code:
Code: Select all
public class Testing_GWTDesigner implements EntryPoint {
   private Button clickMeButton;
   public void onModuleLoad() {
      RootPanel rootPanel = RootPanel.get();

      clickMeButton = new Button();
      rootPanel.add(clickMeButton);
      clickMeButton.setText("Click me!");
      clickMeButton.addClickHandler(new ClickHandler(){
         public void onClick(ClickEvent event) {
            Window.alert("Hello, GWT World!");
         }
      });
   }
}


Thank you,
Guaz
guazwk
 
Posts: 4
Joined: Wed Nov 18, 2009 7:34 pm

Re: Are CodePro support GWT?

Postby Brian Wilkerson » Wed Sep 22, 2010 3:29 am

So I use the GWT designer to create a default project and use CodePro to test on it. But the CodePro show the error on "RootPanel"


I need more information before I can answer your question. Specifically, what error is being shown and what feature of CodePro did you use in order to see this error?
Brian Wilkerson
Google, Inc.
http://www.google.com
Brian Wilkerson
Moderator
 
Posts: 32
Joined: Fri Apr 28, 2006 9:37 am

Re: Are CodePro support GWT?

Postby guazwk » Wed Sep 22, 2010 6:29 pm

I am using gwt designer to create a Hello World project with using GXT.jar. I generate a test case for this Hello World project by using the CodePro Tools, (generate test case).

Then I run the test case I generated as JUnit & GWT JUnit.

I have attach the sample project which i used for testing. And the screen capture for the error.

Thank you
Guaz
Attachments
error.rar
error code
(12.2 KiB) Downloaded 15 times
Testing_GWTDesignerTest.rar
Test case generated by CodePro
(5.58 KiB) Downloaded 12 times
Testing_GWTDesigner.rar
Sample project
(4.94 KiB) Downloaded 11 times
guazwk
 
Posts: 4
Joined: Wed Nov 18, 2009 7:34 pm

Re: Are CodePro support GWT?

Postby guazwk » Thu Sep 23, 2010 6:58 pm

Any update? I am new in Java and my company is going to start a Java team so I really hope that can receive my help from you guys!!

thank you!
guazwk
 
Posts: 4
Joined: Wed Nov 18, 2009 7:34 pm

Re: Are CodePro support GWT?

Postby Eric Clayberg » Thu Sep 23, 2010 7:04 pm

The test code generator does not support GWT, GXT or any UI framework. It is for testing domain model code primarily.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to CodePro AnalytiX & PlusPak. EclipsePro Audit & Test

Who is online

Users browsing this forum: No registered users and 1 guest

cron