Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for TESTSERVICE (0.06 seconds)

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

      public void testServiceToString() {
        AbstractIdleService service = new TestService();
        assertThat(service.toString()).isEqualTo("TestService [NEW]");
        service.startAsync().awaitRunning();
        assertThat(service.toString()).isEqualTo("TestService [RUNNING]");
        service.stopAsync().awaitTerminated();
        assertThat(service.toString()).isEqualTo("TestService [TERMINATED]");
      }
    
      public void testTimeout() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      public void testServiceToString() {
        AbstractIdleService service = new TestService();
        assertThat(service.toString()).isEqualTo("TestService [NEW]");
        service.startAsync().awaitRunning();
        assertThat(service.toString()).isEqualTo("TestService [RUNNING]");
        service.stopAsync().awaitTerminated();
        assertThat(service.toString()).isEqualTo("TestService [TERMINATED]");
      }
    
      public void testTimeout() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 7.7K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        }
    
        @Override
        protected ScheduledExecutorService executor() {
          return executor;
        }
      }
    
      public void testFailOnExceptionFromRun() throws Exception {
        TestService service = new TestService();
        service.runException = new Exception();
        service.startAsync().awaitRunning();
        service.runFirstBarrier.await();
        service.runSecondBarrier.await();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        }
    
        @Override
        protected ScheduledExecutorService executor() {
          return executor;
        }
      }
    
      public void testFailOnExceptionFromRun() throws Exception {
        TestService service = new TestService();
        service.runException = new Exception();
        service.startAsync().awaitRunning();
        service.runFirstBarrier.await();
        service.runSecondBarrier.await();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

            // Test with class name not ending with Pager
            String nonPagerComponentName = namingConvention.fromClassNameToComponentName("com.example.TestService");
            assertNotNull(nonPagerComponentName);
            assertEquals("testService", nonPagerComponentName);
        }
    
        // Test class name creation from component name
        @Test
        public void test_fromComponentNameToClassName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

        }
    
        // Test annotation on method parameter
        @Test
        public void test_annotationOnMethod() throws Exception {
            Method method = TestService.class.getDeclaredMethod("scheduledTask", String.class);
            Annotation[][] paramAnnotations = method.getParameterAnnotations();
    
            assertEquals(1, paramAnnotations.length);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  8. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

        }
    
        @Test
        public void test_constructor_withComponentNameAndNullCause() {
            // Test constructor with component name and null cause
            String componentName = "testService";
            ContainerNotAvailableException exception = new ContainerNotAvailableException(componentName, null);
    
            assertEquals(componentName + " is not available.", exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (0)
Back to Top