- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 3,353 for TEST (0.62 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java
} public void test_builder() { assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).extract().getContent()); assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).filename("test.txt").extract().getContent()); } public void test_addExtractor_weight() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java
} @Test void testExcludeAllWildcard() { Exclusion exclusion = new Exclusion(); exclusion.setGroupId("*"); exclusion.setArtifactId("*"); ExclusionArtifactFilter filter = new ExclusionArtifactFilter(Collections.singletonList(exclusion)); assertFalse(filter.include(artifact), "Artifact should be excluded by all wildcard"); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Arrays; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @DisplayName("Smb2LeaseKey Tests") class Smb2LeaseKeyTest { @Test @DisplayName("Should generate random lease key with correct size") void testRandomLeaseKeyGeneration() { Smb2LeaseKey key = new Smb2LeaseKey();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
channel2.setState(ChannelState.ESTABLISHED); } @Test void testSingleChannelSelection() { when(mockChannelManager.getHealthyChannels()).thenReturn(Collections.singletonList(channel1)); ChannelInfo selected = loadBalancer.selectChannel(mockMessage); assertEquals(channel1, selected); } @Test void testNoChannelsAvailable() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
assertTrue(ex.getMessage().contains("Bad textual SID format")); } @Test @DisplayName("Textual constructor null throws NullPointerException") void testTextualConstructorNull() { assertThrows(NullPointerException.class, () -> new SID((String) null)); } @Test @DisplayName("Binary constructor happy path and round-trip via toByteArray")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) @DisplayName("UUID Tests") class UUIDTest { // Test data for a valid UUID string private static final String VALID_UUID_STRING = "00112233-4455-6677-8899-AABBCCDDEEFF";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; class ByteEncodableTest { @Test void testConstructorAndSize() { // Test with a basic byte array byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 }; ByteEncodable encodable = new ByteEncodable(data, 1, 3); // Verify sizeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java
assertEquals("XBC", result); } @Test public void test_emptyChain() throws Exception { NormalizerChain chain = new NormalizerChain(); String result = chain.normalize("test", "field"); assertEquals("test", result); } @Test public void test_normalizeWithLanguages() throws Exception {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
} @Test @DisplayName("getUserDomain: explicit realm overrides") void getUserDomain_fromExplicitRealm() { Kerb5Authenticator auth = new Kerb5Authenticator(new Subject()); auth.setRealm("REALM.TEST"); assertEquals("REALM.TEST", auth.getUserDomain()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java
assertNotNull(root); } @Test void testResolveArtifactCoordinatesDependencies() { DependencyCoordinates coords = session.createDependencyCoordinates( session.createArtifactCoordinates("org.apache.maven.core.test", "test-extension", "1", "jar")); List<Path> paths = session.resolveDependencies(coords);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 10.2K bytes - Viewed (0)