You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mb...@apache.org on 2007/02/24 18:02:54 UTC

svn commit: r511304 - in /myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context: ./ MockFacesContext.java

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



Re: svn commit: r511304 - in /myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context: ./ MockFacesContext.java

Posted by Mathias Brökelmann <mb...@googlemail.com>.
ok

2007/2/25, Matthias Wessendorf <ma...@apache.org>:
> since we used to work w/ 1.0.4-SNAP, which is old btw. I went ahead
> and updated the shale stuff to 110-SNAP
>
> -M
>
> On 2/25/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > 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 <ma...@apache.org> wrote:
> > > hi mathias,
> > >
> > > in shale there is a MockFacesContext12 class, that has elCtx support
> > >
> > > -M
> > >
> > > On 2/24/07, mbr@apache.org <mb...@apache.org> 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
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>


-- 
Mathias

Re: svn commit: r511304 - in /myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context: ./ MockFacesContext.java

Posted by Matthias Wessendorf <ma...@apache.org>.
since we used to work w/ 1.0.4-SNAP, which is old btw. I went ahead
and updated the shale stuff to 110-SNAP

-M

On 2/25/07, Matthias Wessendorf <ma...@apache.org> wrote:
> 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 <ma...@apache.org> wrote:
> > hi mathias,
> >
> > in shale there is a MockFacesContext12 class, that has elCtx support
> >
> > -M
> >
> > On 2/24/07, mbr@apache.org <mb...@apache.org> 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
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: svn commit: r511304 - in /myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context: ./ MockFacesContext.java

Posted by Matthias Wessendorf <ma...@apache.org>.
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 <ma...@apache.org> wrote:
> hi mathias,
>
> in shale there is a MockFacesContext12 class, that has elCtx support
>
> -M
>
> On 2/24/07, mbr@apache.org <mb...@apache.org> 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

Re: svn commit: r511304 - in /myfaces/core/branches/jsf12/api/src/test/java/javax/faces/context: ./ MockFacesContext.java

Posted by Matthias Wessendorf <ma...@apache.org>.
hi mathias,

in shale there is a MockFacesContext12 class, that has elCtx support

-M

On 2/24/07, mbr@apache.org <mb...@apache.org> 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