Search Results

Search found 2 results on 1 pages for 'prithis'.

Page 1/1 | 1 

  • Junit exception test

    - by Prithis
    I have two tests to check the expected exception throw. I am using Junit 4 and has following syntax. @Test(expected=IllegalArgumentException.class) public void testSomething(){ .......... } One of the tests fail even though IllegalArgumentException is thrown and the other passes. Any idea whats missing?? I modified the test which is failing to following and it passes. public void testSomething(){ try{ ............ //line that throws exception fail(); }catch(IllegalArgumentException e) { } }

    Read the article

  • Solution for ora-1017 error for odp.net 2.111.7.0 ?

    - by Prithis
    Hi, As you are aware Oracle 11g has new facility of case sensitive password. We want to make use of it. When my C# application connects to oracle databse using ODP.Net 2.111.7.0 I am getting ora-1017 error. When we switch off this case sensitive feature it works without any change to the connection string. Any idea what is missing? is there any escape sequence we can use to specify lowercase characters in password? Thanks

    Read the article

1