Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 840 for upsert (0.58 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenAlias.class));
    
            // Act
            SamrAliasHandle aliasHandle = new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid);
    
            // Assert
            assertNotNull(aliasHandle);
            // Verify that sendrecv was called with the correct MsrpcSamrOpenAlias object
            ArgumentCaptor<MsrpcSamrOpenAlias> rpcCaptor = ArgumentCaptor.forClass(MsrpcSamrOpenAlias.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlResponseTest.java

     */
    package org.codelibs.curl;
    
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertNull;
    import static org.junit.Assert.assertSame;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.IOException;
    import java.io.InputStream;
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

    import static java.util.concurrent.TimeUnit.SECONDS;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertFalse;
    import static junit.framework.Assert.assertTrue;
    import static junit.framework.Assert.fail;
    import static org.junit.Assert.assertThrows;
    
    import java.util.concurrent.CancellationException;
    import java.util.concurrent.CountDownLatch;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            // Act
            out.close();
    
            // Assert
            verifyNoInteractions(handle);
        }
    
        @Nested
        @DisplayName("Constructor invalid inputs")
        class ConstructorInvalidInputs {
            @Test
            @DisplayName("Null handle triggers NullPointerException")
            void ctor_nullHandle_throwsNPE() {
                // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                // Act & Assert
                assertDoesNotThrow(() -> new MsrpcSamrConnect2(null, 0, ph));
            }
    
            @Test
            @DisplayName("should accept negative access mask values")
            void testNegativeAccessMaskAccepted() {
                // Arrange
                SamrPolicyHandle ph = createMockPolicyHandle();
    
                // 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)
  6. src/test/java/jcifs/smb/SmbFileFilterTest.java

            SmbFileFilter filter = f -> f.isDirectory();
            when(smbFile.isDirectory()).thenReturn(true);
    
            // Act
            boolean result = filter.accept(smbFile);
    
            // Assert
            assertTrue(result, "Directory should be accepted");
            verify(smbFile, times(1)).isDirectory();
            verify(smbFile, never()).getName();
            verifyNoMoreInteractions(smbFile);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeInternalTest.java

            // Assert - verify interaction with dependency
            verify(tree, times(1)).connectLogon(context);
            verify(tree, never()).close();
        }
    
        @Test
        @DisplayName("connectLogon accepts null context but still invokes")
        void connectLogon_withNull_isInvoked() throws Exception {
            // Act
            tree.connectLogon(null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ldap/LdapManager.java

        }
    
        /**
         * Adds user attributes to the LDAP entry for user creation.
         *
         * @param entry the BasicAttributes to add user attributes to
         * @param user the user object containing attribute values
         */
        protected void addUserAttributes(final BasicAttributes entry, final User user) {
            entry.put(new BasicAttribute("cn", user.getName()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

        void intConstructor_populatesMessageAndStatus(int errCode, int expectedStatus) {
            // Arrange & Act: create exception with error code
            SmbAuthException ex = new SmbAuthException(errCode);
    
            // Assert: type, message derived from code, status mapping, and no cause
            assertNotNull(ex);
            assertTrue(ex instanceof SmbException);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. tests/associations_has_many_test.go

    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Team").Find(&user2.Team)
    	CheckUser(t, user2, user)
    
    	// Count
    	AssertAssociationCount(t, user, "Team", 2, "")
    
    	// Append
    	team := *GetUser("team", Config{})
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top