- Sort Score
- Result 10 results
- Languages All
Results 2421 - 2430 of 4,299 for avoid (0.02 sec)
-
src/test/java/jcifs/smb/WinErrorTest.java
} // Simple collaborator to demonstrate interaction verification with Mockito interface Handler { void handle(int code, String message); } @Mock Handler handler; @Test @DisplayName("Interaction: handler called with each code/message pair") void interaction_with_mock_handler_is_as_expected() { // Interaction test: simulate passing each code/message to a collaboratorRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
*/ public class BufferCacheSecurityTest { /** * Test that buffer allocation validates size to prevent overflow. */ @Test public void testBufferSizeValidation() { // When - Get a buffer byte[] buffer = BufferCache.getBuffer(); // Then - Buffer should have expected size assertNotNull(buffer, "Buffer should not be null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
: !iterable.iterator().hasNext(); } public static void assertEmpty(Iterable<?> iterable) { if (!isEmpty(iterable)) { fail("Not true that " + iterable + " is empty"); } } public static void assertEmpty(Map<?, ?> map) { if (!map.isEmpty()) { fail("Not true that " + map + " is empty"); } } public static void assertEqualInOrder(Iterable<?> expected, Iterable<?> actual) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 17.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
*/ @Test public void testGetFromStream() throws Exception { final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/aaa.html"; final String contentType = MimeTypeUtil.guessContentType(path); assertEquals("text/html", contentType); } /** * @throws Exception */ @Test public void testGetFromStream_gif() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/timer/TimeoutTask.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exentity/UserInfo.java
@Override public String getId() { return asDocMeta().id(); } public void setId(final String id) { asDocMeta().id(id); } @Override public Long getVersionNo() { return asDocMeta().version(); } public void setVersionNo(final Long version) { asDocMeta().version(version); } public String getLogMessage() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java
/** */ class MavenExecutionPlanTest { @Test void testFindLastInPhase() throws Exception { MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan(); ExecutionPlanItem expected = plan.findLastInPhase("package"); assertNotNull(expected); } @Test void testThreadSafeMojos() throws Exception {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java
* * @param data the render data to populate */ protected void registerEnvItems(final RenderData data) { RenderDataUtil.register(data, "envItems", getEnvItems()); } /** * Registers system properties for rendering. * * @param data the render data to populate */ protected void registerPropItems(final RenderData data) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.7K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java
@Test void jimFs() throws Exception { try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) { invoke(fs.getPath("/cwd"), fs.getPath("/home"), List.of("verify"), List.of()); } } /** * Same source (user or project extensions.xml) must not contain same GA with different V. */ @Test void conflictingExtensionsFromSameSource(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 21 12:17:55 UTC 2025 - 9.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
} @Override public byte[] getExpected(byte[] data) { return factory.getExpected(new String(data, UTF_8)).getBytes(UTF_8); } @Override public void tearDown() throws IOException { factory.tearDown(); } }; } public static CharSourceFactory asCharSourceFactory(ByteSourceFactory factory) { checkNotNull(factory);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 17.9K bytes - Viewed (0)