- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 3,152 for Then (0.02 seconds)
-
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
// When/Then: Should throw DcerpcException for invalid URLs assertThrows(DcerpcException.class, () -> DcerpcHandle.parseBinding(url)); } @Test @DisplayName("Should handle binding URLs without endpoints correctly") void testParseBindingWithoutEndpoint() { // When/Then: URLs without proper endpoints should failCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (0) -
docs/distributed/decom-encrypted-kes.sh
#!/bin/bash if [ -n "$TEST_DEBUG" ]; then set -x fi pkill minio pkill kes rm -rf /tmp/xl if [ ! -f ./mc ]; then wget --quiet -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc && chmod +x mc fi if [ ! -f ./kes ]; then wget --quiet -O kes https://github.com/minio/kes/releases/latest/download/kes-linux-amd64 && chmod +x kes fi if ! openssl version &>/dev/null; then
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 7.1K bytes - Click Count (1) -
buildscripts/checkdeps.sh
## } ## check_minimum_version() { IFS='.' read -r -a varray1 <<<"$1" IFS='.' read -r -a varray2 <<<"$2" for i in "${!varray1[@]}"; do if [[ ${varray1[i]} -lt ${varray2[i]} ]]; then return 0 elif [[ ${varray1[i]} -gt ${varray2[i]} ]]; then return 1 fi done return 0 } assert_is_supported_arch() { case "${ARCH}" in x86_64 | amd64 | aarch64 | ppc64le | arm* | s390x | loong64 | loongarch64 | riscv64)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jun 08 16:12:05 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
when(mockContext.getConfig()).thenReturn(mockConfig); when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient); when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost); when(mockHost.getHostName()).thenReturn(TEST_HOSTNAME); when(mockConfig.getDefaultDomain()).thenReturn(TEST_DOMAIN); when(mockConfig.isUseUnicode()).thenReturn(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 38.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
buffer.putInt(512); // Bytes per sector byte[] bufferArray = buffer.array(); // When int bytesConsumed = fileFsFullSizeInfo.decode(bufferArray, 0, bufferArray.length); // Then assertEquals(32, bytesConsumed); assertEquals(1048576L * 8 * 512, fileFsFullSizeInfo.getCapacity());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
void testSetFileIdInCloseRequest() { // Given Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId); // When request.setFileId(testFileId); // Then - verify through internal state (would need getter or reflection in real scenario) // Since we can't directly verify the internal state, we create a new request to test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateAgpVersionsTest.groovy
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 15 06:57:24 GMT 2026 - 4.7K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/RestResourcesPluginFuncTest.groovy
def "restResources does nothing when there are no tests"() { given: internalBuild() buildFile << """ apply plugin: 'elasticsearch.java' apply plugin: 'elasticsearch.rest-resources' """ String api = "foo.json" setupRestResources([api]) when: def result = gradleRunner("copyRestApiSpecsTask").build()Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jul 20 21:05:16 GMT 2021 - 7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
// Given long sourceOffset = 1024L; long targetOffset = 2048L; int length = 4096; // When SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length); // Then assertNotNull(chunk); } @ParameterizedTest @DisplayName("Should create instance with various offset values")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
.ci/scripts/packaging-test.sh
unset JAVA_HOME if [ -f "/etc/os-release" ] ; then cat /etc/os-release . /etc/os-release if [[ "$ID" == "debian" || "$ID_LIKE" == "debian" ]] ; then # FIXME: The base image should not have rpm installed sudo rm -Rf /usr/bin/rpm # Work around incorrect lintian version # https://github.com/elastic/elasticsearch/issues/48573 if [ $VERSION_ID == 10 ] ; thenCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu May 06 21:46:09 GMT 2021 - 2.3K bytes - Click Count (0)