提交 c8094ad1 编写于 作者: C Christoph Kutzinski

fixed compile error in Eclipse

上级 4dc4678f
package hudson.matrix;
import hudson.model.Item;
import hudson.util.FormValidation;
import org.jvnet.hudson.test.HudsonTestCase;
import org.jvnet.hudson.test.TestExtension;
import org.kohsuke.stapler.DataBoundConstructor;
......@@ -11,13 +13,13 @@ import org.kohsuke.stapler.DataBoundConstructor;
public class MatrixConfigurationSorterTest extends HudsonTestCase {
public void testConfigRoundtrip() throws Exception {
MatrixProject p = createMatrixProject();
configRoundtrip(p);
configRoundtrip((Item)p);
assertNull(p.getSorter());
SorterImpl before = new SorterImpl();
p.setSorter(before);
p.setRunSequentially(true);
configRoundtrip(p);
configRoundtrip((Item)p);
Object after = p.getSorter();
assertNotSame(before,after);
assertSame(before.getClass(),after.getClass());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册