Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 2,907 for Shouldn (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_supportedSomePresent() {
        assertTrue(
            "addAll(somePresent) should return true",
            collection.addAll(MinimalCollection.of(e3(), e0())));
        assertTrue("should contain " + e3(), collection.contains(e3()));
        assertTrue("should contain " + e0(), collection.contains(e0()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/LogStreamTest.java

            LogStream instance2 = LogStream.getInstance();
    
            // Each setInstance should create a new LogStream
            assertNotNull(instance1);
            assertNotNull(instance2);
            // The second setInstance replaces the first, so they should not be the same
            assertNotSame(instance1, instance2);
            // Getting instance again should return the same as instance2
            assertSame(instance2, LogStream.getInstance());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        assertNull(
            "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
            "putIfAbsent(present, value) should return existing value",
            v0(),
            getMap().putIfAbsent(k0(), v3()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/StringsTest.java

                // Then
                assertNotNull(uniBytes, "UNI bytes should not be null");
                assertNotNull(asciiBytes, "ASCII bytes should not be null");
                assertNotNull(oemBytes, "OEM bytes should not be null");
                assertEquals(0, uniBytes.length, "UNI bytes should be empty");
                assertEquals(0, asciiBytes.length, "ASCII bytes should be empty");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. tests/migrate_test.go

    	}
    
    	// RelationModel3 should be existed
    	_, err = findColumnType(&RelationModel3{}, "id")
    	AssertEqual(t, nil, err)
    
    	// RelationModel1 should not be existed
    	_, err = findColumnType(&RelationModel1{}, "id")
    	if err == nil {
    		t.Errorf("RelationModel1 should not be migrated")
    	}
    
    	// RelationModel2 should not be existed
    	_, err = findColumnType(&RelationModel2{}, "id")
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            // Should match first included path
            assertTrue(pattern.match("/test/path"));
    
            // Should match second included path
            assertTrue(pattern.match("/another/path"));
    
            // Should not match first excluded path
            assertFalse(pattern.match("/exclude/path"));
    
            // Should not match second excluded path
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. cmd/signature-v2_test.go

    		expected    APIErrorCode
    	}{
    		// (0) Should error without a set URL query.
    		{
    			expected: ErrInvalidQueryParams,
    		},
    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": "Z7IXGOO6BZ0REAN1Q26I",
    			},
    			expected: ErrInvalidAccessKeyID,
    		},
    		// (2) Should error with malformed expires.
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new Smb2FlushResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor should initialize with Configuration")
        void testConstructor() {
            // Given & When
            Smb2FlushResponse flushResponse = new Smb2FlushResponse(mockConfig);
    
            // Then
            assertNotNull(flushResponse);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals(fileName, notifications.get(0).getFileName());
        }
    
        @Test
        @DisplayName("Should test isErrorResponseStatus with various status codes")
        void testIsErrorResponseStatus() throws Exception {
            // Test with NT_STATUS_NOTIFY_ENUM_DIR - should not be error
            setStatus(response, NtStatus.NT_STATUS_NOTIFY_ENUM_DIR);
            assertFalse(response.isErrorResponseStatus());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/NegTokenTargTest.java

            assertEquals(NegTokenTarg.ACCEPT_COMPLETED, roundTrip.getResult(), "result should roundtrip");
            assertEquals(mech, roundTrip.getMechanism(), "mechanism should roundtrip");
            assertArrayEquals(tokenArray, roundTrip.getMechanismToken(), "mechanism token should roundtrip");
            assertArrayEquals(mic, roundTrip.getMechanismListMIC(), "mic should roundtrip");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top