GitHub Actions / JUnit 4 Test Results
succeeded
Dec 14, 2024 in 0s
38 passed, 0 failed and 0 skipped
✅ compiler/build/test-results/test/TEST-me.gulya.anvil.ContributesAssistedFactoryCodeGeneratorTest.xml
32 tests were completed in 18s with 32 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
me.gulya.anvil.ContributesAssistedFactoryCodeGeneratorTest | 32✅ | 18s |
✅ me.gulya.anvil.ContributesAssistedFactoryCodeGeneratorTest
✅ generated factory is an interface if bound type is an interface, and an abstract class if bound type is an abstract class[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ parameter types in primary constructor and factory method must match[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ an assisted factory with binding is generated[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ generated factory is an abstract class if bound type is an abstract class[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ bound factory interface method must have same parameters as primary constructor assisted parameters[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ should fail when bound type is not provided[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ should not fail on multiple lambda types[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ generated factory method parameters match the order of the bound type factory method parameters[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ bound factory interface must have single abstract method[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ bound type must be an interface or abstract class[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ bound factory interface method must have same number of parameters as primary constructor assisted parameters[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ should not fail on lambda types from another modules[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ should fail on missing assisted key of constructor parameter[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ factory method parameters must be annotated with @AssistedKey instead of @Assisted[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ should fail on primary constructor not annotated with @AssistedInject[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ should fail on multiple constructors[mode: Embedded(codeGenerators=[], useDagger=false)]
✅ generated factory is an interface if bound type is an interface, and an abstract class if bound type is an abstract class[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ parameter types in primary constructor and factory method must match[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ an assisted factory with binding is generated[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ generated factory is an abstract class if bound type is an abstract class[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ bound factory interface method must have same parameters as primary constructor assisted parameters[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ should fail when bound type is not provided[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ should not fail on multiple lambda types[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ generated factory method parameters match the order of the bound type factory method parameters[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ bound factory interface must have single abstract method[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ bound type must be an interface or abstract class[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ bound factory interface method must have same number of parameters as primary constructor assisted parameters[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ should not fail on lambda types from another modules[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ should fail on missing assisted key of constructor parameter[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ factory method parameters must be annotated with @AssistedKey instead of @Assisted[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ should fail on primary constructor not annotated with @AssistedInject[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ should fail on multiple constructors[mode: Ksp(symbolProcessorProviders=[], options={})]
✅ compiler/build/test-results/test/TEST-me.gulya.anvil.ksp.MultipleRoundProcessingTest.xml
5 tests were completed in 2s with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
me.gulya.anvil.ksp.MultipleRoundProcessingTest | 5✅ | 2s |
✅ me.gulya.anvil.ksp.MultipleRoundProcessingTest
✅ should fail compilation with proper errors when types are unresolved
✅ should handle multiple KSP rounds correctly
✅ should fail compilation when only some types are unresolved
✅ should defer processing when types are not yet available
✅ should defer processing when any referenced type is unresolved
✅ compiler/build/test-results/test/TEST-me.gulya.anvil.KspMultiRoundFunctionalTest.xml
1 tests were completed in 108s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
me.gulya.anvil.KspMultiRoundFunctionalTest | 1✅ | 108s |
✅ me.gulya.anvil.KspMultiRoundFunctionalTest
✅ should compile when factory depends on generated class
Loading