- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 2,660 for 2test (0.04 sec)
-
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/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()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K 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) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
} @Test fun portImplicitlyStarts() { assertThat(server.port).isGreaterThan(0) } @Test fun hostnameImplicitlyStarts() { assertThat(server.hostName).isNotNull() } @Test fun toProxyAddressImplicitlyStarts() { assertThat(server.toProxyAddress()).isNotNull() } @Test fun differentInstancesGetDifferentPorts() { val other = MockWebServer()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
super.setUp(); authenticationManager = new AuthenticationManager(); } // Test default constructor public void test_constructor() { AuthenticationManager manager = new AuthenticationManager(); assertNotNull(manager); } // Test insert with no chains public void test_insert_noChains() { User user = createTestUser("testuser");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K 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/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/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) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// This is a weak check, but better than nothing. // A more robust test would require a real SMB1SigningDigest. assertTrue(writtenTime != 0 || lastWriteTime == 0); } /** * Test method for {@link jcifs.internal.smb1.com.SmbComClose#writeBytesWireFormat(byte[], int)}. */ @Test public void testWriteBytesWireFormat() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0)