- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 3,008 for SHOULD (0.26 sec)
-
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 Nov 14 23:40:07 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
} @Test @DisplayName("addFlags0 combines flags correctly") void addFlags0() { SmbComNTCreateAndX req = createRequest(0, 0); req.addFlags0(0x10); int flags0 = (int) getPrivateField(req, "flags0"); assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0"); // Calling again should combine rather than overwrite
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/UploadForm.java
*/ @Required public String dictId; /** * The multipart file containing the stopwords to be uploaded. * This file should contain a list of words that should be filtered out during indexing. */ @Required public MultipartFormFile stopwordsFile; /** * Default constructor for UploadForm.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
// -1 as unsigned short should be 65535 assertEquals((short) -1, bb.getShort()); assertEquals(65535, Short.toUnsignedInt((short) -1)); } } @Nested @DisplayName("Integration Tests with SMBUtil") class SMBUtilIntegrationTests { @Test @DisplayName("Should use SMBUtil.writeInt2 for referral level")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java
assertNotNull("Allow-Origin header should be set", responseHeaders.get("Access-Control-Allow-Origin")); assertNotNull("Allow-Methods header should be set", responseHeaders.get("Access-Control-Allow-Methods")); assertNotNull("Allow-Headers header should be set", responseHeaders.get("Access-Control-Allow-Headers")); assertNotNull("Max-Age header should be set", responseHeaders.get("Access-Control-Max-Age"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/CIFSExceptionTest.java
} @Test @DisplayName("Should handle null message") void testNullMessage() { // When/Then assertDoesNotThrow(() -> { CIFSException exception = new CIFSException((String) null); assertNotNull(exception); }); } @Test @DisplayName("Should handle null cause") void testNullCause() { // When/Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/CredentialsTest.java
*/ @DisplayName("Credentials Interface Tests") class CredentialsTest extends BaseTest { @Mock private Credentials mockCredentials; @Test @DisplayName("Should define interface methods") void testCredentialsInterface() { // Verify interface methods exist assertDoesNotThrow(() -> { mockCredentials.unwrap(Credentials.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
// If suppression is disabled, getSuppressed should return empty array assertEquals(0, exception.getSuppressed().length); } catch (Exception e) { // If an exception is thrown when trying to add suppressed, that's also valid // since suppression is disabled } // Stack trace should be empty since writableStackTrace is false
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.8K bytes - Viewed (0) -
cmd/metacache-manager.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 cmd import ( "context" "fmt" "runtime/debug" "sync" "time" "github.com/minio/minio/internal/logger" ) // localMetacacheMgr is the *local* manager for this peer. // It should never be used directly since buckets are
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java
AvChannelBindings avChannelBindings = new AvChannelBindings(testHash); assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings"); assertArrayEquals(testHash, avChannelBindings.getRaw(), "Value should match the provided hash"); } /** * Test that the constructor handles a null channel binding hash. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0)