- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 85 for non_existent (0.14 seconds)
-
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
HandleInfo info = manager.getHandleByPath("/test/file.txt"); assertNotNull(info); assertEquals(guid, info.getCreateGuid()); assertNull(manager.getHandleByPath("/nonexistent/file.txt")); } @Test public void testMultipleHandles() { HandleGuid guid1 = manager.requestDurableHandle("/test/file1.txt", HandleType.DURABLE_V2, 120000, null);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 6.6K bytes - Click Count (0) -
finisher_api.go
// // FirstOrInit never modifies the database. It is often used with Assign and Attrs. // // // assign an email if the record is not found // db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user) // // user -> User{Name: "non_existing", Email: "******@****.***"} // // // assign email regardless of if record is found // db.Where(User{Name: "jinzhu"}).Assign(User{Email: "******@****.***"}).FirstOrInit(&user)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 22.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/OsddHelperTest.java
@Override public String getSsoType() { return "none"; } }); final OsddHelper osddHelper = new OsddHelper(); osddHelper.setOsddPath("osdd/nonexistent.xml"); osddHelper.init(); assertFalse(osddHelper.hasOpenSearchFile()); try { osddHelper.asStream(); fail("Should throw exception when osddFile is null");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
@Test public void test_provide_notFound() { // Test with various classification names that should not be found assertProvideThrowsException("TestClassification"); assertProvideThrowsException("NonExistent"); assertProvideThrowsException(""); assertProvideThrowsException("Some.Classification"); assertProvideThrowsException("Project.TestClassification"); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
// Test that Files.deleteIfExists doesn't throw on non-existing file Path tempDir = Files.createTempDirectory("toctou_test"); try { Path nonExistingFile = tempDir.resolve("non_existing.tmp"); assertFalse(Files.exists(nonExistingFile)); // Should return false without throwing exception boolean deleted = Files.deleteIfExists(nonExistingFile);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
thread.start(); thread.join(1000); assertTrue(thread.contains("exact line")); assertTrue(thread.contains("another line")); assertFalse(thread.contains("nonexistent")); } @Test public void test_contains_withTrimming() throws InterruptedException { String input = " trimmed line \n\tanother\t";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12K bytes - Click Count (0) -
src/test/java/jcifs/context/SingletonContextTest.java
} @Test void testInitIOExceptionHandling(@TempDir Path tempDir) { // Test handling IOException when loading jcifs.properties Path nonExistentPath = tempDir.resolve("nonexistent.properties"); System.setProperty("jcifs.properties", nonExistentPath.toString()); // Expect no exception to be thrown, but an error logged (which we can't directly assert here)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
} @Test public void test_replaceUrl_withNonExistentSessionId() { final String url = "file:///home/user/"; assertEquals(url, pathMappingHelper.replaceUrl("nonexistent", url)); } @Test public void test_replaceUrl_withEmptyList() { final String sessionId = "test"; final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 15.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
assertEquals("80", dcerpcBinding.getOption("connect"), "Should return the set option value."); } @Test void testGetOptionNonExistent() { assertNull(dcerpcBinding.getOption("nonExistent"), "Should return null for a non-existent option."); } @Test void testToStringWithoutOptionsAndEndpoint() { String expected = PROTO + ":" + SERVER + "[null]";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
cmd/bucket-lifecycle_test.go
{ // non-existent storage-class xml: []byte(`<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Rule><ID>rule</ID><Prefix /><Status>Enabled</Status><Transition><Days>1</Days><StorageClass>"NONEXISTENT"</StorageClass></Transition></Rule></LifecycleConfiguration>`), expectedErr: errInvalidStorageClass, }, { // no transition ruleCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 31 09:57:57 GMT 2022 - 7K bytes - Click Count (0)