summaryrefslogtreecommitdiff
path: root/tests/UnitTests/framework/Data/xml/data3.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/UnitTests/framework/Data/xml/data3.xml')
-rw-r--r--tests/UnitTests/framework/Data/xml/data3.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/UnitTests/framework/Data/xml/data3.xml b/tests/UnitTests/framework/Data/xml/data3.xml
new file mode 100644
index 00000000..9e66a7f0
--- /dev/null
+++ b/tests/UnitTests/framework/Data/xml/data3.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<application id="test">
+ <modules>
+ <module id="request" />
+ <module id="response" />
+ <module id="cache" type="System.Modules.TSqliteCache"
+ DbFile="protected/cache.db" />
+ <module id="error">
+ <case id="exception" handler="processException" />
+ <default handler="processHttpError" />
+ </module>
+ </modules>
+ <services default="page">
+ <service id="page" RootPath="protected/pages">
+ <modules>
+ <module id="template" type="System.Modules.TTemplateManager" />
+ <module id="session" type="System.Modules.TSession" />
+ </modules>
+ <pages default="home">
+ <page id="home" type="HomePage" />
+ <page id="about" type="AboutPage" />
+ </pages>
+ <location path="users">
+ <security>
+ <allow page="register,login" />
+ <deny page="profile" user="?" />
+ <allow page="admin" role="admin" />
+ <deny page="admin" />
+ </security>
+ <pages>
+ <page id="register" type="RegisterPage" />
+ <page id="login" type="LoginPage" />
+ <page id="admin" type="AdminPage" />
+ <page id="profile" type="ProfilePage" />
+ </pages>
+ </location>
+ <parameters>
+ </parameters>
+ </service>
+ <service id="asset" type="System.Services.TAssetService" />
+ </services>
+ <parameters>
+ <parameter id="AdminEmail">qiang.xue@gmail.com</parameter>
+ <parameter id="NetShow" type="Demo.NetShow" Host="localhost" />
+ </parameters>
+</application>