- Sort Score
- Num 10 results
- Language All
Results 661 - 670 of 8,811 for klass (0.11 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
/** * Unit tests for the {@link StrategyOrchestrator} class. * Tests strategy execution coordination and result aggregation. */ @DisplayName("StrategyOrchestrator") class StrategyOrchestratorTest { private StrategyOrchestrator orchestrator; private List<UpgradeStrategy> mockStrategies; @BeforeEach void setUp() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
* Unit tests for the {@link Info} implementations used by the SMB1 * protocol handling code. */ class InfoTest { // A tiny mock to illustrate Mockito interaction patterns. @Mock private SmbComTransactionResponse transactionMock; @BeforeEach void setUp() { transactionMock = mock(SmbComTransactionResponse.class); } @Test void testSmbComQueryInformationResponseGetters() throws Exception {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) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
DfsReferralDataInternal unwrapped = referralData.unwrap(DfsReferralDataInternal.class); assertSame(referralData, unwrapped); } @Test @DisplayName("Should unwrap to DfsReferralDataImpl class") void testUnwrapToDfsReferralDataImpl() { DfsReferralDataImpl unwrapped = referralData.unwrap(DfsReferralDataImpl.class); assertSame(referralData, unwrapped); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Base class for tests for emulated {@link AbstractFuture} that allow subclasses to swap in a * different "source Future" for {@link AbstractFuture#setFuture} calls. */ @GwtCompatible @NullUnmarked abstract class AbstractAbstractFutureTest extends TestCase { @SuppressWarnings("initialization.field.uninitialized")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
static <T extends ForwardingObject> void testForwardingObject(Class<T> forwarderClass) { List<Class<?>> interfaces = new ArrayList<>(Arrays.asList(forwarderClass.getInterfaces())); // Desugaring may introduce AutoCloseable as an extra interface. interfaces.remove(AutoCloseable.class); @SuppressWarnings("unchecked") // super interface type of T Class<? super T> interfaceType = (Class<? super T>) Iterables.getOnlyElement(interfaces);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
static <T extends ForwardingObject> void testForwardingObject(Class<T> forwarderClass) { List<Class<?>> interfaces = new ArrayList<>(Arrays.asList(forwarderClass.getInterfaces())); // Desugaring may introduce AutoCloseable as an extra interface. interfaces.remove(AutoCloseable.class); @SuppressWarnings("unchecked") // super interface type of T Class<? super T> interfaceType = (Class<? super T>) Iterables.getOnlyElement(interfaces);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 2.8K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java
* When specified, only the listed types will be available for injection, * even if the class implements or extends other types. If empty, the * default behavior is to make all supertypes available for injection. * <p> * Example: * <pre> * {@literal @}Typed({Service.class, Monitored.class}) * public class ServiceImpl implements Service, Monitored, Logging {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeModule.java
bind(MavenProject.class) .toProvider(MojoExecutionScope.seededKeyProvider(MavenProject.class)) .in(scope); bind(MojoExecution.class) .toProvider(MojoExecutionScope.seededKeyProvider(MojoExecution.class)) .in(scope); bind(Log.class) .toProvider(MojoExecutionScope.seededKeyProvider(Log.class))
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java
try { final Class<?> clazz = Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager"); final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null); method.invoke(null, (Object[]) null); } catch (final ClassNotFoundException e) { // ignore } catch (final Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
class LocalInnerNestedClass {} } String toTest = MoreObjects.toStringHelper(new LocalInnerClass().new LocalInnerNestedClass()).toString(); assertThat(toTest).isEqualTo("LocalInnerNestedClass{}"); } public void testToStringHelperLenient_localInnerNestedClass() { class LocalInnerClass { @SuppressWarnings("ClassCanBeStatic") // We want to test an inner class.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 22K bytes - Click Count (0)