Class BindexFunctionToolsTest

java.lang.Object
org.machanism.machai.bindex.ai.tools.BindexFunctionToolsTest

class BindexFunctionToolsTest extends Object
  • Constructor Details

    • BindexFunctionToolsTest

      BindexFunctionToolsTest()
  • Method Details

    • applyTools_registersAllToolsWithExpectedMetadata

      @Test void applyTools_registersAllToolsWithExpectedMetadata()
    • getBindex_throwsWhenConfiguratorNotSet

      @Test void getBindex_throwsWhenConfiguratorNotSet() throws Exception
      Throws:
      Exception
    • getBindex_returnsNullLiteralWhenRepositoryReturnsNull

      @Test void getBindex_returnsNullLiteralWhenRepositoryReturnsNull() throws Exception
      Throws:
      Exception
    • getBindex_returnsSerializedBindexWhenFound_andAvoidsAbbreviationBranchWhenLogInfoDisabled

      @Test void getBindex_returnsSerializedBindexWhenFound_andAvoidsAbbreviationBranchWhenLogInfoDisabled() throws Exception
      Throws:
      Exception
    • getBindexRepository_returnsInjectedRepositoryAndReusesSameInstance

      @Test void getBindexRepository_returnsInjectedRepositoryAndReusesSameInstance() throws Exception
      Throws:
      Exception
    • getBindexSchema_returnsSchemaJson_andAvoidsDebugBranchByDefault

      @Test void getBindexSchema_returnsSchemaJson_andAvoidsDebugBranchByDefault() throws Exception
      Throws:
      Exception
    • getRecommendedLibraries_throwsWhenConfiguratorNotSet

      @Test void getRecommendedLibraries_throwsWhenConfiguratorNotSet() throws Exception
      Throws:
      Exception