- Sort Score
- Num 10 results
- Language All
Results 2101 - 2110 of 9,736 for clase (0.04 seconds)
-
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; /** * Test class for Smb2Constants * Tests all SMB2 protocol constants and their expected values */ @DisplayName("Smb2Constants Test Suite") class Smb2ConstantsTest { @Test @DisplayName("Should have private constructor to prevent instantiation")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java
return resolveCalled; } public Class<?> getLastCredentialType() { return lastCredentialType; } public Function<?, ?> getLastFunction() { return lastFunction; } } // Inner class for test credential private static class TestLoginCredential implements LoginCredential { private final String username;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (1) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
* the correct argument.</li> * <li>passing {@code null} throws {@link NullPointerException}. * </ul> * * The buffer is created with enough capacity for a 64‑bit value. */ @ExtendWith(MockitoExtension.class) public class NdrHyperTest { /** * Tests a simple round‑trip encode → decode retains the original value. */ @Test @DisplayName("Basic round‑trip for a fixed value")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
assertThrows(IndexOutOfBoundsException.class, () -> aa.get(index)); assertThrows(IndexOutOfBoundsException.class, () -> aa.set(index, 1.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.lazySet(index, 1.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.compareAndSet(index, 1.0, 2.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.weakCompareAndSet(index, 1.0, 2.0));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
mockAuth.username = "testuser"; mockAuth.domain = "TESTDOMAIN"; mockAuth.password = "testpass"; when(mockAuth.getAnsiHash(any(byte[].class))).thenReturn(new byte[24]); when(mockAuth.getUnicodeHash(any(byte[].class))).thenReturn(new byte[24]); when(mockAuth.getName()).thenReturn("testuser"); when(mockAuth.getDomain()).thenReturn("TESTDOMAIN");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java
import java.util.Map; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class ParseResponseWithMoshi { private final OkHttpClient client = new OkHttpClient(); private final Moshi moshi = new Moshi.Builder().build(); private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class); public void run() throws Exception { Request request = new Request.Builder()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
return callables; } private static final class WrappedCallable<T> implements Callable<T> { private final Callable<T> delegate; WrappedCallable(Callable<T> delegate) { this.delegate = delegate; } @Override public T call() throws Exception { return delegate.call(); } } private static final class WrappedRunnable implements Runnable {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
@Test @DisplayName("Strings utility class should not be instantiable") void testUtilityClassNotInstantiable() { // Given - Strings is a utility class with private constructor // When & Then - verify constructor is private by reflection assertDoesNotThrow(() -> { java.lang.reflect.Constructor<Strings> constructor = Strings.class.getDeclaredConstructor();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java
} @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters()); testers.add(SetMultimapAsMapTester.class); testers.add(SetMultimapEqualsTester.class); testers.add(SetMultimapPutTester.class); testers.add(SetMultimapPutAllTester.class);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
options.numOfThreads = 1; options.cleanup = false; // Setup mock components setupMockComponents(); Method processMethod = ThumbnailGenerator.class.getDeclaredMethod("process", ThumbnailGenerator.Options.class); processMethod.setAccessible(true); try { Integer result = (Integer) processMethod.invoke(null, options); assertNotNull(result);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0)