so are saliva tests the same as "mouth-swab tests"?

i took one recentley, i'm pretty sure i passed.