Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 3,740 for SHOULD (0.33 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

        }
    
        // ========== Error Tolerance Tests ==========
    
        public void test_parseXmlSitemaps_missingLocElement() {
            // URL entry without loc element should be skipped, but others should be parsed
            final String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  2. internal/dsync/dsync_test.go

    		t.Fatal("GetLock() should be successful")
    	}
    
    	// Wait until context is canceled
    	wg.Wait()
    	if ctx.Err() == nil {
    		t.Fatal("Unexpected error", ctx.Err())
    	}
    
    	// Should be safe operation in all cases
    	dm.Unlock(t.Context())
    }
    
    // Test Unlock should not timeout
    func TestUnlockShouldNotTimeout(t *testing.T) {
    	if testing.Short() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

                    );
    
            String projectId = (String) extractProjectIdMethod.invoke(null, mockResult);
    
            assertNotNull(projectId, "Project ID should not be null");
            assertEquals(
                    "com.example:test-project:jar:1.0.0",
                    projectId,
                    "Should extract project ID from rawModel when effectiveModel is null");
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. tests/customize_field_test.go

    		t.Errorf("Failed to migrate, got error: %v", err)
    	}
    
    	if DB.Migrator().HasColumn(&CustomizeFieldStruct{}, "FieldIgnore") {
    		t.Errorf("FieldIgnore should not be created")
    	}
    
    	if DB.Migrator().HasColumn(&CustomizeFieldStruct{}, "field_ignore") {
    		t.Errorf("FieldIgnore should not be created")
    	}
    
    	generateStruct := func(name string) *CustomizeFieldStruct {
    		return &CustomizeFieldStruct{
    			Name:             name,
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            byte[] data = "Hello, World!".getBytes();
            ContentCache cache = new ContentCache(data);
    
            // Memory-based cache close should not throw exception
            cache.close();
    
            // Should still be able to get input stream after close for memory cache
            try (InputStream stream = cache.getInputStream()) {
                assertNotNull(stream);
            }
        }
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            for (int i = 20; i < 28; i++) {
                assertEquals(0, buffer[i], "Padding byte at position " + i + " should be 0");
            }
    
            // The byte at position 28 should be unchanged
            assertEquals((byte) 0xFF, buffer[28], "Byte after padding should be unchanged");
        }
    
        @Test
        @DisplayName("Test maxParameterCount and maxDataCount values")
        void testMaxCountValues() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

        assertFalse(
            "setCount() with a too-large oldCount should return false",
            getMultiset().setCount(e0(), 2, 3));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_oldCountTooSmallZero() {
        assertFalse(
            "setCount() with a too-small oldCount should return false",
            getMultiset().setCount(e0(), 0, 2));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. tests/helper_test.go

    			if pet == nil || expect.Pets[idx] == nil {
    				t.Errorf("pets#%v should equal, expect: %v, got %v", idx, expect.Pets[idx], pet)
    			} else {
    				doCheckPet(t, *pet, *expect.Pets[idx], unscoped)
    			}
    		}
    	})
    
    	t.Run("Toys", func(t *testing.T) {
    		if len(user.Toys) != len(expect.Toys) {
    			t.Fatalf("toys should equal, expect: %v, got %v", len(expect.Toys), len(user.Toys))
    		}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java

    class UpgradeContextTest {
    
        @Test
        @DisplayName("should create context successfully")
        void shouldCreateContextSuccessfully() {
            // Use existing test utilities to create a context
            UpgradeContext context = TestUtils.createMockContext(Paths.get("/test"));
    
            // Verify context is created and basic methods work
            assertNotNull(context, "Context should be created");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top