Hi!
Has anybody experimented with coverage tools for GWT/Junit? I assume
the problem could be easier for the server part (pure Java) than for
the client part (Java compiled into JavaScript) but anyway... any
suggestions?
Thanks, and best regards,
Federico Kereki
--~--~-~--~~---
Since Plasmoids can be written in JavaScript... can you develop a
Plasmoid with GWT? If so, how? Any pointers?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send em
A simple question: can you display video in a GWT application?
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups
I wanted to be able to play sound files in a GWT application. Googling
around, I found gwt-voices at http://code.google.com/p/gwt-voices/ but
I'd like to know if this is the best way to go, or if am I missing
something? How do you play audio in GWT?
Thanks!
--~--~-~--~~~-
I have been studying http://blog.appenginefan.com/search/label/Schluesselmeister
application, and that got me to thinking about MVP... In that example,
"Display" is about the same as "View", and "Controller" is like
"Presenter". You inject the View to the Presenter through its
constructor... but t
Hi! Thinking about MVP... how would you implement a data aware drop
down widget?
Say you want to let the user enter a country code in the View. You
could use a TextBox, but a drop down list would be more usable. How
would the widget get its values? Should the Presenter know about the
widget type,
I remember EasyMock didn't work for GWT, because it needed reflection,
which wasn't available for client side programming. However, I'm doing
MVP tests, so the code need not run in hosted mode, so EasyMode should
run... right? However, I'm getting the following error -- can somebody
point me in th
On Oct 25, 9:22 am, Thomas Broyer wrote:
>
> I'd rather use the following, though I understand why the
> LoginView.Presenter interface could help with mocking (it's easier to
> mock the view then, because you don't have to mock HasClickHandlers
> and eventually HandlerRegistration and ClickEvent)
On Oct 25, 9:11 am, lowecg2004 wrote:
> Your error looks like you're using the EasyMock class extensions and
> are missing cglib jars from your build path.
>
> As it happens, I recently produced a getting started with MVP and unit
> testing with EasyMock article which might be of use:
>
> http://
Hi! I'm trying out EclEmma with GWT, and though it runs perfectly well
with JUnit tests, the available patch at
http://code.google.com/p/google-web-toolkit/source/browse/tools/redist/emma/README.txt
is com.mountainminds.eclemma.core_1.3.2.jar, but the latest EclEmma
release has a newer file: com.m
On Oct 25, 5:26 pm, lowecg2004 wrote:
> As Arthur said, calling GWTMockUtilities.disarm() will prevent that
> error (that was in part 2 of my article :)
>
> As for needing asm-attrs.jar, I guess try it - any
> NoClassDefFoundError that looks asm related then that will answer your
> question...
H
Googling around, I just found a post from a couple of years ago, which
suggested (see "#1 Reduce the number of remote services" at the link
below) using a facade for multiple RPC, in order to drive startup time
down... has anybody tried this? Does it still make sense?
http://robvanmaris.jteam.nl/
I'm trying out GWT 2.0 and in a GWTTestCase I wrote
lv.loginButton.click();
and "lv" is a LoginView, where I defined:
loginButton = new Button("Log in");
loginButton.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
loginCallback.onSuccess(null
On Nov 2, 7:35 am, Thomas Broyer wrote:
> It might very well be a bug in HtmlUnit if that's the runstyle you're
> using to run your tests (it's the default one in MS1 and MS2), but
> according to this test (from 2.0.0-ms1) it should work (the test isn't
> annotated with
> @DoNotRunWith(Platform
On Nov 2, 9:24 pm, "fker...@gmail.com" wrote:
> On Nov 2, 7:35 am, Thomas Broyer wrote:
>
> > It might very well be a bug in HtmlUnit if that's the runstyle you're
> > using to run your tests (it's the default one in MS1 and MS2), but
> > accor
> Could you show us the code of the failing test (around line 51) ?
I cleaned up and simplified the code as much as possible. I created a
boolean attribute, wasCalled. I created a callback; in it, I set
wasCalled=true. (So, this is a poor man's mock object...)
The code up to the failure is:
I'm trying out GWT 2.0 MS2, and I just hit an unexpected behavior: I
removed the __gwt_historyFrame iframe that's used for History
management to check what error message I'd get -- but Alt+Backspace
seemingly kept working!? I tried out some Hyperlinks, and everything
(back, forward) runs OK... am
A question about deferred binding... If I define a new property in the
gwt.xml module file; say,
and an appropriate generator
that will get the time of the day, and generate the property value
accordingly.
Of course, I would have some deferred binding rules that would replace
some classes wi
Are the and elements in the gwt.xml file still
needed with GWT 2.0? If I understand it correctly, servlet definitions
go in the web.xml file, and the public directory is war/WEB-INF, so
are the gwt.xml definitions needed, or are they a legacy of older GWT
versions?
--
You received this message
I know the element can be used to add unimplemented
classes to the JRE, but can you use it to add a missing static method?
For example, say you need the "static double cbrt(double a)"
java.lang.Math method that calculates the cube root of a. How would
you go about implementing that, if it's actua
20 matches
Mail list logo