Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 124 for testfile (0.38 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                });
            }
        }
    
        @Nested
        @DisplayName("Size Tests")
        class SizeTests {
    
            @Test
            @DisplayName("Should return correct size")
            void testSize() {
                int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 4;
                // size8 rounds up to 8-byte boundary
                int expectedAlignedSize = (expectedSize + 7) & ~7;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            assertFalse(context.isNotificationEnabled());
    
            context.setNotificationFilter(0xFF);
            assertEquals(0xFF, context.getNotificationFilter());
        }
    
        @Test
        public void testSize() {
            Smb2LeaseKey key = new Smb2LeaseKey();
            DirectoryLeaseContext context = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            // Context header: 16 bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. gradlew

    #         * functions;
    #         * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
    #           «${var#prefix}», «${var%suffix}», and «$( cmd )»;
    #         * compound commands having a testable exit status, especially «case»;
    #         * various built-in commands including «command», «set», and «ulimit».
    #
    #   Important for patching:
    #
    #   (2) This script targets any POSIX shell, so it avoids extensions provided
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            // This is complex due to the class structure. A better approach would be
            // to refactor SmbFile to be more testable (e.g., dependency injection).
            // For now, we test methods that don't require deep mocks.
            return new SmbFile(url, auth);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(0L, info.getSize());
        }
    
        @Test
        @DisplayName("Test size method returns correct buffer size")
        void testSize() {
            assertEquals(40, fileBasicInfo.size());
        }
    
        @Test
        @DisplayName("Test encode method")
        void testEncode() throws SMBProtocolDecodingException {
            // Create instance with test values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            }
        }
    
        @Nested
        @DisplayName("Size Method Tests")
        class SizeTests {
    
            @Test
            @DisplayName("Should return correct size of 24 bytes")
            void testSize() {
                // Given
                SrvCopychunk chunk = new SrvCopychunk(0, 0, 0);
    
                // When
                int size = chunk.size();
    
                // Then
                assertEquals(EXPECTED_SIZE, size);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. tensorflow/api_template_v1.__init__.py

        _site_packages_dirs += [sysconfig.get_path(_name, _scheme)]
    
    _site_packages_dirs = list(set(_site_packages_dirs))
    
    # Find the location of this exact file.
    _current_file_location = _inspect.getfile(_inspect.currentframe())
    
    def _running_from_pip_package():
      return any(
          _current_file_location.startswith(dir_) for dir_ in _site_packages_dirs)
    
    if _running_from_pip_package():
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      public void testPending() {
        assertPending(future);
      }
    
      public void testSuccessful() throws Exception {
        assertThat(future.set(1)).isTrue();
        assertSuccessful(future, 1);
      }
    
      public void testFailed() throws Exception {
        Exception cause = new Exception();
        assertThat(future.setException(cause)).isTrue();
        assertFailed(future, cause);
      }
    
      public void testCanceled() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileTest.java

                // Arrange
                doReturn(true).when(smbFile).isDirectory();
    
                // Act & Assert
                assertTrue(smbFile.isDirectory());
            }
    
            @Test
            void testIsFile() throws SmbException {
                // Arrange
                doReturn(true).when(smbFile).isFile();
    
                // Act & Assert
                assertTrue(smbFile.isFile());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NetworkExplorerTest.java

            verify(response).setContentType("application/octet-stream");
        }
    
        /**
         * Test doFile method directly - simplified test
         */
        @Test
        void testDoFile() throws Exception {
            initializeNetworkExplorer(false, "jCIFS");
    
            // Setup mock file with minimal required behavior
            String content = "File content for testing";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top