差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
java:junit:powermock:mockclassfield [2019/06/15 23:19]
tony [Mock Field]
java:junit:powermock:mockclassfield [2023/06/25 09:48] (目前版本)
行 53: 行 53:
   * [[http://​en.wikipedia.org/​wiki/​Constant_interface|Constant Interface]]   * [[http://​en.wikipedia.org/​wiki/​Constant_interface|Constant Interface]]
   * [[http://​stackoverflow.com/​questions/​9697531/​how-to-mock-a-static-final-variable-using-junit-easymock-or-powermock|Mock a Static-Final-Variable]]   * [[http://​stackoverflow.com/​questions/​9697531/​how-to-mock-a-static-final-variable-using-junit-easymock-or-powermock|Mock a Static-Final-Variable]]
 +  * [[https://​stackoverflow.com/​questions/​33281347/​how-do-i-set-a-primitive-private-static-final-field-in-a-class-with-private-cons?​lq=1|How do I set a primitive private static final field in a class with private constructor using PowerMockito?​]]
 =====    ===== =====    =====
 ---- ----
 \\ \\
 ~~DISQUS~~ ~~DISQUS~~