- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 2,907 for xtest (0.02 sec)
-
src/test/java/jcifs/pac/PacLogonInfoTest.java
} @Test @DisplayName("Test parsing with invalid data size") void testInvalidDataSize() { byte[] tooSmall = new byte[10]; PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacLogonInfo(tooSmall)); assertEquals("Malformed PAC", exception.getMessage()); } @Test @DisplayName("Test getters return expected values using mocks")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java
} // Test inherited behavior from ComponentCreatorImpl public void test_getNamingConvention() { assertSame(namingConvention, pagerCreator.getNamingConvention()); } // Test component name creation public void test_fromClassNameToComponentName() { // Test with class name ending with Pager
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt
private lateinit var file: File @BeforeEach fun setUp() { file = File(tempDir, "test") } @AfterEach fun tearDown() { executor.shutdown() } @Test fun singleSource() { val upstream = Buffer() upstream.writeUtf8("abcdefghijklm") val relay = edit(file, upstream, metadata, 1024) val source = relay.newSource()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/BufferCacheTest.java
import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Comprehensive test suite for BufferCache interface. * Tests the contract and behavior of BufferCache implementations. */ @DisplayName("BufferCache Interface Tests") class BufferCacheTest extends BaseTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestImplementationTest.java
} @Test void testRequestTraceIntegration() { Session session = mock(Session.class); RequestTrace trace = new RequestTrace("test-context", null, "test-data"); ArtifactInstallerRequest request = ArtifactInstallerRequest.builder().session(session).trace(trace).build(); assertEquals(trace, request.getTrace());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 4.5K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
nonTieredTest(16, 4, 11), } for i, test := range tests { t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) { if got := listObjectParities(test.metaArr, test.errs); !slices.Equal(got, test.parities) { t.Fatalf("Expected parities %v but got %v", test.parities, got) } if got := commonParity(test.parities, len(test.metaArr)/2); got != test.parity {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
assertNull(actualFileId); } catch (Exception e) { throw new RuntimeException(e); } } @Test @DisplayName("Test buffer size edge cases") void testBufferSizeEdgeCases() { // Test with very small buffer sizes when(mockConfig.getMaximumBufferSize()).thenReturn(256); when(mockConfig.getListSize()).thenReturn(128);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
} @Test @DisplayName("Test default constructor creates empty SecurityDescriptor") void testDefaultConstructor() { SecurityDescriptor sd = new SecurityDescriptor(); assertEquals(0, sd.getType()); assertNull(sd.getAces()); assertNull(sd.getOwnerUserSid()); assertNull(sd.getOwnerGroupSid()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
url = server.url("/") } @Test fun levelGetter() { // The default is NONE. assertThat(applicationInterceptor.level).isEqualTo(Level.NONE) for (level in Level.entries) { applicationInterceptor.setLevel(level) assertThat(applicationInterceptor.level).isEqualTo(level) } } @Test fun setLevelShouldReturnSameInstanceOfInterceptor() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
leaseContext = new LeaseV1CreateContextRequest(testKey, testState); } @Test @DisplayName("Should have correct context name") void testContextName() { assertArrayEquals("RqLs".getBytes(), leaseContext.getName()); assertEquals("RqLs", LeaseV1CreateContextRequest.CONTEXT_NAME); } @Test @DisplayName("Should initialize with default values") void testDefaultConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0)