- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for cantAdaptInvalidEnumLiteral (0.17 sec)
-
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy
_ * protocolModel.getTestEnum() >> "SECOND" expect: TestModel model = adapter.adapt(TestModel.class, protocolModel) model.testEnum == TestEnum.SECOND } def cantAdaptInvalidEnumLiteral() { setup: TestProtocolModel protocolModel = Mock() _ * protocolModel.getTestEnum() >> "NONEXISTENT" when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 21.9K bytes - Viewed (0)