Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 111 for setBuild (0.24 seconds)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            project.setScm(new Scm());
            project.getScm().setConnection("scm-connection");
            project.addDependency(dependency1);
            project.addDependency(dependency2);
            project.setBuild(new Build());
    
            // Build up an artifactMap
            project.addArtifact(new Artifact("g0", "a0", "v0", "e0", "c0"));
            project.addArtifact(new Artifact("g1", "a1", "v1", "e1", "c1"));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                model.setModelVersion("4.0.0");
                model.setGroupId(groupId);
                model.setArtifactId(artifactId);
                model.setVersion(version);
                model.setBuild(new Build());
                project = new MavenProject(model);
            }
    
            public ProjectBuilder setGroupId(String groupId) {
                project.setGroupId(groupId);
                return this;
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            }
        }
    
        @Test
        @DisplayName("Test setUid method")
        void testSetUid() {
            // Given
            int uid = 1000;
            doNothing().when(messageBlock).setUid(uid);
    
            // When
            messageBlock.setUid(uid);
    
            // Then
            verify(messageBlock).setUid(uid);
        }
    
        @Test
        @DisplayName("Test setUid with boundary values")
        void testSetUidWithBoundaryValues() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                if (project.hasLifecyclePhase("test-compile")) {
                    return new File(project.getBuild().getTestOutputDirectory());
                }
            } else {
                String type = artifact.getProperty("type", "");
                File outputDirectory = new File(project.getBuild().getOutputDirectory());
    
                // Check if the project is being built during this session, and if we can expect any output.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            response.setCommand(command);
            assertEquals(command, response.getCommand());
    
            // Test other setter methods
            doNothing().when(response).setUid(1000);
            response.setUid(1000);
            verify(response).setUid(1000);
    
            doNothing().when(response).setExtendedSecurity(true);
            response.setExtendedSecurity(true);
            verify(response).setExtendedSecurity(true);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        @Nonnull
        Model getModel();
    
        /**
         * Shorthand method.
         *
         * @return the build element of the project model
         */
        @Nonnull
        default Build getBuild() {
            Build build = getModel().getBuild();
            return build != null ? build : Build.newInstance();
        }
    
        /**
         * Returns the path to the pom file for this project.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            Parent parent = model.getParent();
            if (parent != null) {
                model = model.withParent(parent.withRelativePath(null));
            }
            var projectSources = project.getBuild().getDelegate().getSources();
            if (SourceQueries.usesModuleSourceHierarchy(projectSources)) {
                // Dependencies are dispatched by maven-jar-plugin in the POM generated for each module.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            assertCollectorState(0, 0, 0, collector);
    
            List<Resource> outResources = out.getBuild().getResources();
            Iterator<Resource> resIt = outResources.iterator();
    
            assertEquals(model.getBuild().getSourceDirectory(), resIt.next().getDirectory());
        }
    
        @Test
        public void shouldInterpolateUnprefixedBasedirExpression() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/RequestTest.java

                return command;
            }
    
            @Override
            public void setCommand(int command) {
                this.command = command;
            }
    
            @Override
            public void setUid(int uid) {
                // No-op for test
            }
    
            @Override
            public void setExtendedSecurity(boolean extendedSecurity) {
                // No-op for test
            }
    
            @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertEquals(0x5678, testBlock.getPid());
            }
    
            @Test
            @DisplayName("Test UID property")
            void testUidProperty() {
                testBlock.setUid(0x9ABC);
                assertEquals(0x9ABC, testBlock.getUid());
            }
    
            @Test
            @DisplayName("Test MID property")
            void testMidProperty() {
                testBlock.setMid(0xDEF0L);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
Back to Top