EADS-3516 - Still getting: "Adding a fold that is identical with another previously added fold from the same FoldManager is not allowed."
- added mockito unit testing framework
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/Libraries/ThirdParty/mockito-all/build.xml Fri Mar 15 14:14:52 2013 +0100
1.3 @@ -0,0 +1,17 @@
1.4 +<?xml version="1.0" encoding="UTF-8"?>
1.5 +<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
1.6 +<!-- for some information on what you could do (e.g. targets to override). -->
1.7 +<!-- If you delete this file and reopen the project it will be recreated. -->
1.8 +<project name="org.mockito.all" default="netbeans" basedir=".">
1.9 + <description>Builds, tests, and runs the project org.mockito.all.</description>
1.10 + <import file="nbproject/build-impl.xml"/>
1.11 +
1.12 + <property name="release.folder" value="release/modules/ext" />
1.13 + <property name="netbeans.binaries.url" value="http://hg.netbeans.org/binaries"/>
1.14 + <mkdir dir="${release.folder}" />
1.15 + <get src="${netbeans.binaries.url}/79A8984096FC6591C1E3690E07D41BE506356FA5-mockito-all-1.9.5.jar"
1.16 + dest="${release.folder}/mockito-all-1.9.5.jar" skipexisting="true" />
1.17 +
1.18 +</project>
1.19 +
1.20 +
1.21 \ No newline at end of file
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/Libraries/ThirdParty/mockito-all/licence.txt Fri Mar 15 14:14:52 2013 +0100
2.3 @@ -0,0 +1,15 @@
2.4 +Copyright (c) 2013 Mockito
2.5 +
2.6 +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
2.7 +(the "Software"), to deal in the Software without restriction,
2.8 +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
2.9 +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
2.10 +subject to the following conditions:
2.11 +
2.12 +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
2.13 +
2.14 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
2.15 +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
2.16 +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
2.17 +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2.18 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2.19 \ No newline at end of file
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/Libraries/ThirdParty/mockito-all/manifest.mf Fri Mar 15 14:14:52 2013 +0100
3.3 @@ -0,0 +1,5 @@
3.4 +Manifest-Version: 1.0
3.5 +OpenIDE-Module: org.mockito.all
3.6 +OpenIDE-Module-Localizing-Bundle: org/mockito/all/Bundle.properties
3.7 +OpenIDE-Module-Specification-Version: 1.9.5
3.8 +
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/Libraries/ThirdParty/mockito-all/nbproject/build-impl.xml Fri Mar 15 14:14:52 2013 +0100
4.3 @@ -0,0 +1,30 @@
4.4 +<?xml version="1.0" encoding="UTF-8"?>
4.5 +<!--
4.6 +*** GENERATED FROM project.xml - DO NOT EDIT ***
4.7 +*** EDIT ../build.xml INSTEAD ***
4.8 +-->
4.9 +<project name="org.mockito.all-impl" basedir="..">
4.10 + <property file="nbproject/private/suite-private.properties"/>
4.11 + <property file="nbproject/suite.properties"/>
4.12 + <fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
4.13 + <property file="${suite.dir}/nbproject/private/platform-private.properties"/>
4.14 + <property file="${suite.dir}/nbproject/platform.properties"/>
4.15 + <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
4.16 + <attribute name="name"/>
4.17 + <attribute name="value"/>
4.18 + <sequential>
4.19 + <property name="@{name}" value="${@{value}}"/>
4.20 + </sequential>
4.21 + </macrodef>
4.22 + <property file="${user.properties.file}"/>
4.23 + <nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
4.24 + <nbmproject2:property name="netbeans.dest.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
4.25 + <fail message="You must define 'nbplatform.${nbplatform.active}.harness.dir'">
4.26 + <condition>
4.27 + <not>
4.28 + <available file="${harness.dir}" type="dir"/>
4.29 + </not>
4.30 + </condition>
4.31 + </fail>
4.32 + <import file="${harness.dir}/build.xml"/>
4.33 +</project>
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/Libraries/ThirdParty/mockito-all/nbproject/genfiles.properties Fri Mar 15 14:14:52 2013 +0100
5.3 @@ -0,0 +1,8 @@
5.4 +build.xml.data.CRC32=491012c0
5.5 +build.xml.script.CRC32=cb5e963d
5.6 +build.xml.stylesheet.CRC32=a56c6a5b@2.56.1
5.7 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5.8 +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
5.9 +nbproject/build-impl.xml.data.CRC32=491012c0
5.10 +nbproject/build-impl.xml.script.CRC32=f4615645
5.11 +nbproject/build-impl.xml.stylesheet.CRC32=68e521fc@2.56.1
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/Libraries/ThirdParty/mockito-all/nbproject/project.properties Fri Mar 15 14:14:52 2013 +0100
6.3 @@ -0,0 +1,6 @@
6.4 +is.autoload=true
6.5 +javac.compilerargs=-Xlint -Xlint:-serial
6.6 +javac.source=1.6
6.7 +license.file=licence.txt
6.8 +nbm.homepage=http://code.google.com/p/mockito/
6.9 +nbm.module.author=Szczepan Faber and friends
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/Libraries/ThirdParty/mockito-all/nbproject/project.xml Fri Mar 15 14:14:52 2013 +0100
7.3 @@ -0,0 +1,91 @@
7.4 +<?xml version="1.0" encoding="UTF-8"?>
7.5 +<project xmlns="http://www.netbeans.org/ns/project/1">
7.6 + <type>org.netbeans.modules.apisupport.project</type>
7.7 + <configuration>
7.8 + <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
7.9 + <code-name-base>org.mockito.all</code-name-base>
7.10 + <suite-component/>
7.11 + <module-dependencies/>
7.12 + <public-packages>
7.13 + <package>org.hamcrest</package>
7.14 + <package>org.hamcrest.core</package>
7.15 + <package>org.hamcrest.internal</package>
7.16 + <package>org.mockito</package>
7.17 + <package>org.mockito.asm</package>
7.18 + <package>org.mockito.asm.signature</package>
7.19 + <package>org.mockito.asm.tree</package>
7.20 + <package>org.mockito.asm.tree.analysis</package>
7.21 + <package>org.mockito.asm.util</package>
7.22 + <package>org.mockito.cglib.beans</package>
7.23 + <package>org.mockito.cglib.core</package>
7.24 + <package>org.mockito.cglib.proxy</package>
7.25 + <package>org.mockito.cglib.reflect</package>
7.26 + <package>org.mockito.cglib.transform</package>
7.27 + <package>org.mockito.cglib.transform.impl</package>
7.28 + <package>org.mockito.cglib.util</package>
7.29 + <package>org.mockito.configuration</package>
7.30 + <package>org.mockito.exceptions</package>
7.31 + <package>org.mockito.exceptions.base</package>
7.32 + <package>org.mockito.exceptions.misusing</package>
7.33 + <package>org.mockito.exceptions.stacktrace</package>
7.34 + <package>org.mockito.exceptions.verification</package>
7.35 + <package>org.mockito.exceptions.verification.junit</package>
7.36 + <package>org.mockito.internal</package>
7.37 + <package>org.mockito.internal.configuration</package>
7.38 + <package>org.mockito.internal.configuration.injection</package>
7.39 + <package>org.mockito.internal.configuration.injection.filter</package>
7.40 + <package>org.mockito.internal.configuration.injection.scanner</package>
7.41 + <package>org.mockito.internal.creation</package>
7.42 + <package>org.mockito.internal.creation.cglib</package>
7.43 + <package>org.mockito.internal.creation.jmock</package>
7.44 + <package>org.mockito.internal.creation.settings</package>
7.45 + <package>org.mockito.internal.debugging</package>
7.46 + <package>org.mockito.internal.exceptions</package>
7.47 + <package>org.mockito.internal.exceptions.stacktrace</package>
7.48 + <package>org.mockito.internal.exceptions.util</package>
7.49 + <package>org.mockito.internal.handler</package>
7.50 + <package>org.mockito.internal.invocation</package>
7.51 + <package>org.mockito.internal.invocation.finder</package>
7.52 + <package>org.mockito.internal.invocation.realmethod</package>
7.53 + <package>org.mockito.internal.junit</package>
7.54 + <package>org.mockito.internal.listeners</package>
7.55 + <package>org.mockito.internal.matchers</package>
7.56 + <package>org.mockito.internal.matchers.apachecommons</package>
7.57 + <package>org.mockito.internal.progress</package>
7.58 + <package>org.mockito.internal.reporting</package>
7.59 + <package>org.mockito.internal.runners</package>
7.60 + <package>org.mockito.internal.runners.util</package>
7.61 + <package>org.mockito.internal.stubbing</package>
7.62 + <package>org.mockito.internal.stubbing.answers</package>
7.63 + <package>org.mockito.internal.stubbing.defaultanswers</package>
7.64 + <package>org.mockito.internal.util</package>
7.65 + <package>org.mockito.internal.util.collections</package>
7.66 + <package>org.mockito.internal.util.junit</package>
7.67 + <package>org.mockito.internal.util.reflection</package>
7.68 + <package>org.mockito.internal.verification</package>
7.69 + <package>org.mockito.internal.verification.api</package>
7.70 + <package>org.mockito.internal.verification.argumentmatching</package>
7.71 + <package>org.mockito.internal.verification.checkers</package>
7.72 + <package>org.mockito.invocation</package>
7.73 + <package>org.mockito.listeners</package>
7.74 + <package>org.mockito.mock</package>
7.75 + <package>org.mockito.plugins</package>
7.76 + <package>org.mockito.runners</package>
7.77 + <package>org.mockito.stubbing</package>
7.78 + <package>org.mockito.stubbing.answers</package>
7.79 + <package>org.mockito.verification</package>
7.80 + <package>org.objenesis</package>
7.81 + <package>org.objenesis.instantiator</package>
7.82 + <package>org.objenesis.instantiator.basic</package>
7.83 + <package>org.objenesis.instantiator.gcj</package>
7.84 + <package>org.objenesis.instantiator.jrockit</package>
7.85 + <package>org.objenesis.instantiator.sun</package>
7.86 + <package>org.objenesis.strategy</package>
7.87 + </public-packages>
7.88 + <class-path-extension>
7.89 + <runtime-relative-path>ext/mockito-all-1.9.5.jar</runtime-relative-path>
7.90 + <binary-origin>release/modules/ext/mockito-all-1.9.5.jar</binary-origin>
7.91 + </class-path-extension>
7.92 + </data>
7.93 + </configuration>
7.94 +</project>
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/Libraries/ThirdParty/mockito-all/nbproject/suite.properties Fri Mar 15 14:14:52 2013 +0100
8.3 @@ -0,0 +1,1 @@
8.4 +suite.dir=${basedir}/../../..
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/Libraries/ThirdParty/mockito-all/src/org/mockito/all/Bundle.properties Fri Mar 15 14:14:52 2013 +0100
9.3 @@ -0,0 +1,9 @@
9.4 +OpenIDE-Module-Display-Category=Testing Tools
9.5 +OpenIDE-Module-Long-Description=\
9.6 + Mockito is a mocking framework that tastes really good. \
9.7 + It lets you write beautiful tests with clean & simple API. \
9.8 + Mockito doesn't give you hangover because the tests are very readable and they produce clean verification errors. \
9.9 + Read more about features & motivations.\n\n\
9.10 + "We decided during the main conference that we should use JUnit 4 and Mockito because we think they are the future of TDD and mocking in Java" - Dan North, the originator of BDD
9.11 +OpenIDE-Module-Name=mockito-all
9.12 +OpenIDE-Module-Short-Description=Mockito simpler and better mocking
10.1 --- a/PLSQL/Utilities/nbproject/project.xml Tue Mar 12 17:18:41 2013 +0100
10.2 +++ b/PLSQL/Utilities/nbproject/project.xml Fri Mar 15 14:14:52 2013 +0100
10.3 @@ -153,11 +153,7 @@
10.4 <test-type>
10.5 <name>unit</name>
10.6 <test-dependency>
10.7 - <code-name-base>org.netbeans.modules.plsql.annotation</code-name-base>
10.8 - <compile-dependency/>
10.9 - </test-dependency>
10.10 - <test-dependency>
10.11 - <code-name-base>org.netbeans.modules.plsql.filetype</code-name-base>
10.12 + <code-name-base>org.mockito.all</code-name-base>
10.13 <compile-dependency/>
10.14 </test-dependency>
10.15 <test-dependency>
10.16 @@ -170,6 +166,14 @@
10.17 <compile-dependency/>
10.18 </test-dependency>
10.19 <test-dependency>
10.20 + <code-name-base>org.netbeans.modules.plsql.annotation</code-name-base>
10.21 + <compile-dependency/>
10.22 + </test-dependency>
10.23 + <test-dependency>
10.24 + <code-name-base>org.netbeans.modules.plsql.filetype</code-name-base>
10.25 + <compile-dependency/>
10.26 + </test-dependency>
10.27 + <test-dependency>
10.28 <code-name-base>org.netbeans.modules.projectapi</code-name-base>
10.29 <compile-dependency/>
10.30 </test-dependency>
11.1 --- a/nbproject/project.properties Tue Mar 12 17:18:41 2013 +0100
11.2 +++ b/nbproject/project.properties Fri Mar 15 14:14:52 2013 +0100
11.3 @@ -25,7 +25,9 @@
11.4 ${project.org.netbeans.modules.plsqlsupport.db.project}:\
11.5 ${project.org.netbeans.modules.plsqlsupport.options}:\
11.6 ${project.org.netbeans.modules.plsql.utilities}:\
11.7 - ${project.org.netbeans.modules.plsql.kit}
11.8 + ${project.org.netbeans.modules.plsql.kit}:\
11.9 + ${project.org.mockito.all}
11.10 +project.org.mockito.all=Libraries/ThirdParty/mockito-all
11.11 project.org.netbeans.modules.plsql.kit=plsql-support.kit
11.12 project.org.netbeans.modules.plsqlsupport.db=Utilities/Oracle
11.13 project.org.netbeans.modules.plsqlsupport.db.project=PLSQL/Project