Home / Function/ assertEntryMode() — spring-boot Function Reference

assertEntryMode() — spring-boot Function Reference

Architecture documentation for the assertEntryMode() function in AbstractBootArchiveIntegrationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  d538834d_dab0_f622_f51f_eaeab3054a28["assertEntryMode()"]
  b3739a18_0acb_6618_289c_604aa7152971["defaultDirAndFileModesAreUsed()"]
  b3739a18_0acb_6618_289c_604aa7152971 -->|calls| d538834d_dab0_f622_f51f_eaeab3054a28
  db91d7db_38b1_7e81_3f1c_e7c8ad7ca3c1["dirModeAndFileModeAreApplied()"]
  db91d7db_38b1_7e81_3f1c_e7c8ad7ca3c1 -->|calls| d538834d_dab0_f622_f51f_eaeab3054a28
  style d538834d_dab0_f622_f51f_eaeab3054a28 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/AbstractBootArchiveIntegrationTests.java lines 800–805

	private static void assertEntryMode(ZipArchiveEntry entry, int expectedMode) {
		assertThat(entry.getUnixMode())
			.withFailMessage(() -> "Expected mode " + Integer.toOctalString(expectedMode) + " for entry "
					+ entry.getName() + " but actual is " + Integer.toOctalString(entry.getUnixMode()))
			.isEqualTo(expectedMode);
	}

Domain

Subdomains

Called By

  • defaultDirAndFileModesAreUsed()
  • dirModeAndFileModeAreApplied()

Frequently Asked Questions

What does assertEntryMode() do?
assertEntryMode() is a function in the spring-boot codebase.
What calls assertEntryMode()?
assertEntryMode() is called by 2 function(s): defaultDirAndFileModesAreUsed, dirModeAndFileModeAreApplied.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free