Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 2,020 for testng (0.39 seconds)

  1. internal/bpool/bpool_test.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package bpool
    
    import (
    	"testing"
    )
    
    // Tests - bytePool functionality.
    func TestBytePool(t *testing.T) {
    	size := uint64(4)
    	width := 1024
    	capWidth := 2048
    
    	bp := NewBytePoolCap(size, width, capWidth)
    
    	// Check the width
    	if bp.Width() != width {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java

        }
    
        @Test
        public void testToStringNotNonsense11() {
            Organization org = new Organization();
            org.setName("Testing Maven Unit");
            org.setUrl("https://maven.localdomain");
    
            assertEquals("Organization {name=Testing Maven Unit, url=https://maven.localdomain}", org.toString());
        }
    
        @Test
        public void testToStringNotNonsense10() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.mapEntry;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.testing.SampleElements;
    import java.util.List;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  4. android/guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import com.google.common.testing.RelationshipTester.Item;
    import com.google.common.testing.RelationshipTester.ItemReporter;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link RelationshipTester}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  5. clause/returning_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestReturning(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Returning{
    				[]clause.Column{clause.PrimaryColumn},
    			}},
    			"SELECT * FROM `users` RETURNING `users`.`id`", nil,
    		}, {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Jan 12 10:18:04 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  6. android/pom.xml

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <!--
        Some tests need reflective access to the internals of these packages. It is only the
        tests themselves and not the code being tested that needs that access, though there's no
        obvious way to ensure that.
    
        We could consider arranging things so that only the tests we know need this would get
        the add-opens. Right now that doesn't seem worth the effort, though.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 03:10:05 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  7. pom.xml

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <!--
        Some tests need reflective access to the internals of these packages. It is only the
        tests themselves and not the code being tested that needs that access, though there's no
        obvious way to ensure that.
    
        We could consider arranging things so that only the tests we know need this would get
        the add-opens. Right now that doesn't seem worth the effort, though.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 03:10:05 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  8. cmd/admin-handlers_test.go

    		},
    	}
    
    	for i, test := range testCases {
    		actualErr := toAdminAPIErrCode(GlobalContext, test.err)
    		if actualErr != test.expectedAPIErr {
    			t.Errorf("Test %d: Expected %v but received %v",
    				i+1, test.expectedAPIErr, actualErr)
    		}
    	}
    }
    
    func TestExtractHealInitParams(t *testing.T) {
    	mkParams := func(clientToken string, forceStart, forceStop bool) url.Values {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.9K bytes
    - Click Count (1)
  9. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

    import com.google.common.base.Predicates;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.google.MultisetTestSuiteBuilder;
    import com.google.common.collect.testing.google.SortedMultisetTestSuiteBuilder;
    import com.google.common.collect.testing.google.TestStringMultisetGenerator;
    import java.util.ArrayList;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  10. internal/hash/checksum_test.go

    package hash
    
    import (
    	"net/http/httptest"
    	"testing"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // TestChecksumAddToHeader tests that adding and retrieving a checksum on a header works
    func TestChecksumAddToHeader(t *testing.T) {
    	tests := []struct {
    		name     string
    		checksum ChecksumType
    		fullobj  bool
    		wantErr  bool
    	}{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top