Hi ,

The test case i sent you earlier using the class[1] if you see the class
it's running some queries

[1]
https://github.com/wso2-dev/product-dss/blob/master/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/dss/integration/common/utils/SqlDataSourceUtil.java

Thanks,
Iqbal

On Fri, Jan 23, 2015 at 6:49 PM, Buddhima Wijeweera <[email protected]>
wrote:

> Hi,
>
> Thank you Irham & Waruna for the quick responses.
>
> I would also like to know is there a way to query records in a table.
>
> Thanks!
>
> On Fri, Jan 23, 2015 at 6:15 PM, Waruna Perera <[email protected]> wrote:
>
>>
>> https://github.com/warunap/product-esb/blob/master/modules/integration/tests-integration/tests-sample/src/test/java/org/wso2/carbon/esb/samples/test/mediation/db/Sample360TestCase.java
>>
>> On Fri, Jan 23, 2015 at 5:42 PM, Buddhima Wijeweera <[email protected]>
>> wrote:
>>
>>> Hi,
>>> I need to write test-cases for a new feature which connects with a
>>> database (H2).
>>> Tests need to;
>>> * Create a new table.
>>> * Remove table.
>>>
>>> Is this possible with the Test-Framework?
>>> If so, please provide a sample test-case for that.
>>>
>>> Thank You!
>>>
>>> --
>>> Buddhima Wijeweera
>>> Software Engineer; WSO2 Inc.; http://wso2.com ,
>>>
>>> Mobile: +94 71 427 9966
>>> Email: [email protected]
>>> Blog:   https://buddhimawijeweera.wordpress.com
>>> GitHub Profile: https://github.com/Buddhima
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Waruna Perera
>> Senior Software Engineer - Test Automation
>> Mobile: +94 77 3867037
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>
>
> --
> Buddhima Wijeweera
> Software Engineer; WSO2 Inc.; http://wso2.com ,
>
> Mobile: +94 71 427 9966
> Email: [email protected]
> Blog:   https://buddhimawijeweera.wordpress.com
> GitHub Profile: https://github.com/Buddhima
>



-- 
Irham Iqbal
Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to