- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 60 for toMatch (0.19 sec)
-
okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt
import assertk.assertions.isGreaterThan import assertk.assertions.isLessThan import kotlin.test.assertEquals import kotlin.test.assertFailsWith import okio.Buffer import okio.FileSystem import okio.Path.Companion.toPath import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test /** Confirm we get the expected table whether we build it from the .txt file or compact that. */ class IdnaMappingTableTest {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadata.java
return artifact.getGroupId() + ':' + artifact.getArtifactId(); } @Deprecated @Override public MavenMetadata setFile(File file) { return new VersionsMetadata(artifact, file.toPath(), timestamp); } @Override public MavenMetadata setPath(Path path) { return new VersionsMetadata(artifact, path, timestamp); } @Override public String getGroupId() {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 10:10:21 GMT 2024 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
assertThat(file.getName()).contains("FileBackedOutputStream"); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes = java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class) .readAttributes(); assertThat(attributes.permissions()).containsExactly(OWNER_READ, OWNER_WRITE); } } out.close();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
assertThat(file.getName()).contains("FileBackedOutputStream"); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes = java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class) .readAttributes(); assertThat(attributes.permissions()).containsExactly(OWNER_READ, OWNER_WRITE); } } out.close();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java
for (ArtifactResult result : results) { Artifact artifact = session.getArtifact(result.getArtifact()); Path path = result.getArtifact().getFile().toPath(); artifactManager.setPath(artifact, path); paths.put(artifact, path); } } return () -> paths;
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Dec 15 06:34:19 GMT 2023 - 3.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java
return result instanceof Path ? evaluator.alignToBaseDirectory(((Path) result).toFile()).toPath() : result; } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 8.2K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
1 * action.execute(value2) 0 * action._ } def canPersistMetaData() { TestDomainObject value = new TestDomainObject('a') File file = Files.createTempFile(tmpDir.toPath(), null, null).toFile() repository.put('class', value) when: repository.store(file) def newRepo = new SimpleClassMetaDataRepository<TestDomainObject>() newRepo.load(file)
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Sat Apr 06 02:21:33 GMT 2024 - 3.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java
PlexusContainer container; @Test void testAptConsistency() throws Exception { File apt = getTestFile("src/site/apt/artifact-handlers.apt"); List<String> lines = Files.readAllLines(apt.toPath()); for (String line : lines) { if (line.startsWith("||")) { String[] cols = line.split("\\|\\|"); String[] expected = new String[] { "",
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Dec 14 10:51:16 GMT 2023 - 3.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
} private static Settings readSettingsFile(File settingsFile) throws IOException, XMLStreamException { try (InputStream is = Files.newInputStream(settingsFile.toPath())) { SettingsStaxReader reader = new SettingsStaxReader(); InputSource source = new InputSource(settingsFile.toString()); return new Settings(reader.read(is, true, source)); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java
Path pomPath = model.getPomFile(); if (pomPath != null) { buffer.append(" (").append(pomPath).append(')'); } return buffer.toString(); } static String toPath(Model model) { String path = ""; if (model != null) { Path pomPath = model.getPomFile(); if (pomPath != null) { path = pomPath.toAbsolutePath().toString();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.8K bytes - Viewed (0)