Wetting measurements on smooth, rough and porous solid surfaces