- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 750 for ensures (0.05 seconds)
-
src/test/java/jcifs/SmbTreeHandleTest.java
import org.mockito.quality.Strictness; /** * Tests for SmbTreeHandle interface. * This test class uses Mockito to create a mock implementation of the SmbTreeHandle interface. * Each method of the interface is tested to ensure it behaves as expected. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class SmbTreeHandleTest { @Mock private SmbTreeHandle smbTreeHandle; @MockCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
loadBalancer.setStrategy(LoadBalancingStrategy.WEIGHTED_RANDOM); when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2)); // Test multiple selections to ensure it works for (int i = 0; i < 10; i++) { ChannelInfo selected = loadBalancer.selectChannel(mockMessage); assertTrue(Arrays.asList(channel1, channel2).contains(selected)); } }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
} /** * Test backward compatibility with standard Base64 * * @throws Exception */ public void testBackwardCompatibility() throws Exception { // These test cases ensure that the new java.util.Base64 implementation // produces the same output as the old custom implementation // Test case 1: Standard padding final byte[] data1 = "abc".getBytes();Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 6K bytes - Click Count (0) -
README.md
## Build Docker Image You can use the `docker build .` command to build a Docker image on your local host machine. You must first [build MinIO](#install-from-source) and ensure the `minio` binary exists in the project root. The following command builds the Docker image using the default `Dockerfile` in the root project directory with the repository and image tag `myminio:minio` ```sh
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Dec 03 08:13:11 GMT 2025 - 9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
withContext(Dispatchers.IO) { fileSystem.write(outputFile) { importResults.writeOut(this) } } /** * These assertions ensure the [PublicSuffixDatabase] remains correct. The specification is * very flexible regarding wildcard rules, but this flexibility is not something currently used
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Aug 06 05:33:11 GMT 2025 - 6.1K bytes - Click Count (0) -
architecture/standards/0008-use-nullaway.md
While there are competing ways to represent absence (`Optional`, "Null Object" pattern, method overloads), it is unlikely that we'll be able to remove `null` entirely. After migrating to Java 8, we can use pluggable type checkers to ensure that our annotations are consistent, and there are no missing null checks. ## Decision Use "NullAway" in JSpecify mode to check for null-related errors in Java code.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 11 10:24:40 GMT 2025 - 4K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
if (Log.isLoggable(tag, logLevel)) { var logMessage = message if (t != null) logMessage = logMessage + '\n'.toString() + Log.getStackTraceString(t) // Split by line, then ensure each line can fit into Log's maximum length. var i = 0 val length = logMessage.length while (i < length) { var newline = logMessage.indexOf('\n', i)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Oct 25 11:16:17 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
} @Test @DisplayName("Should create new connections when reuse conditions are not met") void testNoConnectionReuse() throws Exception { // Given: Create a new pool for this test to ensure isolation SmbTransportPoolImpl testPool = new SmbTransportPoolImpl(); when(ctx.getTransportPool()).thenReturn(testPool); // Create an existing connectionCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
README.md
### Contributing We welcome contributions! Please: 1. Fork the repository 2. Create a feature branch 3. Make your changes with appropriate tests 4. Run `mvn clean test` to ensure all tests pass 5. Submit a pull request ### License
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 09:24:52 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
assertEquals(expected, result, "Filter should evaluate .txt suffix correctly"); verifyNoInteractions(mockDir); } /** * Invalid/null inputs: ensure filters can handle null name and dir. */ @ParameterizedTest @DisplayName("null and empty names are handled explicitly") @NullAndEmptySource @ValueSource(strings = { " \t\n" })Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0)