Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1821 - 1830 of 2,206 for only2 (0.02 seconds)

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        for (int i = 0; i < 50; i++) {
          list.add(new Object());
        }
    
        Ordering<Object> arbitrary = Ordering.arbitrary();
        sort(list, arbitrary);
    
        // Now we don't care what order it's put the list in, only that
        // comparing any pair of elements gives the answer we expect.
        testComparator(arbitrary, list);
    
        assertEquals("Ordering.arbitrary()", arbitrary.toString());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        for (int i = 0; i < 50; i++) {
          list.add(new Object());
        }
    
        Ordering<Object> arbitrary = Ordering.arbitrary();
        sort(list, arbitrary);
    
        // Now we don't care what order it's put the list in, only that
        // comparing any pair of elements gives the answer we expect.
        testComparator(arbitrary, list);
    
        assertEquals("Ordering.arbitrary()", arbitrary.toString());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

            return new CopyOptions().excludeWhitespace();
        }
    
        /**
         * Returns a {@link CopyOptions} with the specified prefix.
         * <p>
         * When a prefix is specified, only the properties from the source whose names start with the prefix will be copied.
         * Additionally, the prefix will be removed from the source property names to determine the target property names.
         * </p>
         *
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            urlQueue2.setUrl("http://www.example.com/page1"); // Duplicate
            urlQueueList.add(urlQueue2);
    
            urlQueueService.offerAll(sessionId, urlQueueList);
    
            // Should only store one item (duplicates are filtered)
            int count = 0;
            while (true) {
                final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId);
                if (polled == null) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/SmbSessionTest.java

            void shouldSupportPartialMockingScenarios() {
                SmbSession mockSession = mock(SmbSession.class);
                Configuration mockConfig = mock(Configuration.class);
    
                // Only mock getConfig, leave others with default behavior
                when(mockSession.getConfig()).thenReturn(mockConfig);
    
                assertEquals(mockConfig, mockSession.getConfig());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create request with configuration only")
            void testConstructorWithConfig() {
                TestServerMessageBlock2Request request = new TestServerMessageBlock2Request(mockConfig);
                assertNotNull(request);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
            byte[] buffer = new byte[10];
            int offset = 8; // Only 2 bytes remaining, need 4
    
            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                request.writeBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        @DisplayName("Should throw exception when offset exceeds buffer for reading")
        void testReadBytesWireFormatOffsetTooLarge() {
            // Given
            byte[] buffer = new byte[10];
            int offset = 9; // Only 1 byte remaining, need at least 2 for structure size
    
            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                        Arguments.of(null, false, null, false, "Should disable plugins when --plugins=false"),
                        Arguments.of(null, null, "4.1.0", false, "Should disable plugins when only --model-version is set"),
                        Arguments.of(false, null, null, false, "Should disable plugins when --all=false"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  10. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            Metadata metadata = new Metadata();
            assertFalse(metadata.merge(new Metadata()));
        }
    
        @Test
        void mergeDifferentGAV() throws Exception {
            // merge implicitly assumes that merge is only called on the same GAV and does not perform any validation here!
            Metadata source = new Metadata();
            source.setArtifactId("source-artifact");
            source.setGroupId("source-group");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.7K bytes
    - Click Count (0)
Back to Top