[jira] Updated: (DERBY-3801) Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit.

2010-09-01 Thread Myrna van Lunteren (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Myrna van Lunteren updated DERBY-3801:
--

Attachment: DERBY-3801-7.stat
DERBY-3801-7.diff

Attaching a patch for this issue which takes advantage of the fixes for 
DERBY-4776 and DERBY-4777, and in which the other tests sections that showed a 
difference between client and embedded have been removed (as they were found to 
be no bugs, or at least, known behavior, and the tests were also already 
executed in junit tests elsewhere), and in one case commented out (for 
DERBY-4778).

If there are no concerns about this, I'll commit this in the next couple of 
days.

> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 
> --
>
> Key: DERBY-3801
> URL: https://issues.apache.org/jira/browse/DERBY-3801
> Project: Derby
>  Issue Type: Improvement
>  Components: Test
>Reporter: Junjie Peng
>Assignee: Yun Lee
> Attachments: derby-3801-1-patch.txt, derby-3801-2.patch, 
> derby-3801-2.stat, derby-3801-4.patch, derby-3801-5.patch, derby-3801-5.stat, 
> derby-3801-6.patch, derby-3801-6.stat, DERBY-3801-7.diff, DERBY-3801-7.stat, 
> DERBY-3801-Tiago.patch
>
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (DERBY-3801) Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit.

2010-08-12 Thread Yun Lee (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yun Lee updated DERBY-3801:
---

Issue & fix info:   (was: [Patch Available])

> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 
> --
>
> Key: DERBY-3801
> URL: https://issues.apache.org/jira/browse/DERBY-3801
> Project: Derby
>  Issue Type: Improvement
>  Components: Test
>Reporter: Junjie Peng
>Assignee: Yun Lee
> Attachments: derby-3801-1-patch.txt, derby-3801-2.patch, 
> derby-3801-2.stat, derby-3801-4.patch, derby-3801-5.patch, derby-3801-5.stat, 
> derby-3801-6.patch, derby-3801-6.stat, DERBY-3801-Tiago.patch
>
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (DERBY-3801) Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit.

2010-08-10 Thread Yun Lee (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yun Lee updated DERBY-3801:
---

Attachment: derby-3801-6.patch
derby-3801-6.stat

Hi, Myrna. Thanks for your checking. I have created a new patch based on the 
newest revision. Please check it, thanks!

> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 
> --
>
> Key: DERBY-3801
> URL: https://issues.apache.org/jira/browse/DERBY-3801
> Project: Derby
>  Issue Type: Improvement
>  Components: Test
>Reporter: Junjie Peng
>Assignee: Yun Lee
> Attachments: derby-3801-1-patch.txt, derby-3801-2.patch, 
> derby-3801-2.stat, derby-3801-4.patch, derby-3801-5.patch, derby-3801-5.stat, 
> derby-3801-6.patch, derby-3801-6.stat, DERBY-3801-Tiago.patch
>
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (DERBY-3801) Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit.

2010-08-06 Thread Yun Lee (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yun Lee updated DERBY-3801:
---

Issue & fix info: [Patch Available]

> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 
> --
>
> Key: DERBY-3801
> URL: https://issues.apache.org/jira/browse/DERBY-3801
> Project: Derby
>  Issue Type: Improvement
>  Components: Test
>Reporter: Junjie Peng
>Assignee: Yun Lee
> Attachments: derby-3801-1-patch.txt, derby-3801-2.patch, 
> derby-3801-2.stat, derby-3801-4.patch, derby-3801-5.patch, derby-3801-5.stat, 
> DERBY-3801-Tiago.patch
>
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (DERBY-3801) Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit.

2010-08-06 Thread Yun Lee (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yun Lee updated DERBY-3801:
---

Attachment: derby-3801-5.patch
derby-3801-5.stat

Please check derby-3801-5.patch, it can work well.


> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 
> --
>
> Key: DERBY-3801
> URL: https://issues.apache.org/jira/browse/DERBY-3801
> Project: Derby
>  Issue Type: Improvement
>  Components: Test
>Reporter: Junjie Peng
>Assignee: Yun Lee
> Attachments: derby-3801-1-patch.txt, derby-3801-2.patch, 
> derby-3801-2.stat, derby-3801-4.patch, derby-3801-5.patch, derby-3801-5.stat, 
> DERBY-3801-Tiago.patch
>
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (DERBY-3801) Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit.

2010-06-22 Thread Yun Lee (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yun Lee updated DERBY-3801:
---

Attachment: derby-3801-4.patch

I'm sorry to have missed the patch. Attached it now!

> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 
> --
>
> Key: DERBY-3801
> URL: https://issues.apache.org/jira/browse/DERBY-3801
> Project: Derby
>  Issue Type: Improvement
>  Components: Test
>Reporter: Junjie Peng
>Assignee: Yun Lee
> Attachments: derby-3801-1-patch.txt, derby-3801-2.patch, 
> derby-3801-2.stat, derby-3801-4.patch, DERBY-3801-Tiago.patch
>
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (DERBY-3801) Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit.

2010-04-19 Thread Tiago R. Espinha (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tiago R. Espinha updated DERBY-3801:


Attachment: DERBY-3801-Tiago.patch

Sorry Myrna for leaving this assigned.

At this point I'm not working on it anymore, as I have a new GSoC project that 
I have applied with.

I seem to have a patch for this issue in my trunk, but I am 100% sure that it 
is not meant for committing and should be taken with a grain of salt. 
Unfortunately I honestly can't remember anymore what I had done and what I 
hadn't, but I'll still attach it anyway.

If whoever picks this up has any questions, I might be able to help somehow.

> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 
> --
>
> Key: DERBY-3801
> URL: https://issues.apache.org/jira/browse/DERBY-3801
> Project: Derby
>  Issue Type: Improvement
>  Components: Test
>Reporter: Junjie Peng
>Assignee: Tiago R. Espinha
> Attachments: derby-3801-1-patch.txt, derby-3801-2.patch, 
> derby-3801-2.stat, DERBY-3801-Tiago.patch
>
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (DERBY-3801) Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit.

2009-06-30 Thread Dag H. Wanvik (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dag H. Wanvik updated DERBY-3801:
-

Issue Type: Improvement  (was: Test)

> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 
> --
>
> Key: DERBY-3801
> URL: https://issues.apache.org/jira/browse/DERBY-3801
> Project: Derby
>  Issue Type: Improvement
>  Components: Test
>Reporter: Junjie Peng
> Attachments: derby-3801-1-patch.txt, derby-3801-2.patch, 
> derby-3801-2.stat
>
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (DERBY-3801) Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit.

2008-11-18 Thread Kathey Marsden (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kathey Marsden updated DERBY-3801:
--

Component/s: Test

> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 
> --
>
> Key: DERBY-3801
> URL: https://issues.apache.org/jira/browse/DERBY-3801
> Project: Derby
>  Issue Type: Test
>  Components: Test
>Reporter: Junjie Peng
>Assignee: Junjie Peng
> Attachments: derby-3801-1-patch.txt, derby-3801-2.patch, 
> derby-3801-2.stat
>
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (DERBY-3801) Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit.

2008-08-09 Thread Junjie Peng (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junjie Peng updated DERBY-3801:
---

Attachment: derby-3801-2.stat
derby-3801-2.patch

Hi, Myrna!

 I have finished the translation, but something is wrong with the sixth test 
case, it's the method of testPositionedUpdateWithHoldCursor(). If it is 
deleted, the other test cases can run well. It seems, 
testPositionedUpdateWithHoldCursor() has not been execute to it's end, and then 
tearDown() begins to execute.

I have spent a lot of time debugging, but still very puzzled, Please give me a 
hand!

Thank you!

Regard 
Junjie


> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 
> --
>
> Key: DERBY-3801
> URL: https://issues.apache.org/jira/browse/DERBY-3801
> Project: Derby
>  Issue Type: Test
>Reporter: Junjie Peng
>Assignee: Junjie Peng
> Attachments: derby-3801-1-patch.txt, derby-3801-2.patch, 
> derby-3801-2.stat
>
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (DERBY-3801) Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit.

2008-07-31 Thread Junjie Peng (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junjie Peng updated DERBY-3801:
---

Attachment: derby-3801-1-patch.txt

Ask for help!
The patch derby-3801-1-patch.txt is part of testing case for holdCursorIJ.sql. 
I have trouble with translating the third test case, whch is from Line 84 to 
Line 112 in holdCursorIJ.sql. When I run the test case with TestRunner, an 
exception is thrown, indicating that 

1) testDropTableWithOpenHoldCursor(org.apache.derbyTesting.functionTests.tests.l
ang.HoldCursorIJTest)junit.framework.ComparisonFailure: Unexpected SQL state. ex
pected:<42Y5...> but was:
at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDB
CTestCase.java:760)
at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertSQLState(BaseJDB
CTestCase.java:809)
at org.apache.derbyTesting.junit.BaseJDBCTestCase.dropTable(BaseJDBCTest
Case.java:941)
at org.apache.derbyTesting.junit.BaseJDBCTestCase.dropTable(BaseJDBCTest
Case.java:922)
at org.apache.derbyTesting.functionTests.tests.lang.HoldCursorIJTest.tes
tDropTableWithOpenHoldCursor(HoldCursorIJTest.java:228)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:
104)
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
)

I don't know why. Because I have expected SQLException X0X95 in Line 228 of 
org.apache.derbyTesting.functionTests.tests.l
ang.HoldCursorIJTest.

Is something wrong with my IJ?
Thank you!

> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 
> --
>
> Key: DERBY-3801
> URL: https://issues.apache.org/jira/browse/DERBY-3801
> Project: Derby
>  Issue Type: Test
>Reporter: Junjie Peng
>Assignee: Junjie Peng
> Attachments: derby-3801-1-patch.txt
>
>
> Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" 
> to junit. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.