- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 2,907 for _shouldn (0.1 sec)
-
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
assertNotNull(appType); // appType should be either empty string or the actual env value assertTrue(appType.isEmpty() || appType.length() > 0); } public void test_getOverrideConfPath() { // Test when app type is not docker OptionalEntity<String> confPath = ResourceUtil.getOverrideConfPath(); assertNotNull(confPath); // Should be empty when not docker app type
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
// Should pass without exception } @Test public void testValidPath() throws Exception { validator.validatePath("\\share\\folder\\file.txt"); validator.validatePath("C:\\Windows\\System32"); validator.validatePath(null); // Null should be allowed validator.validatePath(""); // Empty should be allowed } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
directoryLeaseManager.handleDirectoryChange(directoryPath, "file2.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_MODIFIED); assertFalse(entry.hasChild("file2.txt")); // Should be removed to force refresh // Test DIRECTORY_RENAMED - should invalidate entire cache entry.updateChild("file3.txt", 3072L, 3000L, false, 0x20, 700L, 1000L); entry.markComplete();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
CustomSmbTree inner = middle.unwrap(CustomSmbTree.class); assertNotNull(middle, "Middle tree should not be null"); assertNotNull(inner, "Inner tree should not be null"); assertSame(middleTree, middle, "Should return correct middle tree"); assertSame(innerTree, inner, "Should return correct inner tree"); } /** * Test for unwrap with incompatible type.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
// Test the no-argument constructor ConnectionTimeoutException exception = new ConnectionTimeoutException(); assertNull(exception.getMessage(), "Message should be null for no-arg constructor"); assertNull(exception.getCause(), "Cause should be null for no-arg constructor"); } @Test void testStringConstructor() { // Test the constructor with a message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
for (final String cmd : processedCommands) { assertFalse("Command should not contain ${url}", cmd.contains("${url}")); assertFalse("Command should not contain ${outputFile}", cmd.contains("${outputFile}")); assertTrue("Command should contain temp path", cmd.contains(tempPath)); assertTrue("Command should contain output path", cmd.contains(outputPath)); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 16.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect * {@code setCount()} to throw an exception, as checking the return value could produce an * incorrect error message like "setCount() should return the original count" instead of the * message passed to a later invocation of {@code fail()}, like "setCount should throw * UnsupportedOperationException." */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
assertNull( "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3())); expectAdded(e3()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_supportedPresent() { assertEquals( "putIfAbsent(present, value) should return existing value", v0(), getMap().putIfAbsent(k0(), v3()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
// Act & Assert assertNotNull(impl, "Implementation instance should not be null"); assertTrue(SessionSetupHandler.class.isInstance(impl), "Instance should be assignable to interface"); assertTrue(SessionSetupHandler.class.isAssignableFrom(impl.getClass()), "Type should be assignable"); } @Test @DisplayName("Edge: null is not an instance of the interface")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java
assertEquals(2, problems.size(), "Should collect both problems"); assertEquals(Problem.Severity.ERROR, problems.get(0).getSeverity(), "First problem should be ERROR"); assertEquals("Error message", problems.get(0).getMessage(), "First problem should have correct message"); assertEquals(Problem.Severity.WARNING, problems.get(1).getSeverity(), "Second problem should be WARNING"); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Jul 20 20:19:43 UTC 2025 - 2.3K bytes - Viewed (0)