yugalatea / gwt-google-apis

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

AnnotatedTimeLineTest.testLegend() fails in unit testing #235

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release:
1.0.0

Detailed description:
AnnotatedTimeLineTest.testLegend() fails with the following stack trace:

Testcase: testLegend took 0.13 sec
    Caused an ERROR
(Error): All values columns may contain only nueric values. Column number 2
is of type string
 fileName: 
 lineNumber: 0
 stack: Error("All values columns may contain only nueric values. Column
number 2 is of type string")@:0
([object Object],[object
Object])@http://www.google.com/uds/api/visualization/1.0/d442ac6e895f1e45e38b4ac
27651dc3b/default.I.js:274
([object Object],[object
Object])@file:/usr/local/google/home/cruisecontrol/checkout/gwt-visualization-1.
0/visualization/src/com/google/gwt/visualization/client/visualizations/Visualiza
tion.java:89
public static void
com.google.gwt.visualization.client.ExceptionHelper.runProtected(java.lang.Runna
ble)([object
gwt_nativewrapper_class])@:0
(19)@file:/usr/local/google/home/cruisecontrol/checkout/gwt-visualization-1.0/vi
sualization/src/com/google/gwt/visualization/client/AjaxLoader.java:49
@:0

Workaround if you have one:

Remove the test?  Remove the non-numeric columns?

Links to the relevant GWT Developer Forum posts:

Original issue reported on code.google.com by galgwt.reviews@gmail.com on 28 Jan 2009 at 2:49

GoogleCodeExporter commented 9 years ago
The docs for AnnotatedTimeLine do clearly state that the data in the table has 
to be
numeric, so I've removed the numeric columns from the test.  

http://galgwt-reviews.appspot.com/3001

Original comment by galgwt.reviews@gmail.com on 28 Jan 2009 at 3:11

GoogleCodeExporter commented 9 years ago
Committed as r1179

Original comment by galgwt.reviews@gmail.com on 28 Jan 2009 at 3:26

GoogleCodeExporter commented 9 years ago
Released in gwt-visualization-1.0.1

Original comment by galgwt.reviews@gmail.com on 21 Feb 2009 at 1:34

GoogleCodeExporter commented 9 years ago
Updating account names

Original comment by zundel@google.com on 21 Dec 2009 at 2:00