Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1341 - 1350 of 8,997 for Class3 (0.04 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetRemoveTester<E> extends AbstractMultisetTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveNegative() {
        assertThrows(IllegalArgumentException.class, () -> getMultiset().remove(e0(), -1));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

     * Tests icon rendering with different terminal charsets and fallback behavior.
     */
    @DisplayName("ConsoleIcon")
    class ConsoleIconTest {
    
        @Test
        @DisplayName("should return Unicode icons when terminal supports UTF-8")
        void shouldReturnUnicodeWhenTerminalSupportsUtf8() {
            Terminal mockTerminal = mock(Terminal.class);
            when(mockTerminal.encoding()).thenReturn(StandardCharsets.UTF_8);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            void testMultipleConfigurations() throws SMBProtocolDecodingException {
                // Given - create multiple configurations
                Configuration config1 = mock(Configuration.class);
                Configuration config2 = mock(Configuration.class);
    
                Smb2LockResponse response1 = new Smb2LockResponse(config1);
                Smb2LockResponse response2 = new Smb2LockResponse(config2);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2CloseResponse functionality
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("Smb2CloseResponse Tests")
    class Smb2CloseResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private Smb2CloseResponse response;
        private byte[] testFileId;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

    import jakarta.annotation.Resource;
    
    /**
     * Executable class for generating thumbnails for indexed documents.
     * This class provides a command-line interface for thumbnail generation tasks.
     */
    public class ThumbnailGenerator {
    
        private static final Logger logger = LogManager.getLogger(ThumbnailGenerator.class);
    
        /**
         * OpenSearch client for accessing indexed documents.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                         */
                         String method();
                    }
                """
                : apiElement == 'class' ? """
                    /**
                     * @since 11.38
                     */
                    public class $TEST_INTERFACE_SIMPLE_NAME {
                        public String field = "value";
                        public void method() { }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 16K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbWatchHandleTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Test class for SmbWatchHandle interface
     */
    @ExtendWith(MockitoExtension.class)
    class SmbWatchHandleTest {
    
        @Mock
        private SmbWatchHandle watchHandle;
    
        @Mock
        private FileNotifyInformation fileNotifyInfo1;
    
        @Mock
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

    import static org.junit.jupiter.api.Assertions.assertNotSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     */
    @PlexusTest
    @Deprecated
    class DefaultWagonManagerTest {
        @Inject
        private WagonManager wagonManager;
    
        private final TransferListener transferListener = new Debug();
    
        @Inject
        private ArtifactFactory artifactFactory;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * }
     * public void testFooLeak() {
     *   GcFinalization.awaitClear(fooWeakRef());
     * }
     * }
     *
     * <p>This class cannot currently be used to test soft references, since this class does not try to
     * create the memory pressure required to cause soft references to be cleared.
     *
     * <p>This class only provides testing utilities. It is not designed for direct use in production or
     * for benchmarking.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        }
    
        private Method getReadStringMethod() throws Exception {
            Class<?> clazz = response.getClass();
            while (clazz != null) {
                try {
                    Method method = clazz.getDeclaredMethod("readString", byte[].class, int.class, int.class, boolean.class);
                    method.setAccessible(true);
                    return method;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
Back to Top