Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for assertInstanceOf (0.73 sec)

  1. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            assertNotNull(entries);
            assertEquals(2, entries.length);
    
            assertInstanceOf(SmbShareInfo.class, entries[0]);
            assertNull(entries[0].getName());
            assertEquals(8, entries[0].getType()); // TYPE_SHARE constant value
    
            assertInstanceOf(SmbShareInfo.class, entries[1]);
            assertEquals("valid_share", entries[1].getName());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            assertNotNull(source);
            assertInstanceOf(Sources.PathSource.class, source);
            assertEquals(path.normalize(), source.getPath());
        }
    
        @Test
        void testBuildSource() {
            Path path = Paths.get("/tmp");
            ModelSource source = Sources.buildSource(path);
    
            assertNotNull(source);
            assertInstanceOf(Sources.BuildPathSource.class, source);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

            assertNotNull(versionFilter);
            assertInstanceOf(ContextualSnapshotVersionFilter.class, versionFilter);
    
            request.getUserProperties().put("maven.session.versionFilter", "h");
            versionFilter = systemSessionFactory.newRepositorySession(request).getVersionFilter();
            assertNotNull(versionFilter);
            assertInstanceOf(HighestVersionFilter.class, versionFilter);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            Exception e = assertThrows(Exception.class, () -> ee.evaluate("${session.rootDirectory}"));
            e = assertInstanceOf(IntrospectionException.class, e.getCause());
            e = assertInstanceOf(IllegalStateException.class, e.getCause());
            assertEquals(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, e.getMessage());
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            Exception e = assertThrows(Exception.class, () -> ee.evaluate("${session.rootDirectory}"));
            e = assertInstanceOf(IntrospectionException.class, e.getCause());
            e = assertInstanceOf(IllegalStateException.class, e.getCause());
            assertEquals(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, e.getMessage());
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    import static org.junit.jupiter.api.Assertions.assertInstanceOf;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 10:39:17 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertInstanceOf;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.never;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

    package jcifs.internal.smb2;
    
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertInstanceOf;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNotSame;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/di/DiTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.condition.EnabledIf;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertInstanceOf;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    public class DiTest {
    
        // return true to run the test
        static boolean testShouldNotHaveDuplicates() {
            return true;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 10 23:18:32 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertInstanceOf;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top