提交 905930f0 编写于 作者: L liorha 提交者: Oliver Gondža

Using JUnit assertions only

(cherry picked from commit ae20c037)
上级 726e3906
......@@ -100,7 +100,7 @@ public class ClassicPluginStrategyTest extends HudsonTestCase {
Class<?> clazz = pw.classLoader.loadClass("org.apache.http.impl.io.SocketInputBuffer");
ClassLoader cl = clazz.getClassLoader();
URL url = cl.getResource("org/apache/http/impl/io/SocketInputBuffer.class");
assert url != null;
assertNotNull(url);
assertTrue("expected to find the class from foo1 plugin", url.toString().contains("plugins/foo1"));
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册