Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 4,837 for classic (0.25 sec)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

        Files.write(ASCII, temp1, UTF_8);
        assertThrows(IllegalArgumentException.class, () -> Files.copy(temp1, temp2));
        assertEquals(ASCII, Files.toString(temp1, UTF_8));
      }
    
      public void testCopySameFile() throws IOException {
        File temp = createTempFile();
        Files.write(ASCII, temp, UTF_8);
        assertThrows(IllegalArgumentException.class, () -> Files.copy(temp, temp));
        assertEquals(ASCII, Files.toString(temp, UTF_8));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            assertEquals(String.class, FieldUtil.getElementTypeOfCollection(Baz.class.getField("collectionOfString")));
        }
    
        /**
         * @throws Exception
         */
        public void testGetKeyTypeOfMap() throws Exception {
            final Field f = ClassUtil.getField(Baz.class, "map");
            assertThat(FieldUtil.getKeyTypeOfMap(f), is(sameClass(String.class)));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. api/maven-api-toolchain/src/main/java/org/apache/maven/api/toolchain/package-info.java

    // CHECKSTYLE_OFF: RegexpHeader
    /**
     * Provides classes for managing Maven toolchains, which allow projects to use specific
     * tool installations (like JDKs, compilers, or other build tools) across different
     * environments without hardcoding paths.
     *
     * @since 4.0.0
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 04 14:17:18 UTC 2025
    - 313 bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     *
     * This class may be used to stream very large responses. For example, it is possible to use this
     * class to read a response that is larger than the entire memory allocated to the current process.
     * It can even stream a response larger than the total storage on the current device, which is a
     * common requirement for video streaming applications.
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThrows(NullPointerException.class, () -> future.addListener(null, directExecutor()));
      }
    
      public void testNullExecutor() {
        assertThrows(NullPointerException.class, () -> future.addListener(doNothing(), null));
      }
    
      public void testNullTimeUnit() throws Exception {
        future.set(1);
        assertThrows(NullPointerException.class, () -> future.get(0, null));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

     *
     */
    public class AdminFileauthAction extends FessAdminAction {
    
        /**
         * Default constructor.
         */
        public AdminFileauthAction() {
            super();
        }
    
        /** The role name for file authentication administration. */
        public static final String ROLE = "admin-fileauth";
    
        /** Logger for this class. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

    /**
     * Test suite for DfsReferralResponseBuffer
     */
    class DfsReferralResponseBufferTest {
    
        private DfsReferralResponseBuffer buffer;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            buffer = new DfsReferralResponseBuffer();
        }
    
        @Nested
        @DisplayName("Constructor and Initial State Tests")
        class ConstructorTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DfsImplTest.java

        void setUp() throws IOException {
            // Mock the CIFSContext and its dependencies
            mockContext = mock(CIFSContext.class);
            mockConfig = mock(Configuration.class);
            mockCredentials = mock(Credentials.class);
            mockTransportPool = mock(SmbTransportPool.class);
    
            // Set up mock behaviors
            when(mockContext.getConfig()).thenReturn(mockConfig);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

    import jcifs.internal.smb2.persistent.HandleGuid;
    import jcifs.internal.smb2.persistent.HandleType;
    import jcifs.internal.smb2.persistent.Smb2HandleCapabilities;
    
    /**
     * Test class for durable handle create context implementations
     */
    public class DurableHandleContextTest {
    
        @Test
        public void testDurableHandleRequest() {
            DurableHandleRequest request = new DurableHandleRequest();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

            ConcurrentModificationException.class,
            () -> {
              Iterator<V> iterator = getMap().values().iterator();
              getMap().clear();
              iterator.next();
            });
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testClear_unsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getMap().clear());
        expectUnchanged();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top