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
by 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
by 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
- Moderator
-
- Posts: 32
- Joined: Fri Apr 28, 2006 9:37 am
-
guazwk
-
- Posts: 4
- Joined: Wed Nov 18, 2009 7:34 pm
by 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
by 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
- 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