allEntriesUseUnixPlatformAndUtf8NameEncoding() — spring-boot Function Reference
Architecture documentation for the allEntriesUseUnixPlatformAndUtf8NameEncoding() function in AbstractBootArchiveTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c7af192f_6038_b0cf_3c89_4a7f78b10aaf["allEntriesUseUnixPlatformAndUtf8NameEncoding()"] 6735338a_2770_d6bf_59a2_0a9fa6f0b3fc["executeTask()"] c7af192f_6038_b0cf_3c89_4a7f78b10aaf -->|calls| 6735338a_2770_d6bf_59a2_0a9fa6f0b3fc d9cbd315_e4fc_df04_32bb_782ad628c3fb["builder()"] c7af192f_6038_b0cf_3c89_4a7f78b10aaf -->|calls| d9cbd315_e4fc_df04_32bb_782ad628c3fb style c7af192f_6038_b0cf_3c89_4a7f78b10aaf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/bundling/AbstractBootArchiveTests.java lines 409–428
@Test
void allEntriesUseUnixPlatformAndUtf8NameEncoding() throws IOException {
this.task.getMainClass().set("com.example.Main");
this.task.setMetadataCharset("UTF-8");
File classpathDirectory = new File(this.temp, "classes");
File resource = new File(classpathDirectory, "some-resource.xml");
resource.getParentFile().mkdirs();
resource.createNewFile();
this.task.classpath(classpathDirectory);
executeTask();
File archivePath = this.task.getArchiveFile().get().getAsFile();
try (ZipFile zip = ZipFile.builder().setFile(archivePath).get()) {
Enumeration<ZipArchiveEntry> entries = zip.getEntries();
while (entries.hasMoreElements()) {
ZipArchiveEntry entry = entries.nextElement();
assertThat(entry.getPlatform()).isEqualTo(ZipArchiveEntry.PLATFORM_UNIX);
assertThat(entry.getGeneralPurposeBit().usesUTF8ForNames()).isTrue();
}
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does allEntriesUseUnixPlatformAndUtf8NameEncoding() do?
allEntriesUseUnixPlatformAndUtf8NameEncoding() is a function in the spring-boot codebase.
What does allEntriesUseUnixPlatformAndUtf8NameEncoding() call?
allEntriesUseUnixPlatformAndUtf8NameEncoding() calls 2 function(s): builder, executeTask.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free