Package uk.ac.manchester.spinnaker.alloc
Class ForTestingOnly.Utils
java.lang.Object
uk.ac.manchester.spinnaker.alloc.ForTestingOnly.Utils
- Enclosing class:
- ForTestingOnly
Utilities for checking the promises relating to the annotation.
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidA simple test for whether there are classes annotated with@SpringBootTeston the stack at the point it is called.
- 
Method Details- 
checkForTestClassOnStackpublic static void checkForTestClassOnStack()A simple test for whether there are classes annotated with@SpringBootTeston the stack at the point it is called. Moderately expensive, but it only guards stuff that should be used on test paths, so that isn't important.- Throws:
- Error- if not called from the right place; it's a serious security failure and wrong programming.
 
 
-