Update to clear internal caches between tests

This commit is contained in:
2023-06-28 11:17:38 -05:00
parent 360bf56481
commit be14afc11c
2 changed files with 25 additions and 1 deletions

View File

@ -69,6 +69,17 @@ public class QRecordApiAdapter
/*******************************************************************************
** Allow tests (that manipulate meta-data) to clear field caches.
*******************************************************************************/
public static void clearCaches()
{
fieldListCache.clear();
fieldMapCache.clear();
}
/*******************************************************************************
** Convert a QRecord to a map for the API
*******************************************************************************/
@ -327,5 +338,4 @@ public class QRecordApiAdapter
{
}
}