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 3030
3131public class ServiceVersionInfoSpecTest {
3232
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 .
3636 @ Test
3737 void testServiceVersionInfoClass () {
3838 String currVersion = VersionInfo .SDK_VERSION ;
You can’t perform that action at this time.
0 commit comments