The source file you linked is a unit test - it has nothing to do with actually running Caffe.
If you want to know default value of
any parameter, you have to look in the
caffe.proto file instead. In the link you will directly find the section on SGD solvers, particularly the
momentum2 param of the Adam solver (default value is 0.999).