@Override protected Description describeChild(FrameworkMethod method) { Description description = methodDescriptions.get(method); if (description == null) { description = Description.createTestDescription(getTestClass().getJavaClass(), testName(method), method.getAnnotations()); methodDescriptions.putIfAbsent(method, description); } return description; }
@Override protected Description describeChild(FrameworkMethod method) { return Description.createTestDescription(getTestClass().getJavaClass(), testName(method), method.getAnnotations()); }
@Override protected String testName(final FrameworkMethod method) { if (server != null) { return method.getName() + getName(); } return super.testName(method); }
@Override protected Description describeChild(FrameworkMethod method) { return Description.createTestDescription(getTestClass().getJavaClass(), testName(method), method.getAnnotations()); }
@Override protected String testName(FrameworkMethod method) { return (method instanceof FrameworkMethodWithArgs) ? method.toString() : super .testName(method); }
@Override protected String testName(FrameworkMethod method) { return (method instanceof FrameworkMethodWithParameters ? method.toString() : super.testName(method)); }
@Override protected String testName(FrameworkMethod method) { StringBuilder buf = new StringBuilder(); buf.append(super.testName(method)); if (parameterList != null && parameterList.length > 0) { buf.append("("); for (int i = 0; i < parameterList.length; i++) { if (i > 0) { buf.append(", "); } buf.append(parameterList[i]); } buf.append(")"); } if (isAbstractOperatorTest()) { buf.append("[").append(procType == null ? "UNDEFINED" : procType).append("]"); } return buf.toString(); }
@Override protected String testName(FrameworkMethod method) { StringBuilder buf = new StringBuilder(); buf.append(super.testName(method)); if (parameterList != null && parameterList.length > 0) { buf.append("("); for (int i = 0; i < parameterList.length; i++) { if (i > 0) { buf.append(", "); } buf.append(parameterList[i]); } buf.append(")"); } if (isAbstractOperatorTest()) { buf.append("[").append(procType == null ? "UNDEFINED" : procType).append("]"); } return buf.toString(); }
@Override protected String testName(FrameworkMethod method) { org.jukito.Description annotation = method.getMethod().getAnnotation(org.jukito.Description.class); if (annotation != null) { return annotation.value(); } else { return super.testName(method); } }
@Override protected String testName(FrameworkMethod method) { org.jukito.Description annotation = method.getMethod().getAnnotation(org.jukito.Description.class); if (annotation != null) { return annotation.value(); } else { return super.testName(method); } }
@Override protected Description describeChild(FrameworkMethod method) { Description description = methodDescriptions.get(method); if (description == null) { description = Description.createTestDescription(getTestClass().getJavaClass(), testName(method), method.getAnnotations()); methodDescriptions.putIfAbsent(method, description); } return description; }
@Override protected Description describeChild(FrameworkMethod method) { Description description = methodDescriptions.get(method); if (description == null) { description = Description.createTestDescription(getTestClass().getJavaClass(), testName(method), method.getAnnotations()); methodDescriptions.putIfAbsent(method, description); } return description; }
@Override protected Description describeChild(FrameworkMethod method) { return Description.createTestDescription(getTestClass().getJavaClass(), testName(method), method.getAnnotations()); }
@Override protected Description describeChild(FrameworkMethod method) { return Description.createTestDescription(getTestClass().getJavaClass(), testName(method), method.getAnnotations()); }