- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for int_field (0.08 seconds)
-
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
document.put("string_field", "value1"); document.put("string_array_field", new String[] { "value2", "value3" }); document.put("list_field", java.util.Arrays.asList("value4", "value5")); document.put("int_field", 123); String[] stringValues = defaultContentsParser.getFieldValues(document, "string_field"); assertEquals(1, stringValues.length);
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 12.1K bytes - Click Count (0) -
tests/scan_test.go
DB.Save(&User{}) rows, err := DB.Table("users"). Select(` NULL AS bool_field, NULL AS int_field, NULL AS int8_field, NULL AS int16_field, NULL AS int32_field, NULL AS int64_field, NULL AS uint_field, NULL AS uint8_field, NULL AS uint16_field, NULL AS uint32_field, NULL AS uint64_field, NULL AS float32_field, NULL AS float64_field,
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:57:36 GMT 2024 - 10.9K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
assertEquals("0", list.get(0).get(ID_FIELD)); assertEquals("9", list.get(1).get(ID_FIELD)); assertEquals("1", list.get(2).get(ID_FIELD)); assertEquals("8", list.get(3).get(ID_FIELD)); assertEquals("2", list.get(4).get(ID_FIELD)); assertEquals("7", list.get(5).get(ID_FIELD)); assertEquals("3", list.get(6).get(ID_FIELD));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 25.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java
* Tests exception handling improvements including InterruptedException and ExecutionException. */ public class RankFusionProcessorErrorHandlingTest extends UnitFessTestCase { private static final String ID_FIELD = "_id"; /** * Test handling of searcher that throws RuntimeException. */ @Test public void test_searcherThrowsRuntimeException() throws Exception {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 14.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java
/** * Edge case tests for RankFusionProcessor. * Tests boundary conditions, empty states, and error scenarios. */ public class RankFusionProcessorEdgeCaseTest extends UnitFessTestCase { private static final String ID_FIELD = "_id"; /** * Test behavior when no searchers are registered (empty list). */ @Test public void test_emptySearcherList() throws Exception {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2); // Use reflection to set the info field var infoField = Smb2QueryInfoResponse.class.getDeclaredField("info"); infoField.setAccessible(true); infoField.set(response, mockDecodable); assertEquals(mockDecodable, response.getInfo()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
request.setInfo(mockInfo); // Verify info object was set Field infoField; try { infoField = Smb2SetInfoRequest.class.getDeclaredField("info"); infoField.setAccessible(true); Encodable actualInfo = (Encodable) infoField.get(request); assertEquals(mockInfo, actualInfo); } catch (Exception e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
private void setInfoField(Trans2QueryFSInformationResponse response, FileSystemInformation info) { try { Field infoField = Trans2QueryFSInformationResponse.class.getDeclaredField("info"); infoField.setAccessible(true); infoField.set(response, info); } catch (Exception e) { fail("Failed to set info field: " + e.getMessage()); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java
* Tests the improvements made to thread safety using CopyOnWriteArrayList. */ public class RankFusionProcessorConcurrencyTest extends UnitFessTestCase { private static final String ID_FIELD = "_id"; /** * Test concurrent registration of searchers from multiple threads. * Verifies that CopyOnWriteArrayList handles concurrent modifications safely. */ @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 13.5K bytes - Click Count (0)