Author: andrei_exadel
Date: 2008-05-22 07:02:54 -0400 (Thu, 22 May 2008)
New Revision: 8685
Modified:
trunk/framework/test/src/main/java/org/ajax4jsf/tests/MockPageContext.java
Log:
Changes to avoid test failure in columns component
Modified: trunk/framework/test/src/main/java/org/ajax4jsf/tests/MockPageContext.java
===================================================================
--- trunk/framework/test/src/main/java/org/ajax4jsf/tests/MockPageContext.java 2008-05-22
09:33:39 UTC (rev 8684)
+++ trunk/framework/test/src/main/java/org/ajax4jsf/tests/MockPageContext.java 2008-05-22
11:02:54 UTC (rev 8685)
@@ -246,7 +246,165 @@
@Override
public JspWriter getOut() {
// TODO Auto-generated method stub
- return null;
+ return new JspWriter(0, false) {
+
+ @Override
+ public void clear() throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void clearBuffer() throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void close() throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void flush() throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public int getRemaining() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ @Override
+ public void newLine() throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void print(boolean b) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void print(char c) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void print(int i) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void print(long l) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void print(float f) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void print(double d) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void print(char[] s) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void print(String s) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void print(Object obj) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void println() throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void println(boolean x) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void println(char x) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void println(int x) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void println(long x) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void println(float x) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void println(double x) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void println(char[] x) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void println(String x) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void println(Object x) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void write(char[] cbuf, int off, int len) throws IOException {
+ // TODO Auto-generated method stub
+
+ }
+
+ };
}
/* (non-Javadoc)
Show replies by date