pressed to fast enter.. should we go w/ the Shale 1.1.x SNAPSHOT ?
I'd like to update the shale stuff to that version. any objections ? -M On 2/25/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
hi mathias, in shale there is a MockFacesContext12 class, that has elCtx support -M On 2/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Author: mbr > Date: Sat Feb 24 09:02:53 2007 > New Revision: 511304 > > URL: http://svn.apache.org/viewvc?view=rev&rev=511304 > Log: > add mock for 1.2 facescontext > > Added: > myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context/ > myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context/MockFacesContext.java (with props) > > Added: myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context/MockFacesContext.java > URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context/MockFacesContext.java?view=auto&rev=511304 > ============================================================================== > --- myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context/MockFacesContext.java (added) > +++ myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context/MockFacesContext.java Sat Feb 24 09:02:53 2007 > @@ -0,0 +1,43 @@ > +/* > + * Licensed to the Apache Software Foundation (ASF) under one > + * or more contributor license agreements. See the NOTICE file > + * distributed with this work for additional information > + * regarding copyright ownership. The ASF licenses this file > + * to you under the Apache License, Version 2.0 (the > + * "License"); you may not use this file except in compliance > + * with the License. You may obtain a copy of the License at > + * > + * http://www.apache.org/licenses/LICENSE-2.0 > + * > + * Unless required by applicable law or agreed to in writing, > + * software distributed under the License is distributed on an > + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > + * KIND, either express or implied. See the License for the > + * specific language governing permissions and limitations > + * under the License. > + */ > +package javax.faces.context; > + > +import javax.el.ELContext; > + > +/** > + * @author Mathias Broekelmann (latest modification by $Author$) > + * @version $Revision$ $Date$ > + */ > +public class MockFacesContext extends org.apache.shale.test.mock.MockFacesContext > +{ > + > + private ELContext _elContext; > + > + @Override > + public ELContext getELContext() > + { > + return _elContext; > + } > + > + public void setELContext(ELContext elContext) > + { > + _elContext = elContext; > + } > + > +} > > Propchange: myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context/MockFacesContext.java > ------------------------------------------------------------------------------ > svn:eol-style = native > > Propchange: myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context/MockFacesContext.java > ------------------------------------------------------------------------------ > svn:keywords = Date Author Id Revision HeadURL > > > -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com
-- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com
