- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 51 for getYear (0.21 sec)
-
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/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
// Then assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null."); // The server name is stored in a protected field without a public getter, so we cannot directly test it. // We can test the public fields that are set. assertEquals(200, dfsRootEnum.level, "The level should be initialized to 200.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
import org.junit.jupiter.api.Test; /** * Tests for the {@link PacUnicodeString} class. */ class PacUnicodeStringTest { /** * Tests the constructor and getter methods. */ @Test void testConstructorAndGetters() { // Create a new instance with some test data short length = 10; short maxLength = 20; int pointer = 100;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
propertyDescCache.remove(name); } invalidPropertyNames.clear(); } /** * Prepares the getter method. * * @param readMethod * the getter method * @param propertyName * the property name */ protected void setupReadMethod(final Method readMethod, final String propertyName) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java
// Test direct field access through inheritance TestDictionaryItem item = new TestDictionaryItem(); // Direct field assignment item.id = 999L; // Verify through getter assertEquals(999L, item.getId()); // Verify direct field access assertEquals(999L, item.id); } public void test_sequentialIdAssignment() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
assertEquals(0x42, released[0]); // After release, getting buffer again should return null assertNull(transaction.releaseBuffer()); } @Test @DisplayName("Test subCommand getter and setter") void testSubCommand() { assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, transaction.getSubCommand()); transaction.setSubCommand(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertEquals(123, item.getId()); assertEquals("and", item.getInput()); assertNull(item.getNewInput()); } public void test_getNewInput_setNewInput() { // Test getter and setter for newInput StopwordsItem item = new StopwordsItem(1, "or"); assertNull(item.getNewInput()); item.setNewInput("nor"); assertEquals("nor", item.getNewInput());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
} } @Test void testConstructorAndGettersWithValidTicket() throws IOException, GeneralSecurityException, PACDecodingException { // Test successful instantiation and getter methods with a valid ticket byte[] validToken = createTestTicketBytes(new BigInteger(KerberosConstants.KERBEROS_VERSION), SERVER_REALM, SERVER_PRINCIPAL_NAME, ENCRYPTION_TYPE, ENCRYPTED_DATA, null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
assertNotNull(e.getMessage()); // Should have an error message } @Test void testGetters() { // Simple test for getter methods NtlmContext context = new NtlmContext(mockAuth, true); assertFalse(context.isEstablished()); assertNull(context.getServerChallenge()); assertNull(context.getSigningKey());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0)