- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 214 for EX (0.02 seconds)
-
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
SmbException ex = assertThrows(SmbException.class, () -> new DirFileEntryEnumIterator1(tree, parent, "*", (ResourceNameFilter) null, 0)); assertTrue(ex.getMessage().contains("UNC must end with '\\'"), "Actual message: " + ex.getMessage()); verify(tree, times(1)).acquire(); verify(tree, times(1)).release(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateKotlinVersionsTest.groovy
def allVersions = ["2.0.0", "2.0.0-RC1", "2.0.0-Beta1"] when: UpdateKotlinVersions.selectVersionsFrom(minimumSupported, allVersions) then: def ex = thrown(IllegalArgumentException) ex.message == "Minimum supported '1.9.10' was not found in available versions: [2.0.0, 2.0.0-RC1, 2.0.0-Beta1]" }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Oct 29 08:29:55 GMT 2025 - 3.1K bytes - Click Count (0) -
ci/official/utilities/windows.sh
# to setting up up volume mappings. # Thus, the drive letter is replaced with the passed prefix. # If no prefix is passed, by default, it's replaced with C:\, in case it's # something else (ex. T:), which is a volume used in internal CI. function replace_drive_letter_with_prefix () { local path_prefix if [[ -z "$2" ]]; then path_prefix="C:" else path_prefix="$2" fi
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 09 18:37:25 GMT 2025 - 1.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// Exception path when(treeConnection.hasCapability(999)).thenThrow(new SmbException("Not connected")); SmbException ex = assertThrows(SmbException.class, () -> handle.hasCapability(999)); assertTrue(ex.getMessage().contains("Not connected")); } @Test @DisplayName("getTreeId delegates") void getTreeIdDelegates() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
this.ans = this.tc.getNameServiceClient().getNbtAllByName(this.host, this.type, this.scope, this.svr); } catch (final UnknownHostException ex) { this.uhe = ex; } catch (final Exception ex) { this.uhe = new UnknownHostException(ex.getMessage()); } finally { synchronized (this.sem) { this.sem.count--;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
deploy_website.sh
#!/bin/bash # The website is built using MkDocs with the Material theme. # https://squidfunk.github.io/mkdocs-material/ # It requires python3 to run. set -ex REPO="******@****.***:square/okhttp.git" DIR=temp-clone # Delete any existing temporary website clone rm -rf $DIR # Clone the current repo into temp folder git clone $REPO $DIR # Replace `git clone` with these lines to hack on the website locally
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Nov 20 15:26:12 GMT 2023 - 1.2K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmServlet.java
this.realm = "jCIFS"; } this.transportContext = new BaseContext(new PropertyConfiguration(p)); } catch (final CIFSException ex) { throw new ServletException("Failed to initialize config", ex); } } @Override protected void service(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (1) -
src/test/java/jcifs/smb/SSPContextTest.java
void testGetSigningKeyThrows() { DummySSPContext ctx = new DummySSPContext(null, false, null, null, 0, false); CIFSException ex = assertThrows(CIFSException.class, ctx::getSigningKey); assertTrue(ex.getMessage().contains("signing key")); } @Test @DisplayName("initSecContext throws on invalid ranges") void testInitSecContextInvalidRanges() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
void testTextualConstructorInvalid() { // Arrange String bad = "S-1"; // fewer than 3 tokens // Act + Assert SmbException ex = assertThrows(SmbException.class, () -> new SID(bad)); assertTrue(ex.getMessage().contains("Bad textual SID format")); } @Test @DisplayName("Textual constructor null throws NullPointerException")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
// Act SMBProtocolDecodingException ex = assertThrows(SMBProtocolDecodingException.class, () -> resp.readBytesWireFormat(buffer, 0), "Should throw when structure size != 4"); // Assert: message is meaningful assertEquals("Structure size is not 4", ex.getMessage()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.7K bytes - Click Count (0)