- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 4,822 for Void (0.06 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
* type other than {@code Object[]}. */ public void testToArray_isPlainObjectArray() { Object[] array = collection.toArray(); assertEquals(Object[].class, array.getClass()); } public void testToArray_emptyArray() { E[] empty = getSubjectGenerator().createArray(0); E[] array = collection.toArray(empty); assertEquals(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 8.2K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jStdoutLogger.java
return false; } @Override public void trace(String msg) {} @Override public void trace(String format, Object arg) {} @Override public void trace(String format, Object arg1, Object arg2) {} @Override public void trace(String format, Object... arguments) {} @Override public void trace(String msg, Throwable t) {} @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineTest.java
private ScriptEngine scriptEngine; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); // Create a test implementation of ScriptEngine scriptEngine = new TestScriptEngine(); } // Test evaluate method with valid template and parameters @Test public void test_evaluate_withValidTemplateAndParams() { String template = "Hello ${name}";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
@Test @DisplayName("Constructor with null file ID should accept null") void testConstructorWithNullFileId() { // Should not throw exception Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null); assertNotNull(requestWithNull); } @Test @DisplayName("setFileId should update file ID") void testSetFileId() throws Exception { byte[] newFileId = new byte[16];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
} public void testContainsAll_sameElements() { assertTrue( "containsAll(sameElements) should return true", collection.containsAll(MinimalCollection.of(createSamplesArray()))); } @SuppressWarnings("ModifyingCollectionWithItself") public void testContainsAll_self() { assertTrue("containsAll(this) should return true", collection.containsAll(collection)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java
@Override public void apply(Project project) { GradleDocumentationExtension documentationExtension = project.getExtensions().getByType(GradleDocumentationExtension.class); applyPlugin(project); updateDocumentationExtension(project, documentationExtension); configurePlugin(project, documentationExtension); } private static void applyPlugin(Project project) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed May 28 11:34:42 GMT 2025 - 7.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
listener.assertException(error); } public void testAddListenerAfterCallback() throws Throwable { inputFuture.set(VALID_INPUT_DATA); listener.assertSuccess(getSuccessfulResult()); } public void testFutureBeforeCallback() throws Throwable { inputFuture.set(VALID_INPUT_DATA); listener.assertSuccess(getSuccessfulResult()); } public void testInputFutureToString() throws Throwable {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
*/ @Test void testConstructorWithValidData() { // A byte array with a length less than 32 should be considered valid. byte[] validData = new byte[31]; assertDoesNotThrow(() -> new PacCredentialType(validData)); } /** * Tests the constructor with a null byte array, which should throw an exception. */ @Test void testConstructorWithNullData() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CountingInputStreamTest.java
@Override protected void setUp() throws Exception { super.setUp(); counter = new CountingInputStream(new ByteArrayInputStream(new byte[20])); } public void testReadSingleByte() throws IOException { assertEquals(0, counter.getCount()); assertEquals(0, counter.read()); assertEquals(1, counter.getCount()); } public void testReadArray() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
*/ public class MessageFormatterTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testGetMessage() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.6K bytes - Click Count (0)