appsunit-develop Mailing List for Apps Unit (Page 3)
Status: Beta
Brought to you by:
jancumps
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(40) |
Oct
(34) |
Nov
(20) |
Dec
|
---|
From: Jan C. <jan...@us...> - 2006-10-04 01:40:34
|
Update of /cvsroot/appsunit/project In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv25915 Modified Files: build.xml Log Message: Removed the clean-and-build again. Pointless. Index: build.xml =================================================================== RCS file: /cvsroot/appsunit/project/build.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** build.xml 1 Oct 2006 20:28:12 -0000 1.6 --- build.xml 2 Oct 2006 17:56:36 -0000 1.7 *************** *** 1 **** ! <?xml version="1.0"?> <!-- $Id$ $Revision$ $Date$ --> <project name="Apps Unit" basedir="." default="all"> <!-- Load local and user build preferences --> <property file="${user.home}/build.properties"/> <property file="build.properties"/> <!-- ========== Initialization Properties ================================= --> <property name="build.dir" value="build"/> <!-- Should Java compilations set the debug compiler option? --> <property name="compile.debug" value="off" /> <!-- Should Java compilations set the deprecation compiler option? --> <property name="compile.deprecation" value="true" /> <!-- Should Java compilations set the optimize compiler option? --> <property name="compile.optimize" value="true" /> <!-- ========== Derived Properties ======================================== --> <property name="source.dir" value="./src"/> <!-- The javadoc output directory --> <property name="java-doc.dir" value="${build.dir}/javadoc" /> <!-- where the zipped distros are stored --> <property name="dist.dir" value="${build.dir}/dist"/> <!-- working directories where the distros are prepared --> <property name="dist.source.dir" value="${build.dir}/source_distribution"/> <property name="dist.bin.dir" value="${build.dir}/bin_distribution"/> <property name="dist.class.dir" value="${build.dir}/classes"/> <property name="checkstyle.result.dir" value="${build.dir}/checkstyle"/> <property name="pmd.result.dir" value="${build.dir}/pmd"/> <!-- compilation Classpath --> <path id="compile.classpath"> <pathelement location="${junit.jar}"/> <pathelement location="${commons-dbcp.jar}"/> <pathelement location="${commons-pool.jar}"/> </path> <!-- ========== Executable Targets ======================================== --> <target name="clean" description="clean build structure"> <delete dir="${build.dir}"/> </target> <target name="init" description="initialise build structure"> <tstamp/> <!-- file where version numbers are defined --> <property file="version.properties"/> </target> <target name="build" description="build project" depends="init, init-build, build-bin, build-source"/> <target name="clean-and-build" description="Clean and build project" depends="clean, build"/> <target name="init-build"> <mkdir dir="${dist.dir}"/> </target> <target name="build-bin" depends="init-build"> <!-- create binary distribution --> <mkdir dir="${dist.bin.dir}"/> <copy todir="${dist.bin.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="cpl-v10.html"/> <include name="resources/**"/> </fileset> </copy> <!-- compile the java code --> <mkdir dir="${dist.class.dir}"/> <javac srcdir="${source.dir}" destdir="${dist.class.dir}" debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> <exclude name="resources/**" /> <exclude name="**/package.html"/> <exclude name="**/overview.html"/> <classpath refid="compile.classpath"/> <!--compilerarg value="-Xlint:unchecked"/--> </javac> <jar basedir="${dist.class.dir}" destfile="${dist.bin.dir}/appsunit_${version}.jar"/> <zip basedir="${dist.bin.dir}" zipfile="${dist.dir}/appsunit_${version}.zip" compress="true"/> </target> <target name="build-source" depends="init-build"> <!-- create source distribution --> <mkdir dir="${dist.source.dir}"/> <copy todir="${dist.source.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="build.properties.sample"/> <include name="build.xml"/> <include name="cpl-v10.html"/> <include name="src/**"/> <include name="tst/**"/> <include name="resources/**"/> </fileset> </copy> <zip basedir="${dist.source.dir}" zipfile="${dist.dir}/appsunit_source_${version}.zip" compress="true"> </zip> </target> <target name="javadoc" description="generate javadocs"> <delete dir="${java-doc.dir}"/> <mkdir dir="${java-doc.dir}"/> <tstamp> <format property="copyright.now" pattern = "2006 - yyyy" locale="en"/> </tstamp> <javadoc destdir="${java-doc.dir}" author="true" version="true" use="true" classpathref="compile.classpath" windowtitle="Apps Unit}" Overview="${source.dir}/overview.html"> <fileset dir="${source.dir}" defaultexcludes="yes"> <include name="**/*.java"/> </fileset> <arg value="-quiet"/> <doctitle><![CDATA[<h1>Apps Unit</h1>]]></doctitle> <bottom><![CDATA[<i>Apps Unit. Copyright © ${copyright.now} appsunit.sourceforge.net. All Rights Reserved.</i>]]></bottom> </javadoc> </target> <!-- run unit tests --> <target name="test" description="test project"> </target> <!-- checkstyle targets --> <!-- run checkstyle --> <target name="checkstyle" description="run checkstyle on the project"> <taskdef resource="checkstyletask.properties" classpath="${checkstyle.jar}"/> <mkdir dir="${checkstyle.result.dir}"/> <checkstyle config="${checkstyle.config}" failureProperty="checkstyle.failure" failOnViolation="false"> <formatter type="plain"/> <formatter type="xml" tofile="${checkstyle.result.dir}/checkstyle_report.xml"/> <fileset dir="${source.dir}" includes="**/*.java"/> </checkstyle> <xslt in="${checkstyle.result.dir}/checkstyle_report.xml" out="${checkstyle.result.dir}/checkstyle_report.html" style="${checkstyle.xsl}"/> </target> <!-- run pmd --> <target name="pmd" description="run pmd on the project"> <mkdir dir="${pmd.result.dir}"/> <path id="pmd.classpath"> <fileset dir="${pmd.lib}"> <include name="*.jar"/> </fileset> </path> <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/> <pmd rulesetfiles="unusedcode,basic,imports,design,controversial,strings" targetjdk="1.5"> <formatter type="net.sourceforge.pmd.renderers.HTMLRenderer" toFile="${pmd.result.dir}/standard-pmd.html"/> <formatter type="xml" toFile="${pmd.result.dir}/pmd.xml"/> <formatter type="text" toConsole="true"/> <fileset dir="${source.dir}"> <include name="**/*.java"/> </fileset> </pmd> <replace file="${pmd.result.dir}/pmd.xml"> <replacefilter token="${basedir}/" value=""/> <replacefilter token="${basedir}\" value=""/> <replacefilter token="\" value="/"/> </replace> <xslt in="${pmd.result.dir}/pmd.xml" style="${pmd.xsl}" out="${pmd.result.dir}/pmd.html" /> </target> <target name="run" description="run project"> </target> <target name="audit" description="audit project" depends="checkstyle, pmd, test"> </target> <target name="debug" description="debug project"> <echo message="Welcome to Apps Unit Report."/> <echo message="Currently there's no (need for a) debug target."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> <target name="all" description="run all targets"> <echo message="Welcome to Apps Report."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> </project> \ No newline at end of file --- 1 ---- ! <?xml version="1.0"?> <!-- $Id$ $Revision$ $Date$ --> <project name="Apps Unit" basedir="." default="all"> <!-- Load local and user build preferences --> <property file="${user.home}/build.properties"/> <property file="build.properties"/> <!-- ========== Initialization Properties ================================= --> <property name="build.dir" value="build"/> <!-- Should Java compilations set the debug compiler option? --> <property name="compile.debug" value="off" /> <!-- Should Java compilations set the deprecation compiler option? --> <property name="compile.deprecation" value="true" /> <!-- Should Java compilations set the optimize compiler option? --> <property name="compile.optimize" value="true" /> <!-- ========== Derived Properties ======================================== --> <property name="source.dir" value="./src"/> <!-- The javadoc output directory --> <property name="java-doc.dir" value="${build.dir}/javadoc" /> <!-- where the zipped distros are stored --> <property name="dist.dir" value="${build.dir}/dist"/> <!-- working directories where the distros are prepared --> <property name="dist.source.dir" value="${build.dir}/source_distribution"/> <property name="dist.bin.dir" value="${build.dir}/bin_distribution"/> <property name="dist.class.dir" value="${build.dir}/classes"/> <property name="checkstyle.result.dir" value="${build.dir}/checkstyle"/> <property name="pmd.result.dir" value="${build.dir}/pmd"/> <!-- compilation Classpath --> <path id="compile.classpath"> <pathelement location="${junit.jar}"/> <pathelement location="${commons-dbcp.jar}"/> <pathelement location="${commons-pool.jar}"/> </path> <!-- ========== Executable Targets ======================================== --> <target name="clean" description="clean build structure"> <delete dir="${build.dir}"/> </target> <target name="init" description="initialise build structure"> <tstamp/> <!-- file where version numbers are defined --> <property file="version.properties"/> </target> <target name="build" description="build project" depends="init, init-build, build-bin, build-source"/> <target name="init-build"> <mkdir dir="${dist.dir}"/> </target> <target name="build-bin" depends="init-build"> <!-- create binary distribution --> <mkdir dir="${dist.bin.dir}"/> <copy todir="${dist.bin.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="cpl-v10.html"/> <include name="resources/**"/> </fileset> </copy> <!-- compile the java code --> <mkdir dir="${dist.class.dir}"/> <javac srcdir="${source.dir}" destdir="${dist.class.dir}" debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> <exclude name="resources/**" /> <exclude name="**/package.html"/> <exclude name="**/overview.html"/> <classpath refid="compile.classpath"/> <!--compilerarg value="-Xlint:unchecked"/--> </javac> <jar basedir="${dist.class.dir}" destfile="${dist.bin.dir}/appsunit_${version}.jar"/> <zip basedir="${dist.bin.dir}" zipfile="${dist.dir}/appsunit_${version}.zip" compress="true"/> </target> <target name="build-source" depends="init-build"> <!-- create source distribution --> <mkdir dir="${dist.source.dir}"/> <copy todir="${dist.source.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="build.properties.sample"/> <include name="build.xml"/> <include name="cpl-v10.html"/> <include name="src/**"/> <include name="tst/**"/> <include name="resources/**"/> </fileset> </copy> <zip basedir="${dist.source.dir}" zipfile="${dist.dir}/appsunit_source_${version}.zip" compress="true"> </zip> </target> <target name="javadoc" description="generate javadocs"> <delete dir="${java-doc.dir}"/> <mkdir dir="${java-doc.dir}"/> <tstamp> <format property="copyright.now" pattern = "2006 - yyyy" locale="en"/> </tstamp> <javadoc destdir="${java-doc.dir}" author="true" version="true" use="true" classpathref="compile.classpath" windowtitle="Apps Unit}" Overview="${source.dir}/overview.html"> <fileset dir="${source.dir}" defaultexcludes="yes"> <include name="**/*.java"/> </fileset> <arg value="-quiet"/> <doctitle><![CDATA[<h1>Apps Unit</h1>]]></doctitle> <bottom><![CDATA[<i>Apps Unit. Copyright © ${copyright.now} appsunit.sourceforge.net. All Rights Reserved.</i>]]></bottom> </javadoc> </target> <!-- run unit tests --> <target name="test" description="test project"> </target> <!-- checkstyle targets --> <!-- run checkstyle --> <target name="checkstyle" description="run checkstyle on the project"> <taskdef resource="checkstyletask.properties" classpath="${checkstyle.jar}"/> <mkdir dir="${checkstyle.result.dir}"/> <checkstyle config="${checkstyle.config}" failureProperty="checkstyle.failure" failOnViolation="false"> <formatter type="plain"/> <formatter type="xml" tofile="${checkstyle.result.dir}/checkstyle_report.xml"/> <fileset dir="${source.dir}" includes="**/*.java"/> </checkstyle> <xslt in="${checkstyle.result.dir}/checkstyle_report.xml" out="${checkstyle.result.dir}/checkstyle_report.html" style="${checkstyle.xsl}"/> </target> <!-- run pmd --> <target name="pmd" description="run pmd on the project"> <mkdir dir="${pmd.result.dir}"/> <path id="pmd.classpath"> <fileset dir="${pmd.lib}"> <include name="*.jar"/> </fileset> </path> <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/> <pmd rulesetfiles="unusedcode,basic,imports,design,controversial,strings" targetjdk="1.5"> <formatter type="net.sourceforge.pmd.renderers.HTMLRenderer" toFile="${pmd.result.dir}/standard-pmd.html"/> <formatter type="xml" toFile="${pmd.result.dir}/pmd.xml"/> <formatter type="text" toConsole="true"/> <fileset dir="${source.dir}"> <include name="**/*.java"/> </fileset> </pmd> <replace file="${pmd.result.dir}/pmd.xml"> <replacefilter token="${basedir}/" value=""/> <replacefilter token="${basedir}\" value=""/> <replacefilter token="\" value="/"/> </replace> <xslt in="${pmd.result.dir}/pmd.xml" style="${pmd.xsl}" out="${pmd.result.dir}/pmd.html" /> </target> <target name="run" description="run project"> </target> <target name="audit" description="audit project" depends="checkstyle, pmd, test"> </target> <target name="debug" description="debug project"> <echo message="Welcome to Apps Unit Report."/> <echo message="Currently there's no (need for a) debug target."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> <target name="all" description="run all targets"> <echo message="Welcome to Apps Report."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> </project> \ No newline at end of file |
From: Jan C. <jan...@us...> - 2006-10-04 00:49:53
|
Update of /cvsroot/appsunit/project/src/net/sourceforge/appsunit/backend In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv26032/backend Log Message: Directory /cvsroot/appsunit/project/src/net/sourceforge/appsunit/backend added to the repository |
From: Jan C. <jan...@us...> - 2006-10-04 00:49:04
|
Update of /cvsroot/appsunit/project In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv23867 Modified Files: build.xml Log Message: Added clean-and-build target. Index: build.xml =================================================================== RCS file: /cvsroot/appsunit/project/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build.xml 1 Oct 2006 18:28:44 -0000 1.5 --- build.xml 1 Oct 2006 20:28:12 -0000 1.6 *************** *** 1 **** ! <?xml version="1.0"?> <!-- $Id$ $Revision$ $Date$ --> <project name="Apps Unit" basedir="." default="all"> <!-- Load local and user build preferences --> <property file="${user.home}/build.properties"/> <property file="build.properties"/> <!-- ========== Initialization Properties ================================= --> <property name="build.dir" value="build"/> <!-- Should Java compilations set the debug compiler option? --> <property name="compile.debug" value="off" /> <!-- Should Java compilations set the deprecation compiler option? --> <property name="compile.deprecation" value="true" /> <!-- Should Java compilations set the optimize compiler option? --> <property name="compile.optimize" value="true" /> <!-- ========== Derived Properties ======================================== --> <property name="source.dir" value="./src"/> <!-- The javadoc output directory --> <property name="java-doc.dir" value="${build.dir}/javadoc" /> <!-- where the zipped distros are stored --> <property name="dist.dir" value="${build.dir}/dist"/> <!-- working directories where the distros are prepared --> <property name="dist.source.dir" value="${build.dir}/source_distribution"/> <property name="dist.bin.dir" value="${build.dir}/bin_distribution"/> <property name="dist.class.dir" value="${build.dir}/classes"/> <property name="checkstyle.result.dir" value="${build.dir}/checkstyle"/> <property name="pmd.result.dir" value="${build.dir}/pmd"/> <!-- compilation Classpath --> <path id="compile.classpath"> <pathelement location="${junit.jar}"/> <pathelement location="${commons-dbcp.jar}"/> <pathelement location="${commons-pool.jar}"/> </path> <!-- ========== Executable Targets ======================================== --> <target name="clean" description="clean build structure"> <delete dir="${build.dir}"/> </target> <target name="init" description="initialise build structure"> <tstamp/> <!-- file where version numbers are defined --> <property file="version.properties"/> </target> <target name="build" description="build project" depends="init, init-build, build-bin, build-source"/> <target name="init-build"> <mkdir dir="${dist.dir}"/> </target> <target name="build-bin" depends="init-build"> <!-- create binary distribution --> <mkdir dir="${dist.bin.dir}"/> <copy todir="${dist.bin.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="cpl-v10.html"/> <include name="resources/**"/> </fileset> </copy> <!-- compile the java code --> <mkdir dir="${dist.class.dir}"/> <javac srcdir="${source.dir}" destdir="${dist.class.dir}" debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> <exclude name="resources/**" /> <exclude name="**/package.html"/> <exclude name="**/overview.html"/> <classpath refid="compile.classpath"/> <!--compilerarg value="-Xlint:unchecked"/--> </javac> <jar basedir="${dist.class.dir}" destfile="${dist.bin.dir}/appsunit_${version}.jar"/> <zip basedir="${dist.bin.dir}" zipfile="${dist.dir}/appsunit_${version}.zip" compress="true"/> </target> <target name="build-source" depends="init-build"> <!-- create source distribution --> <mkdir dir="${dist.source.dir}"/> <copy todir="${dist.source.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="build.properties.sample"/> <include name="build.xml"/> <include name="cpl-v10.html"/> <include name="src/**"/> <include name="tst/**"/> <include name="resources/**"/> </fileset> </copy> <zip basedir="${dist.source.dir}" zipfile="${dist.dir}/appsunit_source_${version}.zip" compress="true"> </zip> </target> <target name="javadoc" description="generate javadocs"> <delete dir="${java-doc.dir}"/> <mkdir dir="${java-doc.dir}"/> <tstamp> <format property="copyright.now" pattern = "2006 - yyyy" locale="en"/> </tstamp> <javadoc destdir="${java-doc.dir}" author="true" version="true" use="true" classpathref="compile.classpath" windowtitle="Apps Unit}" Overview="${source.dir}/overview.html"> <fileset dir="${source.dir}" defaultexcludes="yes"> <include name="**/*.java"/> </fileset> <arg value="-quiet"/> <doctitle><![CDATA[<h1>Apps Unit</h1>]]></doctitle> <bottom><![CDATA[<i>Apps Unit. Copyright © ${copyright.now} appsunit.sourceforge.net. All Rights Reserved.</i>]]></bottom> </javadoc> </target> <!-- run unit tests --> <target name="test" description="test project"> </target> <!-- checkstyle targets --> <!-- run checkstyle --> <target name="checkstyle" description="run checkstyle on the project"> <taskdef resource="checkstyletask.properties" classpath="${checkstyle.jar}"/> <mkdir dir="${checkstyle.result.dir}"/> <checkstyle config="${checkstyle.config}" failureProperty="checkstyle.failure" failOnViolation="false"> <formatter type="plain"/> <formatter type="xml" tofile="${checkstyle.result.dir}/checkstyle_report.xml"/> <fileset dir="${source.dir}" includes="**/*.java"/> </checkstyle> <xslt in="${checkstyle.result.dir}/checkstyle_report.xml" out="${checkstyle.result.dir}/checkstyle_report.html" style="${checkstyle.xsl}"/> </target> <!-- run pmd --> <target name="pmd" description="run pmd on the project"> <mkdir dir="${pmd.result.dir}"/> <path id="pmd.classpath"> <fileset dir="${pmd.lib}"> <include name="*.jar"/> </fileset> </path> <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/> <pmd rulesetfiles="unusedcode,basic,imports,design,controversial,strings" targetjdk="1.5"> <formatter type="net.sourceforge.pmd.renderers.HTMLRenderer" toFile="${pmd.result.dir}/standard-pmd.html"/> <formatter type="xml" toFile="${pmd.result.dir}/pmd.xml"/> <formatter type="text" toConsole="true"/> <fileset dir="${source.dir}"> <include name="**/*.java"/> </fileset> </pmd> <replace file="${pmd.result.dir}/pmd.xml"> <replacefilter token="${basedir}/" value=""/> <replacefilter token="${basedir}\" value=""/> <replacefilter token="\" value="/"/> </replace> <xslt in="${pmd.result.dir}/pmd.xml" style="${pmd.xsl}" out="${pmd.result.dir}/pmd.html" /> </target> <target name="run" description="run project"> </target> <target name="audit" description="audit project" depends="checkstyle, pmd, test"> </target> <target name="debug" description="debug project"> <echo message="Welcome to Apps Unit Report."/> <echo message="Currently there's no (need for a) debug target."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> <target name="all" description="run all targets"> <echo message="Welcome to Apps Report."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> </project> \ No newline at end of file --- 1 ---- ! <?xml version="1.0"?> <!-- $Id$ $Revision$ $Date$ --> <project name="Apps Unit" basedir="." default="all"> <!-- Load local and user build preferences --> <property file="${user.home}/build.properties"/> <property file="build.properties"/> <!-- ========== Initialization Properties ================================= --> <property name="build.dir" value="build"/> <!-- Should Java compilations set the debug compiler option? --> <property name="compile.debug" value="off" /> <!-- Should Java compilations set the deprecation compiler option? --> <property name="compile.deprecation" value="true" /> <!-- Should Java compilations set the optimize compiler option? --> <property name="compile.optimize" value="true" /> <!-- ========== Derived Properties ======================================== --> <property name="source.dir" value="./src"/> <!-- The javadoc output directory --> <property name="java-doc.dir" value="${build.dir}/javadoc" /> <!-- where the zipped distros are stored --> <property name="dist.dir" value="${build.dir}/dist"/> <!-- working directories where the distros are prepared --> <property name="dist.source.dir" value="${build.dir}/source_distribution"/> <property name="dist.bin.dir" value="${build.dir}/bin_distribution"/> <property name="dist.class.dir" value="${build.dir}/classes"/> <property name="checkstyle.result.dir" value="${build.dir}/checkstyle"/> <property name="pmd.result.dir" value="${build.dir}/pmd"/> <!-- compilation Classpath --> <path id="compile.classpath"> <pathelement location="${junit.jar}"/> <pathelement location="${commons-dbcp.jar}"/> <pathelement location="${commons-pool.jar}"/> </path> <!-- ========== Executable Targets ======================================== --> <target name="clean" description="clean build structure"> <delete dir="${build.dir}"/> </target> <target name="init" description="initialise build structure"> <tstamp/> <!-- file where version numbers are defined --> <property file="version.properties"/> </target> <target name="build" description="build project" depends="init, init-build, build-bin, build-source"/> <target name="clean-and-build" description="Clean and build project" depends="clean, build"/> <target name="init-build"> <mkdir dir="${dist.dir}"/> </target> <target name="build-bin" depends="init-build"> <!-- create binary distribution --> <mkdir dir="${dist.bin.dir}"/> <copy todir="${dist.bin.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="cpl-v10.html"/> <include name="resources/**"/> </fileset> </copy> <!-- compile the java code --> <mkdir dir="${dist.class.dir}"/> <javac srcdir="${source.dir}" destdir="${dist.class.dir}" debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> <exclude name="resources/**" /> <exclude name="**/package.html"/> <exclude name="**/overview.html"/> <classpath refid="compile.classpath"/> <!--compilerarg value="-Xlint:unchecked"/--> </javac> <jar basedir="${dist.class.dir}" destfile="${dist.bin.dir}/appsunit_${version}.jar"/> <zip basedir="${dist.bin.dir}" zipfile="${dist.dir}/appsunit_${version}.zip" compress="true"/> </target> <target name="build-source" depends="init-build"> <!-- create source distribution --> <mkdir dir="${dist.source.dir}"/> <copy todir="${dist.source.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="build.properties.sample"/> <include name="build.xml"/> <include name="cpl-v10.html"/> <include name="src/**"/> <include name="tst/**"/> <include name="resources/**"/> </fileset> </copy> <zip basedir="${dist.source.dir}" zipfile="${dist.dir}/appsunit_source_${version}.zip" compress="true"> </zip> </target> <target name="javadoc" description="generate javadocs"> <delete dir="${java-doc.dir}"/> <mkdir dir="${java-doc.dir}"/> <tstamp> <format property="copyright.now" pattern = "2006 - yyyy" locale="en"/> </tstamp> <javadoc destdir="${java-doc.dir}" author="true" version="true" use="true" classpathref="compile.classpath" windowtitle="Apps Unit}" Overview="${source.dir}/overview.html"> <fileset dir="${source.dir}" defaultexcludes="yes"> <include name="**/*.java"/> </fileset> <arg value="-quiet"/> <doctitle><![CDATA[<h1>Apps Unit</h1>]]></doctitle> <bottom><![CDATA[<i>Apps Unit. Copyright © ${copyright.now} appsunit.sourceforge.net. All Rights Reserved.</i>]]></bottom> </javadoc> </target> <!-- run unit tests --> <target name="test" description="test project"> </target> <!-- checkstyle targets --> <!-- run checkstyle --> <target name="checkstyle" description="run checkstyle on the project"> <taskdef resource="checkstyletask.properties" classpath="${checkstyle.jar}"/> <mkdir dir="${checkstyle.result.dir}"/> <checkstyle config="${checkstyle.config}" failureProperty="checkstyle.failure" failOnViolation="false"> <formatter type="plain"/> <formatter type="xml" tofile="${checkstyle.result.dir}/checkstyle_report.xml"/> <fileset dir="${source.dir}" includes="**/*.java"/> </checkstyle> <xslt in="${checkstyle.result.dir}/checkstyle_report.xml" out="${checkstyle.result.dir}/checkstyle_report.html" style="${checkstyle.xsl}"/> </target> <!-- run pmd --> <target name="pmd" description="run pmd on the project"> <mkdir dir="${pmd.result.dir}"/> <path id="pmd.classpath"> <fileset dir="${pmd.lib}"> <include name="*.jar"/> </fileset> </path> <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/> <pmd rulesetfiles="unusedcode,basic,imports,design,controversial,strings" targetjdk="1.5"> <formatter type="net.sourceforge.pmd.renderers.HTMLRenderer" toFile="${pmd.result.dir}/standard-pmd.html"/> <formatter type="xml" toFile="${pmd.result.dir}/pmd.xml"/> <formatter type="text" toConsole="true"/> <fileset dir="${source.dir}"> <include name="**/*.java"/> </fileset> </pmd> <replace file="${pmd.result.dir}/pmd.xml"> <replacefilter token="${basedir}/" value=""/> <replacefilter token="${basedir}\" value=""/> <replacefilter token="\" value="/"/> </replace> <xslt in="${pmd.result.dir}/pmd.xml" style="${pmd.xsl}" out="${pmd.result.dir}/pmd.html" /> </target> <target name="run" description="run project"> </target> <target name="audit" description="audit project" depends="checkstyle, pmd, test"> </target> <target name="debug" description="debug project"> <echo message="Welcome to Apps Unit Report."/> <echo message="Currently there's no (need for a) debug target."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> <target name="all" description="run all targets"> <echo message="Welcome to Apps Report."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> </project> \ No newline at end of file |
From: Jan C. <jan...@us...> - 2006-10-04 00:47:10
|
Update of /cvsroot/appsunit/project In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv8274 Modified Files: build.xml Log Message: Changed deprecated <style> task to <xslt>. Index: build.xml =================================================================== RCS file: /cvsroot/appsunit/project/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** build.xml 23 Sep 2006 22:12:23 -0000 1.4 --- build.xml 1 Oct 2006 18:28:44 -0000 1.5 *************** *** 1 **** ! <?xml version="1.0"?> <!-- $Id$ $Revision$ $Date$ --> <project name="Apps Unit" basedir="." default="all"> <!-- Load local and user build preferences --> <property file="${user.home}/build.properties"/> <property file="build.properties"/> <!-- ========== Initialization Properties ================================= --> <property name="build.dir" value="build"/> <!-- Should Java compilations set the debug compiler option? --> <property name="compile.debug" value="off" /> <!-- Should Java compilations set the deprecation compiler option? --> <property name="compile.deprecation" value="true" /> <!-- Should Java compilations set the optimize compiler option? --> <property name="compile.optimize" value="true" /> <!-- ========== Derived Properties ======================================== --> <property name="source.dir" value="./src"/> <!-- The javadoc output directory --> <property name="java-doc.dir" value="${build.dir}/javadoc" /> <!-- where the zipped distros are stored --> <property name="dist.dir" value="${build.dir}/dist"/> <!-- working directories where the distros are prepared --> <property name="dist.source.dir" value="${build.dir}/source_distribution"/> <property name="dist.bin.dir" value="${build.dir}/bin_distribution"/> <property name="dist.class.dir" value="${build.dir}/classes"/> <property name="checkstyle.result.dir" value="${build.dir}/checkstyle"/> <property name="pmd.result.dir" value="${build.dir}/pmd"/> <!-- compilation Classpath --> <path id="compile.classpath"> <pathelement location="${junit.jar}"/> <pathelement location="${commons-dbcp.jar}"/> <pathelement location="${commons-pool.jar}"/> </path> <!-- ========== Executable Targets ======================================== --> <target name="clean" description="clean build structure"> <delete dir="${build.dir}"/> </target> <target name="init" description="initialise build structure"> <tstamp/> <!-- file where version numbers are defined --> <property file="version.properties"/> </target> <target name="build" description="build project" depends="init, init-build, build-bin, build-source"/> <target name="init-build"> <mkdir dir="${dist.dir}"/> </target> <target name="build-bin" depends="init-build"> <!-- create binary distribution --> <mkdir dir="${dist.bin.dir}"/> <copy todir="${dist.bin.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="cpl-v10.html"/> <include name="resources/**"/> </fileset> </copy> <!-- compile the java code --> <mkdir dir="${dist.class.dir}"/> <javac srcdir="${source.dir}" destdir="${dist.class.dir}" debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> <exclude name="resources/**" /> <exclude name="**/package.html"/> <exclude name="**/overview.html"/> <classpath refid="compile.classpath"/> <!--compilerarg value="-Xlint:unchecked"/--> </javac> <jar basedir="${dist.class.dir}" destfile="${dist.bin.dir}/appsunit_${version}.jar"/> <zip basedir="${dist.bin.dir}" zipfile="${dist.dir}/appsunit_${version}.zip" compress="true"/> </target> <target name="build-source" depends="init-build"> <!-- create source distribution --> <mkdir dir="${dist.source.dir}"/> <copy todir="${dist.source.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="build.properties.sample"/> <include name="build.xml"/> <include name="cpl-v10.html"/> <include name="src/**"/> <include name="tst/**"/> <include name="resources/**"/> </fileset> </copy> <zip basedir="${dist.source.dir}" zipfile="${dist.dir}/appsunit_source_${version}.zip" compress="true"> </zip> </target> <target name="javadoc" description="generate javadocs"> <delete dir="${java-doc.dir}"/> <mkdir dir="${java-doc.dir}"/> <tstamp> <format property="copyright.now" pattern = "2006 - yyyy" locale="en"/> </tstamp> <javadoc destdir="${java-doc.dir}" author="true" version="true" use="true" classpathref="compile.classpath" windowtitle="Apps Unit}" Overview="${source.dir}/overview.html"> <fileset dir="${source.dir}" defaultexcludes="yes"> <include name="**/*.java"/> </fileset> <arg value="-quiet"/> <doctitle><![CDATA[<h1>Apps Unit</h1>]]></doctitle> <bottom><![CDATA[<i>Apps Unit. Copyright © ${copyright.now} appsunit.sourceforge.net. All Rights Reserved.</i>]]></bottom> </javadoc> </target> <!-- run unit tests --> <target name="test" description="test project"> </target> <!-- checkstyle targets --> <!-- run checkstyle --> <target name="checkstyle" description="run checkstyle on the project"> <taskdef resource="checkstyletask.properties" classpath="${checkstyle.jar}"/> <mkdir dir="${checkstyle.result.dir}"/> <checkstyle config="${checkstyle.config}" failureProperty="checkstyle.failure" failOnViolation="false"> <formatter type="plain"/> <formatter type="xml" tofile="${checkstyle.result.dir}/checkstyle_report.xml"/> <fileset dir="${source.dir}" includes="**/*.java"/> </checkstyle> <style in="${checkstyle.result.dir}/checkstyle_report.xml" out="${checkstyle.result.dir}/checkstyle_report.html" style="${checkstyle.xsl}"/> </target> <!-- run pmd --> <target name="pmd" description="run pmd on the project"> <mkdir dir="${pmd.result.dir}"/> <path id="pmd.classpath"> <fileset dir="${pmd.lib}"> <include name="*.jar"/> </fileset> </path> <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/> <pmd rulesetfiles="unusedcode,basic,imports,design,controversial,strings" targetjdk="1.5"> <formatter type="net.sourceforge.pmd.renderers.HTMLRenderer" toFile="${pmd.result.dir}/standard-pmd.html"/> <formatter type="xml" toFile="${pmd.result.dir}/pmd.xml"/> <formatter type="text" toConsole="true"/> <fileset dir="${source.dir}"> <include name="**/*.java"/> </fileset> </pmd> <replace file="${pmd.result.dir}/pmd.xml"> <replacefilter token="${basedir}/" value=""/> <replacefilter token="${basedir}\" value=""/> <replacefilter token="\" value="/"/> </replace> <xslt in="${pmd.result.dir}/pmd.xml" style="${pmd.xsl}" out="${pmd.result.dir}/pmd.html" /> </target> <target name="run" description="run project"> </target> <target name="audit" description="audit project" depends="checkstyle, pmd, test"> </target> <target name="debug" description="debug project"> <echo message="Welcome to Apps Unit Report."/> <echo message="Currently there's no (need for a) debug target."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> <target name="all" description="run all targets"> <echo message="Welcome to Apps Report."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> </project> \ No newline at end of file --- 1 ---- ! <?xml version="1.0"?> <!-- $Id$ $Revision$ $Date$ --> <project name="Apps Unit" basedir="." default="all"> <!-- Load local and user build preferences --> <property file="${user.home}/build.properties"/> <property file="build.properties"/> <!-- ========== Initialization Properties ================================= --> <property name="build.dir" value="build"/> <!-- Should Java compilations set the debug compiler option? --> <property name="compile.debug" value="off" /> <!-- Should Java compilations set the deprecation compiler option? --> <property name="compile.deprecation" value="true" /> <!-- Should Java compilations set the optimize compiler option? --> <property name="compile.optimize" value="true" /> <!-- ========== Derived Properties ======================================== --> <property name="source.dir" value="./src"/> <!-- The javadoc output directory --> <property name="java-doc.dir" value="${build.dir}/javadoc" /> <!-- where the zipped distros are stored --> <property name="dist.dir" value="${build.dir}/dist"/> <!-- working directories where the distros are prepared --> <property name="dist.source.dir" value="${build.dir}/source_distribution"/> <property name="dist.bin.dir" value="${build.dir}/bin_distribution"/> <property name="dist.class.dir" value="${build.dir}/classes"/> <property name="checkstyle.result.dir" value="${build.dir}/checkstyle"/> <property name="pmd.result.dir" value="${build.dir}/pmd"/> <!-- compilation Classpath --> <path id="compile.classpath"> <pathelement location="${junit.jar}"/> <pathelement location="${commons-dbcp.jar}"/> <pathelement location="${commons-pool.jar}"/> </path> <!-- ========== Executable Targets ======================================== --> <target name="clean" description="clean build structure"> <delete dir="${build.dir}"/> </target> <target name="init" description="initialise build structure"> <tstamp/> <!-- file where version numbers are defined --> <property file="version.properties"/> </target> <target name="build" description="build project" depends="init, init-build, build-bin, build-source"/> <target name="init-build"> <mkdir dir="${dist.dir}"/> </target> <target name="build-bin" depends="init-build"> <!-- create binary distribution --> <mkdir dir="${dist.bin.dir}"/> <copy todir="${dist.bin.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="cpl-v10.html"/> <include name="resources/**"/> </fileset> </copy> <!-- compile the java code --> <mkdir dir="${dist.class.dir}"/> <javac srcdir="${source.dir}" destdir="${dist.class.dir}" debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> <exclude name="resources/**" /> <exclude name="**/package.html"/> <exclude name="**/overview.html"/> <classpath refid="compile.classpath"/> <!--compilerarg value="-Xlint:unchecked"/--> </javac> <jar basedir="${dist.class.dir}" destfile="${dist.bin.dir}/appsunit_${version}.jar"/> <zip basedir="${dist.bin.dir}" zipfile="${dist.dir}/appsunit_${version}.zip" compress="true"/> </target> <target name="build-source" depends="init-build"> <!-- create source distribution --> <mkdir dir="${dist.source.dir}"/> <copy todir="${dist.source.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="build.properties.sample"/> <include name="build.xml"/> <include name="cpl-v10.html"/> <include name="src/**"/> <include name="tst/**"/> <include name="resources/**"/> </fileset> </copy> <zip basedir="${dist.source.dir}" zipfile="${dist.dir}/appsunit_source_${version}.zip" compress="true"> </zip> </target> <target name="javadoc" description="generate javadocs"> <delete dir="${java-doc.dir}"/> <mkdir dir="${java-doc.dir}"/> <tstamp> <format property="copyright.now" pattern = "2006 - yyyy" locale="en"/> </tstamp> <javadoc destdir="${java-doc.dir}" author="true" version="true" use="true" classpathref="compile.classpath" windowtitle="Apps Unit}" Overview="${source.dir}/overview.html"> <fileset dir="${source.dir}" defaultexcludes="yes"> <include name="**/*.java"/> </fileset> <arg value="-quiet"/> <doctitle><![CDATA[<h1>Apps Unit</h1>]]></doctitle> <bottom><![CDATA[<i>Apps Unit. Copyright © ${copyright.now} appsunit.sourceforge.net. All Rights Reserved.</i>]]></bottom> </javadoc> </target> <!-- run unit tests --> <target name="test" description="test project"> </target> <!-- checkstyle targets --> <!-- run checkstyle --> <target name="checkstyle" description="run checkstyle on the project"> <taskdef resource="checkstyletask.properties" classpath="${checkstyle.jar}"/> <mkdir dir="${checkstyle.result.dir}"/> <checkstyle config="${checkstyle.config}" failureProperty="checkstyle.failure" failOnViolation="false"> <formatter type="plain"/> <formatter type="xml" tofile="${checkstyle.result.dir}/checkstyle_report.xml"/> <fileset dir="${source.dir}" includes="**/*.java"/> </checkstyle> <xslt in="${checkstyle.result.dir}/checkstyle_report.xml" out="${checkstyle.result.dir}/checkstyle_report.html" style="${checkstyle.xsl}"/> </target> <!-- run pmd --> <target name="pmd" description="run pmd on the project"> <mkdir dir="${pmd.result.dir}"/> <path id="pmd.classpath"> <fileset dir="${pmd.lib}"> <include name="*.jar"/> </fileset> </path> <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/> <pmd rulesetfiles="unusedcode,basic,imports,design,controversial,strings" targetjdk="1.5"> <formatter type="net.sourceforge.pmd.renderers.HTMLRenderer" toFile="${pmd.result.dir}/standard-pmd.html"/> <formatter type="xml" toFile="${pmd.result.dir}/pmd.xml"/> <formatter type="text" toConsole="true"/> <fileset dir="${source.dir}"> <include name="**/*.java"/> </fileset> </pmd> <replace file="${pmd.result.dir}/pmd.xml"> <replacefilter token="${basedir}/" value=""/> <replacefilter token="${basedir}\" value=""/> <replacefilter token="\" value="/"/> </replace> <xslt in="${pmd.result.dir}/pmd.xml" style="${pmd.xsl}" out="${pmd.result.dir}/pmd.html" /> </target> <target name="run" description="run project"> </target> <target name="audit" description="audit project" depends="checkstyle, pmd, test"> </target> <target name="debug" description="debug project"> <echo message="Welcome to Apps Unit Report."/> <echo message="Currently there's no (need for a) debug target."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> <target name="all" description="run all targets"> <echo message="Welcome to Apps Report."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> </project> \ No newline at end of file |
From: Jan C. <jan...@us...> - 2006-09-23 22:19:53
|
Update of /cvsroot/appsunit/project In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv10511 Added Files: STATUS Log Message: Added STATUS document. --- NEW FILE: STATUS --- $Id: STATUS,v 1.1 2006/09/23 22:19:50 jancumps Exp $ $Revision: 1.1 $ $Date: 2006/09/23 22:19:50 $ release plan ------------ next release 0_1 expected quality: planning code changes committed since the last release --------------------------------------------- This is the first release. Focus is on creating a working build and functional infrastructure classes. proposed changes ---------------- open discussions ---------------- open bugs --------- closed bugs ----------- open feature requests --------------------- closed feature requests ----------------------- |
From: Jan C. <jan...@us...> - 2006-09-23 22:12:29
|
Update of /cvsroot/appsunit/project/src/net/sourceforge/appsunit/environment In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv7312/src/net/sourceforge/appsunit/environment Modified Files: DbSession.java AppsSession.java Added Files: package.html Log Message: Solved all PMD and checkstyle remarks. Initial JavaDoc documentation. Versioning from property file. --- NEW FILE: package.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- $Id: package.html,v 1.1 2006/09/23 22:12:25 jancumps Exp $ $Revision: 1.1 $ $Date: 2006/09/23 22:12:25 $ --> <html> <head> <title></title> </head> <body> <p> This package contains utility classes for setting up an apps-friendly environment. <br /> Functionality provided: <ul> <li>Connecting and disconnecting to a database, including setting the locale properties.</li> <li>Logging on into Oracle apps for a given user, responsibility and module.</li> </p> </body> </html> Index: AppsSession.java =================================================================== RCS file: /cvsroot/appsunit/project/src/net/sourceforge/appsunit/environment/AppsSession.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AppsSession.java 23 Sep 2006 20:48:15 -0000 1.3 --- AppsSession.java 23 Sep 2006 22:12:25 -0000 1.4 *************** *** 20,49 **** * Utility class creates an Apps session environment. */ ! public class AppsSession { ! ! /** Creates a new instance of AppsSession */ private AppsSession() { // utility class should not be instantiated } ! /** * Log on to the erp system with a given user and responsibility. - * @param application The short name of the module we're logging on to. * @param connection Database connection. * @param user Apps user name to log on. * @param responsibility Apps responsibility to log on. ! * @throws java.lang.Exception Exceptions are not caught. They will be passed to the caller. * @TODO replace literal value insertion by parameter binding. */ ! public static void logon(Connection connection, String user, String responsibility, String application) throws Exception { ResultSet rs = null; PreparedStatement stmt = null; ! String usr = null; ! stmt = connection.prepareStatement( ! "select user_id " + ! "from fnd_user " + ! "where user_name = '" + ! user + "'"); rs = stmt.executeQuery(); // execute if (rs.next()) { --- 20,53 ---- * Utility class creates an Apps session environment. */ ! public final class AppsSession { ! ! /** Creates a new instance of AppsSession. */ private AppsSession() { // utility class should not be instantiated } ! /** * Log on to the erp system with a given user and responsibility. * @param connection Database connection. * @param user Apps user name to log on. * @param responsibility Apps responsibility to log on. ! * @param application The short name of the module we're logging on to. ! * @throws java.lang.Exception Exceptions are not caught. They will ! * be passed to the caller. * @TODO replace literal value insertion by parameter binding. */ ! public static void logon(final Connection connection, final String user, ! final String responsibility, final String application) ! throws Exception { ResultSet rs = null; PreparedStatement stmt = null; ! String usr = null; ! stmt = connection.prepareStatement( ! "select user_id " ! + "from fnd_user " ! + "where user_name = '" ! + user ! + "'"); rs = stmt.executeQuery(); // execute if (rs.next()) { *************** *** 51,64 **** } rs.close(); ! if (usr == null ) { throw new Exception("User " + user + " not found."); } ! String rsp = null; ! stmt = connection.prepareStatement( ! "select responsibility_id " + ! "from fnd_responsibility " + ! "where responsibility_key = '" + ! responsibility + "'"); rs = stmt.executeQuery(); // execute if (rs.next()) { --- 55,69 ---- } rs.close(); ! if (usr == null) { throw new Exception("User " + user + " not found."); } ! String rsp = null; ! stmt = connection.prepareStatement( ! "select responsibility_id " ! + "from fnd_responsibility " ! + "where responsibility_key = '" ! + responsibility ! + "'"); rs = stmt.executeQuery(); // execute if (rs.next()) { *************** *** 66,77 **** } rs.close(); ! if (rsp == null ) { ! throw new Exception("Responsibility " + responsibility + " not found."); } ! String appl = null; stmt = connection.prepareStatement( ! "select application_id from fnd_application where application_short_name = '" + ! application + "'"); rs = stmt.executeQuery(); // execute if (rs.next()) { --- 71,85 ---- } rs.close(); ! if (rsp == null) { ! throw new Exception("Responsibility " ! + responsibility + " not found."); } ! String appl = null; stmt = connection.prepareStatement( ! "select application_id from fnd_application where " ! + "application_short_name = '" ! + application ! + "'"); rs = stmt.executeQuery(); // execute if (rs.next()) { *************** *** 82,96 **** throw new Exception("Application " + application + " not found."); } ! // call the fnd_global api to log on to the apps CallableStatement cstmt = null; cstmt = connection.prepareCall( ! "{ call apps.fnd_global.apps_initialize(" + ! "user_id => " + usr + ! ", resp_id => " + rsp + ! ", resp_appl_id => " + appl + ! ", security_group_id => null)}"); try { ! // the first call somethimes fails. That's why it's retried in the catch block; rs = cstmt.executeQuery(); // execute rs.close(); --- 90,108 ---- throw new Exception("Application " + application + " not found."); } ! // call the fnd_global api to log on to the apps CallableStatement cstmt = null; cstmt = connection.prepareCall( ! "{ call apps.fnd_global.apps_initialize(" ! + "user_id => " ! + usr ! + ", resp_id => " ! + rsp ! + ", resp_appl_id => " ! + appl ! + ", security_group_id => null)}"); try { ! // the first call somethimes fails. ! // That's why it's retried in the catch block; rs = cstmt.executeQuery(); // execute rs.close(); *************** *** 102,105 **** } } ! } --- 114,117 ---- } } ! } Index: DbSession.java =================================================================== RCS file: /cvsroot/appsunit/project/src/net/sourceforge/appsunit/environment/DbSession.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DbSession.java 18 Sep 2006 09:23:42 -0000 1.2 --- DbSession.java 23 Sep 2006 22:12:25 -0000 1.3 *************** *** 31,45 **** * @author JCUMPS */ ! public class DbSession { ! /** * Stores the datasource that will serve database connections. */ private static DataSource dataSource; ! /** ! * Creates a new instance of DbSession */ ! public DbSession() { } --- 31,46 ---- * @author JCUMPS */ ! public final class DbSession { ! /** * Stores the datasource that will serve database connections. */ private static DataSource dataSource; ! /** ! * Creates a new instance of DbSession. */ ! private DbSession() { ! // utility class should not be instantiated } *************** *** 47,75 **** * Getter for property connection. * @return Value of property connection. ! * @throws java.lang.Exception Exceptions are not caught. They will be passed to the caller. * @TODO: parameterize nls settings */ public static Connection getConnection() throws Exception { Connection connection = null; ! try { ! if (dataSource != null ) connection = dataSource.getConnection(); ! String driver = null; ! driver = System.getProperty("db.driver","oracle.jdbc.OracleDriver"); Class.forName(driver); // Attempt to connect to a driver. Each one // of the registered drivers will be loaded until // one is found that can process this URL ! ! String uri = System.getProperty("db.uri","jdbc:oracle:thin:user/password@server:port:sid"); dataSource = setupDataSource(uri); connection = dataSource.getConnection(); ! String q = null; ! Statement s = connection.createStatement(); ! q = "alter session set nls_language = 'American'"; s.execute(q); --- 48,80 ---- * Getter for property connection. * @return Value of property connection. ! * @throws java.lang.Exception Exceptions are not caught. ! * They will be passed to the caller. * @TODO: parameterize nls settings */ + @SuppressWarnings("net.sourceforge.pmd.rules.CloseResource") public static Connection getConnection() throws Exception { Connection connection = null; ! Statement s = null; try { ! if (dataSource != null) { connection = dataSource.getConnection(); ! } String driver = null; ! driver = System.getProperty("db.driver", ! "oracle.jdbc.OracleDriver"); Class.forName(driver); // Attempt to connect to a driver. Each one // of the registered drivers will be loaded until // one is found that can process this URL ! ! String uri = System.getProperty("db.uri", ! "jdbc:oracle:thin:user/password@server:port:sid"); dataSource = setupDataSource(uri); connection = dataSource.getConnection(); ! String q = null; ! s = connection.createStatement(); ! q = "alter session set nls_language = 'American'"; s.execute(q); *************** *** 78,103 **** s.close(); ! ! } catch(SQLException e) { throw e; ! ! } catch(ClassNotFoundException e) { throw e; ! } catch (Exception e) { throw e; ! } ! return connection; } ! /** * Configures the datasource. * @param connectURI URI connection string to the database. ! * @throws java.lang.Exception Exceptions are not caught. They will be passed to the caller. * @return The configured datasource. */ ! private static DataSource setupDataSource(String connectURI) throws Exception { // // First, we'll need a ObjectPool that serves as the --- 83,112 ---- s.close(); ! ! } catch (SQLException e) { throw e; ! ! } catch (ClassNotFoundException e) { throw e; ! } catch (Exception e) { throw e; ! } finally { ! s.close(); } ! return connection; } ! /** * Configures the datasource. * @param connectURI URI connection string to the database. ! * @throws java.lang.Exception Exceptions are not caught. ! * They will be passed to the caller. * @return The configured datasource. */ ! @SuppressWarnings("net.sourceforge.pmd.rules.UnusedLocalVariableRule") ! private static DataSource setupDataSource(final String connectURI) ! throws Exception { // // First, we'll need a ObjectPool that serves as the *************** *** 108,112 **** // ObjectPool connectionPool = new GenericObjectPool(null, 1); ! // // Next, we'll create a ConnectionFactory that the --- 117,121 ---- // ObjectPool connectionPool = new GenericObjectPool(null, 1); ! // // Next, we'll create a ConnectionFactory that the *************** *** 116,121 **** // arguments. // ! ConnectionFactory connectionFactory = new DriverManagerConnectionFactory(connectURI,null); ! // // Now we'll create the PoolableConnectionFactory, which wraps --- 125,131 ---- // arguments. // ! ConnectionFactory connectionFactory = ! new DriverManagerConnectionFactory(connectURI, null); ! // // Now we'll create the PoolableConnectionFactory, which wraps *************** *** 123,136 **** // the classes that implement the pooling functionality. // ! PoolableConnectionFactory poolableConnectionFactory = new PoolableConnectionFactory(connectionFactory,connectionPool,null,null,false,true); ! // // Finally, we create the PoolingDriver itself, // passing in the object pool we created. // ! PoolingDataSource dataSource = new PoolingDataSource(connectionPool); ! ! return dataSource; } ! } --- 133,148 ---- // the classes that implement the pooling functionality. // ! PoolableConnectionFactory poolableConnectionFactory = ! new PoolableConnectionFactory(connectionFactory, connectionPool, ! null, null, false, true); ! // // Finally, we create the PoolingDriver itself, // passing in the object pool we created. // ! PoolingDataSource source = new PoolingDataSource(connectionPool); ! ! return source; } ! } |
From: Jan C. <jan...@us...> - 2006-09-23 22:12:29
|
Update of /cvsroot/appsunit/project/src In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv7312/src Added Files: overview.html Log Message: Solved all PMD and checkstyle remarks. Initial JavaDoc documentation. Versioning from property file. --- NEW FILE: overview.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- $Id: overview.html,v 1.1 2006/09/23 22:12:25 jancumps Exp $ $Revision: 1.1 $ $Date: 2006/09/23 22:12:25 $ --> <html> <head> <title></title> </head> <body> <p> The AppsUnit kit enables unit tests for Apps bespoke code.</p> <p> @author JCUMPS </p> </body> </html> |
From: Jan C. <jan...@us...> - 2006-09-23 22:12:28
|
Update of /cvsroot/appsunit/project In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv7312 Modified Files: build.xml Added Files: version.properties Log Message: Solved all PMD and checkstyle remarks. Initial JavaDoc documentation. Versioning from property file. --- NEW FILE: version.properties --- # $Id: version.properties,v 1.1 2006/09/23 22:12:23 jancumps Exp $ # $Revision: 1.1 $ # $Date: 2006/09/23 22:12:23 $ # # This property file contains version information. # edit this file for each new release. #global package version #version=X_X for a release #version=X_X_prerelease_${DSTAMP} while developing #version=0_1 version=0_1_prerelease_${DSTAMP} Index: build.xml =================================================================== RCS file: /cvsroot/appsunit/project/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** build.xml 23 Sep 2006 20:27:04 -0000 1.3 --- build.xml 23 Sep 2006 22:12:23 -0000 1.4 *************** *** 1 **** ! <?xml version="1.0"?> <!-- $Id$ $Revision$ $Date$ --> <project name="Apps Unit" basedir="." default="all"> <!-- Load local and user build preferences --> <property file="${user.home}/build.properties"/> <property file="build.properties"/> <!-- ========== Initialization Properties ================================= --> <property name="version" value="0_1_prerelease"/> <property name="build.dir" value="build"/> <!-- Should Java compilations set the debug compiler option? --> <property name="compile.debug" value="off" /> <!-- Should Java compilations set the deprecation compiler option? --> <property name="compile.deprecation" value="true" /> <!-- Should Java compilations set the optimize compiler option? --> <property name="compile.optimize" value="true" /> <!-- ========== Derived Properties ======================================== --> <property name="source.dir" value="./src"/> <!-- where the zipped distros are stored --> <property name="dist.dir" value="${build.dir}/dist"/> <!-- working directories where the distros are prepared --> <property name="dist.source.dir" value="${build.dir}/source_distribution"/> <property name="dist.bin.dir" value="${build.dir}/bin_distribution"/> <property name="dist.class.dir" value="${build.dir}/classes"/> <property name="checkstyle.result.dir" value="${build.dir}/checkstyle"/> <property name="pmd.result.dir" value="${build.dir}/pmd"/> <!-- compilation Classpath --> <path id="compile.classpath"> <pathelement location="${junit.jar}"/> <pathelement location="${commons-dbcp.jar}"/> <pathelement location="${commons-pool.jar}"/> </path> <!-- ========== Executable Targets ======================================== --> <target name="clean" description="clean build structure"> <delete dir="${build.dir}"/> </target> <target name="init" description="initialise build structure"> </target> <target name="build" description="build project" depends="init, init-build, build-bin, build-source"/> <target name="init-build"> <mkdir dir="${dist.dir}"/> </target> <target name="build-bin" depends="init-build"> <!-- create binary distribution --> <mkdir dir="${dist.bin.dir}"/> <copy todir="${dist.bin.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="cpl-v10.html"/> <include name="resources/**"/> </fileset> </copy> <!-- compile the java code --> <mkdir dir="${dist.class.dir}"/> <javac srcdir="${source.dir}" destdir="${dist.class.dir}" debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> <exclude name="resources/**" /> <exclude name="**/package.html"/> <exclude name="**/overview.html"/> <classpath refid="compile.classpath"/> <!--compilerarg value="-Xlint:unchecked"/--> </javac> <jar basedir="${dist.class.dir}" destfile="${dist.bin.dir}/appsunit_${version}.jar"/> <zip basedir="${dist.bin.dir}" zipfile="${dist.dir}/appsunit_${version}.zip" compress="true"/> </target> <target name="build-source" depends="init-build"> <!-- create source distribution --> <mkdir dir="${dist.source.dir}"/> <copy todir="${dist.source.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="build.properties.sample"/> <include name="build.xml"/> <include name="cpl-v10.html"/> <include name="src/**"/> <include name="tst/**"/> <include name="resources/**"/> </fileset> </copy> <zip basedir="${dist.source.dir}" zipfile="${dist.dir}/appsunit_source_${version}.zip" compress="true"> </zip> </target> <target name="javadoc" description="generate javadocs"> </target> <!-- run unit tests --> <target name="test" description="test project"> </target> <!-- checkstyle targets --> <!-- run checkstyle --> <target name="checkstyle" description="run checkstyle on the project"> <taskdef resource="checkstyletask.properties" classpath="${checkstyle.jar}"/> <mkdir dir="${checkstyle.result.dir}"/> <checkstyle config="${checkstyle.config}" failureProperty="checkstyle.failure" failOnViolation="false"> <formatter type="plain"/> <formatter type="xml" tofile="${checkstyle.result.dir}/checkstyle_report.xml"/> <fileset dir="${source.dir}" includes="**/*.java"/> </checkstyle> <style in="${checkstyle.result.dir}/checkstyle_report.xml" out="${checkstyle.result.dir}/checkstyle_report.html" style="${checkstyle.xsl}"/> </target> <!-- run pmd --> <target name="pmd" description="run pmd on the project"> <mkdir dir="${pmd.result.dir}"/> <path id="pmd.classpath"> <fileset dir="${pmd.lib}"> <include name="*.jar"/> </fileset> </path> <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/> <pmd rulesetfiles="unusedcode,basic,imports,design,controversial,strings" targetjdk="1.5"> <formatter type="net.sourceforge.pmd.renderers.HTMLRenderer" toFile="${pmd.result.dir}/standard-pmd.html"/> <formatter type="xml" toFile="${pmd.result.dir}/pmd.xml"/> <formatter type="text" toConsole="true"/> <fileset dir="${source.dir}"> <include name="**/*.java"/> </fileset> </pmd> <replace file="${pmd.result.dir}/pmd.xml"> <replacefilter token="${basedir}/" value=""/> <replacefilter token="${basedir}\" value=""/> <replacefilter token="\" value="/"/> </replace> <xslt in="${pmd.result.dir}/pmd.xml" style="${pmd.xsl}" out="${pmd.result.dir}/pmd.html" /> </target> <target name="run" description="run project"> </target> <target name="audit" description="audit project" depends="checkstyle, pmd, test"> </target> <target name="debug" description="debug project"> <echo message="Welcome to Apps Unit Report."/> <echo message="Currently there's no (need for a) debug target."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> <target name="all" description="run all targets"> <echo message="Welcome to Apps Report."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> </project> \ No newline at end of file --- 1 ---- ! <?xml version="1.0"?> <!-- $Id$ $Revision$ $Date$ --> <project name="Apps Unit" basedir="." default="all"> <!-- Load local and user build preferences --> <property file="${user.home}/build.properties"/> <property file="build.properties"/> <!-- ========== Initialization Properties ================================= --> <property name="build.dir" value="build"/> <!-- Should Java compilations set the debug compiler option? --> <property name="compile.debug" value="off" /> <!-- Should Java compilations set the deprecation compiler option? --> <property name="compile.deprecation" value="true" /> <!-- Should Java compilations set the optimize compiler option? --> <property name="compile.optimize" value="true" /> <!-- ========== Derived Properties ======================================== --> <property name="source.dir" value="./src"/> <!-- The javadoc output directory --> <property name="java-doc.dir" value="${build.dir}/javadoc" /> <!-- where the zipped distros are stored --> <property name="dist.dir" value="${build.dir}/dist"/> <!-- working directories where the distros are prepared --> <property name="dist.source.dir" value="${build.dir}/source_distribution"/> <property name="dist.bin.dir" value="${build.dir}/bin_distribution"/> <property name="dist.class.dir" value="${build.dir}/classes"/> <property name="checkstyle.result.dir" value="${build.dir}/checkstyle"/> <property name="pmd.result.dir" value="${build.dir}/pmd"/> <!-- compilation Classpath --> <path id="compile.classpath"> <pathelement location="${junit.jar}"/> <pathelement location="${commons-dbcp.jar}"/> <pathelement location="${commons-pool.jar}"/> </path> <!-- ========== Executable Targets ======================================== --> <target name="clean" description="clean build structure"> <delete dir="${build.dir}"/> </target> <target name="init" description="initialise build structure"> <tstamp/> <!-- file where version numbers are defined --> <property file="version.properties"/> </target> <target name="build" description="build project" depends="init, init-build, build-bin, build-source"/> <target name="init-build"> <mkdir dir="${dist.dir}"/> </target> <target name="build-bin" depends="init-build"> <!-- create binary distribution --> <mkdir dir="${dist.bin.dir}"/> <copy todir="${dist.bin.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="cpl-v10.html"/> <include name="resources/**"/> </fileset> </copy> <!-- compile the java code --> <mkdir dir="${dist.class.dir}"/> <javac srcdir="${source.dir}" destdir="${dist.class.dir}" debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> <exclude name="resources/**" /> <exclude name="**/package.html"/> <exclude name="**/overview.html"/> <classpath refid="compile.classpath"/> <!--compilerarg value="-Xlint:unchecked"/--> </javac> <jar basedir="${dist.class.dir}" destfile="${dist.bin.dir}/appsunit_${version}.jar"/> <zip basedir="${dist.bin.dir}" zipfile="${dist.dir}/appsunit_${version}.zip" compress="true"/> </target> <target name="build-source" depends="init-build"> <!-- create source distribution --> <mkdir dir="${dist.source.dir}"/> <copy todir="${dist.source.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="build.properties.sample"/> <include name="build.xml"/> <include name="cpl-v10.html"/> <include name="src/**"/> <include name="tst/**"/> <include name="resources/**"/> </fileset> </copy> <zip basedir="${dist.source.dir}" zipfile="${dist.dir}/appsunit_source_${version}.zip" compress="true"> </zip> </target> <target name="javadoc" description="generate javadocs"> <delete dir="${java-doc.dir}"/> <mkdir dir="${java-doc.dir}"/> <tstamp> <format property="copyright.now" pattern = "2006 - yyyy" locale="en"/> </tstamp> <javadoc destdir="${java-doc.dir}" author="true" version="true" use="true" classpathref="compile.classpath" windowtitle="Apps Unit}" Overview="${source.dir}/overview.html"> <fileset dir="${source.dir}" defaultexcludes="yes"> <include name="**/*.java"/> </fileset> <arg value="-quiet"/> <doctitle><![CDATA[<h1>Apps Unit</h1>]]></doctitle> <bottom><![CDATA[<i>Apps Unit. Copyright © ${copyright.now} appsunit.sourceforge.net. All Rights Reserved.</i>]]></bottom> </javadoc> </target> <!-- run unit tests --> <target name="test" description="test project"> </target> <!-- checkstyle targets --> <!-- run checkstyle --> <target name="checkstyle" description="run checkstyle on the project"> <taskdef resource="checkstyletask.properties" classpath="${checkstyle.jar}"/> <mkdir dir="${checkstyle.result.dir}"/> <checkstyle config="${checkstyle.config}" failureProperty="checkstyle.failure" failOnViolation="false"> <formatter type="plain"/> <formatter type="xml" tofile="${checkstyle.result.dir}/checkstyle_report.xml"/> <fileset dir="${source.dir}" includes="**/*.java"/> </checkstyle> <style in="${checkstyle.result.dir}/checkstyle_report.xml" out="${checkstyle.result.dir}/checkstyle_report.html" style="${checkstyle.xsl}"/> </target> <!-- run pmd --> <target name="pmd" description="run pmd on the project"> <mkdir dir="${pmd.result.dir}"/> <path id="pmd.classpath"> <fileset dir="${pmd.lib}"> <include name="*.jar"/> </fileset> </path> <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/> <pmd rulesetfiles="unusedcode,basic,imports,design,controversial,strings" targetjdk="1.5"> <formatter type="net.sourceforge.pmd.renderers.HTMLRenderer" toFile="${pmd.result.dir}/standard-pmd.html"/> <formatter type="xml" toFile="${pmd.result.dir}/pmd.xml"/> <formatter type="text" toConsole="true"/> <fileset dir="${source.dir}"> <include name="**/*.java"/> </fileset> </pmd> <replace file="${pmd.result.dir}/pmd.xml"> <replacefilter token="${basedir}/" value=""/> <replacefilter token="${basedir}\" value=""/> <replacefilter token="\" value="/"/> </replace> <xslt in="${pmd.result.dir}/pmd.xml" style="${pmd.xsl}" out="${pmd.result.dir}/pmd.html" /> </target> <target name="run" description="run project"> </target> <target name="audit" description="audit project" depends="checkstyle, pmd, test"> </target> <target name="debug" description="debug project"> <echo message="Welcome to Apps Unit Report."/> <echo message="Currently there's no (need for a) debug target."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> <target name="all" description="run all targets"> <echo message="Welcome to Apps Report."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> </project> \ No newline at end of file |
From: Jan C. <jan...@us...> - 2006-09-23 20:48:17
|
Update of /cvsroot/appsunit/project/src/net/sourceforge/appsunit/environment In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv7359 Modified Files: AppsSession.java Log Message: Solved all PDM remarks. Index: AppsSession.java =================================================================== RCS file: /cvsroot/appsunit/project/src/net/sourceforge/appsunit/environment/AppsSession.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AppsSession.java 23 Sep 2006 20:27:04 -0000 1.2 --- AppsSession.java 23 Sep 2006 20:48:15 -0000 1.3 *************** *** 23,27 **** /** Creates a new instance of AppsSession */ ! public AppsSession() { } --- 23,28 ---- /** Creates a new instance of AppsSession */ ! private AppsSession() { ! // utility class should not be instantiated } *************** *** 97,100 **** --- 98,103 ---- rs = cstmt.executeQuery(); // execute rs.close(); + } finally { + rs.close(); } } |
From: Jan C. <jan...@us...> - 2006-09-23 20:27:07
|
Update of /cvsroot/appsunit/project In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv30878 Modified Files: build.xml Log Message: First succssful build, working checkstyle and PDM. Index: build.xml =================================================================== RCS file: /cvsroot/appsunit/project/build.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** build.xml 8 Sep 2006 15:09:24 -0000 1.2 --- build.xml 23 Sep 2006 20:27:04 -0000 1.3 *************** *** 1 **** ! <?xml version="1.0"?> <!-- $Header$ $Revision$ $Date$ --> <project name="Apps Unit" basedir="." default="all"> <!-- Load local and user build preferences --> <property file="${user.home}/build.properties"/> <property file="build.properties"/> <!-- ========== Initialization Properties ================================= --> <property name="build.dir" value="build"/> <!-- ========== Derived Properties ======================================== --> <!-- where the zipped distros are stored --> <property name="dist.dir" value="${build.dir}/dist"/> <!-- working directories where the distros are prepared --> <property name="dist.source.dir" value="${build.dir}/source_distribution"/> <property name="dist.bin.dir" value="${build.dir}/bin_distribution"/> <property name="test.source.dir" value="tst"/> <property name="test.dir" value="${build.dir}/test"/> <property name="test.bin.dir" value="${test.dir}/bin"/> <property name="test.result.dir" value="${test.dir}/test_results"/> <property name="checkstyle.result.dir" value="${build.dir}/checkstyle"/> <property name="pmd.result.dir" value="${build.dir}/pmd"/> <!-- compilation Classpath --> <path id="compile.classpath"> <pathelement location="${junit.jar}"/> </path> <!-- Testing Classpath --> <path id="junit.classpath"> <pathelement location="${junit.jar}"/> <pathelement location="${test.bin.dir}"/> </path> <!-- ========== Executable Targets ======================================== --> <target name="clean" description="clean build structure"> <delete dir="${build.dir}"/> </target> <target name="init" description="initialise build structure"> <tstamp/> <!-- file where version numbers are defined --> <property file="version.properties"/> <mkdir dir="${build.dir}"/> </target> <target name="build" description="build project" depends="init, init-build"/> <target name="init-build"> <mkdir dir="${dist.dir}"/> </target> <target name="build-bin" depends="init-build"> <!-- create binary distribution --> <mkdir dir="${dist.bin.dir}"/> <copy todir="${dist.bin.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="cpl-v10.html"/> </fileset> </copy> <zip basedir="${dist.bin.dir}" zipfile="${dist.dir}/appsunit_${version}.zip" compress="true"/> </target> <target name="build-source" depends="init-build"> <!-- create source distribution --> <mkdir dir="${dist.source.dir}"/> <copy todir="${dist.source.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="build.properties.sample"/> <include name="build.xml"/> <include name="cpl-v10.html"/> <include name="src/**"/> <include name="tst/**"/> </fileset> </copy> <zip basedir="${dist.source.dir}" zipfile="${dist.dir}/antunit_source_${version}.zip" compress="true"> </zip> </target> <!-- unit test targets --> <!-- create javadoc for unittests --> <target name="javadoc" description="generate javadocs"> </target> <!-- compile unittests --> <target name="java-compile-tests" depends="init" description="Compile test java sources"> <delete dir="${test.bin.dir}"/> <mkdir dir="${test.bin.dir}"/> <javac srcdir="${test.source.dir}" destdir="${test.bin.dir}" debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> <exclude name="resources/**" /> <exclude name="**/package.html"/> <exclude name="**/overview.html"/> <classpath refid="compile.classpath"/> <!--compilerarg value="-Xlint:unchecked"/--> </javac> </target> <!-- run unit tests --> <target name="test" description="test project"> <mkdir dir="${test.dir}"/> <antcall target="java-compile-tests"/> <mkdir dir="${test.result.dir}"/> <junitpdfreport todir="${test.result.dir}" styledir="src/resources/report/themes/default"> <fileset dir="${test.result.dir}"> <include name="TEST-*.xml"/> </fileset> </junitpdfreport> </target> <!-- checkstyle targets --> <!-- run checkstyle --> <target name="checkstyle" description="run checkstyle on the project"> <taskdef resource="checkstyletask.properties" classpath="${checkstyle.jar}"/> <mkdir dir="${checkstyle.result.dir}"/> <checkstyle config="${checkstyle.config}" failureProperty="checkstyle.failure" failOnViolation="false"> <formatter type="plain"/> <formatter type="xml" tofile="${checkstyle.result.dir}/checkstyle_report.xml"/> <fileset dir="${test.source.dir}" includes="**/*.java"/> </checkstyle> <style in="${checkstyle.result.dir}/checkstyle_report.xml" out="${checkstyle.result.dir}/checkstyle_report.html" style="${checkstyle.xsl}"/> </target> <!-- run pmd --> <target name="pmd"> <mkdir dir="${pmd.result.dir}"/> <path id="pmd.classpath"> <fileset dir="${pmd.lib}"> <include name="*.jar"/> </fileset> </path> <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/> <pmd rulesetfiles="unusedcode,basic,imports,design,controversial,strings" targetjdk="1.5"> <formatter type="net.sourceforge.pmd.renderers.HTMLRenderer" toFile="${pmd.result.dir}/standard-pmd.html"/> <formatter type="xml" toFile="${pmd.result.dir}/pmd.xml"/> <formatter type="text" toConsole="true"/> <fileset dir="${test.source.dir}"> <include name="**/*.java"/> </fileset> </pmd> <echo message="${basedir}"/> <replace file="${pmd.result.dir}/pmd.xml"> <replacefilter token="${basedir}/" value=""/> <replacefilter token="${basedir}\" value=""/> <replacefilter token="\" value="/"/> </replace> <xslt in="${pmd.result.dir}/pmd.xml" style="src/resources/etc/pmd-report.xslt" out="${pmd.result.dir}/pmd.html" /> </target> <target name="run" description="run project"> </target> <target name="audit" description="audit project" depends="checkstyle, pmd, test"> </target> <target name="debug" description="debug project"> <echo message="Welcome to Apps Unit Report."/> <echo message="Currently there's no (need for a) debug target."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> <target name="all" description="run all targets"> <echo message="Welcome to Apps Report."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> </project> \ No newline at end of file --- 1 ---- ! <?xml version="1.0"?> <!-- $Id$ $Revision$ $Date$ --> <project name="Apps Unit" basedir="." default="all"> <!-- Load local and user build preferences --> <property file="${user.home}/build.properties"/> <property file="build.properties"/> <!-- ========== Initialization Properties ================================= --> <property name="version" value="0_1_prerelease"/> <property name="build.dir" value="build"/> <!-- Should Java compilations set the debug compiler option? --> <property name="compile.debug" value="off" /> <!-- Should Java compilations set the deprecation compiler option? --> <property name="compile.deprecation" value="true" /> <!-- Should Java compilations set the optimize compiler option? --> <property name="compile.optimize" value="true" /> <!-- ========== Derived Properties ======================================== --> <property name="source.dir" value="./src"/> <!-- where the zipped distros are stored --> <property name="dist.dir" value="${build.dir}/dist"/> <!-- working directories where the distros are prepared --> <property name="dist.source.dir" value="${build.dir}/source_distribution"/> <property name="dist.bin.dir" value="${build.dir}/bin_distribution"/> <property name="dist.class.dir" value="${build.dir}/classes"/> <property name="checkstyle.result.dir" value="${build.dir}/checkstyle"/> <property name="pmd.result.dir" value="${build.dir}/pmd"/> <!-- compilation Classpath --> <path id="compile.classpath"> <pathelement location="${junit.jar}"/> <pathelement location="${commons-dbcp.jar}"/> <pathelement location="${commons-pool.jar}"/> </path> <!-- ========== Executable Targets ======================================== --> <target name="clean" description="clean build structure"> <delete dir="${build.dir}"/> </target> <target name="init" description="initialise build structure"> </target> <target name="build" description="build project" depends="init, init-build, build-bin, build-source"/> <target name="init-build"> <mkdir dir="${dist.dir}"/> </target> <target name="build-bin" depends="init-build"> <!-- create binary distribution --> <mkdir dir="${dist.bin.dir}"/> <copy todir="${dist.bin.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="cpl-v10.html"/> <include name="resources/**"/> </fileset> </copy> <!-- compile the java code --> <mkdir dir="${dist.class.dir}"/> <javac srcdir="${source.dir}" destdir="${dist.class.dir}" debug="${compile.debug}" optimize="${compile.optimize}" deprecation="${compile.deprecation}"> <exclude name="resources/**" /> <exclude name="**/package.html"/> <exclude name="**/overview.html"/> <classpath refid="compile.classpath"/> <!--compilerarg value="-Xlint:unchecked"/--> </javac> <jar basedir="${dist.class.dir}" destfile="${dist.bin.dir}/appsunit_${version}.jar"/> <zip basedir="${dist.bin.dir}" zipfile="${dist.dir}/appsunit_${version}.zip" compress="true"/> </target> <target name="build-source" depends="init-build"> <!-- create source distribution --> <mkdir dir="${dist.source.dir}"/> <copy todir="${dist.source.dir}"> <fileset dir="${basedir}"> <include name="STATUS"/> <include name="README"/> <include name="build.properties.sample"/> <include name="build.xml"/> <include name="cpl-v10.html"/> <include name="src/**"/> <include name="tst/**"/> <include name="resources/**"/> </fileset> </copy> <zip basedir="${dist.source.dir}" zipfile="${dist.dir}/appsunit_source_${version}.zip" compress="true"> </zip> </target> <target name="javadoc" description="generate javadocs"> </target> <!-- run unit tests --> <target name="test" description="test project"> </target> <!-- checkstyle targets --> <!-- run checkstyle --> <target name="checkstyle" description="run checkstyle on the project"> <taskdef resource="checkstyletask.properties" classpath="${checkstyle.jar}"/> <mkdir dir="${checkstyle.result.dir}"/> <checkstyle config="${checkstyle.config}" failureProperty="checkstyle.failure" failOnViolation="false"> <formatter type="plain"/> <formatter type="xml" tofile="${checkstyle.result.dir}/checkstyle_report.xml"/> <fileset dir="${source.dir}" includes="**/*.java"/> </checkstyle> <style in="${checkstyle.result.dir}/checkstyle_report.xml" out="${checkstyle.result.dir}/checkstyle_report.html" style="${checkstyle.xsl}"/> </target> <!-- run pmd --> <target name="pmd" description="run pmd on the project"> <mkdir dir="${pmd.result.dir}"/> <path id="pmd.classpath"> <fileset dir="${pmd.lib}"> <include name="*.jar"/> </fileset> </path> <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/> <pmd rulesetfiles="unusedcode,basic,imports,design,controversial,strings" targetjdk="1.5"> <formatter type="net.sourceforge.pmd.renderers.HTMLRenderer" toFile="${pmd.result.dir}/standard-pmd.html"/> <formatter type="xml" toFile="${pmd.result.dir}/pmd.xml"/> <formatter type="text" toConsole="true"/> <fileset dir="${source.dir}"> <include name="**/*.java"/> </fileset> </pmd> <replace file="${pmd.result.dir}/pmd.xml"> <replacefilter token="${basedir}/" value=""/> <replacefilter token="${basedir}\" value=""/> <replacefilter token="\" value="/"/> </replace> <xslt in="${pmd.result.dir}/pmd.xml" style="${pmd.xsl}" out="${pmd.result.dir}/pmd.html" /> </target> <target name="run" description="run project"> </target> <target name="audit" description="audit project" depends="checkstyle, pmd, test"> </target> <target name="debug" description="debug project"> <echo message="Welcome to Apps Unit Report."/> <echo message="Currently there's no (need for a) debug target."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> <target name="all" description="run all targets"> <echo message="Welcome to Apps Report."/> <echo message="Common targets:"/> <echo message=" - ant build: build the project."/> <echo message=" - ant run: execute examples."/> <echo message=" - ant test: test the project."/> <echo message=" - ant audit: audit the project."/> </target> </project> \ No newline at end of file |
From: Jan C. <jan...@us...> - 2006-09-23 20:27:07
|
Update of /cvsroot/appsunit/project/src/net/sourceforge/appsunit/environment In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv30878/src/net/sourceforge/appsunit/environment Modified Files: AppsSession.java Log Message: First succssful build, working checkstyle and PDM. Index: AppsSession.java =================================================================== RCS file: /cvsroot/appsunit/project/src/net/sourceforge/appsunit/environment/AppsSession.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AppsSession.java 11 Sep 2006 20:32:52 -0000 1.1 --- AppsSession.java 23 Sep 2006 20:27:04 -0000 1.2 *************** *** 50,56 **** } rs.close(); ! TestCase.assertNotNull("user " + user + " not found", usr); - // TODO: lookup responsibility String rsp = null; stmt = connection.prepareStatement( --- 50,57 ---- } rs.close(); ! if (usr == null ) { ! throw new Exception("User " + user + " not found."); ! } String rsp = null; stmt = connection.prepareStatement( *************** *** 69,73 **** String appl = null; ! stmt = parent.getConn().prepareStatement( "select application_id from fnd_application where application_short_name = '" + application + "'"); --- 70,74 ---- String appl = null; ! stmt = connection.prepareStatement( "select application_id from fnd_application where application_short_name = '" + application + "'"); *************** *** 97,100 **** --- 98,102 ---- rs.close(); } + } } |
From: Jan C. <jan...@us...> - 2006-09-23 20:27:07
|
Update of /cvsroot/appsunit/project/resources/ant In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv30878/resources/ant Modified Files: build.xml build.properties.sample Log Message: First succssful build, working checkstyle and PDM. Index: build.properties.sample =================================================================== RCS file: /cvsroot/appsunit/project/resources/ant/build.properties.sample,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.properties.sample 23 Sep 2006 13:06:06 -0000 1.1 --- build.properties.sample 23 Sep 2006 20:27:04 -0000 1.2 *************** *** 0 **** --- 1,19 ---- + # ----------------------------------------------------------------------------- + # build.properties + # + # $Id$ + # $Revision$ + # $Date$ + # + # ----------------------------------------------------------------------------- + + # the Oracle jdbc driver + db.driver=oracle.jdbc.OracleDriver + + # + # the connection string to the apps database + # + # change this setting to match the connection + # parameters of your database + # + db.uri=jdbc:oracle:thin:user/password@server:port:sid Index: build.xml =================================================================== RCS file: /cvsroot/appsunit/project/resources/ant/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.xml 23 Sep 2006 13:06:06 -0000 1.1 --- build.xml 23 Sep 2006 20:27:04 -0000 1.2 *************** *** 9,19 **** </target> ! <target name="build"> </target> ! <target name="test"> </target> ! <target name="all"> </target> </project> --- 9,24 ---- </target> ! <target name="build" ! description="Compile the test code"> </target> ! <target name="test" ! description="Run the test scenarios"> </target> ! ! ! <target name="all" depends="init,build,test" ! description="Run all targets"> </target> </project> |
From: Jan C. <jan...@us...> - 2006-09-23 13:06:08
|
Update of /cvsroot/appsunit/project/resources/ant In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv28526 Added Files: build.xml build.properties.sample Log Message: Adding neccessary infra for users to start a test project. --- NEW FILE: build.properties.sample --- --- NEW FILE: build.xml --- <?xml version="1.0" encoding="UTF-8"?> <project name="changeme" default="all" basedir="."> <property file="build.properties"/> <target name="clean"> </target> <target name="init"> </target> <target name="build"> </target> <target name="test"> </target> <target name="all"> </target> </project> |
From: Jan C. <jan...@us...> - 2006-09-23 13:05:55
|
Update of /cvsroot/appsunit/project/resources In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv28410/resources Log Message: Directory /cvsroot/appsunit/project/resources added to the repository |
From: Jan C. <jan...@us...> - 2006-09-23 13:05:55
|
Update of /cvsroot/appsunit/project/resources/ant In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv28410/resources/ant Log Message: Directory /cvsroot/appsunit/project/resources/ant added to the repository |
From: Jan C. <jan...@us...> - 2006-09-22 20:46:25
|
Update of /cvsroot/appsunit/doc In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv14568 Added Files: .cvsignore Log Message: Ignore StarUML working file. --- NEW FILE: .cvsignore --- AppsUnit.~ml |
From: Jan C. <jan...@us...> - 2006-09-22 20:43:25
|
Update of /cvsroot/appsunit/doc In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv12954 Modified Files: AppsUnit.uml Log Message: Index: AppsUnit.uml =================================================================== RCS file: /cvsroot/appsunit/doc/AppsUnit.uml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AppsUnit.uml 18 Sep 2006 21:43:44 -0000 1.1 --- AppsUnit.uml 22 Sep 2006 20:43:18 -0000 1.2 *************** *** 1,458 **** ! <?xml version="1.0" encoding="UTF-8"?> ! <XPD:PROJECT xmlns:XPD="http://www.staruml.com" version="1"> ! <XPD:HEADER> ! <XPD:SUBUNITS> ! </XPD:SUBUNITS> ! <XPD:PROFILES> ! <XPD:PROFILE>UMLStandard</XPD:PROFILE> ! </XPD:PROFILES> ! </XPD:HEADER> ! <XPD:BODY> [...2466 lines suppressed...] ! </XPD:OBJ> ! </XPD:OBJ> ! </XPD:OBJ> ! <XPD:OBJ name="OwnedElements[4]" type="UMLModel" guid="uIf1lmLehkWqKafxGDg0UAAA"> ! <XPD:ATTR name="Name" type="string">Deployment Model</XPD:ATTR> ! <XPD:ATTR name="StereotypeProfile" type="string">UMLStandard</XPD:ATTR> ! <XPD:ATTR name="StereotypeName" type="string">deploymentModel</XPD:ATTR> ! <XPD:REF name="Namespace">ObQDDRdlokeBUPfNM1YBJwAA</XPD:REF> ! <XPD:ATTR name="#OwnedDiagrams" type="integer">1</XPD:ATTR> ! <XPD:OBJ name="OwnedDiagrams[0]" type="UMLDeploymentDiagram" guid="nbwdfwgCSkSsDBzFG3o3DwAA"> ! <XPD:ATTR name="Name" type="string">Main</XPD:ATTR> ! <XPD:REF name="DiagramOwner">uIf1lmLehkWqKafxGDg0UAAA</XPD:REF> ! <XPD:OBJ name="DiagramView" type="UMLDeploymentDiagramView" guid="OtV3OLF+g0WD29i5X3u62gAA"> ! <XPD:REF name="Diagram">nbwdfwgCSkSsDBzFG3o3DwAA</XPD:REF> ! </XPD:OBJ> ! </XPD:OBJ> ! </XPD:OBJ> ! </XPD:OBJ> ! </XPD:BODY> ! </XPD:PROJECT> |
From: Jan C. <jan...@us...> - 2006-09-22 16:21:50
|
Update of /cvsroot/appsunit/web/htdocs/testguide In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv7657/web/htdocs/testguide Modified Files: AppsUnit Test Guide.html Log Message: Adding section on stored function testing. Index: AppsUnit Test Guide.html =================================================================== RCS file: /cvsroot/appsunit/web/htdocs/testguide/AppsUnit Test Guide.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AppsUnit Test Guide.html 18 Sep 2006 23:00:53 -0000 1.3 --- AppsUnit Test Guide.html 22 Sep 2006 16:21:47 -0000 1.4 *************** *** 4,10 **** --- 4,14 ---- + + <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> + + <title>AppsUnit Test Guide</title> *************** *** 15,35 **** --- 19,47 ---- + <h1 class="western">AppsUnit</h1> + <table class="" style="text-align: left; width: 712px; height: 132px;" border="1" cellpadding="2" cellspacing="2"> + <tbody> + <tr> + <td> + <div>This project is just starting (08-SEP-2006).</div> + + <div>The aim is to create a toolkit that will support unit *************** *** 38,41 **** --- 50,55 ---- + + <div>There's no need to install anything on the Apps *************** *** 43,60 **** --- 57,81 ---- + + <div><br> + Please refer to the <a href="http://sourceforge.net/projects/appsunit">project home on SourceForge.net</a> for more info.</div> + </td> + </tr> + + </tbody> *************** *** 62,74 **** --- 83,99 ---- + <p style="margin-bottom: 0cm;">Oracle ® e-business suite bespoke test toolkit</p> + <h1 class="western">Test Guide</h1> + <h2 class="western">Foreword</h2> + <p>Although automation of functional test for ERP software is becoming common practice, unit testing and test driven development *************** *** 76,113 **** --- 101,152 ---- + This project wants to promote unit testing, and test driven development, in the ERP community. We will do this by</p> + <ul> + <li> + <p>showing that it can be done,</p> + </li> + <li> + <p>providing usefull tools to facilitate testing.</p> + </li> + </ul> + <p>This document describes how you can test your code.</p> + <p>This is an open source project, independent from Oracle Corporation.</p> + <p>"Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates."</p> + <h2 class="western">Testing views</h2> + <p>When creating database views, the most common failures are missing *************** *** 115,118 **** --- 154,158 ---- + <p>A wrong record count is mostly caused by incorrect joins. If you *************** *** 123,130 **** --- 163,172 ---- + <p>You can avoid these mismatches by asserting that your view contains the correct number of records.<br> + Most of the time there is one table in the view that is the driving table. It's the core table *************** *** 133,136 **** --- 175,179 ---- + <p>When creating a view for order lines with additional item and customer info, the driver could be oe_order_lines_all. It's the *************** *** 141,156 **** --- 184,205 ---- + <table border="1" bordercolor="#000000" cellpadding="4" cellspacing="0" width="100%"> + <col width="256*"> <thead> <tr> + <td valign="top" width="100%"> + <p><u>How to test for missing or extra records in a view?</u></p> + + <p>Find the table that is the core of your view (the driving *************** *** 158,165 **** --- 207,217 ---- + Assert that the record count of the driving table matches the record count of your view.</p> + + <p><font face="Courier New, monospace">simpleCompare( *************** *** 167,215 **** --- 219,282 ---- + “select count(*) from xx_order_lines_view”);</font></p> + </td> + </tr> + </thead> </table> + <p><br> + <br> + </p> + <p>You can create this test at the very begin of your view design phase. Then start by creating your basic view:</p> + <p><font face="Courier New, monospace">create view xx_order_lines_view as <br> + select<br> + line_id <br> + from<br> + oe_order_lines_all<br> + with read only;</font></p> + <p>The tests will pass. You can now safely add extra fields and tables to the view. Run the tests again. If you forget an outer join, *************** *** 217,220 **** --- 284,288 ---- + <p>Validating the correctness of a field value in your view is straightforward. You write a quey that asserts wether your view *************** *** 222,225 **** --- 290,294 ---- + <p>If you want to validate the value for the customer, you could locate an example order line in your application and write down the *************** *** 228,231 **** --- 297,301 ---- + <p><font face="Courier New, monospace">select count(*) from *************** *** 233,261 **** --- 303,342 ---- + line_id = 25845<br> + and customer_name = 'SOURCEFORGE';</font></p> + <table border="1" bordercolor="#000000" cellpadding="4" cellspacing="0" width="100%"> + <col width="256*"> <thead> <tr> + <td valign="top" width="100%"> + <p><u>How to test for correct field values in a view?</u></p> + + <p>Locate an example that has a known value for the field.<br> + Assert that the view returns this expected value.</p> + + <p><font face="Courier New, monospace">simpleCompare( *************** *** 263,292 **** --- 344,382 ---- + “select count(*) from xx_order_lines_view where line_id = 23548<br> + and item_description = 'Feature Request'”);</font></p> + </td> + </tr> + </thead> </table> + <p><br> + <br> + </p> + <p>Add regression tests during the lifecycle of your view. Whenever *************** *** 295,298 **** --- 385,389 ---- + <p style="font-style: normal;">If the error report says that your view *************** *** 301,315 **** --- 392,410 ---- + <p style="font-style: normal;"><font face="Courier New, monospace">select count(*) from xx_order_lines_view where<br> + line_id = 12487 <br> + and closed_status = 'Y';</font></p> + <p>The test will pass when your bug is resolved. And because you add *************** *** 318,332 **** --- 413,433 ---- + <table border="1" bordercolor="#000000" cellpadding="4" cellspacing="0" width="100%"> + <col width="256*"> <thead> <tr> + <td valign="top" width="100%"> + <p><u>How to avoid regression?</u></p> + + <p>Create a regression test for each bug or error reported *************** *** 334,340 **** --- 435,444 ---- + Add the test to your test suite.</p> + + <p><font face="Courier New, monospace">simpleCompare( *************** *** 342,396 **** “select count(*) from xx_order_lines_view where line_id = 48574<br> and payment_date < order_date”);</font></p> </td> </tr> </thead> </table> <p><br> <br> </p> <h2 class="western">Testing functions</h2> ! <p>To be written</p> <h2 class="western">Testing concurrent requests</h2> <p>To be written</p> <br> Sister project: <a href="http://junitpdfreport.sourceforge.net" target="_blank">JUnit PDF Report</a> <br> <br> <br> <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=176804&type=1" alt="SourceForge.net Logo" border="0" height="31" width="88"></a> </body> --- 446,562 ---- + “select count(*) from xx_order_lines_view where line_id = 48574<br> + and payment_date < order_date”);</font></p> + </td> + </tr> + </thead> </table> + <p><br> + <br> + </p> + <h2 class="western">Testing functions</h2> + <p>The smartest way to test a database function is to write a query + that validates if the function returns expected results.</p> ! <p>If you have a function that converts amounts from one currency to ! another, you can assert this as follows:</p> ! ! <p style="font-style: normal;"><font face="Courier New, monospace">select ! count(*) from dual where<br> ! xx_currency_spot_convert(<br> ! ! 1200, 'USD', 'EUR', '01-JAN-2001') = 1193;</font></p> ! ! <p>The test will pass when the function returns the correct value ! for these parameters,</p> ! ! <table border="1" bordercolor="#000000" cellpadding="4" cellspacing="0" width="100%"> ! ! <col width="256*"> ! <thead> ! <tr> ! ! <td valign="top" width="100%"> ! ! <p><u>How to test a stored function?</u></p> ! ! ! <p>Locate an example that has a known return value for a given ! set of parameters.<br> ! Assert that the function returns this ! expected value.</p> ! ! ! <p><font face="Courier New, monospace">simpleCompare( “select 1 ! from dual”,<br> ! “select count(*) from dual where <br> ! ! <span style="font-style: normal;">xx_currency_spot_convert(<br> ! ! 821.256, 'USD', 'USD', '19-JAN-2003') = 821.256</span>”)</font></p> + </td> + + </tr> + + </thead> + </table> + <p><br> + <br> + + </p> <h2 class="western">Testing concurrent requests</h2> + <p>To be written</p> + <br> + Sister project: <a href="http://junitpdfreport.sourceforge.net" target="_blank">JUnit PDF Report</a> <br> + <br> + <br> + <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=176804&type=1" alt="SourceForge.net Logo" border="0" height="31" width="88"></a> </body> |
From: Jan C. <jan...@us...> - 2006-09-22 16:21:50
|
Update of /cvsroot/appsunit/doc In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv7657/doc Modified Files: AppsUnit Test Guide.odt Log Message: Adding section on stored function testing. Index: AppsUnit Test Guide.odt =================================================================== RCS file: /cvsroot/appsunit/doc/AppsUnit Test Guide.odt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsYDBmuw and /tmp/cvsjxW3Vc differ |
From: Jan C. <jan...@us...> - 2006-09-18 23:02:47
|
Update of /cvsroot/appsunit/doc In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv29651 Modified Files: AppsUnit Test Guide.odt AppsUnit specification.odt Log Message: Added copyright notices. Reviewed http://www.oracle.com/html/3party.html Index: AppsUnit Test Guide.odt =================================================================== RCS file: /cvsroot/appsunit/doc/AppsUnit Test Guide.odt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsoBylcx and /tmp/cvsYet5BA differ Index: AppsUnit specification.odt =================================================================== RCS file: /cvsroot/appsunit/doc/AppsUnit specification.odt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsx2CvHz and /tmp/cvskbOadD differ |
From: Jan C. <jan...@us...> - 2006-09-18 23:01:26
|
Update of /cvsroot/appsunit/web/htdocs/testguide In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv28865/testguide Modified Files: AppsUnit Test Guide.html Log Message: Added copyright notices. Reviewed http://www.oracle.com/html/3party.html Index: AppsUnit Test Guide.html =================================================================== RCS file: /cvsroot/appsunit/web/htdocs/testguide/AppsUnit Test Guide.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AppsUnit Test Guide.html 18 Sep 2006 22:03:39 -0000 1.2 --- AppsUnit Test Guide.html 18 Sep 2006 23:00:53 -0000 1.3 *************** *** 3,10 **** <head> - <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> - <title>AppsUnit Test Guide</title> </head> --- 3,12 ---- <head> + + <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> + + <title>AppsUnit Test Guide</title> </head> *************** *** 12,81 **** <body> <h1 class="western">AppsUnit</h1> <table class="" style="text-align: left; width: 712px; height: 132px;" border="1" cellpadding="2" cellspacing="2"> <tbody> <tr> <td> <div>This project is just starting (08-SEP-2006).</div> <div>The aim is to create a toolkit that will support unit testing Oracle Apps bespoke code.</div> <div>There's no need to install anything on the Apps instances.</div> <div><br> Please refer to the <a href="http://sourceforge.net/projects/appsunit">project home on SourceForge.net</a> for more info.</div> </td> </tr> </tbody> </table> ! <p style="margin-bottom: 0cm;">Oracle e-business suite ! test toolkit</p> <h1 class="western">Test Guide</h1> <h2 class="western">Foreword</h2> <p>Although automation of functional test for ERP software is ! becomming common practice, unit testing and test driven development is less popular.<br> This project wants to promote unit testing, and test driven development, in the ERP community. We will do this by</p> <ul> <li> <p>showing that it can be done,</p> </li> <li> <p>providing usefull tools to facilitate testing.</p> </li> </ul> ! <p>This document describes how you can test your code,</p> <h2 class="western">Testing views</h2> <p>When creating database views, the most common failures are missing or duplicate records, and wrong data values.</p> <p>A wrong record count is mostly caused by incorrect joins. If you --- 14,118 ---- <body> + <h1 class="western">AppsUnit</h1> + <table class="" style="text-align: left; width: 712px; height: 132px;" border="1" cellpadding="2" cellspacing="2"> + <tbody> + <tr> + <td> + <div>This project is just starting (08-SEP-2006).</div> + + <div>The aim is to create a toolkit that will support unit testing Oracle Apps bespoke code.</div> + + <div>There's no need to install anything on the Apps instances.</div> + + <div><br> + Please refer to the <a href="http://sourceforge.net/projects/appsunit">project home on SourceForge.net</a> for more info.</div> + </td> + </tr> + + </tbody> </table> ! ! <p style="margin-bottom: 0cm;">Oracle ® e-business suite bespoke test toolkit</p> ! <h1 class="western">Test Guide</h1> + <h2 class="western">Foreword</h2> + <p>Although automation of functional test for ERP software is ! becoming common practice, unit testing and test driven development is less popular.<br> + This project wants to promote unit testing, and test driven development, in the ERP community. We will do this by</p> + <ul> + <li> + <p>showing that it can be done,</p> + </li> + <li> + <p>providing usefull tools to facilitate testing.</p> + </li> + </ul> ! ! <p>This document describes how you can test your code.</p> ! <p>This is an open source project, independent from Oracle Corporation.</p> ! <p>"Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates."</p> ! <h2 class="western">Testing views</h2> + <p>When creating database views, the most common failures are missing or duplicate records, and wrong data values.</p> + <p>A wrong record count is mostly caused by incorrect joins. If you *************** *** 85,91 **** --- 122,130 ---- you'll get a lot of wrong records.</p> + <p>You can avoid these mismatches by asserting that your view contains the correct number of records.<br> + Most of the time there is one table in the view that is the driving table. It's the core table *************** *** 93,96 **** --- 132,136 ---- count of your view.</p> + <p>When creating a view for order lines with additional item and customer info, the driver could be oe_order_lines_all. It's the *************** *** 100,159 **** --- 140,225 ---- oe_order_headers_all.</p> + <table border="1" bordercolor="#000000" cellpadding="4" cellspacing="0" width="100%"> + <col width="256*"> <thead> <tr> + <td valign="top" width="100%"> + <p><u>How to test for missing or extra records in a view?</u></p> + + <p>Find the table that is the core of your view (the driving table).<br> + Assert that the record count of the driving table matches the record count of your view.</p> + + <p><font face="Courier New, monospace">simpleCompare( “select count(*) from oe_order_lines_all”,<br> + “select count(*) from xx_order_lines_view”);</font></p> + </td> + </tr> + </thead> </table> + <p><br> + <br> + </p> + <p>You can create this test at the very begin of your view design phase. Then start by creating your basic view:</p> + <p><font face="Courier New, monospace">create view xx_order_lines_view as <br> + select<br> + line_id <br> + from<br> + oe_order_lines_all<br> + with read only;</font></p> + <p>The tests will pass. You can now safely add extra fields and tables to the view. Run the tests again. If you forget an outer join, or create a cardinal join, your tests will fail.</p> + <p>Validating the correctness of a field value in your view is straightforward. You write a quey that asserts wether your view returns the value you expect.</p> + <p>If you want to validate the value for the customer, you could locate an example order line in your application and write down the *************** *** 161,205 **** --- 227,292 ---- your view returns this customer.</p> + <p><font face="Courier New, monospace">select count(*) from xx_order_lines_view where<br> + line_id = 25845<br> + and customer_name = 'SOURCEFORGE';</font></p> + <table border="1" bordercolor="#000000" cellpadding="4" cellspacing="0" width="100%"> + <col width="256*"> <thead> <tr> + <td valign="top" width="100%"> + <p><u>How to test for correct field values in a view?</u></p> + + <p>Locate an example that has a known value for the field.<br> + Assert that the view returns this expected value.</p> + + <p><font face="Courier New, monospace">simpleCompare( “select 1 from dual”,<br> + “select count(*) from xx_order_lines_view where line_id = 23548<br> + and item_description = 'Feature Request'”);</font></p> + </td> + </tr> + </thead> </table> + <p><br> + <br> + </p> + <p>Add regression tests during the lifecycle of your view. Whenever *************** *** 207,210 **** --- 294,298 ---- against your view, create a test that fails for the given error.</p> + <p style="font-style: normal;">If the error report says that your view *************** *** 212,223 **** --- 300,315 ---- that it's closed, you can create a regression test:</p> + <p style="font-style: normal;"><font face="Courier New, monospace">select count(*) from xx_order_lines_view where<br> + line_id = 12487 <br> + and closed_status = 'Y';</font></p> + <p>The test will pass when your bug is resolved. And because you add *************** *** 225,278 **** --- 317,396 ---- showing up again.</p> + <table border="1" bordercolor="#000000" cellpadding="4" cellspacing="0" width="100%"> + <col width="256*"> <thead> <tr> + <td valign="top" width="100%"> + <p><u>How to avoid regression?</u></p> + + <p>Create a regression test for each bug or error reported for your view.<br> + Add the test to your test suite.</p> + + <p><font face="Courier New, monospace">simpleCompare( “select 0 from dual”,<br> + “select count(*) from xx_order_lines_view where line_id = 48574<br> + and payment_date < order_date”);</font></p> + </td> + </tr> + </thead> </table> + <p><br> + <br> + </p> + <h2 class="western">Testing functions</h2> + <p>To be written</p> + <h2 class="western">Testing concurrent requests</h2> + <p>To be written</p> + <br> + Sister project: <a href="http://junitpdfreport.sourceforge.net" target="_blank">JUnit PDF Report</a> <br> + <br> + <br> + <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=176804&type=1" alt="SourceForge.net Logo" border="0" height="31" width="88"></a> </body> |
From: Jan C. <jan...@us...> - 2006-09-18 23:01:03
|
Update of /cvsroot/appsunit/web/htdocs In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv28865 Modified Files: index.html Log Message: Added copyright notices. Reviewed http://www.oracle.com/html/3party.html Index: index.html =================================================================== RCS file: /cvsroot/appsunit/web/htdocs/index.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.html 18 Sep 2006 21:47:27 -0000 1.3 --- index.html 18 Sep 2006 23:00:54 -0000 1.4 *************** *** 4,10 **** --- 4,14 ---- + + <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> + + <title>Apps Unit</title> *************** *** 15,35 **** --- 19,47 ---- + <h1 class="western">AppsUnit</h1> + <table class="" style="text-align: left; width: 712px; height: 132px;" border="1" cellpadding="2" cellspacing="2"> + <tbody> + <tr> + <td> + <div> This project is just starting (08-SEP-2006).</div> + + <div> *************** *** 37,40 **** --- 49,54 ---- Apps bespoke code.</div> + + <div> *************** *** 42,59 **** --- 56,81 ---- + + <div><br> + The <a href="testguide/AppsUnit%20Test%20Guide.html">Test Guide</a> helps you validating your code.<br> + Please refer to the <a href="http://sourceforge.net/projects/appsunit">project home on SourceForge.net</a> for more info.</div> + </td> + </tr> + + </tbody> *************** *** 61,101 **** - <br> ! ! Oracle e-business suite ! test toolkit <h2 class="western">Foreword</h2> <p>Although automation of functional test for ERP software is ! becomming common practice, unit testing and test driven development is less popular.<br> This project wants to promote unit testing, and test driven development, in the ERP community. We will do this by</p> <ul> <li> <p>showing that it can be done,</p> </li> <li> <p>providing usefull tools to facilitate testing.</p> - - </li> </ul> --- 83,132 ---- ! <br> ! Oracle ® e-business suite bespoke test toolkit <h2 class="western">Foreword</h2> + <p>Although automation of functional test for ERP software is ! becoming common practice, unit testing and test driven development is less popular.<br> + This project wants to promote unit testing, and test driven development, in the ERP community. We will do this by</p> + <ul> + <li> + <p>showing that it can be done,</p> + </li> + <li> + <p>providing usefull tools to facilitate testing.</p> </li> + </ul> + This document describes the specification for the toolkit.<br> + <br> + This is an open source project, independent from Oracle Corporation.<br> + "Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates." *************** *** 103,109 **** --- 134,142 ---- + <h3 class="western">Requirements</h3> + <p style="margin-bottom: 0cm;">The toolkit will provide the means to *************** *** 112,115 **** --- 145,149 ---- + <p style="margin-bottom: 0cm;">Utility objects will help to connect to *************** *** 117,150 **** --- 151,195 ---- from within the ERP.</p> + <p style="margin-bottom: 0cm;"><img style="width: 281px; height: 361px;" alt="Analysis Model" src="images/AnalysisModel.jpg"></p> + <p style="margin-bottom: 0cm;"></p> + <p style="margin-bottom: 0cm;"><br> + </p> + <br> + <br> + <br> + Sister project: <a href="http://junitpdfreport.sourceforge.net" target="_blank">JUnit PDF Report</a> <br> + <br> + <br> + <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=176804&type=1" alt="SourceForge.net Logo" border="0" height="31" width="88"></a> </body> |
From: Jan C. <jan...@us...> - 2006-09-18 22:03:42
|
Update of /cvsroot/appsunit/web/htdocs/testguide In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv4655 Modified Files: AppsUnit Test Guide.html Log Message: Added SF logo. Index: AppsUnit Test Guide.html =================================================================== RCS file: /cvsroot/appsunit/web/htdocs/testguide/AppsUnit Test Guide.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AppsUnit Test Guide.html 18 Sep 2006 21:43:43 -0000 1.1 --- AppsUnit Test Guide.html 18 Sep 2006 22:03:39 -0000 1.2 *************** *** 31,34 **** --- 31,35 ---- <div><br> + Please refer to the <a href="http://sourceforge.net/projects/appsunit">project home on SourceForge.net</a> for more info.</div> *************** *** 265,268 **** --- 266,279 ---- <p>To be written</p> + <br> + + Sister project: <a href="http://junitpdfreport.sourceforge.net" target="_blank">JUnit PDF Report</a> + <br> + + <br> + + <br> + + <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=176804&type=1" alt="SourceForge.net Logo" border="0" height="31" width="88"></a> </body> </html> |
From: Jan C. <jan...@us...> - 2006-09-18 21:47:34
|
Update of /cvsroot/appsunit/web/htdocs In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv29677 Modified Files: index.html Log Message: Added first draft of the Test Guide. Index: index.html =================================================================== RCS file: /cvsroot/appsunit/web/htdocs/index.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.html 10 Sep 2006 20:41:55 -0000 1.2 --- index.html 18 Sep 2006 21:47:27 -0000 1.3 *************** *** 3,10 **** <head> - <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> - <title>Apps Unit</title> </head> --- 3,12 ---- <head> + + <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> + + <title>Apps Unit</title> </head> *************** *** 12,74 **** <body> <h1 class="western">AppsUnit</h1> ! <table class="" style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"> <tbody> <tr> <td> <div> This project is just starting (08-SEP-2006).</div> <div> The aim is to create a toolkit that will support unit testing Oracle Apps bespoke code.</div> <div> There's no need to install anything on the Apps instances.</div> <div><br> Please refer to the <a href="http://sourceforge.net/projects/appsunit">project home on SourceForge.net</a> for more info.</div> </td> </tr> </tbody> </table> <br> Oracle e-business suite test toolkit <h2 class="western">Foreword</h2> <p>Although automation of functional test for ERP software is becomming common practice, unit testing and test driven development is less popular.<br> This project wants to promote unit testing, and test driven development, in the ERP community. We will do this by</p> <ul> <li> <p>showing that it can be done,</p> </li> <li> <p>providing usefull tools to facilitate testing.</p> </li> </ul> <h2 class="western">Specification.</h2> <h3 class="western">Requirements</h3> <p style="margin-bottom: 0cm;">The toolkit will provide the means to --- 14,109 ---- <body> + <h1 class="western">AppsUnit</h1> ! ! <table class="" style="text-align: left; width: 712px; height: 132px;" border="1" cellpadding="2" cellspacing="2"> ! <tbody> + <tr> + <td> + <div> This project is just starting (08-SEP-2006).</div> + + <div> The aim is to create a toolkit that will support unit testing Oracle Apps bespoke code.</div> + + <div> There's no need to install anything on the Apps instances.</div> + + <div><br> + The <a href="testguide/AppsUnit%20Test%20Guide.html">Test Guide</a> helps you validating your code.<br> + Please refer to the <a href="http://sourceforge.net/projects/appsunit">project home on SourceForge.net</a> for more info.</div> + </td> + </tr> + + </tbody> </table> + <br> + Oracle e-business suite test toolkit <h2 class="western">Foreword</h2> + <p>Although automation of functional test for ERP software is becomming common practice, unit testing and test driven development is less popular.<br> + This project wants to promote unit testing, and test driven development, in the ERP community. We will do this by</p> + <ul> + <li> + <p>showing that it can be done,</p> + </li> + <li> + <p>providing usefull tools to facilitate testing.</p> + </li> + </ul> + <h2 class="western">Specification.</h2> + <h3 class="western">Requirements</h3> + <p style="margin-bottom: 0cm;">The toolkit will provide the means to *************** *** 76,103 **** --- 111,150 ---- objects: views, packages and concurrent requests.</p> + <p style="margin-bottom: 0cm;">Utility objects will help to connect to the backend and create an environment as if your code was running from within the ERP.</p> + <p style="margin-bottom: 0cm;"><img style="width: 281px; height: 361px;" alt="Analysis Model" src="images/AnalysisModel.jpg"></p> + <p style="margin-bottom: 0cm;"></p> + <p style="margin-bottom: 0cm;"><br> + </p> + <br> + <br> + <br> + Sister project: <a href="http://junitpdfreport.sourceforge.net" target="_blank">JUnit PDF Report</a> <br> + <br> + <br> + <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=176804&type=1" alt="SourceForge.net Logo" border="0" height="31" width="88"></a> </body> |
From: Jan C. <jan...@us...> - 2006-09-18 21:43:49
|
Update of /cvsroot/appsunit/doc In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv27722/doc Added Files: AppsUnit.uml AppsUnit Test Guide.odt Log Message: Added first draft of the Test Guide. --- NEW FILE: AppsUnit Test Guide.odt --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AppsUnit.uml --- <?xml version="1.0" encoding="UTF-8"?> <XPD:PROJECT xmlns:XPD="http://www.staruml.com" version="1"> <XPD:HEADER> <XPD:SUBUNITS> </XPD:SUBUNITS> <XPD:PROFILES> <XPD:PROFILE>UMLStandard</XPD:PROFILE> </XPD:PROFILES> </XPD:HEADER> <XPD:BODY> <XPD:OBJ name="DocumentElement" type="UMLProject" guid="ObQDDRdlokeBUPfNM1YBJwAA"> <XPD:ATTR name="Title" type="string">AppsUnit</XPD:ATTR> <XPD:ATTR name="#OwnedElements" type="integer">5</XPD:ATTR> <XPD:OBJ name="OwnedElements[0]" type="UMLModel" guid="0za34GaexEmNi03fTIcuZgAA"> <XPD:ATTR name="Name" type="string">Use Case Model</XPD:ATTR> <XPD:ATTR name="StereotypeProfile" type="string">UMLStandard</XPD:ATTR> <XPD:ATTR name="StereotypeName" type="string">useCaseModel</XPD:ATTR> <XPD:REF name="Namespace">ObQDDRdlokeBUPfNM1YBJwAA</XPD:REF> <XPD:ATTR name="#OwnedDiagrams" type="integer">1</XPD:ATTR> <XPD:OBJ name="OwnedDiagrams[0]" type="UMLUseCaseDiagram" guid="f/c5w/iQyUiCrzGmF6XbpQAA"> <XPD:ATTR name="Name" type="string">Main</XPD:ATTR> <XPD:REF name="DiagramOwner">0za34GaexEmNi03fTIcuZgAA</XPD:REF> <XPD:OBJ name="DiagramView" type="UMLUseCaseDiagramView" guid="J1lxYZBwWkisdJuICRCVzgAA"> <XPD:REF name="Diagram">f/c5w/iQyUiCrzGmF6XbpQAA</XPD:REF> <XPD:ATTR name="#OwnedViews" type="integer">2</XPD:ATTR> <XPD:OBJ name="OwnedViews[0]" type="UMLUseCaseView" guid="ItstWpwPEkCC8VErFamEBAAA"> <XPD:ATTR name="LineColor" type="string">clMaroon</XPD:ATTR> <XPD:ATTR name="FillColor" type="string">$00B9FFFF</XPD:ATTR> <XPD:ATTR name="Left" type="integer">140</XPD:ATTR> <XPD:ATTR name="Top" type="integer">32</XPD:ATTR> <XPD:ATTR name="Width" type="integer">121</XPD:ATTR> <XPD:ATTR name="Height" type="integer">45</XPD:ATTR> <XPD:REF name="Model">jI2m81J84k2ETWuiH76r8wAA</XPD:REF> <XPD:OBJ name="NameCompartment" type="UMLNameCompartmentView" guid="OAWbJ+YYukiM8rwdRC0MwAAA"> <XPD:OBJ name="NameLabel" type="LabelView" guid="AYJpzo784U2C5bZm0LdsQAAA"> <XPD:ATTR name="FontStyle" type="integer">1</XPD:ATTR> <XPD:ATTR name="Text" type="string">User Login</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="StereotypeLabel" type="LabelView" guid="31N6HYkimEeqcbwsPP7FUwAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="PropertyLabel" type="LabelView" guid="78fYW1f7Nkqy/hXNi7KYNwAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="AttributeCompartment" type="UMLAttributeCompartmentView" guid="Nhyqanvh1Uqws4xuD5HrBQAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">jI2m81J84k2ETWuiH76r8wAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OperationCompartment" type="UMLOperationCompartmentView" guid="vXImaw1GfECDG8BjqLR5zgAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">jI2m81J84k2ETWuiH76r8wAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="ExtensionPointCompartment" type="UMLExtensionPointCompartmentView" guid="0tvcKRbx1Eu9/M5bgcj12gAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">jI2m81J84k2ETWuiH76r8wAA</XPD:REF> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="OwnedViews[1]" type="UMLUseCaseView" guid="JOzNA7f50kyjdjIUCLYYOQAA"> <XPD:ATTR name="LineColor" type="string">clMaroon</XPD:ATTR> <XPD:ATTR name="FillColor" type="string">$00B9FFFF</XPD:ATTR> <XPD:ATTR name="Left" type="integer">140</XPD:ATTR> <XPD:ATTR name="Top" type="integer">92</XPD:ATTR> <XPD:ATTR name="Width" type="integer">108</XPD:ATTR> <XPD:ATTR name="Height" type="integer">45</XPD:ATTR> <XPD:REF name="Model">B5UsQwMZ3USqpg4uo+ZFjQAA</XPD:REF> <XPD:OBJ name="NameCompartment" type="UMLNameCompartmentView" guid="3KsRfRCHq0KaxNaeIYFwUAAA"> <XPD:OBJ name="NameLabel" type="LabelView" guid="ymwMYS/Oz06HmI5CGj8aNgAA"> <XPD:ATTR name="FontStyle" type="integer">1</XPD:ATTR> <XPD:ATTR name="Text" type="string">Connect</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="StereotypeLabel" type="LabelView" guid="pKoa9cbYGEKMGLuhOR1XggAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="PropertyLabel" type="LabelView" guid="j4QAZngn8ki823Xju2EwfQAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="AttributeCompartment" type="UMLAttributeCompartmentView" guid="LWnpgssmQky2AC+XFlo9MQAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">B5UsQwMZ3USqpg4uo+ZFjQAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OperationCompartment" type="UMLOperationCompartmentView" guid="9HG1PBt+dEiGeUVdiSr/2wAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">B5UsQwMZ3USqpg4uo+ZFjQAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="ExtensionPointCompartment" type="UMLExtensionPointCompartmentView" guid="mzk7UWEbCkOSmxdu2i9y5AAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">B5UsQwMZ3USqpg4uo+ZFjQAA</XPD:REF> </XPD:OBJ> </XPD:OBJ> </XPD:OBJ> </XPD:OBJ> <XPD:ATTR name="#OwnedElements" type="integer">2</XPD:ATTR> <XPD:OBJ name="OwnedElements[0]" type="UMLUseCase" guid="jI2m81J84k2ETWuiH76r8wAA"> <XPD:ATTR name="Name" type="string">User Login</XPD:ATTR> <XPD:REF name="Namespace">0za34GaexEmNi03fTIcuZgAA</XPD:REF> <XPD:ATTR name="#Views" type="integer">4</XPD:ATTR> <XPD:REF name="Views[0]">ItstWpwPEkCC8VErFamEBAAA</XPD:REF> <XPD:REF name="Views[1]">Nhyqanvh1Uqws4xuD5HrBQAA</XPD:REF> <XPD:REF name="Views[2]">vXImaw1GfECDG8BjqLR5zgAA</XPD:REF> <XPD:REF name="Views[3]">0tvcKRbx1Eu9/M5bgcj12gAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OwnedElements[1]" type="UMLUseCase" guid="B5UsQwMZ3USqpg4uo+ZFjQAA"> <XPD:ATTR name="Name" type="string">Connect</XPD:ATTR> <XPD:REF name="Namespace">0za34GaexEmNi03fTIcuZgAA</XPD:REF> <XPD:ATTR name="#Views" type="integer">4</XPD:ATTR> <XPD:REF name="Views[0]">JOzNA7f50kyjdjIUCLYYOQAA</XPD:REF> <XPD:REF name="Views[1]">LWnpgssmQky2AC+XFlo9MQAA</XPD:REF> <XPD:REF name="Views[2]">9HG1PBt+dEiGeUVdiSr/2wAA</XPD:REF> <XPD:REF name="Views[3]">mzk7UWEbCkOSmxdu2i9y5AAA</XPD:REF> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="OwnedElements[1]" type="UMLModel" guid="A+u//gTkEEi95BE8x9bX4gAA"> <XPD:ATTR name="Name" type="string">Analysis Model</XPD:ATTR> <XPD:ATTR name="StereotypeProfile" type="string">UMLStandard</XPD:ATTR> <XPD:ATTR name="StereotypeName" type="string">analysisModel</XPD:ATTR> <XPD:REF name="Namespace">ObQDDRdlokeBUPfNM1YBJwAA</XPD:REF> <XPD:ATTR name="#OwnedDiagrams" type="integer">1</XPD:ATTR> <XPD:OBJ name="OwnedDiagrams[0]" type="UMLClassDiagram" guid="Z8SGkFeNdEeaSPm5pv444AAA"> <XPD:ATTR name="Name" type="string">Main</XPD:ATTR> <XPD:ATTR name="DefaultDiagram" type="boolean">True</XPD:ATTR> <XPD:ATTR name="DiagramType" type="string">RobustnessDiagram</XPD:ATTR> <XPD:REF name="DiagramOwner">A+u//gTkEEi95BE8x9bX4gAA</XPD:REF> <XPD:OBJ name="DiagramView" type="UMLClassDiagramView" guid="EIqua5TDTUC13YI2PAeigwAA"> <XPD:REF name="Diagram">Z8SGkFeNdEeaSPm5pv444AAA</XPD:REF> <XPD:ATTR name="#OwnedViews" type="integer">10</XPD:ATTR> <XPD:OBJ name="OwnedViews[0]" type="RectangleView" guid="VMj9s6k+WE6oags9grySnAAA"> <XPD:ATTR name="LineColor" type="string">clMaroon</XPD:ATTR> <XPD:ATTR name="FillColor" type="string">$00B9FFFF</XPD:ATTR> <XPD:ATTR name="Left" type="integer">184</XPD:ATTR> <XPD:ATTR name="Top" type="integer">256</XPD:ATTR> <XPD:ATTR name="Width" type="integer">117</XPD:ATTR> <XPD:ATTR name="Height" type="integer">86</XPD:ATTR> <XPD:ATTR name="LineWidth" type="integer">1</XPD:ATTR> <XPD:ATTR name="LineKind" type="LineKind">lkSolid</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="OwnedViews[1]" type="RectangleView" guid="O43rp1fwA0qd1m1WRarfUgAA"> <XPD:ATTR name="LineColor" type="string">clMaroon</XPD:ATTR> <XPD:ATTR name="FillColor" type="string">$00B9FFFF</XPD:ATTR> <XPD:ATTR name="Left" type="integer">59</XPD:ATTR> <XPD:ATTR name="Top" type="integer">68</XPD:ATTR> <XPD:ATTR name="Width" type="integer">116</XPD:ATTR> <XPD:ATTR name="Height" type="integer">189</XPD:ATTR> <XPD:ATTR name="LineWidth" type="integer">1</XPD:ATTR> <XPD:ATTR name="LineKind" type="LineKind">lkSolid</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="OwnedViews[2]" type="RectangleView" guid="3vBDX2THkEah7U/Jlxk37QAA"> <XPD:ATTR name="LineColor" type="string">clMaroon</XPD:ATTR> <XPD:ATTR name="FillColor" type="string">$00B9FFFF</XPD:ATTR> <XPD:ATTR name="Left" type="integer">184</XPD:ATTR> <XPD:ATTR name="Top" type="integer">64</XPD:ATTR> <XPD:ATTR name="Width" type="integer">117</XPD:ATTR> <XPD:ATTR name="Height" type="integer">101</XPD:ATTR> <XPD:ATTR name="LineWidth" type="integer">1</XPD:ATTR> <XPD:ATTR name="LineKind" type="LineKind">lkSolid</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="OwnedViews[3]" type="UMLClassView" guid="6aC1IWRn9kSzjTGKuaBpogAA"> <XPD:ATTR name="LineColor" type="string">clMaroon</XPD:ATTR> <XPD:ATTR name="FillColor" type="string">$00B9FFFF</XPD:ATTR> <XPD:ATTR name="Left" type="integer">72</XPD:ATTR> <XPD:ATTR name="Top" type="integer">96</XPD:ATTR> <XPD:ATTR name="Width" type="integer">91</XPD:ATTR> <XPD:ATTR name="Height" type="integer">63</XPD:ATTR> <XPD:ATTR name="StereotypeDisplay" type="UMLStereotypeDisplayKind">sdkIcon</XPD:ATTR> <XPD:REF name="Model">6B8EOKZ7fkueXFjD2KuE1gAA</XPD:REF> <XPD:OBJ name="NameCompartment" type="UMLNameCompartmentView" guid="a1Mt1xv8+0+gMgemfjXpJwAA"> <XPD:OBJ name="NameLabel" type="LabelView" guid="SGx8Q+0I10uPpt5OttwqUQAA"> <XPD:ATTR name="FontStyle" type="integer">1</XPD:ATTR> <XPD:ATTR name="Text" type="string">AppsLogin</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="StereotypeLabel" type="LabelView" guid="42P6C67S2kicNy1t9Hh1fwAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="PropertyLabel" type="LabelView" guid="JmH5d7xAw0W2cwCzbuJMNwAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="AttributeCompartment" type="UMLAttributeCompartmentView" guid="rD4/eXEPVkWDZYFb96oMxgAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">6B8EOKZ7fkueXFjD2KuE1gAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OperationCompartment" type="UMLOperationCompartmentView" guid="BqUsUtIWFkeMxYmIMVp2+wAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">6B8EOKZ7fkueXFjD2KuE1gAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="TemplateParameterCompartment" type="UMLTemplateParameterCompartmentView" guid="7rClZ3HWv0Wbs9IlnzPwiQAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">6B8EOKZ7fkueXFjD2KuE1gAA</XPD:REF> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="OwnedViews[4]" type="UMLClassView" guid="ptIhfAC+kUKuNtK0lnCJQgAA"> <XPD:ATTR name="LineColor" type="string">clMaroon</XPD:ATTR> <XPD:ATTR name="FillColor" type="string">$00B9FFFF</XPD:ATTR> <XPD:ATTR name="Left" type="integer">197</XPD:ATTR> <XPD:ATTR name="Top" type="integer">272</XPD:ATTR> <XPD:ATTR name="Width" type="integer">87</XPD:ATTR> <XPD:ATTR name="Height" type="integer">63</XPD:ATTR> <XPD:ATTR name="StereotypeDisplay" type="UMLStereotypeDisplayKind">sdkIcon</XPD:ATTR> <XPD:REF name="Model">6ZTf8Oq/pUGDFso4Fj3GTAAA</XPD:REF> <XPD:OBJ name="NameCompartment" type="UMLNameCompartmentView" guid="BfEeFA/Mpke+RpkOfYunUQAA"> <XPD:OBJ name="NameLabel" type="LabelView" guid="/vdB6eGupUiLa1REw78HKgAA"> <XPD:ATTR name="FontStyle" type="integer">1</XPD:ATTR> <XPD:ATTR name="Text" type="string">ViewValidator</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="StereotypeLabel" type="LabelView" guid="Gz10DDI+NkC8rkMqNR8EXQAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="PropertyLabel" type="LabelView" guid="1yOJX2Hbjk2wTeRXIQWH7QAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="AttributeCompartment" type="UMLAttributeCompartmentView" guid="B+uU5SaKSkWtNE771zuQ8wAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">6ZTf8Oq/pUGDFso4Fj3GTAAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OperationCompartment" type="UMLOperationCompartmentView" guid="xr0t11s2vkiqeujW+7yprQAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">6ZTf8Oq/pUGDFso4Fj3GTAAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="TemplateParameterCompartment" type="UMLTemplateParameterCompartmentView" guid="XAoInSusfkeaakgK1MEniQAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">6ZTf8Oq/pUGDFso4Fj3GTAAA</XPD:REF> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="OwnedViews[5]" type="UMLClassView" guid="3NKCdHgqaEqzW6daL2XlMwAA"> <XPD:ATTR name="LineColor" type="string">clMaroon</XPD:ATTR> <XPD:ATTR name="FillColor" type="string">$00B9FFFF</XPD:ATTR> <XPD:ATTR name="Left" type="integer">188</XPD:ATTR> <XPD:ATTR name="Top" type="integer">76</XPD:ATTR> <XPD:ATTR name="Width" type="integer">108</XPD:ATTR> <XPD:ATTR name="Height" type="integer">63</XPD:ATTR> <XPD:ATTR name="StereotypeDisplay" type="UMLStereotypeDisplayKind">sdkIcon</XPD:ATTR> <XPD:REF name="Model">PvRS38uwVkimIyE01SdH4wAA</XPD:REF> <XPD:OBJ name="NameCompartment" type="UMLNameCompartmentView" guid="Kg+n6yl7AUKEXKwuP4WuYQAA"> <XPD:OBJ name="NameLabel" type="LabelView" guid="ibfTooEX4Ee2w+qdW8s3BgAA"> <XPD:ATTR name="FontStyle" type="integer">1</XPD:ATTR> <XPD:ATTR name="Text" type="string">RequestValidator</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="StereotypeLabel" type="LabelView" guid="LF20JOUMc0ew2pYghEzzbwAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="PropertyLabel" type="LabelView" guid="x8U++3txw0iGgD4ga1NLGQAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="AttributeCompartment" type="UMLAttributeCompartmentView" guid="O93ZbGcEiE+s1lZWkSUFnwAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">PvRS38uwVkimIyE01SdH4wAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OperationCompartment" type="UMLOperationCompartmentView" guid="eMcl6lfp+UqQTMDUDJih8QAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">PvRS38uwVkimIyE01SdH4wAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="TemplateParameterCompartment" type="UMLTemplateParameterCompartmentView" guid="bXQy44+U1U2vnUURNv0sWwAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">PvRS38uwVkimIyE01SdH4wAA</XPD:REF> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="OwnedViews[6]" type="RectangleView" guid="IsZSKQtTwECwDKKFxe7hxQAA"> <XPD:ATTR name="LineColor" type="string">clMaroon</XPD:ATTR> <XPD:ATTR name="FillColor" type="string">$00B9FFFF</XPD:ATTR> <XPD:ATTR name="Left" type="integer">184</XPD:ATTR> <XPD:ATTR name="Top" type="integer">168</XPD:ATTR> <XPD:ATTR name="Width" type="integer">117</XPD:ATTR> <XPD:ATTR name="Height" type="integer">85</XPD:ATTR> <XPD:ATTR name="LineWidth" type="integer">1</XPD:ATTR> <XPD:ATTR name="LineKind" type="LineKind">lkSolid</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="OwnedViews[7]" type="UMLClassView" guid="FjZ9w/1JaUaa39bbF5I8wAAA"> <XPD:ATTR name="LineColor" type="string">clMaroon</XPD:ATTR> <XPD:ATTR name="FillColor" type="string">$00B9FFFF</XPD:ATTR> <XPD:ATTR name="Left" type="integer">190</XPD:ATTR> <XPD:ATTR name="Top" type="integer">180</XPD:ATTR> <XPD:ATTR name="Width" type="integer">109</XPD:ATTR> <XPD:ATTR name="Height" type="integer">63</XPD:ATTR> <XPD:ATTR name="StereotypeDisplay" type="UMLStereotypeDisplayKind">sdkIcon</XPD:ATTR> <XPD:REF name="Model">y2z9FqJI9ESWHhl89GcLNwAA</XPD:REF> <XPD:OBJ name="NameCompartment" type="UMLNameCompartmentView" guid="819/xke+30ezeb62/ZTvJAAA"> <XPD:OBJ name="NameLabel" type="LabelView" guid="mBCUuBOjgkS+U/Xx86z0nAAA"> <XPD:ATTR name="FontStyle" type="integer">1</XPD:ATTR> <XPD:ATTR name="Text" type="string">PackageValidator</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="StereotypeLabel" type="LabelView" guid="NNh5bt2xc0mtTFW0K56FpQAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="PropertyLabel" type="LabelView" guid="cLLWmRJQx02Rf17mBUSMtwAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="AttributeCompartment" type="UMLAttributeCompartmentView" guid="Ncyzb2A4J0mhn/5P6ut/AAAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">y2z9FqJI9ESWHhl89GcLNwAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OperationCompartment" type="UMLOperationCompartmentView" guid="HAXhnyHEgE6TCgO4+6z6xwAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">y2z9FqJI9ESWHhl89GcLNwAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="TemplateParameterCompartment" type="UMLTemplateParameterCompartmentView" guid="sKkSzGgQ30OyrBlJNHoGTgAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">y2z9FqJI9ESWHhl89GcLNwAA</XPD:REF> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="OwnedViews[8]" type="UMLClassView" guid="/O6G0Zmbp02ryYEPsGj62AAA"> <XPD:ATTR name="LineColor" type="string">clMaroon</XPD:ATTR> <XPD:ATTR name="FillColor" type="string">$00B9FFFF</XPD:ATTR> <XPD:ATTR name="Left" type="integer">72</XPD:ATTR> <XPD:ATTR name="Top" type="integer">172</XPD:ATTR> <XPD:ATTR name="Width" type="integer">90</XPD:ATTR> <XPD:ATTR name="Height" type="integer">63</XPD:ATTR> <XPD:ATTR name="StereotypeDisplay" type="UMLStereotypeDisplayKind">sdkIcon</XPD:ATTR> <XPD:REF name="Model">9EpYE6iZOkCDMDK1jQPOgwAA</XPD:REF> <XPD:OBJ name="NameCompartment" type="UMLNameCompartmentView" guid="MnRnZUc/xk+Z73MluXqTkQAA"> <XPD:OBJ name="NameLabel" type="LabelView" guid="zz0K5axJTEusd885VwggWAAA"> <XPD:ATTR name="FontStyle" type="integer">1</XPD:ATTR> <XPD:ATTR name="Text" type="string">DbLogin</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="StereotypeLabel" type="LabelView" guid="TsN1jt4RG02pHpE2+we0UAAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> <XPD:OBJ name="PropertyLabel" type="LabelView" guid="O2sXjBxnUUqAB2mlPaOTjwAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="AttributeCompartment" type="UMLAttributeCompartmentView" guid="boRTEQxYG06m2S+9ar1lzgAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">9EpYE6iZOkCDMDK1jQPOgwAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OperationCompartment" type="UMLOperationCompartmentView" guid="eRH9AlvlH0y7WyEx6Zx5pQAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">9EpYE6iZOkCDMDK1jQPOgwAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="TemplateParameterCompartment" type="UMLTemplateParameterCompartmentView" guid="IQ675OfkokeH4WXj3NI7ogAA"> <XPD:ATTR name="Visible" type="boolean">False</XPD:ATTR> <XPD:REF name="Model">9EpYE6iZOkCDMDK1jQPOgwAA</XPD:REF> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="OwnedViews[9]" type="UMLTextView" guid="z8TJ7az4EEWfuBGcyR8TiAAA"> <XPD:ATTR name="LineColor" type="string">clMaroon</XPD:ATTR> <XPD:ATTR name="FillColor" type="string">$00B9FFFF</XPD:ATTR> <XPD:ATTR name="Left" type="integer">140</XPD:ATTR> <XPD:ATTR name="Top" type="integer">20</XPD:ATTR> <XPD:ATTR name="Width" type="integer">94</XPD:ATTR> <XPD:ATTR name="Height" type="integer">23</XPD:ATTR> <XPD:ATTR name="Text" type="string">Analysis Model </XPD:ATTR> </XPD:OBJ> </XPD:OBJ> </XPD:OBJ> <XPD:ATTR name="#OwnedElements" type="integer">6</XPD:ATTR> <XPD:OBJ name="OwnedElements[0]" type="UMLClass" guid="6B8EOKZ7fkueXFjD2KuE1gAA"> <XPD:ATTR name="Name" type="string">AppsLogin</XPD:ATTR> <XPD:ATTR name="StereotypeProfile" type="string">UMLStandard</XPD:ATTR> <XPD:ATTR name="StereotypeName" type="string">entity</XPD:ATTR> <XPD:REF name="Namespace">A+u//gTkEEi95BE8x9bX4gAA</XPD:REF> <XPD:ATTR name="#Views" type="integer">4</XPD:ATTR> <XPD:REF name="Views[0]">6aC1IWRn9kSzjTGKuaBpogAA</XPD:REF> <XPD:REF name="Views[1]">rD4/eXEPVkWDZYFb96oMxgAA</XPD:REF> <XPD:REF name="Views[2]">BqUsUtIWFkeMxYmIMVp2+wAA</XPD:REF> <XPD:REF name="Views[3]">7rClZ3HWv0Wbs9IlnzPwiQAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OwnedElements[1]" type="UMLClass" guid="6ZTf8Oq/pUGDFso4Fj3GTAAA"> <XPD:ATTR name="Name" type="string">ViewValidator</XPD:ATTR> <XPD:ATTR name="StereotypeProfile" type="string">UMLStandard</XPD:ATTR> <XPD:ATTR name="StereotypeName" type="string">entity</XPD:ATTR> <XPD:REF name="Namespace">A+u//gTkEEi95BE8x9bX4gAA</XPD:REF> <XPD:ATTR name="#Views" type="integer">4</XPD:ATTR> <XPD:REF name="Views[0]">ptIhfAC+kUKuNtK0lnCJQgAA</XPD:REF> <XPD:REF name="Views[1]">B+uU5SaKSkWtNE771zuQ8wAA</XPD:REF> <XPD:REF name="Views[2]">xr0t11s2vkiqeujW+7yprQAA</XPD:REF> <XPD:REF name="Views[3]">XAoInSusfkeaakgK1MEniQAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OwnedElements[2]" type="UMLClass" guid="XB/QV84uUEyvxM6CpOsF1gAA"> <XPD:ATTR name="Name" type="string">RequestSubmitter</XPD:ATTR> <XPD:ATTR name="StereotypeProfile" type="string">UMLStandard</XPD:ATTR> <XPD:ATTR name="StereotypeName" type="string">entity</XPD:ATTR> <XPD:REF name="Namespace">A+u//gTkEEi95BE8x9bX4gAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OwnedElements[3]" type="UMLClass" guid="PvRS38uwVkimIyE01SdH4wAA"> <XPD:ATTR name="Name" type="string">RequestValidator</XPD:ATTR> <XPD:ATTR name="StereotypeProfile" type="string">UMLStandard</XPD:ATTR> <XPD:ATTR name="StereotypeName" type="string">entity</XPD:ATTR> <XPD:REF name="Namespace">A+u//gTkEEi95BE8x9bX4gAA</XPD:REF> <XPD:ATTR name="#Views" type="integer">4</XPD:ATTR> <XPD:REF name="Views[0]">3NKCdHgqaEqzW6daL2XlMwAA</XPD:REF> <XPD:REF name="Views[1]">O93ZbGcEiE+s1lZWkSUFnwAA</XPD:REF> <XPD:REF name="Views[2]">eMcl6lfp+UqQTMDUDJih8QAA</XPD:REF> <XPD:REF name="Views[3]">bXQy44+U1U2vnUURNv0sWwAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OwnedElements[4]" type="UMLClass" guid="y2z9FqJI9ESWHhl89GcLNwAA"> <XPD:ATTR name="Name" type="string">PackageValidator</XPD:ATTR> <XPD:ATTR name="StereotypeProfile" type="string">UMLStandard</XPD:ATTR> <XPD:ATTR name="StereotypeName" type="string">entity</XPD:ATTR> <XPD:REF name="Namespace">A+u//gTkEEi95BE8x9bX4gAA</XPD:REF> <XPD:ATTR name="#Views" type="integer">4</XPD:ATTR> <XPD:REF name="Views[0]">FjZ9w/1JaUaa39bbF5I8wAAA</XPD:REF> <XPD:REF name="Views[1]">Ncyzb2A4J0mhn/5P6ut/AAAA</XPD:REF> <XPD:REF name="Views[2]">HAXhnyHEgE6TCgO4+6z6xwAA</XPD:REF> <XPD:REF name="Views[3]">sKkSzGgQ30OyrBlJNHoGTgAA</XPD:REF> </XPD:OBJ> <XPD:OBJ name="OwnedElements[5]" type="UMLClass" guid="9EpYE6iZOkCDMDK1jQPOgwAA"> <XPD:ATTR name="Name" type="string">DbLogin</XPD:ATTR> <XPD:ATTR name="StereotypeProfile" type="string">UMLStandard</XPD:ATTR> <XPD:ATTR name="StereotypeName" type="string">entity</XPD:ATTR> <XPD:REF name="Namespace">A+u//gTkEEi95BE8x9bX4gAA</XPD:REF> <XPD:ATTR name="#Views" type="integer">4</XPD:ATTR> <XPD:REF name="Views[0]">/O6G0Zmbp02ryYEPsGj62AAA</XPD:REF> <XPD:REF name="Views[1]">boRTEQxYG06m2S+9ar1lzgAA</XPD:REF> <XPD:REF name="Views[2]">eRH9AlvlH0y7WyEx6Zx5pQAA</XPD:REF> <XPD:REF name="Views[3]">IQ675OfkokeH4WXj3NI7ogAA</XPD:REF> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="OwnedElements[2]" type="UMLModel" guid="lrJUbBzeg0GGH0djdyEm3AAA"> <XPD:ATTR name="Name" type="string">Design Model</XPD:ATTR> <XPD:ATTR name="StereotypeProfile" type="string">UMLStandard</XPD:ATTR> <XPD:ATTR name="StereotypeName" type="string">designModel</XPD:ATTR> <XPD:REF name="Namespace">ObQDDRdlokeBUPfNM1YBJwAA</XPD:REF> <XPD:ATTR name="#OwnedDiagrams" type="integer">1</XPD:ATTR> <XPD:OBJ name="OwnedDiagrams[0]" type="UMLClassDiagram" guid="NOvUXSbVkE20tUQMlsPDCAAA"> <XPD:ATTR name="Name" type="string">Main</XPD:ATTR> <XPD:ATTR name="DefaultDiagram" type="boolean">True</XPD:ATTR> <XPD:REF name="DiagramOwner">lrJUbBzeg0GGH0djdyEm3AAA</XPD:REF> <XPD:OBJ name="DiagramView" type="UMLClassDiagramView" guid="KL/RrDZH+0y2VANhMWKiQgAA"> <XPD:REF name="Diagram">NOvUXSbVkE20tUQMlsPDCAAA</XPD:REF> </XPD:OBJ> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="OwnedElements[3]" type="UMLModel" guid="CFzOJiBsQU+QEeFLdwbfNQAA"> <XPD:ATTR name="Name" type="string">Implementation Model</XPD:ATTR> <XPD:ATTR name="StereotypeProfile" type="string">UMLStandard</XPD:ATTR> <XPD:ATTR name="StereotypeName" type="string">implementationModel</XPD:ATTR> <XPD:REF name="Namespace">ObQDDRdlokeBUPfNM1YBJwAA</XPD:REF> <XPD:ATTR name="#OwnedDiagrams" type="integer">1</XPD:ATTR> <XPD:OBJ name="OwnedDiagrams[0]" type="UMLComponentDiagram" guid="Q/OzSRGMoEqbgD2pqCRiqAAA"> <XPD:ATTR name="Name" type="string">Main</XPD:ATTR> <XPD:REF name="DiagramOwner">CFzOJiBsQU+QEeFLdwbfNQAA</XPD:REF> <XPD:OBJ name="DiagramView" type="UMLComponentDiagramView" guid="5nLtrvXnPUuUwiEVOmivxgAA"> <XPD:REF name="Diagram">Q/OzSRGMoEqbgD2pqCRiqAAA</XPD:REF> </XPD:OBJ> </XPD:OBJ> </XPD:OBJ> <XPD:OBJ name="OwnedElements[4]" type="UMLModel" guid="uIf1lmLehkWqKafxGDg0UAAA"> <XPD:ATTR name="Name" type="string">Deployment Model</XPD:ATTR> <XPD:ATTR name="StereotypeProfile" type="string">UMLStandard</XPD:ATTR> <XPD:ATTR name="StereotypeName" type="string">deploymentModel</XPD:ATTR> <XPD:REF name="Namespace">ObQDDRdlokeBUPfNM1YBJwAA</XPD:REF> <XPD:ATTR name="#OwnedDiagrams" type="integer">1</XPD:ATTR> <XPD:OBJ name="OwnedDiagrams[0]" type="UMLDeploymentDiagram" guid="nbwdfwgCSkSsDBzFG3o3DwAA"> <XPD:ATTR name="Name" type="string">Main</XPD:ATTR> <XPD:REF name="DiagramOwner">uIf1lmLehkWqKafxGDg0UAAA</XPD:REF> <XPD:OBJ name="DiagramView" type="UMLDeploymentDiagramView" guid="OtV3OLF+g0WD29i5X3u62gAA"> <XPD:REF name="Diagram">nbwdfwgCSkSsDBzFG3o3DwAA</XPD:REF> </XPD:OBJ> </XPD:OBJ> </XPD:OBJ> </XPD:OBJ> </XPD:BODY> </XPD:PROJECT> |