File tree Expand file tree Collapse file tree
core-java-jndi/src/test/java/com/baeldung/jndi/exceptions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package com .baeldung .jndi .exceptions ;
22
3- import org .junit .Ignore ;
3+ import static org .junit .jupiter .api .Assertions .assertThrows ;
4+
5+ import javax .naming .InitialContext ;
6+ import javax .naming .NameNotFoundException ;
7+ import javax .naming .NoInitialContextException ;
8+
49import org .junit .jupiter .api .Disabled ;
510import org .junit .jupiter .api .MethodOrderer ;
611import org .junit .jupiter .api .Order ;
914import org .springframework .jndi .JndiTemplate ;
1015import org .springframework .mock .jndi .SimpleNamingContextBuilder ;
1116
12- import javax .naming .InitialContext ;
13- import javax .naming .NameNotFoundException ;
14- import javax .naming .NoInitialContextException ;
15-
16- import static org .junit .jupiter .api .Assertions .assertThrows ;
17-
1817@ TestMethodOrder (MethodOrderer .OrderAnnotation .class )
1918public class JndiExceptionsUnitTest {
2019
21- @ Disabled
20+ @ Disabled
2221 @ Test
2322 @ Order (1 )
2423 void givenNoContext_whenLookupObject_thenThrowNoInitialContext () {
Original file line number Diff line number Diff line change 4949 <module >core-java-concurrency-basic-2</module >
5050 <module >core-java-concurrency-collections</module >
5151
52- <module >core-java-date-operations-1</module >
52+ <!-- < module>core-java-date-operations-1</module> --> <!-- We haven't upgraded to java 9. Fixing in BAEL-10841 -- >
5353 <module >core-java-date-operations-2</module >
5454 <!-- We haven't upgraded to java 9.-->
5555 <!--
You can’t perform that action at this time.
0 commit comments