File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
codegen/src/test/java/software/amazon/awssdk/codegen/poet/client Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 30
30
31
31
public class ServiceVersionInfoSpecTest {
32
32
33
- // a fixture test that dynamically updates the generated fixture with the current version
34
- // this is needed because every time codegen runs, the version will change.
35
- // we need a way to generate the fixture, and then edit it in place with the current version and only then make the assertion .
33
+ // Fixture test that compares generated ServiceVersionInfo class against expected output.
34
+ // The fixture file uses {{VERSION}} as a placeholder which gets replaced with the current
35
+ // SDK version at test time, since the generated code injects the actual version at build time .
36
36
@ Test
37
37
void testServiceVersionInfoClass () {
38
38
String currVersion = VersionInfo .SDK_VERSION ;
You can’t perform that action at this time.
0 commit comments