Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,595 for Tests (0.04 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. docs/fr/README.md

        $ mvn rpm:rpm   # package .rpm
        $ mvn jdeb:jdeb # package .deb
    
    ### Générer le Code Source
    
        $ mvn dbflute:download # (commande unique)
        $ mvn dbflute:freegen
        $ mvn license:format
    
    ### Tests d'Intégration
    
    Lancez le serveur Fess et exécutez la commande suivante :
    
        $ mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201"
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

    import java.util.Comparator;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code
     * SortedMultiset} implementation.
     *
     * <p><b>Warning:</b> expects that {@code E} is a String.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/ThrowablesTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Throwables}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("deprecation") // tests of numerous deprecated methods
    @NullUnmarked
    public class ThrowablesTest extends TestCase {
      // We're testing that the method is in fact equivalent to throwing the exception directly.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2FlushRequest functionality
     */
    @DisplayName("Smb2FlushRequest Tests")
    class Smb2FlushRequestTest {
    
        private Configuration mockConfig;
        private CIFSContext mockContext;
        private byte[] testFileId;
        private Smb2FlushRequest request;
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

    /*
     * Tests for Smb2IoctlResponse.
     *
     * Notes:
     * - Comments are in English as requested.
     * - JUnit 5 is used; Mockito is not required here.
     */
    package jcifs.internal.smb2.ioctl;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for SrvPipePeekResponse
     * Tests the decoding of FSCTL_PIPE_PEEK response according to MS-FSCC 2.3.29
     */
    class SrvPipePeekResponseTest {
    
        private SrvPipePeekResponse response;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. docs/site-replication/run-ssec-object-replication-with-compression.sh

    fi
    
    export MC_HOST_minio1=https://minio:minio123@localhost:9001
    export MC_HOST_minio2=https://minio:minio123@localhost:9002
    
    ./mc ready minio1 --insecure
    ./mc ready minio2 --insecure
    
    # Prepare data for tests
    echo -n "Preparing test data ..."
    mkdir -p /tmp/data
    echo "Hello world" >/tmp/data/plainfile
    echo "Hello from encrypted world" >/tmp/data/encrypted
    touch /tmp/data/defpartsize
    shred -s 500M /tmp/data/defpartsize
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. cmd/sftp-server_test.go

    			func(t *testing.T) {
    				c := &check{t, testCase.serverType}
    				suite := testCase
    
    				suite.SetUpSuite(c)
    
    				suite.SFTPServiceAccountLogin(c)
    				suite.SFTPInvalidServiceAccountPassword(c)
    
    				// LDAP tests
    				ldapServer := os.Getenv(EnvTestLDAPServer)
    				if ldapServer == "" {
    					c.Skipf("Skipping LDAP test as no LDAP server is provided via %s", EnvTestLDAPServer)
    				}
    
    				suite.SetUpLDAP(c, ldapServer)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 27 18:43:32 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top