Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 3,275 for Nest (0.13 sec)

  1. src/test/java/jcifs/smb1/util/HMACT64Test.java

            Arrays.fill(LONG_TEST_KEY, (byte) 0xAB);
        }
    
        @Test
        void testConstructorWithNormalKey() {
            // Test constructor with a normal length key
            HMACT64 hmac = new HMACT64(TEST_KEY);
            assertNotNull(hmac);
        }
    
        @Test
        void testConstructorWithLongKey() {
            // Test constructor with a key longer than BLOCK_LENGTH (64 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author taedium
     */
    public class ResourceTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachFile() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verifyNoInteractions;
    
    import java.lang.reflect.Field;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.NullSource;
    import org.junit.jupiter.params.provider.ValueSource;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    class DcerpcExceptionTest {
    
        /**
         * Test constructor DcerpcException(int error) with a known error code.
         */
        @Test
        void testConstructorWithError_knownCode() {
            int errorCode = DcerpcError.DCERPC_FAULT_ACCESS_DENIED;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            testData.add(createRelatedQuery("test", new String[] { "initial" }, ""));
            mockBhv.setTestData(testData);
    
            relatedQueryHelper.load();
            String[] results = relatedQueryHelper.getRelatedQueries("test");
            assertEquals("initial", results[0]);
    
            // Update test data
            testData.clear();
            testData.add(createRelatedQuery("test", new String[] { "updated" }, ""));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    import java.net.UnknownHostException
    import kotlin.test.assertFailsWith
    import okhttp3.Address
    import okhttp3.FakeDns
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.Route
    import okhttp3.TestValueFactory
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            // Replace the info.e field with our empty array
            setDfsEnumArray(dfsRootEnum, emptyArray);
    
            // Test getEntries returns empty array
            FileEntry[] entries = dfsRootEnum.getEntries();
            assertNotNull(entries);
            assertEquals(0, entries.length);
        }
    
        @Test
        @DisplayName("getEntries should return SmbShareInfo array for DFS roots")
        void testGetEntries_populatedArray() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code retainAll} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author shot
     */
    public class MimeTypeUtilTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFromStream() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbTransportTest.java

            verify(smbTransport).unwrap(SmbTransport.class); // Verify that the method was called
        }
    
        @Test
        void testClose() throws Exception {
            // Act
            smbTransport.close();
    
            // Assert
            verify(smbTransport).close(); // Verify that the close method was called
        }
    
        @Test
        void testGetRemoteAddress() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top