Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,141 for assertTrue (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // When
            String result = trans2GetDfsReferral.toString();
    
            // Then
            assertNotNull(result);
            assertTrue(result.contains("Trans2GetDfsReferral"));
            assertTrue(result.contains("maxReferralLevel=0x3"));
            assertTrue(result.contains("filename=" + filename));
        }
    
        @Test
        @DisplayName("toString should handle null path")
        void testToStringWithNullPath() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlTest.java

                }
            }
    
            assertTrue("GET method should exist", hasGet);
            assertTrue("POST method should exist", hasPost);
            assertTrue("PUT method should exist", hasPut);
            assertTrue("DELETE method should exist", hasDelete);
            assertTrue("HEAD method should exist", hasHead);
            assertTrue("OPTIONS method should exist", hasOptions);
            assertTrue("TRACE method should exist", hasTrace);
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertNotNull(result);
                assertTrue(result.contains("command=SMB_COM_NEGOTIATE"));
                assertTrue(result.contains("received=true"));
                assertTrue(result.contains("errorCode=0"));
                assertTrue(result.contains("flags=0x"));
                assertTrue(result.contains("flags2=0x"));
                assertTrue(result.contains("signSeq=42"));
                assertTrue(result.contains("tid=" + 0x1234));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            String result = purgeDocJob.execute();
    
            // Assert deleteByQuery was called
            assertTrue(deleteByQueryCalled);
    
            // Assert correct index was used
            assertEquals("fess.update", deleteIndex);
    
            // Assert query builder is correct
            assertNotNull(deleteQuery);
            assertTrue(deleteQuery instanceof RangeQueryBuilder);
            RangeQueryBuilder rangeQuery = (RangeQueryBuilder) deleteQuery;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            String actual = response.toString();
            assertTrue(actual.startsWith("Trans2FindFirst2Response["));
            assertTrue(actual.contains("sid=123"));
            assertTrue(actual.contains("searchCount=5"));
            assertTrue(actual.contains("isEndOfSearch=true"));
            assertTrue(actual.contains("lastName=file5.txt"));
            assertTrue(actual.endsWith("]"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                assertTrue(e.getMessage().contains("Not found"));
            }
        }
    
        // Test getThumbnailPathOption
        public void test_getThumbnailPathOption() {
            String option = thumbnailManager.getThumbnailPathOption();
            assertNotNull(option);
            assertTrue(option.startsWith("-D" + Constants.FESS_THUMBNAIL_PATH + "="));
            assertTrue(option.contains(tempDir.getAbsolutePath()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        void testInheritance() {
            // Verify that SmbComNtTransaction extends SmbComTransaction
            assertTrue(transaction instanceof SmbComTransaction);
    
            // Verify that it's also a ServerMessageBlock
            assertTrue(transaction instanceof ServerMessageBlock);
        }
    
        @Test
        @DisplayName("Test createCancel with zero MID")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            assertNotNull(result);
            assertTrue(result.contains("sessionId=session123"));
            assertTrue(result.contains("name=testCrawl"));
            assertTrue(result.contains("webConfigIds=web1,web2"));
            assertTrue(result.contains("fileConfigIds=file1"));
            assertTrue(result.contains("dataConfigIds=data1"));
            assertTrue(result.contains("propertiesPath=/path/to/props"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                    break;
                }
            }
    
            assertTrue("Should have appendOsStats method", hasAppendOsStats);
            assertTrue("Should have appendProcessStats method", hasAppendProcessStats);
            assertTrue("Should have appendJvmStats method", hasAppendJvmStats);
            assertTrue("Should have appendFesenStats method", hasAppendFesenStats);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        assertEquals(IllegalStateException.class, e.getCause().getClass());
    
        assertTrue(listenerLatch.await(5, SECONDS));
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
      }
    
      public void testListenerCalledOnCancelFromNotRunning() throws Exception {
        task.cancel(false);
        assertTrue(task.isDone());
        assertTrue(task.isCancelled());
        assertEquals(1, runLatch.getCount());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top