Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 2,989 for SHOULD (0.03 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            assertTrue(endLatch.await(10, TimeUnit.SECONDS), "All threads should complete");
            executor.shutdown();
    
            // Then - Session should be in consistent state
            // The double-check pattern should prevent inconsistent cleanup
            assertTrue(releaseCount.get() > 0 || acquireCount.get() > 0, "Release and acquire counts should be processed");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            }
            return QueryBuilders.boolQuery()//
                    .should(QueryBuilders.matchPhraseQuery("title", query).boost(titleBoost))//
                    .should(QueryBuilders.matchPhraseQuery("content", query).boost(contentBoost))//
                    .should(QueryBuilders.fuzzyQuery("title", query).boost(0.01f).maxExpansions(10))//
                    .should(QueryBuilders.fuzzyQuery("content", query).boost(0.005f).maxExpansions(10))//
            ;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

                    "Command should change to SMB_COM_NT_TRANSACT_SECONDARY for NT transactions");
        }
    
        @Test
        @DisplayName("Test toString() method")
        void testToString() {
            String result = transaction.toString();
            assertNotNull(result, "toString should not return null");
            assertTrue(result.contains("command="), "toString should contain command info");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. tests/scanner_valuer_test.go

    		t.Fatalf("No error should happened when create scanner valuer struct, but got %v", err)
    	}
    
    	var result ScannerValuerStruct
    
    	if err := DB.Find(&result, "id = ?", data.ID).Error; err != nil {
    		t.Fatalf("no error should happen when query scanner, valuer struct, but got %v", err)
    	}
    
    	if result.ExampleStructPtr.Val != "value2" {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            @Test
            @DisplayName("Should get chunksWritten value")
            void testGetChunksWritten() {
                // Initial value should be 0
                assertEquals(0, response.getChunksWritten());
            }
    
            @Test
            @DisplayName("Should get chunkBytesWritten value")
            void testGetChunkBytesWritten() {
                // Initial value should be 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                }
            }
    
            @Test
            @DisplayName("Should throw exception on null buffer")
            void testDecodeWithNullBuffer() {
                assertThrows(SMBProtocolDecodingException.class, () -> testResponse.decode(null, 0, 10),
                        "Should throw exception for null buffer");
            }
    
            @Test
            @DisplayName("Should throw exception on negative buffer index")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            };
    
            // Act & Assert: test with different file names
            assertTrue(filter.accept(mockDir, "document.txt"), "Should accept .txt files in the correct path");
            assertFalse(filter.accept(mockDir, "image.png"), "Should reject non-.txt files");
            assertFalse(filter.accept(mockDir, null), "Should reject null names");
    
            // Verify getPath was called three times (once for each accept call)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. tests/named_polymorphic_test.go

    		t.Errorf("Hamster's preferred toy count should be 1")
    	}
    
    	if DB.Model(&hamster2).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's other toy count should be 1")
    	}
    
    	// Query
    	hamsterToy := Toy{}
    	DB.Model(&hamster).Association("PreferredToy").Find(&hamsterToy)
    	if hamsterToy.Name != hamster.PreferredToy.Name {
    		t.Errorf("Should find has one polymorphic association")
    	}
    
    	hamsterToy = Toy{}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jul 08 09:59:40 UTC 2020
    - 4.2K bytes
    - Viewed (0)
Back to top