Class BindexBuilderAdditionalTest
java.lang.Object
org.machanism.machai.bindex.builder.BindexBuilderAdditionalTest
Additional tests around
BindexBuilder.
Note: the production BindexBuilder class is not part of this module
anymore, but some downstream modules still carry these tests. We keep this
test class compiling by using reflection + a local minimal stub.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classMinimal local stub to keep tests compiling in this module. -
Field Summary
Fields -
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
-
Field Details
-
tempDir
-
-
Constructor Details
-
BindexBuilderAdditionalTest
BindexBuilderAdditionalTest()
-
-
Method Details
-
isLogInputs_and_logInputs_roundTrip
@Test void isLogInputs_and_logInputs_roundTrip() -
build_whenProviderReturnsNull_returnsNull
- Throws:
Exception
-
build_whenOutputIsJsonFencedCodeBlock_stripsFenceAndParses
- Throws:
Exception
-
build_whenOriginProvided_includesUpdatePromptAndLogsInputsWhenEnabled
- Throws:
Exception
-
promptFile_whenBundleMessageNameNull_returnsRawFileData
- Throws:
Exception
-
promptFile_whenBundleMessageNameUnknown_throwsMissingResourceException
@Test void promptFile_whenBundleMessageNameUnknown_throwsMissingResourceException() throws Exception- Throws:
Exception
-
getOrigin_and_origin_roundTrip
@Test void getOrigin_and_origin_roundTrip() -
getProjectLayout_returnsProvidedLayout
@Test void getProjectLayout_returnsProvidedLayout() -
getGenAIProvider_returnsProvider
@Test void getGenAIProvider_returnsProvider()
-