Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for getCwd (0.03 sec)

  1. tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py

    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial002_py39 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial001_py39 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_static_files/test_tutorial001.py

    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        static_dir.mkdir(exist_ok=True)
        sample_file = static_dir / "sample.txt"
        sample_file.write_text("This is a sample static file.")
        from docs_src.static_files.tutorial001_py39 import app
    
        with TestClient(app) as client:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            requireNonNull(parserRequest);
    
            LocalContext context = new LocalContext(parserRequest);
    
            // the basics
            try {
                context.cwd = getCwd(context);
            } catch (Exception e) {
                context.parsingFailed = true;
                context.cwd = getCanonicalPath(Paths.get("."));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  5. scripts/docs.py

            # removed or not.
        else:
            dist_path = site_path / lang
            shutil.rmtree(dist_path, ignore_errors=True)
        current_dir = os.getcwd()
        os.chdir(lang_path)
        shutil.rmtree(build_site_dist_path, ignore_errors=True)
        subprocess.run(["mkdocs", "build", "--site-dir", build_site_dist_path], check=True)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    for (final ACE ace : aces) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("ACE:{}", ace);
                        }
                        processAllowedSIDs(file, ace.getSID(), ace.isAllow() ? sidAllowSet : sidDenySet);
                    }
                    responseData.addMetaData(SMB_ALLOWED_SID_ENTRIES, sidAllowSet.toArray(new SID[sidAllowSet.size()]));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  7. impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java

                        .anyMatch(repo -> "child1-repo".equals(repo.getId()));
                assertTrue(child1HasOwnRepo, "Child1 should have its own repository");
    
                // Verify that child2 has its own repository
                boolean child2HasOwnRepo = child2Project.getRemoteArtifactRepositories().stream()
                        .anyMatch(repo -> "child2-repo".equals(repo.getId()));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

            queue.setId(123L);
            assertEquals(Long.valueOf(123L), queue.getId());
    
            queue.setId(null);
            assertNull(queue.getId());
        }
    
        public void test_idWithStringType() {
            // Test ID getter/setter with String
            UrlQueueImpl<String> queue = new UrlQueueImpl<>();
    
            queue.setId("id123");
            assertEquals("id123", queue.getId());
        }
    
        public void test_sessionIdGetterSetter() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                .getDelegate()
                                .getDistributionManagement()
                                .getRepository();
                        if (r.getId() != null
                                && !r.getId().isEmpty()
                                && r.getUrl() != null
                                && !r.getUrl().isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

        public void store(final ElevateWord elevateWord) {
            final boolean isNew = elevateWord.getId() == null;
            final String[] labelTypeIds = elevateWord.getLabelTypeIds();
    
            elevateWordBhv.insertOrUpdate(elevateWord, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
            final String elevateWordId = elevateWord.getId();
            if (labelTypeIds != null) {
                if (isNew) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.3K bytes
    - Viewed (0)
Back to top