Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for wResources (0.04 sec)

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

        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, UTF_8));
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

                    new DefaultSourceRoot(ProjectScope.MAIN, Language.RESOURCES, Path.of("src/main/resources")));
        }
    
        @Test
        void testAddIncludeToExistingResource() {
            // Get the first resource
            List<Resource> resources = project.getResources();
            assertEquals(1, resources.size(), "Should have one resource");
    
            Resource resource = resources.get(0);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. guava/pom.xml

      </dependencies>
      <build>
        <resources>
          <resource>
            <directory>..</directory>
            <includes>
              <include>LICENSE</include> <!-- copied from the parent pom because I couldn't figure out a way to make combine.children="append" work -->
              <include>proguard/*</include>
            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <plugins>
          <plugin>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 21:36:50 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. docs/en/docs/resources/index.md

    # Resources { #resources }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 12:28:40 UTC 2025
    - 83 bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

         */
        @Test
        void testBuildFromMiddlePom() throws Exception {
            File f1 = getTestFile("src/test/resources/projects/grandchild-check/child/pom.xml");
            File f2 = getTestFile("src/test/resources/projects/grandchild-check/child/grandchild/pom.xml");
    
            getProject(f1);
    
            // it's the building of the grandchild project, having already cached the child project
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

            }
        }
    
        /**
         * Test that try-with-resources handles null InputStream correctly.
         * Verifies that null InputStream doesn't cause NullPointerException during close.
         */
        @Test
        public void testTryWithResources_nullInputStreamSafety() {
            // This test demonstrates that try-with-resources handles null safely
            try (InputStream is = null) {
                if (is == null) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. ADDING_NEW_LANGUAGE.md

    - Ensure all property values are properly escaped
    - Run `mvn clean` before rebuilding
    
    ## Additional Resources
    
    - Fess Configuration: `src/main/resources/fess_config.properties`
    - DBFlute FreeGen Configuration: `dbflute_fess/dfprop/lastafluteMap.dfprop`
    - OpenSearch Analysis: `src/main/resources/fess_indices/fess.json`
    - LastaFlute Documentation: https://lastaflute.org/
    
    ## Summary Checklist
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 11:36:30 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * <resource>
         *   <directory>src/main/resources</directory>
         *   <targetPath>META-INF/resources</targetPath>
         * </resource>
         * }</pre>
         * <p>
         * The maven-resources-plugin resolves {@code targetPath} as:
         * {@code project.build.outputDirectory + "/" + targetPath}, which results in
         * {@code target/classes/META-INF/resources}. This method provides the same base directory
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    5. **Resources**: Test resources are properly managed and cleaned up
    
    ## Contributing
    
    When adding new tests:
    1. Follow the existing naming convention: `test_<method>_<scenario>_<expectedResult>`
    2. Add clear JavaDoc comments explaining the test purpose
    3. Ensure tests are independent and can run in any order
    4. Clean up resources in finally blocks or use try-with-resources
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. android/guava/pom.xml

      </dependencies>
      <build>
        <resources>
          <resource>
            <directory>..</directory>
            <includes>
              <include>LICENSE</include> <!-- copied from the parent pom because I couldn't figure out a way to make combine.children="append" work -->
              <include>proguard/*</include>
            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <plugins>
          <plugin>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 21:36:50 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top