- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 4,468 for void (1.02 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java
} @Test void testName() { Profile profile = newProfile(ActivationOS.newBuilder().name("windows")); assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64"))); assertActivation(true, profile, newContext(null, newProperties("windows", "6.5.0-1014-aws", "aarch64"))); } @Test void testNegatedName() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 6.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
final Object obj = xmlTransformer.getData(accessResultDataImpl); assertNull(obj); } public void test_dataClass() { assertNull(xmlTransformer.dataClass); assertEquals(Map.class, xmlMapTransformer.dataClass); } public void test_getData_dataMap() throws Exception { final String value = "<?xml version=\"1.0\"?>\n"// + "<doc>\n"//Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
@DisplayName("Flag constants should be powers of 2") void shouldBeValidFlagPowersOfTwo(int flag) { assertTrue(flag > 0, "Flag should be positive"); assertEquals(0, flag & (flag - 1), "Flag should be power of 2: " + Integer.toHexString(flag)); } @Test @DisplayName("Should validate all constants are unique") void shouldHaveUniqueConstants() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
} @Test @DisplayName("Test constructor initializes fields correctly") void testConstructor() { assertNotNull(fileBothDirectoryInfo); assertNotNull(fileBothDirectoryInfoNonUnicode); } @Test @DisplayName("Test getName returns filename") void testGetName() throws SMBProtocolDecodingException { // Prepare test dataRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
return resource; } } @BeforeEach void setUp() { lenient().when(fileEntry.getName()).thenReturn("test"); } @Test @DisplayName("Iterator without filter - simple case") void iteratorWithoutFilter() { // Setup: constructor calls advance() once when(delegate.hasNext()).thenReturn(true, false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BooleansTest.java
@SuppressWarnings("InlineMeInliner") // We need to test our method. public void testHashCode() { assertThat(Booleans.hashCode(true)).isEqualTo(Boolean.TRUE.hashCode()); assertThat(Booleans.hashCode(false)).isEqualTo(Boolean.FALSE.hashCode()); } public void testTrueFirst() { assertThat(Booleans.trueFirst().compare(true, true)).isEqualTo(0);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 25.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java
@InjectMocks private UrlQueueServiceImpl service; @Mock private MemoryDataHelper dataHelper; @Override protected void setUp() throws Exception { super.setUp(); MockitoAnnotations.openMocks(this); } public void test_add() { // Setup String sessionId = "session123"; String url = "https://example.com/page";Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
class NtlmHttpServletRequestTest { @Mock private HttpServletRequest mockRequest; @Mock private Principal mockPrincipal; private NtlmHttpServletRequest ntlmRequest; @BeforeEach void setUp() { // Create a new NtlmHttpServletRequest with mocked dependencies before each test ntlmRequest = new NtlmHttpServletRequest(mockRequest, mockPrincipal); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java
// CollectionToArrayTester tests everything except ordering. public void testToArray_noArg() { Object[] actual = getList().toArray(); assertArrayEquals("toArray() order should match list", createOrderedArray(), actual); } @CollectionSize.Require(absent = ZERO) public void testToArray_tooSmall() { Object[] actual = getList().toArray(new Object[0]);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
@Deprecated public abstract class AbstractModelInterpolatorTest { private Properties context; @BeforeEach public void setUp() { context = new Properties(); context.put("basedir", "myBasedir"); context.put("project.baseUri", "myBaseUri"); } protected void assertProblemFree(SimpleProblemCollector collector) { assertEquals(0, collector.getErrors().size(), "Expected no errors");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 18.2K bytes - Viewed (0)