Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 28 for BaseDir (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

        public void test_isValidUploadPath_validPath() throws Exception {
            // Create test directory structure
            File baseDir = new File(tempDir.toFile(), "images");
            baseDir.mkdirs();
            File validFile = new File(baseDir, "test.png");
    
            Boolean result = invokeIsValidUploadPath(validFile, baseDir);
            assertTrue("Valid path within base directory should be allowed", result);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

            final File baseDir = tempFolder.getRoot();
            final File safeFile = new File(baseDir, "subdir/file.txt");
            final File unsafeFile = new File(baseDir, "../../../etc/passwd");
    
            assertTrue("Safe file should be allowed", FileUtil.isPathSafe(safeFile, baseDir));
            assertFalse("Unsafe file should be blocked", FileUtil.isPathSafe(unsafeFile, baseDir));
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

        /** Returns the working directory for the process. Defaults to "cwd" inside baseDir. */
        @Internal
        protected File getCwd() {
            return new File(baseDir, 'cwd')
        }
    
        /** Returns the file the process writes its pid to. Defaults to "pid" inside baseDir. */
        @Internal
        protected File getPidFile() {
            return new File(baseDir, 'pid')
        }
    
        /** Reads the pid file and returns the process' pid */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            this.commandTimeout = commandTimeout;
        }
    
        /**
         * Sets the base directory for command execution.
         * @param baseDir The base directory.
         */
        public void setBaseDir(final File baseDir) {
            this.baseDir = baseDir;
        }
    
        /**
         * Sets the timeout for destroying processes.
         * @param commandDestroyTimeout The destroy timeout in milliseconds.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPlugin.java

            private final boolean extractedAssembleSupported;
    
            DistributionProject(String name, String baseDir, Version version, String classifier, String extension, File checkoutDir) {
                this.name = name;
                this.checkoutDir = checkoutDir;
                this.projectPath = baseDir + "/" + name;
                this.expandedDistDirSupport = version.onOrAfter("7.10.0") && (name.endsWith("zip") || name.endsWith("tar"));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 18 09:11:28 GMT 2021
    - 14.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            interpolator.interpolateModel(model, null, request, collector);
    
            assertCollectorState(0, 1, 0, collector);
            assertEquals(
                    "Resolving expression: '${basedir}': Detected the following recursive expression cycle in 'basedir': [basedir]",
                    collector.getErrors().get(0));
        }
    
        protected abstract ModelInterpolator createInterpolator() 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)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            String basedir = localRepo.getBasedir();
    
            assertFalse(basedir.endsWith("/"));
            assertFalse(basedir.endsWith("\\"));
    
            assertEquals(localRepoDir, new File(basedir));
    
            assertEquals(localRepoDir.getPath(), basedir);
        }
    
        @Inject
        DefaultMetadataSource defaultMetadataSource;
    
        @Inject
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. apache-maven/pom.xml

          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
              <systemPropertyVariables>
                <basedir>${basedir}</basedir>
              </systemPropertyVariables>
            </configuration>
            <executions>
              <execution>
                <id>test</id>
                <goals>
                  <goal>test</goal>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 30 07:38:30 GMT 2026
    - 13K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                @Override
                public void init() {
                    baseDir = new File(tempDir, "nonexistent/dir");
                    if (baseDir.mkdirs()) {
                        logger.info("Created: {}", baseDir.getAbsolutePath());
                    }
                    if (!baseDir.isDirectory()) {
                        throw new FessSystemException("Not found: " + baseDir.getAbsolutePath());
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  10. impl/maven-cli/pom.xml

              <systemPropertyVariables>
                <maven.home>${basedir}/src/test/resources/mavenHome</maven.home>
                <userHome>${basedir}/src/test/resources/userHome</userHome>
                <userDir>${basedir}/src/test/resources/userDir</userDir>
              </systemPropertyVariables>
            </configuration>
          </plugin>
        </plugins>
      </build>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top