Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 2,907 for xtest (0.02 sec)

  1. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        // create a null writer
        Writer nullWriter = CharStreams.nullWriter();
        // write to the writer
        nullWriter.write('n');
        String test = "Test string for NullWriter";
        nullWriter.write(test);
        nullWriter.write(test, 2, 10);
        nullWriter.append(null);
        nullWriter.append(null, 0, 4);
    
        assertThrows(IndexOutOfBoundsException.class, () -> nullWriter.append(null, -1, 4));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

        // create a null writer
        Writer nullWriter = CharStreams.nullWriter();
        // write to the writer
        nullWriter.write('n');
        String test = "Test string for NullWriter";
        nullWriter.write(test);
        nullWriter.write(test, 2, 10);
        nullWriter.append(null);
        nullWriter.append(null, 0, 4);
    
        assertThrows(IndexOutOfBoundsException.class, () -> nullWriter.append(null, -1, 4));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmSspTest.java

            // Mock NameServiceClient for Type1Message test
            lenient().when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
            lenient().when(mockNameServiceClient.getLocalHost()).thenReturn(mockAddress);
            lenient().when(mockAddress.getHostName()).thenReturn("WORKSTATION");
        }
    
        /**
         * Test case for when the 'Authorization' header is missing.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestMavenWorkspaceReader.java

    public class TestMavenWorkspaceReader implements MavenWorkspaceReader {
    
        static final String REPO_LAYOUT = "test";
    
        static final String REPO_URL = "https://test/me";
    
        static final String REPO_ID = "custom";
    
        static final String GROUP_ID = "org.apache.maven";
    
        static final String ARTIFACT_ID = "this.is.a.test";
    
        static final String VERSION = "99.99";
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get
     * methods and the addListener method.
     *
     * @author Sven Mawson
     * @since 10.0
     */
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessage() throws Exception {
            final String s = MessageFormatter.getMessage("EMSG0000");
            System.out.println(s);
            assertThat(s, is("[EMSG0000]test"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessageWithArgs() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            assertTrue("Component integration test should be fast", true);
        }
    
        public void test_basic_functionality() {
            // Basic functionality test without complex operations
            try {
                List<String> emptyIds = new ArrayList<>();
                dataIndexHelper.crawl("basic-test", emptyIds);
                assertTrue("Basic functionality should be fast", true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        }
    
        @Test
        @DisplayName("getSession returns underlying session from tree connection")
        void getSessionReturnsUnderlying() {
            // Verifies getSession() exposes the session provided by the connection
            assertSame(session, handle.getSession());
            verify(treeConnection).getSession();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            assertNotNull(nodeAddress, "Node address should not be null");
            // Note: Cannot test isGroupAddress() and getNodeType() without CIFSContext in unit test
            // These methods require network operations and are integration test material
        }
    
        @Test
        void readRDataWireFormat_shouldSetNbtAddress_whenAddressIsNonZero_groupNameTrue_nodeTypeNonZero()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Tag("Slow")
    class InterceptorTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @StartStop
      private val server = MockWebServer()
    
      private var client = clientTestRule.newClient()
      private val callback = RecordingCallback()
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top