- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 616 for ensures (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
for (int i = off; i < off + len; i++) { out.write(b[i]); } } else { out.write(b, off, len); } out.flush(); // for coverage } // TODO(chrisn): only works if we ensure we have crossed file threshold public void testWriteErrorAfterClose() throws Exception { byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(50);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 30 16:30:29 GMT 2025 - 6.7K bytes - Click Count (0) -
ci/official/installer_wheel.sh
# RECORD file which contains hashes of all included files. python3 -m wheel pack "${pkg_name}" done # Switch back to the original working directory. This is needed to ensure that # cleanup steps at the end of the script works as expected. popd echo "Following installer wheels were generated: " ls "${TFCI_OUTPUT_DIR}"/*.whl if [[ "$TFCI_ARTIFACT_STAGING_GCS_ENABLE" == 1 ]]; then
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Mar 04 22:39:12 GMT 2025 - 3.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
// explicitly remove the existing value cache.asMap().computeIfPresent(1, (key, value) -> null); assertThat(notifications).hasSize(1); CacheTesting.checkEmpty(cache); // ensure no zombie entry remains cache.asMap().computeIfPresent(1, (key, value) -> null); assertThat(notifications).hasSize(1); CacheTesting.checkEmpty(cache); } public void testComputeIfPresent_error() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 7K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
assertFalse(Features.deployBuildPom(properties)); // "0".parseBoolean() = false } @Test void testDeployBuildPomWithMutableMap() { // Test with a mutable map to ensure the method doesn't modify the input Map<String, Object> properties = new HashMap<>(); properties.put(Constants.MAVEN_DEPLOY_BUILD_POM, "false"); assertFalse(Features.deployBuildPom(properties));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jul 04 19:42:23 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
SmbTransportImpl transport = new SmbTransportImpl(context, serverUniAddress, port, localAddress, localPort, forceSigning); // Ensure the transport is connected and ready transport.ensureConnected(); // Verify multi-channel capability (SMB3+ required)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 20.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
setException(failure); } }; ExecutionException ee1 = getExpectingExecutionException(future); ExecutionException ee2 = getExpectingExecutionException(future); // Ensure we get a unique execution exception on each get assertNotSame(ee1, ee2); assertThat(ee1).hasCauseThat().isSameInstanceAs(failure); assertThat(ee2).hasCauseThat().isSameInstanceAs(failure);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 46.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
* behaviour. The tests cover flag manipulation, byte‑buffer operations and * static helpers. Edge cases such as null or short arrays and negative * values are verified to ensure proper exception handling and byte * conversion. */ @ExtendWith(MockitoExtension.class) class NtlmMessageTest { /** Lightweight concrete implementation used only for testing. */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0)