- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 72 for setResource (0.08 sec)
-
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java
e.getMessage()); } @Test void testUnknownPosition() { ProblemCollector problemCollector = ProblemCollectorFactory.newInstance(null); problemCollector.setSource("SOURCE"); problemCollector.add(Problem.Severity.ERROR, "MESSAGE", -1, -1, new Exception()); ToolchainsBuildingException e = new ToolchainsBuildingException(problemCollector.getProblems()); assertEquals(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
.setSource(item.getUpdatedSource(getResponse.getSourceAsMap())); bulkRequestBuilder.add(indexRequestBuilder); } else { final IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE, index); indexRequestBuilder.setId(item.getId()).setOpType(IndexRequest.OpType.INDEX).setSource(item.getSource());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
} } filesToDelete.clear(); } private File getTestDir() throws IOException { if (testDir != null) { return testDir; } URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt"); if (testFileUrl == null) { throw new RuntimeException("unable to locate testdata directory"); } if (testFileUrl.getProtocol().equals("file")) { try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java
} @Override public List<ModelProblem> getProblems() { return problems; } public void setSource(String source) { this.source = source; this.sourceModel = null; } public void setSource(Model source) { this.sourceModel = source; this.source = null; if (rootModel == null) { rootModel = source;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
cmd/handler-utils_test.go
} if err == nil && !reflect.DeepEqual(metadata, testCase.metadata) { t.Fatalf("Test %d failed: Expected \"%#v\", got \"%#v\"", i+1, testCase.metadata, metadata) } } } // Test getResource() func TestGetResource(t *testing.T) { testCases := []struct { p string host string domains []string expectedResource string }{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
import java.io.File; import java.net.URL; import org.codelibs.core.net.URLUtil; import org.junit.Test; /** * @author koichik * */ public class FileUtilTest { URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt"); File inputFile = URLUtil.toFile(url); /** * @throws Exception */ @Test public void testFileToFile() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java
@Override public void fillInputData(InputData inputData) throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException { Resource resource = inputData.getResource(); String content = expectedContent.get(resource.getName()); if (content != null) { resource.setContentLength(content.length());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java
this.problems = (problems != null) ? problems : new ArrayList<>(); } public List<SettingsProblem> getProblems() { return problems; } public void setSource(String source) { this.source = source; } @Override public void add(SettingsProblem.Severity severity, String message, int line, int column, Exception cause) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java
this.problems = (problems != null) ? problems : new ArrayList<>(); } @Override public List<Problem> getProblems() { return problems; } @Override public void setSource(String source) { this.source = source; } @Override public void add(Problem.Severity severity, String message, int line, int column, Exception cause) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
this.setComponents(clone(original.getMojos(), this)); this.setId(original.getId()); this.setIsolatedRealm(original.isIsolatedRealm()); this.setSource(original.getSource()); this.setDependencies(original.getDependencies()); this.setDependencyNode(original.getDependencyNode()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.2K bytes - Viewed (0)