Skip navigation links
A G I K O P R S 

A

AndHowTestUtils - Class in org.yarnandtail.andhow.testutil
A testing utility class that allows you to 'break the rules' of AndHow.

G

getAndHow() - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
The current AndHow singleton instance, without forcing its creation.
getAndHowClass() - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
Get the Class of AndHow - needed since this module has no AndHow dependency.
getAndHowConfigurationClass() - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
Get the Class of AndHowConfiguration - needed since this module has no AndHow dependency.
getAndHowCore() - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
The current AndHow singleton's 'Core' object.
getAndHowCoreClass() - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
Get the Class of AndHowCore - needed since this module has no AndHow dependency.
getClassByName(String) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Performs Class.forName, but only throws a RuntimeException so no exception needs to be handled.
getFieldValue(Field, Object) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Get the value of a field w/o throwing an Exception that needs to be caught.
getFindingConfig() - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
The AndHow 'findingConfig' flag, which indicates that AndHow is search for its configuration and blocks reentrent loops.
getInstanceFieldValue(Object, String, Class<T>) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Get the value of an instance Field.
getStaticFieldValue(Class<?>, String, Class<T>) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Get the value of a static Field.
getTypes(Object...) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Get the types of a list of objects for use as argument types.
getWritableField(Class<?>, String) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Get a Field (static or instance), make it accessible and only throw a RuntimeException if there is a problem.

I

invokeAndHowInstance() - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
Invoke AndHow.instance(), returning an AndHow instance and forcing initiation if AndHow is not already initiated.
invokeInstanceMethod(Object, String, Object[], Class<?>[]) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Invokes the named instance method on the instance via reflection, bypassing visibility.
invokeMethod(Method, Object, Object[]) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Invoke the Method, static or instance, with the passed arguments.
invokeStaticMethod(Class<?>, String, Object[], Class<?>[]) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Invokes the named static method via reflection, bypassing visibility.

K

killAndHowFully() - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
Kill AndHow to ground state, as it would be prior to any initialization.

O

org.yarnandtail.andhow.testutil - package org.yarnandtail.andhow.testutil
 

P

PERMISSION_MSG - Static variable in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
 

R

ReflectionTestUtils - Class in org.yarnandtail.andhow.testutil
Generic (in the sense that they don't specifically apply to AndHow) test utilities that access private fields and methods.

S

setAndHow(T) - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
Set the AndHow singleton instance and return the previous one.
setAndHowConfigLocator(UnaryOperator<T>) - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
Set a locator to find AndHowConfiguration.
setAndHowCore(T) - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
Set the AndHow 'Core'.
setAndHowInitialization(T) - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
Force AndHow.Initialization (its debug info about initialization) to a new value.
setAndHowInitializing(Boolean) - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
Force the AndHow 'initializing flag' - If true, AndHow is in the process of initialization.
setAndHowInProcessConfig(T) - Static method in class org.yarnandtail.andhow.testutil.AndHowTestUtils
Forces the AndHow inProcessConfig to a new value.
setFieldValue(Field, Object, Object) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Get the value of a field w/o throwing an Exception that needs to be caught.
setInstanceFieldValue(Object, String, T, Class<T>) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Set the fieldValue of an instance Field.
setStaticFieldValue(Class<?>, String, T) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Sets the value of a static Field.
stringMethod(Object, String, Object[], Class<?>[]) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Invokes the named String returning instance method on the instance via reflection, bypassing visibility.
stringMethod(Object, String, Object, Class<?>) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Invokes the named String returning, single arg, instance method on the instance via reflection, bypassing visibility.
stringMethod(Object, String, Object...) - Static method in class org.yarnandtail.andhow.testutil.ReflectionTestUtils
Invoke a String returning instance method with an array of arguments, all of which must be non-null.
A G I K O P R S 
Skip navigation links

Copyright © 2022. All rights reserved.