- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 353 for getter (0.03 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
assertEquals(20, context.getMaxThreadCheckCount()); assertEquals(-1, context.getMaxDepth()); assertEquals(0L, context.getMaxAccessCount()); } /** * Test sessionId getter and setter */ public void test_sessionId() { assertNull(crawlerContext.getSessionId()); crawlerContext.setSessionId("test-session-001");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/PingResponseTest.java
// These tests verify the PingResponse class structure is correct assertTrue(true); } public void test_getClusterName_returnsCorrectValue() { // Test cluster name getter exists FessConfig mockConfig = new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public Set<String> getApiPingEsFieldSet() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/PropertyDesc.java
/** * Returns the getter method. * * @return the getter method */ Method getReadMethod(); /** * Returns whether the property has a getter method. * * @return whether the property has a getter method */ boolean hasReadMethod(); /** * Returns the setter method. * * @return the setter method */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraph.java
} MetadataGraphNode node = new MetadataGraphNode(md); addNode(node); return node; } /** * getter */ public MetadataGraphNode getEntry() { return entry; } /** * getter */ public Collection<MetadataGraphNode> getNodes() { return nodes; }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
} @ParameterizedTest(name = "Int getter {2} returns {1}") @MethodSource("intGetterProvider") void intGetters_edgeCases(IntGetter getter, int value, String label) { // Arrange FileEntry e = new TestFileEntry("n", value, value, 0L, 0L, 0L, 0L, value); // Act int actual = getter.apply(e); // Assert assertEquals(value, actual, label); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
assertNull(t.getMechanismToken(), "mechanismToken should default to null"); assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null"); } @Test @DisplayName("Setter and getter for mechanismToken work") void setGetMechanismToken() { TestSpnegoToken t = new TestSpnegoToken(); byte[] data = new byte[] { 1, 2, 3 }; t.setMechanismToken(data);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
} @Override public final Method getReadMethod() { return readMethod; } /** * Sets the getter method. * * @param readMethod * The getter method. */ protected final void setReadMethod(final Method readMethod) { this.readMethod = readMethod; if (readMethod != null) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
} @Test @DisplayName("Test subCommand getter and setter") void testSubCommandGetterSetter() { byte subcommand = (byte) 0x05; response.setSubCommand(subcommand); assertEquals(subcommand, response.getSubCommand()); } @Test @DisplayName("Test status getter and setter") void testStatusGetterSetter() { assertEquals(0, response.getStatus());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
} /** * Tests that the getter for the underlying pipe resource returns the correct instance. */ @Test public void testGetPipe() { assertEquals(mockPipeResource, smbPipeHandle.getPipe(), "getPipe() should return the underlying pipe resource."); } /** * Tests that the getter for the input stream returns the correct stream.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
Arguments.of(-1, -2L, -3L, -4L, -5L) // negative values ); } // --- Mockito interaction: verify each getter is invoked and returns stubbed values --- @Test void mockitoMock_verifiesGetterInteractions() { // Arrange: mock and stub each getter with distinct values SmbBasicFileInfo mock = Mockito.mock(SmbBasicFileInfo.class); Mockito.when(mock.getAttributes()).thenReturn(7);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)