nytimes.com — Barack Obama taught at the University of Chicago Law School for 12 years. Former students say he tested many of the ideas of his presidential campaign in the class. Standing in his favorite classroom in the austere main building, Mr. Obama refined his public speaking style, his debating abilities, his beliefs.