- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 3,743 for shield (0.04 sec)
-
src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java
Field[] fields = CorsHandler.class.getDeclaredFields(); for (Field field : fields) { if (field.getName().startsWith("ACCESS_CONTROL_")) { int modifiers = field.getModifiers(); assertTrue("Field " + field.getName() + " should be protected", Modifier.isProtected(modifiers));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
assertNotNull(response); assertTrue(response instanceof Smb2ChangeNotifyResponse); } @Test @DisplayName("Should calculate correct size") void testSize() { // When int size = request.size(); // Then // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32 int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
// Then // Verify that the 'sam' field is set correctly assertEquals(mockSamArray, msrpc.sam, "The 'sam' field should be initialized with the provided SamrSamArray."); // Verify that the 'ptype' field is set to 0 assertEquals(0, msrpc.getPtype(), "The 'ptype' field should be initialized to 0."); // Verify that the 'flags' field is set to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
TermQuery termQuery = new TermQuery(new Term("field", "value")); QueryContext context = new QueryContext("test", false); try { boostQueryCommand.execute(context, termQuery, 1.0f); fail("Should have thrown InvalidQueryException"); } catch (InvalidQueryException e) { // Expected exception
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
// When SmbResource child = mockResource.resolve(childName); // Then assertNotNull(child, "Child resource should not be null"); assertSame(expectedChild, child, "Should return expected child resource"); } } @Nested @DisplayName("File Attribute Tests") class FileAttributeTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
tests/customize_field_test.go
t.Errorf("Failed to migrate, got error: %v", err) } if DB.Migrator().HasColumn(&CustomizeFieldStruct{}, "FieldIgnore") { t.Errorf("FieldIgnore should not be created") } if DB.Migrator().HasColumn(&CustomizeFieldStruct{}, "field_ignore") { t.Errorf("FieldIgnore should not be created") } generateStruct := func(name string) *CustomizeFieldStruct { return &CustomizeFieldStruct{ Name: name,
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Sep 11 09:33:31 UTC 2020 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
} /** * Helper method to set private field value using reflection */ private void setPrivateField(Object obj, String fieldName, Object value) throws Exception { Field field = obj.getClass().getDeclaredField(fieldName); field.setAccessible(true); field.set(obj, value); } /** * Helper method to get private field value using reflection */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
info502.sd_size = securityDescriptorBytes.length; // Replace info field Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info"); infoField.setAccessible(true); infoField.set(msrpcShareGetInfo, info502); // Test getSecurity - with no DACL, it should return null ACE[] result = msrpcShareGetInfo.getSecurity(); assertNull(result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
request.writeBytesWireFormat(buffer, i * 10); } // Then - all should have same structure size for (int i = 0; i < 10; i++) { assertEquals(4, SMBUtil.readInt2(buffer, i * 10)); } } @Test @DisplayName("Should handle null configuration gracefully in response creation") void testCreateResponseWithNullConfig() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
compat/maven-compat/src/main/mdo/profiles.mdo
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 22 11:03:29 UTC 2025 - 13.8K bytes - Viewed (0)