Class BindexFunctionToolsTest
java.lang.Object
org.machanism.machai.bindex.ai.tools.BindexFunctionToolsTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void
-
Constructor Details
-
BindexFunctionToolsTest
BindexFunctionToolsTest()
-
-
Method Details
-
applyTools_registersAllExpectedTools
@Test void applyTools_registersAllExpectedTools() -
getBindex_returnsSerializedJsonWhenRepositoryFindsBindex
- Throws:
Exception
-
getBindex_returnsNotFoundMarkerWhenRepositoryDoesNotFindBindex
- Throws:
Exception
-
getBindexSchema_returnsSchemaContent
- Throws:
Exception
-
setConfigurator_storesConfiguratorReference
- Throws:
Exception
-
bindexElement_accessorsAndToString_workAsExpected
@Test void bindexElement_accessorsAndToString_workAsExpected() -
getRecommendedLibraries_returnsMappedElementsFromPickerResults
- Throws:
Exception
-
registerBindex_returnsRecordIdWhenFileExistsAndCreationSucceeds
@Test void registerBindex_returnsRecordIdWhenFileExistsAndCreationSucceeds(@TempDir File tempDir) throws Exception - Throws:
Exception
-
registerBindex_returnsFileNotFoundWhenRequestedFileDoesNotExist
@Test void registerBindex_returnsFileNotFoundWhenRequestedFileDoesNotExist(@TempDir File tempDir) throws Exception - Throws:
Exception
-
registerBindex_returnsErrorWhenReadingFileFails
- Throws:
Exception
-
getBindexRepository_createsRepositoryLazilyAndCachesIt
- Throws:
Exception
-