Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1071 - 1080 of 2,020 for testng (0.06 sec)

  1. cmd/bucket-replication-utils_test.go

    }
    
    func TestParseReplicateDecision(t *testing.T) {
    	for i, test := range parseReplicationDecisionTest {
    		dsc, err := parseReplicateDecision(t.Context(), "bucket", test.expDsc.String())
    		if err != nil {
    			if test.expErr != err {
    				t.Errorf("Test%d (%s): Expected parse error got %t , want %t", i+1, test.name, err, test.expErr)
    			}
    			continue
    		}
    		if len(dsc.targetsMap) != len(test.expDsc.targetsMap) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. cmd/data-scanner_test.go

    			want:      lifecycle.DelMarkerDeleteAllVersionsAction,
    		},
    	}
    
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("TestEvalAction-%d", i), func(t *testing.T) {
    			gotEvent := evalActionFromLifecycle(t.Context(), test.ilm, *test.retention, nil, test.obj)
    			if gotEvent.Action != test.want {
    				t.Fatalf("Expected %v but got %v", test.want, gotEvent.Action)
    			}
    		})
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. guava-gwt/src/com/google/common/escape/Escape.gwt.xml

    <module>
    <source path="">
      <!-- Hack to keep collect from hiding collect.testing supersource: -->
      <exclude name="**/testing/**"/>
    </source>
    
    <!--
        We used to set this only for packages that had manual supersource. That
        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.collect.testing.features.CollectionFeature;
    import java.util.Collections;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestResult;
    
    /**
     * @author Max Ross
     */
    @AndroidIncompatible // test-suite builders
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.SortedSet;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create string sets for testing collections that are sorted by natural ordering.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

            "org/gradle/plugins/**",
            "org/gradle/process/**",
            "org/gradle/testfixtures/**",
            "org/gradle/testing/jacoco/**",
            "org/gradle/tooling/**",
            "org/gradle/swiftpm/**",
            "org/gradle/model/**",
            "org/gradle/testkit/**",
            "org/gradle/testing/**",
            "org/gradle/vcs/**",
            "org/gradle/work/**",
            "org/gradle/workers/**",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jun 12 23:20:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Security-focused test cases for Smb2NegotiateResponse input validation.
     * Tests various malformed input scenarios to ensure proper validation and
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomBuilder.java

    import org.apache.maven.api.services.ModelSource;
    import org.apache.maven.project.MavenProject;
    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * This interface is not public and the purpose is to allow easy unit testing
     * of {@link ConsumerPomArtifactTransformer}.
     */
    interface PomBuilder {
        Model build(RepositorySystemSession session, MavenProject project, ModelSource src)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. tests/associations_belongs_to_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestBelongsToAssociation(t *testing.T) {
    	user := *GetUser("belongs-to", Config{Company: true, Manager: true})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getTestFile;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @PlexusTest
    class ArtifactHandlerTest {
        @Inject
        PlexusContainer container;
    
        @Test
        @SuppressWarnings("checkstyle:UnusedLocalVariable")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top