According to the Mayo Clinic, in most cases, looking inside the eye during a routine examination will be enough to detect and diagnose any tumors or other abnormalities.
If the doctor suspects eye melanoma, there are a number of imaging tests that will help clarify a diagnosis:

del.icio.us
Digg this