Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 1,687 for null (0.02 seconds)

  1. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    OLD_BINARY_LINK=https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${OLD_VERSION}
    
    __init__() {
    	if which curl &>/dev/null; then
    		echo "curl is already installed"
    	else
    		echo "Installing curl:"
    		sudo apt install curl -y
    	fi
    
    	export GOPATH=/tmp/gopath
    	export PATH="${PATH}":"${GOPATH}"/bin
    
    	if which mc &>/dev/null; then
    		echo "mc is already installed"
    	else
    		echo "Installing mc:"
    		go install github.com/minio/mc@latest
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 11 15:01:29 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  2. tests/test_request_params/test_body/test_optional_str.py

        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P",
                },
            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    def test_optional_str_missing():
        client = TestClient(app)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    .findFirst()
                    .orElse(null);
            assertNotNull(plugin, "Unable to find plugin with artifactId: " + artifactId);
            List<PluginExecution> pluginExecutions = plugin.getExecutions();
            PluginExecution pluginExecution = pluginExecutions.stream()
                    .filter(pe -> pe.getId().equals(expectedId))
                    .findFirst()
                    .orElse(null);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

    public interface Event {
    
        /**
         * Gets the type of the event.
         *
         * @return the type of the event, never {@code null}
         */
        @Nonnull
        EventType getType();
    
        /**
         * Gets the session from which this event originates.
         *
         * @return the current session, never {@code null}
         */
        @Nonnull
        Session getSession();
    
        /**
         * Gets the current project (if any).
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java

        @Test
        void testHashCodeNullSafe() {
            new DependencyManagement().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new DependencyManagement().equals(null));
    
            new DependencyManagement().equals(new DependencyManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            DependencyManagement thing = new DependencyManagement();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

            assertNotNull(build2);
            assertEquals("myOutputDirectory", build2.getOutputDirectory());
            model.setBuild(null);
            assertNull(model.getBuild());
        }
    
        @Test
        void testEqualsNullSafe() {
            assertNotEquals(null, new Model());
    
            new Model().equals(new Model());
        }
    
        @Test
        void testEqualsIdentity() {
            Model thing = new Model();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 08:09:30 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

            assertEquals(false, result);
        }
    
        @ParameterizedTest
        @ValueSource(strings = {":maven-core", "org.apache.maven:maven-core"})
        void isMatchingProjectMatchOnSelectorReturnsTrue(String selector) {
            final boolean result = sut.isMatchingProject(createMavenProject("maven-core"), selector, null);
            assertEquals(true, result);
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            ArtifactRepository r = repositorySystem.createArtifactRepository(
                    "local", "file://" + getLocalRepositoryPath().getAbsolutePath(), repoLayout, null, null);
    
            return r;
        }
    
        // ----------------------------------------------------------------------
        // Project building
        // ----------------------------------------------------------------------
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/AbstractRepositoryTestCase.java

            MavenSession mavenSession = new MavenSession(rsession, request, new DefaultMavenExecutionResult());
            DefaultSession session =
                    new DefaultSession(mavenSession, null, null, null, new SimpleLookup(getSessionServices()), null);
            InternalSession.associate(rsession, session);
    
            return rsession;
        }
    
        protected List<Object> getSessionServices() {
            return List.of(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java

    public class ConsoleRepositoryListener extends AbstractRepositoryListener {
    
        private PrintStream out;
    
        public ConsoleRepositoryListener() {
            this(null);
        }
    
        public ConsoleRepositoryListener(PrintStream out) {
            this.out = (out != null) ? out : System.out;
        }
    
        @Override
        public void artifactDeployed(RepositoryEvent event) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top