Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for resources (0.17 sec)

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

      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(Charsets.UTF_8));
      }
    
      public void testReadLines() throws IOException {
        // TODO(chrisn): Check in a better resource
        URL resource = getClass().getResource("testdata/i18n.txt");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

            }
    
            XmlNodeImpl dom = new XmlNodeImpl("configuration", null, null, children, null);
            return new org.codehaus.plexus.util.xml.Xpp3Dom(dom);
        }
    
        // org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process@executionId
    
        public MojoDescriptor getMojoDescriptor(String task, MavenSession session, MavenProject project)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.java

            if ("JAR".equals(packaging)) {
                plugins = new LinkedHashSet<>();
    
                plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile"));
                plugins.add(newPlugin("maven-resources-plugin", "resources", "testResources"));
                plugins.add(newPlugin("maven-surefire-plugin", "test"));
                plugins.add(newPlugin("maven-jar-plugin", "jar"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            when(sessionDataMock.get(any())).thenReturn(new NoTransformerContext());
    
            Path beforePomFile =
                    Paths.get("src/test/resources/projects/transform/before.pom").toAbsolutePath();
            Path afterPomFile =
                    Paths.get("src/test/resources/projects/transform/after.pom").toAbsolutePath();
            Path tempFile = Files.createTempFile("", ".pom");
            Files.delete(tempFile);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

        public static final MojoDescriptor TEST_COMPILE = createMojoDescriptor("test-compile");
    
        public static final MojoDescriptor PROCESS_TEST_RESOURCES = createMojoDescriptor("process-test-resources");
    
        public static final MojoDescriptor PROCESS_RESOURCES = createMojoDescriptor("process-resources");
    
        public static final MojoDescriptor COMPILE = createMojoDescriptor("compile", true);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ResourcesTest.java

      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(Charsets.UTF_8));
      }
    
      public void testReadLines() throws IOException {
        // TODO(chrisn): Check in a better resource
        URL resource = getClass().getResource("testdata/i18n.txt");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(1, ((List<?>) pom.getValue("build/resources")).size());
            assertPathSuffixEquals("res/main", pom.getValue("build/resources[1]/directory"));
            assertPathSuffixEquals("main", pom.getValue("build/resources[1]/targetPath"));
            assertEquals(Boolean.TRUE, pom.getValue("build/resources[1]/filtering"));
            assertEquals(1, ((List<?>) pom.getValue("build/resources[1]/includes")).size());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelPathTranslator.java

            }
            return model;
        }
    
        private <T> List<T> map(List<T> resources, Function<T, T> mapper) {
            List<T> newResources = null;
            if (resources != null) {
                for (int i = 0; i < resources.size(); i++) {
                    T resource = resources.get(i);
                    T newResource = mapper.apply(resource);
                    if (newResource != null) {
                        if (newResources == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

            List<MojoExecution> executionPlan = getExecutions(calculateExecutionPlan(session, "clean", "install"));
    
            // [01] clean:clean
            // [02] resources:resources
            // [03] compiler:compile
            // [04] it:generate-metadata
            // [05] resources:testResources
            // [06] compiler:testCompile
            // [07] it:generate-test-metadata
            // [08] surefire:test
            // [09] jar:jar
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 24.7K bytes
    - Viewed (0)
Back to top