- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 6,076 for newE (0.03 seconds)
-
src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
UnsupportedSearchException exception = new UnsupportedSearchException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withEmptyMessage() { // Test with empty message String message = ""; UnsupportedSearchException exception = new UnsupportedSearchException(message);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
HashingOutputStream out = new HashingOutputStream(sha512(), buffer); out.write(buf); assertEquals(expectedHash, out.hash()); } public void testChecksForNull() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods( new HashingOutputStream(sha512(), new ByteArrayOutputStream()));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
*/ @Test void testConstructorWithMessageAndCause() { String message = "Test message with cause."; Throwable cause = new RuntimeException("Original cause."); DcerpcException exception = new DcerpcException(message, cause); assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
@BeforeEach void setUp() { handler = new Handler(); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create handler with default constructor") void testDefaultConstructor() { // When Handler testHandler = new Handler(); // Then assertNotNull(testHandler);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
Supplier<Integer> supplier = new CountingSupplier(); Function<@Nullable Object, Integer> function = Functions.forSupplier(supplier); assertEquals(1, (int) function.apply(null)); assertEquals(2, (int) function.apply("foo")); new EqualsTester() .addEqualityGroup(function, Functions.forSupplier(supplier)) .addEqualityGroup(Functions.forSupplier(new CountingSupplier()))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 16.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
@DisplayName("writeSetupWireFormat returns 0 for all indices") void writeSetupWireFormatReturnsZero(int index) { TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse(); assertEquals(0, resp.writeSetupWireFormat(new byte[10], index), "writeSetupWireFormat should always return 0"); } @ParameterizedTest @ValueSource(ints = { 0, 5, -5, Integer.MAX_VALUE })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
/** * Test the readParameterWordsWireFormat method. */ @Test void testReadParameterWordsWireFormat() { SmbComWriteAndXResponse response = new SmbComWriteAndXResponse(); byte[] buffer = new byte[] { 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // count = 10 int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // The count should be read from the buffer.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/MapCacheTest.java
return Arrays.asList( new Object[][] { {new MapIteratorCache<String, String>(new HashMap<String, String>())}, {new MapIteratorCache<String, String>(new TreeMap<String, String>(nullsLast))}, {new MapRetrievalCache<String, String>(new HashMap<String, String>())}, {new MapRetrievalCache<String, String>(new TreeMap<String, String>(nullsLast))} }); } @BeforeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
final Exception[] exceptions = new Exception[threadCount]; for (int i = 0; i < threadCount; i++) { final int index = i; threads[i] = new Thread(() -> { try { providers[index] = new FessTimeResourceProvider(mockConfig); } catch (Exception e) { exceptions[index] = e; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
UniAddress uniAddress1 = new UniAddress(inetAddress1); UniAddress uniAddress2 = new UniAddress(inetAddress1); assertTrue(uniAddress1.equals(uniAddress2)); } @Test void equalsShouldReturnFalseForDifferentWrappedAddress() { UniAddress uniAddress1 = new UniAddress(inetAddress1); UniAddress uniAddress2 = new UniAddress(inetAddress2);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.4K bytes - Click Count (0)