- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 406 for ensures (0.05 seconds)
-
android/guava/src/com/google/common/base/Verify.java
* failures explained</a> in the Guava User Guide for advice on when this class should be used. * * @since 17.0 */ @GwtCompatible public final class Verify { /** * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no * message otherwise. * * @throws VerifyException if {@code expression} is {@code false}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Verify.java
* failures explained</a> in the Guava User Guide for advice on when this class should be used. * * @since 17.0 */ @GwtCompatible public final class Verify { /** * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no * message otherwise. * * @throws VerifyException if {@code expression} is {@code false}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
} @Test @DisplayName("Constructor acquires tree connection; getConfig/isConnected delegate") void constructorAndSimpleDelegations() { // Ensures constructor acquires tree connection and simple delegate methods forward correctly // Verify constructor invoked acquire once verify(treeConnection, times(1)).acquire(); // getConfig delegatesCreated: 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/test/java/jcifs/http/HandlerTest.java
} @Test void testOpenConnection_HttpProtocol_ReturnsNtlmHttpURLConnection() throws Exception { // This test ensures that for a standard HTTP URL, openConnection wraps the connection // in an NtlmHttpURLConnection, using mock handlers to avoid dependency on system handlers. setupMockProtocolHandlers();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
} else { this.req = new SmbComWrite(th.getConfig()); this.rsp = new SmbComWriteResponse(th.getConfig()); } } /** * Ensures that the file descriptor is openend * * @throws CIFSException if an error occurs opening the file */ public void open() throws CIFSException { try (SmbFileHandleImpl fh = ensureOpen()) {}Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
} // ========== Security Tests ========== /** * Security test: Verify that unregistered classes are rejected during serialization. * This test ensures that the Kryo registration requirement is working correctly. * Unregistered classes should throw an exception to prevent potential RCE attacks. */ @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
// Mocking SmbFile constructor is tricky, so we'll just verify the call to the delegate // and ensure no exception is thrown for a valid URL. // The actual SmbFile creation is outside the scope of this wrapper's direct responsibility. // For coverage, we'll ensure the method doesn't throw MalformedURLException for a valid URL // and that it attempts to create an SmbFile.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
cmd/encryption-v1_test.go
t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps) } } // Skip 1Mib and read 1Mib (in the decrypted object) // // The check below ensures the object is large enough // for the read. if lsum(test.decSizes) >= 2*humanize.MiByte { skipLen, readLen := int64(1)*humanize.MiByte, int64(1)*humanize.MiByte
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
} @Test public void test_genericTypeSafety_consistencyBetweenConstructorAndGetter() { // Verify consistency between constructor parameter type and getter return type // This test ensures the generic type change is consistent throughout the class // Test with RootAction.class Class<? extends RootAction> inputClass1 = RootAction.class;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0)