Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 290 invoked from network); 18 Oct 2007 21:40:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Oct 2007 21:40:12 -0000 Received: (qmail 97580 invoked by uid 500); 18 Oct 2007 21:39:59 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 97546 invoked by uid 500); 18 Oct 2007 21:39:59 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 97537 invoked by uid 99); 18 Oct 2007 21:39:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2007 14:39:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2007 21:40:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B3B3671420D for ; Thu, 18 Oct 2007 14:39:50 -0700 (PDT) Message-ID: <17486782.1192743590708.JavaMail.jira@brutus> Date: Thu, 18 Oct 2007 14:39:50 -0700 (PDT) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3135) TableFunctionTest fails with weme6.1 on trunk In-Reply-To: <22875408.1192740890871.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536059 ] Rick Hillegas commented on DERBY-3135: -------------------------------------- Hi Mamta, Yes, the test assumes that Derby will call getBigDecimal() when retrieving a DECIMAL value from a table function. In fact, the test is enforcing this behavior so that our user documentation can be kept in sync with Derby's actual behavior. What this says to me is that the user documentation needs to say that on small device platforms, Derby calls getString() on DECIMAL columns in table functions. And the test needs to be changed to enforce this behavior. Thanks for running the test on this platform and catching this. > TableFunctionTest fails with weme6.1 on trunk > --------------------------------------------- > > Key: DERBY-3135 > URL: https://issues.apache.org/jira/browse/DERBY-3135 > Project: Derby > Issue Type: Bug > Components: Regression Test Failure > Affects Versions: 10.4.0.0 > Environment: IBM weme6.1 jdk > Reporter: Mamta A. Satoor > > TableFunctionTest fails with weme6.1 with following 2 failures. > 1st failure > noSpecialCollation(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest)junit.framework.ComparisonFailure: > expected:<...BigDecimal getDouble getDouble getFloat getDouble getInt > getString getBytes getBigDecimal...> but was:<...String getDouble > getDouble getFloat getDouble getInt getString getBytes getString...> > at java.lang.Throwable.(Throwable.java:57) > at java.lang.Throwable.(Throwable.java:68) > at junit.framework.AssertionFailedError.(AssertionFailedError.java:11) > at junit.framework.ComparisonFailure.(ComparisonFailure.java:19) > at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.checkGetXXXCalls(TableFunctionTest.java:1205) > at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.allLegalDatatypesVTIResults(TableFunctionTest.java:1139) > at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.tableFunctionTest(TableFunctionTest.java:893) > at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.noSpecialCollation(TableFunctionTest.java:869) > at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205) > at .(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95) > 2nd failure > specialCollation(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest)junit.framework.ComparisonFailure: > expected:<...BigDecimal getDouble getDouble getFloat getDouble getInt > getString getBytes getBigDecimal...> but was:<...String getDouble > getDouble getFloat getDouble getInt getString getBytes getString...> > at java.lang.Throwable.(Throwable.java:57) > at java.lang.Throwable.(Throwable.java:68) > at junit.framework.AssertionFailedError.(AssertionFailedError.java:11) > at junit.framework.ComparisonFailure.(ComparisonFailure.java:19) > at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.checkGetXXXCalls(TableFunctionTest.java:1205) > at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.allLegalDatatypesVTIResults(TableFunctionTest.java:1139) > at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.tableFunctionTest(TableFunctionTest.java:893) > at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.specialCollation(TableFunctionTest.java:879) > at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205) > at .(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.