Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 88 for test_name (0.09 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. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

         * @param testName the testName to apply addition
         */
        public void addMatch(String subKey, Object value, String testName) {
            transformations.add(new AddMatch(subKey, MAPPER.convertValue(value, JsonNode.class), testName));
        }
    
        /**
         * Adds one or more warnings to the given test
         *
         * @param testName the test name to add the warning
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/text/ReplaceTextual.java

            this.keyToReplaceName = keyToReplaceName;
            this.valueToBeReplaced = valueToBeReplaced;
            this.replacementNode = replacementNode;
            this.testName = testName;
        }
    
        @Override
        @Internal
        public String getKeyToFind() {
            return keyToReplaceName;
        }
    
        @Override
        public String requiredChildKey() {
            return valueToBeReplaced;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 10:37:15 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/RemoveWarnings.java

        private String testName;
    
        /**
         * @param warnings The allowed warnings to inject
         */
        public RemoveWarnings(Set<String> warnings) {
            this.warnings = warnings;
        }
        /**
         * @param warnings The allowed warnings to inject
         * @param testName The testName to inject
         */
        public RemoveWarnings(Set<String> warnings, String testName) {
            this.warnings = warnings;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 15 08:50:42 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestContext.java

    /**
     * A place to stash information about a test that is being transformed.
     */
    public class RestTestContext {
    
        private final String testName;
    
        public RestTestContext(String testName) {
            this.testName = testName;
        }
    
        public String getTestName() {
            return testName;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 721 bytes
    - Click Count (0)
Back to Top