Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestService (0.05 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      }
    
      public void testServiceToString() {
        AbstractIdleService service = new TestService();
        assertEquals("TestService [NEW]", service.toString());
        service.startAsync().awaitRunning();
        assertEquals("TestService [RUNNING]", service.toString());
        service.stopAsync().awaitTerminated();
        assertEquals("TestService [TERMINATED]", service.toString());
      }
    
      public void testTimeout() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      }
    
      public void testServiceToString() {
        AbstractIdleService service = new TestService();
        assertEquals("TestService [NEW]", service.toString());
        service.startAsync().awaitRunning();
        assertEquals("TestService [RUNNING]", service.toString());
        service.stopAsync().awaitTerminated();
        assertEquals("TestService [TERMINATED]", service.toString());
      }
    
      public void testTimeout() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

        @Test
        void testMatches() {
            SmbTree tree = new SmbTree(session, "testShare", "testService");
    
            // Test matching share and service (case insensitive)
            assertTrue(tree.matches("testShare", "testService"));
            assertTrue(tree.matches("TESTSHARE", "testService"));
            assertTrue(tree.matches("testshare", "TESTSERVICE"));
    
            // Test matching share with null service
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            @Test
            @DisplayName("Should decode bytes correctly")
            void testReadBytesWireFormat() throws Exception {
                // Given - Service string in ASCII
                String testService = "A:";
                byte[] serviceBytes = testService.getBytes("ASCII");
                byte[] buffer = new byte[serviceBytes.length + 1];
                System.arraycopy(serviceBytes, 0, buffer, 0, serviceBytes.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top