Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 761 for testDfs (0.07 sec)

  1. tests/transaction_test.go

    package tests_test
    
    import (
    	"context"
    	"errors"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestTransaction(t *testing.T) {
    	tx := DB.Begin()
    	user := *GetUser("transaction", Config{})
    
    	if err := tx.Save(&user).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    	if err := tx.First(&User{}, "name = ?", "transaction").Error; err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

    import org.codelibs.fess.crawler.service.impl.DataServiceImpl;
    import org.codelibs.fess.crawler.service.impl.UrlFilterServiceImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for UrlFilter interface.
     * Tests the contract and behavior of UrlFilter implementations.
     */
    public class UrlFilterTest extends PlainTestCase {
    
        private UrlFilter urlFilter;
        private StandardCrawlerContainer container;
    
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            ComponentUtil.register(new SystemHelper(), "systemHelper");
    
            // Register a mock LdapManager to avoid NPE
            ComponentUtil.register(new LdapManager() {
                // Override methods that are called in tests
            }, "ldapManager");
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        public void test_constructor() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Closer.java

      private @Nullable Throwable thrown;
    
      @VisibleForTesting
      Closer(Suppressor suppressor) {
        this.suppressor = checkNotNull(suppressor); // checkNotNull to satisfy null tests
      }
    
      /**
       * Registers the given {@code closeable} to be closed when this {@code Closer} is {@linkplain
       * #close closed}.
       *
       * @return the given {@code closeable}
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

        @Mock
        private Smb2WriteResponse mockWriteResponse;
    
        private SmbFileOutputStream outputStream;
    
        @BeforeEach
        void setUp() {
            // Common setup for most tests
            lenient().when(mockFileHandle.getTree()).thenReturn(mockTreeHandle);
            lenient().when(mockTreeHandle.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/PathValidatorTest.java

        }
    
        @Test
        public void testInvalidUncPath() throws Exception {
            // Due to normalization removing duplicate backslashes, true UNC validation doesn't work
            // These tests validate current behavior where problematic paths are caught by other checks
    
            // Test invalid server name with dots - caught by directory traversal check
            assertThrows(SmbException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. docs/smb3-features/06-witness-protocol-design.md

    }
    
    public boolean isWitnessServiceDiscovery() {
        return getBooleanProperty(WITNESS_SERVICE_DISCOVERY, true);
    }
    ```
    
    ## 7. Testing Strategy
    
    ### 7.1 Unit Tests
    ```java
    @Test
    public void testWitnessRegistration() {
        WitnessRegistration registration = new WitnessRegistration(
            "\\\\server\\share", 
            InetAddress.getByName("192.168.1.100"),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.20.md

    - github.com/hashicorp/serf: [v0.8.2](https://github.com/hashicorp/serf/tree/v0.8.2)
    - github.com/jmespath/go-jmespath/internal/testify: [v1.5.1](https://github.com/jmespath/go-jmespath/internal/testify/tree/v1.5.1)
    - github.com/mitchellh/cli: [v1.0.0](https://github.com/mitchellh/cli/tree/v1.0.0)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/Collections2Test.java

    import java.util.Objects;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Collections2}.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class Collections2Test extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

      private val taskRunner = taskFaker.taskRunner
    
      /**
       * Note that we don't use the same [TaskFaker] for this factory. That way off-topic tasks like
       * connection pool maintenance tasks don't add noise to route planning tests.
       */
      private val routePlanner = FakeRoutePlanner(taskFaker = taskFaker)
      private val finder = FastFallbackExchangeFinder(routePlanner, taskRunner)
    
      @AfterEach
      fun tearDown() {
        taskFaker.close()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top