You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Siddharth Srivastava (JIRA)" <ji...@apache.org> on 2012/07/11 14:28:33 UTC

[jira] [Created] (DERBY-5854) Test for methods in BrokeredCallableStatement

Siddharth Srivastava created DERBY-5854:
-------------------------------------------

             Summary: Test for methods in BrokeredCallableStatement
                 Key: DERBY-5854
                 URL: https://issues.apache.org/jira/browse/DERBY-5854
             Project: Derby
          Issue Type: Sub-task
            Reporter: Siddharth Srivastava
            Priority: Minor




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen resolved DERBY-5854.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.10.0.0

Thanks, Siddharth. The latest patch had a conflict with DERBY-5871, which handled the corresponding issue on the client. I resolved the conflict manually and committed the patch to trunk with revision 1372848.
                
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.10.0.0
>            Reporter: Siddharth Srivastava
>            Assignee: Siddharth Srivastava
>            Priority: Minor
>             Fix For: 10.10.0.0
>
>         Attachments: derbyBrokeredCallable.patch, derbycallabledecorator
>
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Siddharth Srivastava (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Srivastava reassigned DERBY-5854:
-------------------------------------------

    Assignee: Siddharth Srivastava
    
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: Siddharth Srivastava
>            Assignee: Siddharth Srivastava
>            Priority: Minor
>         Attachments: derbyBrokeredCallable.patch
>
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Siddharth Srivastava (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Srivastava updated DERBY-5854:
----------------------------------------

    Attachment:     (was: derbyBrokeredCallable.patch)
    
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: Siddharth Srivastava
>            Priority: Minor
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen updated DERBY-5854:
--------------------------------------

    Attachment: disable.diff

I suppose we should make the XA and connection pool decorators skip the test on platforms where we don't have implementations of XADataSource and ConnectionPoolDataSource. The attached patch (disable.diff) does that.
                
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.10.0.0
>            Reporter: Siddharth Srivastava
>            Assignee: Siddharth Srivastava
>            Priority: Minor
>             Fix For: 10.10.0.0
>
>         Attachments: derbyBrokeredCallable.patch, derbycallabledecorator, disable.diff
>
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Siddharth Srivastava (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Srivastava updated DERBY-5854:
----------------------------------------

    Attachment:     (was: derbyBrokeredCallable.patch)
    
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: Siddharth Srivastava
>            Priority: Minor
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen updated DERBY-5854:
--------------------------------------

          Component/s: Test
    Affects Version/s: 10.10.0.0
    
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.10.0.0
>            Reporter: Siddharth Srivastava
>            Assignee: Siddharth Srivastava
>            Priority: Minor
>             Fix For: 10.10.0.0
>
>         Attachments: derbyBrokeredCallable.patch, derbycallabledecorator
>
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Siddharth Srivastava (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Srivastava updated DERBY-5854:
----------------------------------------

    Attachment: derbyBrokeredCallable.patch
    
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: Siddharth Srivastava
>            Priority: Minor
>         Attachments: derbyBrokeredCallable.patch
>
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Siddharth Srivastava (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Srivastava updated DERBY-5854:
----------------------------------------

    Attachment: derbycallabledecorator

Thanks Knut. Initially I wasn't very much sure about it. Seems to work.
                
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: Siddharth Srivastava
>            Assignee: Siddharth Srivastava
>            Priority: Minor
>         Attachments: derbyBrokeredCallable.patch, derbycallabledecorator
>
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436672#comment-13436672 ] 

Knut Anders Hatlen commented on DERBY-5854:
-------------------------------------------

Committed revision 1374215.
                
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.10.0.0
>            Reporter: Siddharth Srivastava
>            Assignee: Siddharth Srivastava
>            Priority: Minor
>             Fix For: 10.10.0.0
>
>         Attachments: derbyBrokeredCallable.patch, derbycallabledecorator, disable.diff
>
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Siddharth Srivastava (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Srivastava updated DERBY-5854:
----------------------------------------

    Attachment: derbyBrokeredCallable.patch
    
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: Siddharth Srivastava
>            Assignee: Siddharth Srivastava
>            Priority: Minor
>         Attachments: derbyBrokeredCallable.patch
>
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422961#comment-13422961 ] 

Knut Anders Hatlen commented on DERBY-5854:
-------------------------------------------

It looks like most of the new code is based on the code in CallableTest. Could we achieve similar coverage, with less code, by making CallableTest.suite() use TestConfiguration.connectionXADecorator() to run CallableTest in an XA environment?
                
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: Siddharth Srivastava
>            Assignee: Siddharth Srivastava
>            Priority: Minor
>         Attachments: derbyBrokeredCallable.patch
>
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Siddharth Srivastava (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Srivastava updated DERBY-5854:
----------------------------------------

    Description: There are many unused methods in BrokeredCallableStatement. This issue adds test for them.
    
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: Siddharth Srivastava
>            Priority: Minor
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Siddharth Srivastava (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Srivastava updated DERBY-5854:
----------------------------------------

    Attachment: derbyBrokeredCallable.patch
    
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: Siddharth Srivastava
>            Priority: Minor
>         Attachments: derbyBrokeredCallable.patch
>
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5854) Test for methods in BrokeredCallableStatement

Posted by "Mamta A. Satoor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436351#comment-13436351 ] 

Mamta A. Satoor commented on DERBY-5854:
----------------------------------------

The test failed on weme6.2 with following stack trace. The test ran with revision 1373684 and this is on a Windows/VMWare machine
1) CallableTest:brokeredjunit.framework.AssertionFailedError: java.lang.NullPointerException
	at org.apache.derbyTesting.junit.JDBCDataSource.getDataSourceObject(JDBCDataSource.java:182)
	at org.apache.derbyTesting.junit.J2EEDataSource.getXADataSource(J2EEDataSource.java:98)
	at org.apache.derbyTesting.junit.XADataSourceConnector.setConfiguration(XADataSourceConnector.java:51)
	at org.apache.derbyTesting.junit.ConnectorSetup.getNewConfiguration(ConnectorSetup.java:49)
	at org.apache.derbyTesting.junit.ChangeConfigurationSetup.setUp(ChangeConfigurationSetup.java:37)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
	at junit.extensions.TestSetup.run(TestSetup.java:25)

                
> Test for methods in BrokeredCallableStatement
> ---------------------------------------------
>
>                 Key: DERBY-5854
>                 URL: https://issues.apache.org/jira/browse/DERBY-5854
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.10.0.0
>            Reporter: Siddharth Srivastava
>            Assignee: Siddharth Srivastava
>            Priority: Minor
>             Fix For: 10.10.0.0
>
>         Attachments: derbyBrokeredCallable.patch, derbycallabledecorator
>
>
> There are many unused methods in BrokeredCallableStatement. This issue adds test for them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira