Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 6,944 for CLASS (0.02 sec)

  1. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
       * other if the {@link DummyProxy} instance that created the proxies are equal.
       */
      final <T> T newProxy(TypeToken<T> interfaceType) {
        Set<Class<?>> interfaceClasses = new LinkedHashSet<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

     * performance while ensuring up-to-date plugin discovery.</p>
     */
    public class DataStoreFactory {
        /** Logger instance for this factory class. */
        private static final Logger logger = LogManager.getLogger(DataStoreFactory.class);
    
        /**
         * Map containing registered data store instances indexed by their names and class simple names.
         * All keys are stored in lowercase for case-insensitive lookup.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        for (Class<?> paramType : method.getParameterTypes()) {
          passedArgs.add(paramValues.generateFresh(paramType));
        }
        return passedArgs.toArray();
      }
    
      /** Tests a single interaction against a method. */
      private static final class InteractionTester<T> extends AbstractInvocationHandler {
    
        private final Class<T> interfaceType;
        private final Method method;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

     * value correctness and array integrity.  A tiny Mockito example
     * demonstrates that the interface can be mocked if another class
     * depends on it.
     */
    public class WinErrorTest {
    
        @Nested
        @DisplayName("Constant value checks")
        class ConstantValues {
            @Test
            void successIsZero() {
                assertEquals(0, WinError.ERROR_SUCCESS, "ERROR_SUCCESS should be 0");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacCredentialTypeTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the {@link PacCredentialType} class.
     */
    class PacCredentialTypeTest {
    
        /**
         * Tests the constructor with a valid byte array.
         */
        @Test
        void testConstructorWithValidData() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

                return when (methodJsonNode.get("name")?.asText()) {
                    null -> None
                    None::class.simpleName -> None
                    TestDistribution::class.simpleName -> TestDistribution
                    TestDistributionAlpine::class.simpleName -> TestDistributionAlpine
                    TeamCityParallelTests::class.simpleName ->
                        TeamCityParallelTests(
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // Act + Assert
            PACDecodingException ex = assertThrows(PACDecodingException.class, () -> new KerberosApRequest(seq, null));
            assertTrue(ex.getMessage().contains("Invalid field in kerberos ticket"));
        }
    
        @Test
        @DisplayName("seq ctor: tag 3 with wrong tag class is rejected")
        void sequenceConstructor_ticketTag_wrongClass_throws() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelTestSuite.java

    import org.junit.platform.suite.api.Suite;
    
    /**
     * Test suite for SMB3 Multi-Channel functionality
     */
    @Suite
    @SelectClasses({ NetworkInterfaceInfoTest.class, ChannelInfoTest.class, ChannelLoadBalancerTest.class, ChannelFailoverTest.class,
            ChannelManagerTest.class })
    public class MultiChannelTestSuite {
        // Test suite definition - no additional code needed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java

     * a single method, the tests simply ensure that the lambda expression
     * correctly implements the method and that any exception is propagated.
     */
    class SmbFilenameFilterTest {
    
        @Test
        void acceptReturnsTrueWhenNameMatches() throws Exception {
            SmbFile dir = Mockito.mock(SmbFile.class);
            SmbFilenameFilter filter = (d, n) -> n.equalsIgnoreCase("hello.txt");
            assertTrue(filter.accept(dir, "Hello.TXT"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

                return returnValue;
            }
        }
    
        // Test class that throws exception
        private static class ExceptionScoreBooster extends ScoreBooster {
            @Override
            public long process() {
                throw new RuntimeException("Test exception");
            }
        }
    
        // Test class with priority tracking
        private static class PriorityTrackingBooster extends ScoreBooster {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top