The sight of McDonald's workers walking off the job in protest has been a public-relations nightmare for the company during the past three years. Now a judge will determine whether the fast-food giant broke labor law as it tried to protect its image and quell the strikes.