Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for NewSession (0.08 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplTest.java

            SmbSessionImpl session = newSession();
            String s = session.toString();
            assertTrue(s.contains("targetHost=server.example"));
            assertTrue(s.contains("targetDomain=EXAMPLE"));
        }
    
        @Test
        @DisplayName("getExpiration: null when unset, value when positive")
        void testGetExpiration() {
            SmbSessionImpl session = newSession();
            assertNull(session.getExpiration());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

        @Inject
        PlexusContainer container;
    
        private Path rootDirectory;
    
        @Test
        public void testPluginDescriptorExpressionReference() throws Exception {
            Session session = newSession();
            MojoExecution exec = newMojoExecution(session);
    
            Object result =
                    new PluginParameterExpressionEvaluatorV4(session, null, exec).evaluate("${mojo.plugin.descriptor}");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            }
    
            final LocalRepositoryManager llrm =
                    system.newLocalRepositoryManager(newSession, new LocalRepository(repository.getBasedir()));
            newSession.setLocalRepositoryManager(llrm);
            return newSession;
        }
    
        private static int repositoryHashCode(RemoteRepository repository) {
            int result = 17;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 04 18:33:16 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

            // Verify
            verify(dataHelper).clearUrlQueueList();
        }
    
        public void test_updateSessionId() {
            // Setup
            String oldSessionId = "oldSession";
            String newSessionId = "newSession";
            Queue<UrlQueueImpl<Long>> mockQueue = new LinkedList<>();
    
            when(dataHelper.getUrlQueueList(oldSessionId)).thenReturn(mockQueue);
    
            // Execute
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                    .recursive(false) // We only want this POM, not its modules
                    .build();
    
            ModelBuilderResult result = modelBuilder.newSession().build(request);
            Model effectiveModel = result.getEffectiveModel();
    
            // Analyze plugins from effective model
            return analyzePluginsFromEffectiveModel(context, effectiveModel, pluginUpgrades);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                MavenSession session = new MavenSession(closeableSession, request, result);
                session.setSession(defaultSessionFactory.newSession(session));
    
                sessionScope.seed(MavenSession.class, session);
                sessionScope.seed(Session.class, session.getSession());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon May 05 16:58:52 UTC 2025
    - 28.7K bytes
    - Viewed (1)
  7. impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    projectBuildingRequest.getRepositorySession(),
                    mavenExecutionRequest,
                    new DefaultMavenExecutionResult());
    
            InternalSession iSession = defaultSessionFactory.newSession(mSession);
            mSession.setSession(iSession);
    
            SessionScope sessionScope = getContainer().lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, mSession);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

                            getContainer().lookup(MavenRepositorySystem.class),
                            new DefaultLookup(getContainer()),
                            getContainer().lookup(RuntimeInformation.class))
                    .newSession(session));
    
            legacySupport.setSession(session);
        }
    
        protected abstract String component();
    
        /**
         * Return an existing file, not a directory - causes creation to fail.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 09:40:15 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    projectBuildingRequest.getRepositorySession(),
                    mavenExecutionRequest,
                    new DefaultMavenExecutionResult());
    
            InternalSession iSession = defaultSessionFactory.newSession(mSession);
            mSession.setSession(iSession);
    
            SessionScope sessionScope = getContainer().lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, mSession);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                    List<org.apache.maven.api.RemoteRepository> repositories) {
                super(session, repositorySystem, repositories, null, null, null);
            }
    
            @Override
            protected Session newSession(
                    MavenSession mavenSession, List<org.apache.maven.api.RemoteRepository> repositories) {
                return new SimpleSession(mavenSession, getRepositorySystem(), repositories);
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 13.3K bytes
    - Viewed (0)
Back to top