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

wasCalledOnlyOnce() — spring-boot Function Reference

Architecture documentation for the wasCalledOnlyOnce() function in DefaultBootstrapContextTests.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  9f5de0bd_0409_6313_ebd4_aa838185952c["wasCalledOnlyOnce()"]
  b4b5d159_60c1_0c2e_4e20_3b4ec43e8f6d["closeMulticastsEventToListeners()"]
  b4b5d159_60c1_0c2e_4e20_3b4ec43e8f6d -->|calls| 9f5de0bd_0409_6313_ebd4_aa838185952c
  2565a462_fb19_a2cd_59a8_b9a786224b55["addCloseListenerIgnoresMultipleCallsWithSameListener()"]
  2565a462_fb19_a2cd_59a8_b9a786224b55 -->|calls| 9f5de0bd_0409_6313_ebd4_aa838185952c
  a341c549_c48a_7722_6b69_fd0f6a68222e["assertThat()"]
  9f5de0bd_0409_6313_ebd4_aa838185952c -->|calls| a341c549_c48a_7722_6b69_fd0f6a68222e
  style 9f5de0bd_0409_6313_ebd4_aa838185952c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/bootstrap/DefaultBootstrapContextTests.java lines 315–318

		CloseListenerAssert wasCalledOnlyOnce() {
			assertThat(this.actual.called).as("action calls").isOne();
			return this;
		}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does wasCalledOnlyOnce() do?
wasCalledOnlyOnce() is a function in the spring-boot codebase.
What does wasCalledOnlyOnce() call?
wasCalledOnlyOnce() calls 1 function(s): assertThat.
What calls wasCalledOnlyOnce()?
wasCalledOnlyOnce() is called by 2 function(s): addCloseListenerIgnoresMultipleCallsWithSameListener, closeMulticastsEventToListeners.

Analyze Your Own Codebase

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

Try Supermodel Free