- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 82 for getattr (0.41 sec)
-
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
@SuppressWarnings("unchecked") ArrayMap<String, String> copy = (ArrayMap<String, String>) SerializeUtil.serialize(map); assertThat(copy.getAt(0), is(nullValue())); assertThat(copy.getAt(1), is("test")); assertThat(copy.getAt(2), is("test2")); assertThat(map.equals(copy), is(true)); } /** * @throws Exception */ @TestRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K 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() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K 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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 15.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* * @param index the index of the stripe to return; must be in {@code [0...size())} * @return the stripe at the specified index */ public abstract L getAt(int index); /** * Returns the index to which the given key is mapped, so that getAt(indexFor(key)) == get(key). */ abstract int indexFor(Object key); /** Returns the total number of stripes in this instance. */ public abstract int size();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 22:01:32 UTC 2025 - 20.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/impl/AuthenticationImpl.java
* This class provides methods to handle authentication details such as * authentication scope, credentials, and authentication scheme. * * <p> * It includes constructors to initialize these details and getter and setter * methods to access and modify them. * </p> * * <p> * Example usage: * </p> * <pre> * {@code * AuthScope authScope = new AuthScope("example.com", 80);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.8K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt
for (p in properties) { when (jvmSignature) { p.fieldSignature?.toString() -> return predicate.match(p) p.getterSignature?.toString() -> return predicate.match(p.getter) p.setterSignature?.toString() -> return p.setter?.let { predicate.match(it) } ?: false } } return false } interface AttributePredicate {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Jul 04 09:21:38 UTC 2025 - 5.8K bytes - Viewed (0)