Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 878 for Verify (0.15 sec)

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

        @Test
        public void testToString() {
            response.dataCompactionMode = 1;
            response.dataLength = 1024;
            response.dataOffset = 54;
    
            String result = response.toString();
    
            // Verify that toString includes the key fields
            assertNotNull(result);
            assertTrue(result.contains("SmbComReadAndXResponse"));
            assertTrue(result.contains("dataCompactionMode=1"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    
    /**
     * Simple derived class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class DerivedComparable extends BaseComparable {
      public DerivedComparable(String s) {
        super(s);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/score/ScoreBoosterTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        // Basic test to verify test framework is working
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilderTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        // Basic test to verify test framework is working
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            DictionaryException exception = new DictionaryException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that the stack trace contains this test method
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/https/HandlerTest.java

                // Then
                assertEquals(jcifs.http.Handler.class, superclass);
                assertEquals(URLStreamHandler.class, superclass.getSuperclass());
            }
    
            @Test
            @DisplayName("Should verify class is final or non-final appropriately")
            void testClassModifiers() {
                // When
                int modifiers = Handler.class.getModifiers();
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/NegTokenInitTest.java

                int expected = NegTokenInit.DELEGATION | NegTokenInit.INTEGRITY | NegTokenInit.CONFIDENTIALITY;
                assertEquals(expected, init.getContextFlags());
    
                // Verify each flag individually
                assertTrue(init.getContextFlag(NegTokenInit.DELEGATION));
                assertTrue(init.getContextFlag(NegTokenInit.INTEGRITY));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SIDTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.ArgumentMatchers.eq;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.io.IOException;
    
    import org.junit.jupiter.api.Test;
    import org.mockito.ArgumentCaptor;
    
    import jcifs.dcerpc.rpc;
    import jcifs.smb.SID;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[17] = 0x00;
            testBuffer[18] = 0x00;
            testBuffer[19] = 0x00;
    
            // Test decode
            int size = ace.decode(testBuffer, 0, testBuffer.length);
    
            // Verify results
            assertEquals(32, size);
            assertTrue(ace.isAllow());
            assertEquals(0x03, ace.getFlags());
            assertEquals(0x001200A9, ace.getAccessMask());
            assertNotNull(ace.getSID());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertNotNull(log);
            assertTrue(log.startsWith("Mem:{used "));
            assertTrue(log.contains(", heap "));
            assertTrue(log.contains(", max "));
            assertTrue(log.endsWith("}"));
    
            // Verify format contains expected memory units
            assertTrue(log.matches(".*used [0-9.]+[a-zA-Z]+, heap [0-9.]+[a-zA-Z]+, max [0-9.]+[a-zA-Z]+.*"));
        }
    
        public void test_byteCountToDisplaySize_edgeCases() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top