Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 66 for test_name (0.05 seconds)

  1. src/test/resources/thumbnail/test_generate_thumbnail.sh

    mkdir -p "${OUTPUT_DIR}"
    
    # Cleanup function
    cleanup() {
        rm -rf "${OUTPUT_DIR}"
    }
    trap cleanup EXIT
    
    # Test function
    run_test() {
        local test_name="$1"
        local expected_result="$2"
        shift 2
        local cmd=("$@")
    
        echo -n "Testing: ${test_name}... "
    
        # Run the command
        "${cmd[@]}" >/dev/null 2>&1
        local actual_result=$?
    
        if [[ "${actual_result}" -eq "${expected_result}" ]]; then
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NameServicePacketTest.java

            assertEquals(expectedString, packet.toString());
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/storage/StorageTypeTest.java

        public void test_ordinal() {
            assertEquals(0, StorageType.S3.ordinal());
            assertEquals(1, StorageType.GCS.ordinal());
            assertEquals(2, StorageType.S3_COMPAT.ordinal());
        }
    
        public void test_name() {
            assertEquals("S3", StorageType.S3.name());
            assertEquals("GCS", StorageType.GCS.name());
            assertEquals("S3_COMPAT", StorageType.S3_COMPAT.name());
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected exception
            }
        }
    
        @Test
        public void test_name() {
            // Test name() method returns correct string representation
            assertEquals("METADATA", SsoResponseType.METADATA.name());
            assertEquals("LOGOUT", SsoResponseType.LOGOUT.name());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/NetbiosNameTest.java

        void testVariousNameLengths() {
            // NetBIOS names can be up to 15 characters
            String[] testNames = { "A", "SERVER", "LONGSERVERNAME", "EXACTLY15CHARS1" };
    
            for (String testName : testNames) {
                when(mockNetbiosName.getName()).thenReturn(testName);
                assertEquals(testName, mockNetbiosName.getName());
            }
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            classes.add(cls);
          }
        }
        return classes;
      }
    
      private static boolean hasTest(Class<?> testClass, Iterable<String> testNames) {
        for (String testName : testNames) {
          try {
            testClass.getMethod(testName);
            return true;
          } catch (NoSuchMethodException e) {
            continue;
          }
        }
        return false;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            classes.add(cls);
          }
        }
        return classes;
      }
    
      private static boolean hasTest(Class<?> testClass, Iterable<String> testNames) {
        for (String testName : testNames) {
          try {
            testClass.getMethod(testName);
            return true;
          } catch (NoSuchMethodException e) {
            continue;
          }
        }
        return false;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java

    import org.junit.Test;
    import org.junit.rules.TestName;
    import org.opensearch.action.admin.indices.get.GetIndexResponse;
    
    /**
     * Tests for Suggester index lifecycle operations including edge cases.
     * Covers: createIndexIfNothing, createNextIndex, switchIndex, removeDisableIndices
     */
    public class SuggesterIndexLifecycleTest {
        static OpenSearchRunner runner;
    
        @Rule
        public final TestName testName = new TestName();
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            private TestCreateContextRequest testRequest;
            private byte[] testName;
            private byte[] testBuffer;
    
            @BeforeEach
            void setUp() {
                testName = "CREATE_REQUEST_TEST".getBytes(StandardCharsets.UTF_8);
                testRequest = new TestCreateContextRequest(testName);
                testBuffer = new byte[256];
            }
    
            @Test
    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)
  10. src/bytes/buffer_test.go

    	for ; n > 0; n-- {
    		m, err := buf.WriteString(fus)
    		if m != len(fus) {
    			t.Errorf(testname+" (fill 2): m == %d, expected %d", m, len(fus))
    		}
    		if err != nil {
    			t.Errorf(testname+" (fill 3): err should always be nil, found err == %s", err)
    		}
    		s += fus
    		check(t, testname+" (fill 4)", buf, s)
    	}
    	return s
    }
    
    // Fill buf through n writes of byte slice fub.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
Back to Top