- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 264 for reflectLen (0.06 seconds)
-
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(tree.isSMB2()).thenReturn(false); when(tree.getConfig()).thenReturn(config); when(config.getPid()).thenReturn(1234); // Stub send to populate the provided response instance via reflection Mockito.doAnswer(inv -> { Object resp = inv.getArgument(1); // Set private fields: status on SmbComTransactionResponse and available on TransPeekNamedPipeResponse
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java
parentBuilder) { // TODO: Once invariant support is added, supply invariants to each of the // derived suites, to check that mutations to the derived collections are // reflected in the underlying map. List<TestSuite> derivedSuites = super.createDerivedSuites(parentBuilder); if (parentBuilder.getFeatures().contains(CollectionFeature.SERIALIZABLE)) { derivedSuites.add(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 11K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
} private static class WithTypeVariable { @SuppressWarnings("unused") <T> void withoutBound(List<T> list) {} @SuppressWarnings({ "unused", /* * Since reflection can't tell the difference between <T> and <T extends Object>, it doesn't * make a ton of sense to have a separate tests for each. But having tests for each doesn'tCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.jspecify.annotations.Nullable; /** * Tests for {@link ForwardingWrapperTester}. Live in a different package to detect reflection * access issues, if any. * * @author Ben Yu */ public class ForwardingWrapperTesterTest extends TestCase { private final ForwardingWrapperTester tester = new ForwardingWrapperTester();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Assert assertNotNull(unwrapped); assertTrue(unwrapped instanceof DosFileFilter); // Verify fields preserved (via reflection since they are protected) var wildcardField = DosFileFilter.class.getDeclaredField("wildcard"); wildcardField.setAccessible(true);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.interpolation.reflection; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.Hashtable; import java.util.Map; /** * A cache of introspection information for a specific class instance.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
*/ public void setDeprecated(String deprecated) { this.deprecated = deprecated; } /** * @return the list of parameters copy. Any change to returned list is NOT reflected on this instance. To add * parameters, use {@link #addParameter(Parameter)} method. */ public List<Parameter> getParameters() { return new ArrayList<>(parameters); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 21.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
assertNull(testDfs.getTrustedDomains(auth)); } @Test void testGetTrustedDomains_Success() throws IOException, SmbAuthException { // This test is complex due to static method dependencies and reflection access // For now, we'll test the disabled path which is safer testDfs.setDisabled(true); assertNull(testDfs.getTrustedDomains(auth)); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmServletTest.java
* @throws CIFSException */ private void setupMocksForAuth() throws Exception { // This is a simplified way to get a transport context into the servlet. // A more robust solution might involve reflection or modifying the servlet for testability. try { java.lang.reflect.Field transportContextField = NtlmServlet.class.getDeclaredField("transportContext"); transportContextField.setAccessible(true);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.5K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
} return id.substring(0, idPrefixLength) + MessageDigestUtil.digest("SHA-256", id.substring(idPrefixLength)); } /** * Extracts the URL from the target object using reflection. * * @param target The target object. * @return The URL string, or null if not found. */ private String getUrl(final Object target) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 34.3K bytes - Click Count (0)