- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 2,760 for 1test (0.02 sec)
-
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) -
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/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) -
src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java
*/ @Test public void testEmptyIterator() { final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); assertThat(emptyIterator, is(notNullValue())); } /** * Test method for {@link org.codelibs.core.collection.EmptyIterator#remove()} * . */ @Test public void testRemove() { exception.expect(ClUnsupportedOperationException.class);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt
import org.junit.jupiter.api.Test class CertificatePinnerKotlinTest { @Test fun successfulCheckSha1Pin() { val certificatePinner = CertificatePinner .Builder() .add("example.com", "sha1/" + certA1.certificate.sha1Hash().base64()) .build() certificatePinner.check("example.com", listOf(certA1.certificate)) } @Test fun successfulFindMatchingPins() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
} @Test void testDestroy() { // Test that destroy method executes without errors assertDoesNotThrow(() -> filter.destroy()); } @Test void testDoFilter_noAuthorizationHeader_shouldChallengeClient() throws Exception { // Initialize filter first initializeFilter();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
} @Test void testConstructor() throws SmbException { assertNotNull(smbRandomAccessFile); assertEquals(0, smbRandomAccessFile.getFilePointer()); } @Test void testGetFilePointer() throws SmbException { assertEquals(0, smbRandomAccessFile.getFilePointer()); } @Test void testSeek() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
} } @Test void testReadDataWireFormatWithEmptyData() throws SMBProtocolDecodingException { byte[] buffer = new byte[100]; int result = response.readDataWireFormat(buffer, 0, 0); assertEquals(0, result); } @Test void testReadDataWireFormatAtBufferBoundary() throws SMBProtocolDecodingException { // Test with data exactly matching output buffer size
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt
import java.io.IOException import kotlin.test.Test import okhttp3.RequestBody import okio.Buffer class MainTest { @Test fun simple() { val request = fromArgs("http://example.com").createRequest() assertThat(request.method).isEqualTo("GET") assertThat(request.url.toString()).isEqualTo("http://example.com/") assertThat(request.body).isNull() } @Test @Throws(IOException::class) fun put() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0)