streamviewtest.java

来自「anewssystem新闻发布系统集成使用了spring hibernate f」· Java 代码 · 共 24 行

JAVA
24
字号
package anni.core.web.prototype;

import junit.framework.TestCase;


public class StreamViewTest extends TestCase {
    protected StreamView view = null;

    @Override
    protected void setUp() {
        view = new StreamView();
    }

    @Override
    protected void tearDown() {
    }

    public void testContentType() throws Exception {
        assertEquals("text/plain", view.getContentType());

        view.render(null, null, null);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?