Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 116 for scenarios (0.36 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * a:2.0
         * </pre>
         */
        @Test
        void testEqual() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode a2n = createResolutionNode(a2);
    
            assertResolveConflict(a1n, a1n, a2n);
        }
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:2.0
         * a:1.0
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * a:2.0
         * </pre>
         */
        @Test
        void testEqual() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode a2n = createResolutionNode(a2);
    
            assertResolveConflict(a1n, a1n, a2n);
        }
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:2.0
         * a:1.0
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            assertEquals(11, response.dialectIndex);
        }
    
        @Test
        void testReadBytesWireFormat_NoExtendedSecurity() throws UnsupportedEncodingException {
            // Setup server data for this scenario
            serverData.capabilities = 0; // No extended security
            serverData.encryptionKeyLength = 8;
            response.byteCount = 15; // 8 bytes key + 6 bytes "DOMAIN" + 1 null terminator
    
            // Prepare byte array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

        }
    
        /**
         * Test partial read scenario where parameters are not fully read
         */
        @Test
        public void readBytesWireFormat_partialRead_doesNotSetFlags() {
            DummyResponse d = new DummyResponse();
            byte[] tx = new byte[100];
            d.txn_buf = tx;
    
            // Set up a partial read scenario
            d.bufParameterStart = 0;
            d.bufDataStart = 20;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.19.md

    - Cleanup subnet in frontend IP configs to prevent huge subnet request bodies in some scenarios. ([#98288](https://github.com/kubernetes/kubernetes/pull/98288), [@nilo19](https://github.com/nilo19)) [SIG Cloud Provider]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jan 05 05:42:32 UTC 2022
    - 489.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbWatchHandleTest.java

        }
    
        /**
         * Test watch() method returning empty list when buffer overflow
         */
        @Test
        void testWatchBufferOverflow() throws CIFSException {
            // Setup mock behavior for buffer overflow scenario
            when(watchHandle.watch()).thenReturn(Collections.emptyList());
    
            // Execute
            List<FileNotifyInformation> result = watchHandle.watch();
    
            // Verify
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.13.md

    * kubeadm: fix a possible panic when joining a new control plane node in HA scenarios ([#72123](https://github.com/kubernetes/kubernetes/pull/72123), [@anitgandhi](https://github.com/anitgandhi))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 273.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        @Test
        @DisplayName("send with explicit null varargs propagates exception from implementation")
        void send_nullVarargsArray_throws() throws Exception {
            // Arrange: passing explicit null vararg array is edge scenario
            when(tree.send(eq(request), isNull())).thenThrow(new CIFSException("null params"));
    
            // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

        void testCapacityEdgeValues(long capacity) {
            when(mockAllocInfo.getCapacity()).thenReturn(capacity);
            assertEquals(capacity, mockAllocInfo.getCapacity());
        }
    
        /**
         * Null pointer scenario – calls on a null reference should raise
         * {@link NullPointerException}. This test is defensive; in real code it
         * would likely be handled elsewhere.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

        }
    
        public void test_exceptionInComplexScenario() {
            // Test exception in a more complex scenario
            InvalidAccessTokenException exception = null;
            String expectedType = "Bearer";
            String expectedMessage = "Token has expired";
    
            // Simulate a token validation scenario
            boolean tokenValid = false;
            if (!tokenValid) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top