Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 2,989 for _shouldn (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     */
    
    public class SmbNamedPipe extends SmbFile {
    
        /**
         * The pipe should be opened read-only.
         */
    
        public static final int PIPE_TYPE_RDONLY = O_RDONLY;
    
        /**
         * The pipe should be opened only for writing.
         */
    
        public static final int PIPE_TYPE_WRONLY = O_WRONLY;
    
        /**
         * The pipe should be opened for both reading and writing.
         */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Execute for primary transaction
            int primaryBytes = transaction.writeParameterWordsWireFormat(dst, 0);
    
            // The return value should be the number of bytes written
            // For primary NT transaction: should be at least 38 bytes
            assertTrue(primaryBytes >= 38);
    
            // Execute for secondary transaction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

                    if (field.getType().equals(HtmlNext.class)) {
                        Object value = field.get(null);
                        assertNotNull("Field " + field.getName() + " should not be null", value);
                        assertTrue("Field " + field.getName() + " should be HtmlNext instance", value instanceof HtmlNext);
                    }
                }
            }
        }
    
        public void test_pathValues() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

            byte[] buf = new byte[offset + 8]; // extra space for safety
    
            // Act
            int written = req.writeBytesWireFormat(buf, offset);
    
            // Assert: should write exactly 4 bytes
            assertEquals(4, written, "Should report 4 bytes written");
            // StructureSize (2 bytes, LE) == 4
            assertEquals(4, SMBUtil.readInt2(buf, offset));
            // Reserved (2 bytes, LE) == 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            try {
                SearchEngineUtil.class.getDeclaredConstructor().newInstance();
                fail("Should not be able to instantiate utility class");
            } catch (Exception e) {
                // Expected - utility classes should have private constructors
                assertTrue(e instanceof IllegalAccessException || e.getCause() instanceof IllegalAccessException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            System.out.printf("  Avg release time: %.2f ns%n", avgReleaseTimeNs);
    
            // Verify O(1) performance - should be reasonably fast (allowing for JVM overhead)
            assertTrue(avgAllocTimeNs < 10000, "Average allocation should be under 10000ns (O(1) performance)");
            assertTrue(avgReleaseTimeNs < 10000, "Average release should be under 10000ns (O(1) performance)");
            assertEquals(threadCount * operationsPerThread, allocations.get());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

            }
        }
    
        public void test_classStructure() {
            // Verify the class is generic
            final java.lang.reflect.TypeVariable<?>[] typeParameters = FessActionValidator.class.getTypeParameters();
            assertEquals("Should have one type parameter", 1, typeParameters.length);
            assertEquals("Type parameter should be MESSAGES", "MESSAGES", typeParameters[0].getName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

            List<KerberosAuthData> result = KerberosAuthData.parse(unknownAuthType, emptyToken, mockKeys);
    
            // THEN the result should be an empty list
            assertNotNull(result, "The result should not be null.");
            assertTrue(result.isEmpty(), "The result should be empty for unknown auth types.");
        }
    
        /**
         * Test parsing of {@link KerberosConstants#AUTH_DATA_PAC} with an invalid token.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbTransportTest.java

            // Act
            CIFSContext result = smbTransport.getContext();
    
            // Assert
            assertNotNull(result, "Context should not be null");
            assertEquals(cifsContext, result, "Returned context should be the mocked context");
            verify(smbTransport).getContext(); // Verify that the method was called
        }
    
        @Test
        void testUnwrap() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/ResourceManagerTest.java

     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top