Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for testOid (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

            SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir");
            assertEquals("testDir", sdd.path);
            assertEquals(ServerMessageBlock.SMB_COM_DELETE_DIRECTORY, sdd.command);
        }
    
        /**
         * Test writeParameterWordsWireFormat.
         */
        @Test
        void testWriteParameterWordsWireFormat() {
            SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir");
            byte[] dst = new byte[10];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SidResolverTest.java

        @Mock
        private SID mockSid3;
    
        @Mock
        private SID mockDomainSid;
    
        private String testServerName;
        private SID[] testSids;
    
        @BeforeEach
        void setUp() {
            testServerName = "test-server.domain.com";
            testSids = new SID[] { mockSid1, mockSid2, mockSid3 };
        }
    
        // Test resolveSids with array
        @Test
        void testResolveSids_Success() throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/ACETest.java

        @Test
        @DisplayName("Test getSID returns correct SID")
        void testGetSID() throws SmbException {
            assertNull(ace.getSID());
    
            SID testSid = new SID("S-1-5-21-1234567890-123456789-123456789-1000");
            ace.sid = testSid;
    
            assertSame(testSid, ace.getSID());
        }
    
        @Test
        @DisplayName("Test decode with offset")
        void testDecodeWithOffset() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. dbflute_fess/dfprop/sourceCopyright.dfprop

    # sourceCopyright: (NotRequired - Default '')
    #
    # The copyright for all class sources.
    # This property is NOT map style.
    # You should specify before your first generating.
    #
    #/*
    # * Copyright(c) DBFlute TestCo.,TestLtd. All Rights Reserved.
    # */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 344 bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

                    if (fileId != null) {
                        capturedFileId[0] = fileId[0];
                    }
                }
            };
    
            // When
            byte[] testId = new byte[] { 42 };
            anonymousImpl.setFileId(testId);
    
            // Then
            assertEquals(42, capturedFileId[0], "Anonymous implementation should work correctly");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    ## Testing Best Practices
    
    1. **Isolation**: Each test is independent and doesn't affect others
    2. **Clarity**: Test names clearly describe what is being tested
    3. **Coverage**: Both success and failure paths are tested
    4. **Edge Cases**: Null, empty, and boundary conditions are covered
    5. **Resources**: Test resources are properly managed and cleaned up
    
    ## Contributing
    
    When adding new tests:
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

         */
        @Test
        void testConstructor() throws NoSuchFieldException, IllegalAccessException {
            // Create an instance of the class to be tested
            MsrpcGetMembersInAlias request = new MsrpcGetMembersInAlias(aliasHandle, sids);
    
            // Assert that the public 'sids' field is initialized as expected
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. docs/smb3-features/04-directory-leasing-design.md

        context.getConfig().setProperty("jcifs.smb.client.directoryNotificationsEnabled", "true");
        
        SmbFile dir = new SmbFile("smb://server/share/testdir/", context);
        SmbFile testFile = new SmbFile("smb://server/share/testdir/newfile.txt", context);
        
        // Get initial listing (establishes cache)
        SmbFile[] initialFiles = dir.listFiles();
        
        // Create new file
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/DocMap.java

            return parent.isEmpty();
        }
    
        /**
         * Returns true if this map contains a mapping for the specified key.
         *
         * @param key the key whose presence in this map is to be tested
         * @return true if this map contains a mapping for the specified key
         */
        @Override
        public boolean containsKey(final Object key) {
            return parent.containsKey(key);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java

                    "flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
            // Verify that the super constructor was called with the correct handle.
            // This is implicitly tested by the object being created without error and
            // the fields set by the constructor being correct.
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top