- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 261 for asText (2.1 sec)
-
src/main/java/jcifs/smb/FileEntryAdapterIterator.java
return null; } protected abstract SmbResource adapt(FileEntry e) throws MalformedURLException; /** * {@inheritDoc} * * @see java.util.Iterator#hasNext() */ @Override public boolean hasNext() { return this.next != null; } /** * {@inheritDoc} * * @see java.util.Iterator#next() */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
@DisplayName("byte[] ctor: empty token throws PACDecodingException with clear message") void byteArrayConstructor_emptyToken_throws() { // Arrange byte[] empty = new byte[0]; // Act + Assert PACDecodingException ex = assertThrows(PACDecodingException.class, () -> new KerberosApRequest(empty, new KerberosKey[0])); assertTrue(ex.getMessage().contains("Empty kerberos ApReq")); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
void defaultConstructor_hasNullMessageAndCause_andDefaultStatus() { // Arrange & Act SMBSignatureValidationException ex = new SMBSignatureValidationException(); // Assert assertNull(ex.getMessage(), "Default ctor should not set a message"); assertNull(ex.getCause(), "Default ctor should not set a cause");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
boolean guest = flags[1]; // Arrange Subject subject = new Subject(); TestCredentials creds = new TestCredentials("DOMAIN", anonymous, guest, subject, false); // Act & Assert // unwrap to interface itself should return same instance CredentialsInternal unwrapped = creds.unwrap(CredentialsInternal.class); assertNotNull(unwrapped, "unwrap to CredentialsInternal returns instance");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResultDataTest.java
// ## Arrange ## final ResultData resultData = new ResultData(); final Object rawData = new Object(); // ## Act ## resultData.setRawData(rawData); // ## Assert ## assertEquals(rawData, resultData.getRawData()); assertNull(resultData.serializer); try { resultData.getData(); fail(); } catch (CrawlerSystemException e) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
// Act out.close(); // Assert verifyNoInteractions(handle); } @Nested @DisplayName("Constructor invalid inputs") class ConstructorInvalidInputs { @Test @DisplayName("Null handle triggers NullPointerException") void ctor_nullHandle_throwsNPE() { // Act + AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Act & Assert assertDoesNotThrow(() -> new MsrpcSamrConnect2(null, 0, ph)); } @Test @DisplayName("should accept negative access mask values") void testNegativeAccessMaskAccepted() { // Arrange SamrPolicyHandle ph = createMockPolicyHandle(); // Act & AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
// Arrange StaticJAASConfiguration cfg = new StaticJAASConfiguration(); // Act AppConfigurationEntry[] entries = cfg.getAppConfigurationEntry("ignored"); // Assert assertNotNull(entries, "Entries array should not be null"); assertEquals(1, entries.length, "Exactly one entry is expected"); AppConfigurationEntry e = entries[0];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
// Assert - verify interaction with dependency verify(tree, times(1)).connectLogon(context); verify(tree, never()).close(); } @Test @DisplayName("connectLogon accepts null context but still invokes") void connectLogon_withNull_isInvoked() throws Exception { // Act tree.connectLogon(null);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)