<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:browser="http://namespaces.zope.org/browser"
    xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
    i18n_domain="untranslated"
    >

  <include package="ploneintranet.layout" />
  <!--
    Needed to resolve the quaive.file_field behavior which is for some reason
    in ploneintranet.workspace
    TODO: move it in a more reasonable place or move the failing tests
    TODO: to ploneintranet.workspace
  -->
  <include package="ploneintranet.workspace.behaviors" />

  <browser:page
      name="browser_layers"
      for="*"
      class=".utils.LayersView"
      permission="zope2.View"
      />

  <browser:page
      name="app-with-parameters"
      for="ploneintranet.layout.app.IApp"
      class=".test_views.AppWithParametersView"
      permission="zope2.View"
      />

  <genericsetup:registerProfile
      name="testing"
      title="Plone Intranet: -- [Layout: Testing]"
      description="Installs test fixtures for ploneintranet.layout"
      provides="Products.GenericSetup.interfaces.EXTENSION"
      for="Products.CMFPlone.interfaces.IPloneSiteRoot"
      directory="../profiles/testing"
      />


</configure>
