- Sort Score
- Num 10 results
- Language All
Results 661 - 670 of 4,541 for newE (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
* @throws Exception */ @Test public void testRemove3() throws Exception { Map<MyKey, String> m = new ArrayMap<MyKey, String>(); m.put(new MyKey("1"), "d"); m.put(new MyKey("2"), "d"); m.remove(new MyKey("1")); assertThat(m.containsKey(new MyKey("1")), is(not(true))); } /** * @throws Exception */ @TestCreated: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
* @throws Exception */ @Test public void testIsPathSafe_WithFiles() throws Exception { final File baseDir = tempFolder.getRoot(); final File safeFile = new File(baseDir, "subdir/file.txt"); final File unsafeFile = new File(baseDir, "../../../etc/passwd"); assertTrue("Safe file should be allowed", FileUtil.isPathSafe(safeFile, baseDir));Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
when(config.getNotifyBufferSize()).thenReturn(8192); Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, fileId); byte[] buffer = new byte[512]; req.writeBytesWireFormat(buffer, 0); byte[] readFileId = new byte[16]; System.arraycopy(buffer, 8, readFileId, 0, 16); assertArrayEquals(fileId, readFileId); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
} @Test void testHasDefaultCredentials_withNull() { context = new TestAbstractCIFSContext(null); // Test with null credentials assertFalse(context.hasDefaultCredentials()); } @Test void testRenewCredentials() { assertFalse(context.renewCredentials("someLocation", new Exception("someError"))); } @Test void testClose() throws CIFSException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(ForwardingSortedMultisetTest.class); suite.addTest( SortedMultisetTestSuiteBuilder.using( new TestStringMultisetGenerator() { @Override protected Multiset<String> create(String[] elements) { return new StandardImplForwardingSortedMultiset<>(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
ListenableFuture<String> f = new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {}; verify(!(f instanceof FluentFuture)); assertThat(FluentFuture.from(f).get()).isEqualTo("a"); // TODO(cpovirk): Test forwarding more extensively. } public void testAddCallback() { FluentFuture<String> f = FluentFuture.from(immediateFuture("a")); boolean[] called = new boolean[1]; f.addCallback(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
@Nullable V[][] array = (@Nullable V[][]) new Object[rowSpace.size()][columnSpace.size()]; this.values = array; this.rowKeyToIndex = Maps.indexMap(rowSpace); this.columnKeyToIndex = Maps.indexMap(columnSpace); rowCounts = new int[rowKeyToIndex.size()]; columnCounts = new int[columnKeyToIndex.size()]; int[] cellRowIndices = new int[cellList.size()]; int[] cellColumnIndices = new int[cellList.size()];
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
@DisplayName("Should handle exception chaining") void testExceptionChaining() { // Given Exception rootCause = new RuntimeException("Root cause"); SmbException intermediateCause = new SmbException("Intermediate", rootCause); // When SmbException finalException = new SmbException("Final error", intermediateCause); // Then assertEquals(intermediateCause, finalException.getCause());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/ICUNormalizerTest.java
ICUNormalizer normalizer = new ICUNormalizer("Halfwidth-Fullwidth"); assertEquals("ケンサク", normalizer.normalize("ケンサク", null)); } public void test_nullInput() { ICUNormalizer normalizer = new ICUNormalizer("Any-Lower"); assertNull(normalizer.normalize(null, null)); } public void test_nullTransliteratorId() { try { new ICUNormalizer(null);
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
void testJavaSerialization() throws Exception { // Given SpnegoException original = new SpnegoException("serialize me", new IllegalArgumentException("iaex")); // When byte[] bytes; try (ByteArrayOutputStream bout = new ByteArrayOutputStream(); ObjectOutputStream oout = new ObjectOutputStream(bout)) { oout.writeObject(original); oout.flush();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0)