diff --git a/.gitignore b/.gitignore index b067d85024e..46bf0be5bea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + build/replace.properties build/build.number bin/ diff --git a/KEYS b/KEYS new file mode 100644 index 00000000000..564aa799702 --- /dev/null +++ b/KEYS @@ -0,0 +1,142 @@ +This file contains the PGP keys of various developers. + +Users: pgp < KEYS + gpg --import KEYS +Developers: + pgp -kxa and append it to this file. + (pgpk -ll && pgpk -xa ) + >> this file. + (gpg --list-sigs + && gpg --armor --export ) >> + this file. +Type Bits/KeyID Date User ID +pub 4096R/CC56CEA8 2012-08-06 [expires: 2016-08-06] +uid Chip Childers +sig 3 CC56CEA8 2012-08-06 Chip Childers +sub 4096R/A99A5D58 2012-08-06 [expires: 2016-08-06] +sig CC56CEA8 2012-08-06 Chip Childers + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG/MacGPG2 v2.0.18 (Darwin) +Comment: GPGTools - http://gpgtools.org + +mQINBFAgC58BEADAGUUl5EP3pNsVbZMHejGbImIDvbNCkuGCmiVoC154k7FO7YjH +PnbB7kyzfyfsj8eA+mgHHvbzOTk/7dDeaudL561FfsTSxyeVt1ctzBYh9z2V2EMa +9mv48c226QXRf/GInzLS1iD1bOPq9H5RywW4h1u/JqT9KiuBuwowliDlHRornQRg +dhxnjITO6xOhQajqfVXQ1Kz3DcbU9OydfPLKshbfRJC6U5dhGk4AGWKsAJHJDlzj +SPswcJrkuDo0GB9o+nPYrKFRJZy5AyDtr7gmRz6EiGjlZWIf38KxfeNcE6oQPP+7 +9Exlx1ZnWT5Uv/8yU2lgtzhi7/zHw+uB6Ujh0+zCcVgS2Y9ldsA7T0b/Tvlp/Yz4 +hYUMVI6tPPSgehIzRMT4Ym4AcOG/0h5YtecSrOdHIl00htfr1Nj9vIAv8FurebVR +fnfaYbJNKgN3MJLdMSvmlaxvZipIZ6EbWU2BUl7mtZR8zsIoMJedxx9w38UBwdhp +jlxtH5ibZP/WKmIf2hqB4sYrwDioZailjRreNlC5drkljcOGoofXgu/Ahu6dZGHu +4sVH/g+8YhQt7zVs6ytaGLTud33NAELSn15DRrfxQm2sEFhHFKW8Lg0LvjB1RtiM +l2CmFCXk0MMi9IrU4/7q9E7teatztPBcF6Y+Afs16MqUfR81elyPF7YQlQARAQAB +tCdDaGlwIENoaWxkZXJzIDxjaGlwY2hpbGRlcnNAYXBhY2hlLm9yZz6JAj0EEwEC +ACcCGy8FCQeGH4ACHgECF4AFAlAgEF0FCwkIBwMFFQoJCAsFFgIDAQAACgkQw6OS +dcxWzqg0eBAAoHiNFFPNR0zdOELqz0luaTaNNUEit+LBHB1eA63hwY4PplfkOCg+ +UT2lojkZtsiNYuPi++Sub11+HQpVf4uDAGy5VtyIUl/tO3qRmULcJJwoXrYqHxd9 +xrrWYRhasKGNqPEB873UxMPgWVZYcKPRgwZKXUgLl7Dub5iCSVN/lCto5D45R8jA +RzeTjkNvyA+ZPUiblCuKZPSqd4WCN5MRG4muN3+5hwCL6xyrXIvsPkaZXQqhjw0Q +89PUSHhruoHzAi41lscXPF1ap93qvJ4QO12YM9GCQxLRyUOJStLj2OugOjVN/d0q +1ryuBo8ND/W/gYjzIPAQ2U5qkQEjQB/vfuIGl8Gn8s5XA9KtXHqVwz2hbGMpIoCM +0+27JEikrQOitfw86f0aWT1kaceMti7N2ECDEwjsnFf0Uz8dEJ2eInKZrlwgmM0S +/K2gf8/9pbhZ1X9LDYkATCqPzFRLyOuJeHNwcxSDPiWAALoPN57jLJ1702XjGcQt +NBf1p+ylXmdzZjcUz9mKHIEEX7unwp74AVEOyIXuLlyScDR9qTSHhVzCpWQntl6u +0WQmbaoLdAfhu5b80raMdnAbyGQIVtNV4RU0dP8IowkE7cHekHb3NE12K7n3Yx+d +msIXAMsvWx5scfS0HAqIauaA/Sg26lXwj6w60KB+wE1xA2VAWGunSP25Ag0EUCAL +nwEQAOQptLWHnr8uzTZlaRr1N6Aabvz3cLFXf4HCJdWMx9vShPuwWZqrJw4CAnVj +hZA/7NgyBXfBVfcW4Yno0KkHkpKsYy1pYUXIeBDX1FTLZ5H4o7Yv79RaHNl3kgX8 +OodIMGvAee2z4twkniO/u9mnjy1i56hoeQLRVfZZ25Rnlr5PnRdFcqBjMC91i6nr +XdS47Lb1Ttln0yPYtN9j5sD09HZiuCY/b685nB/UlxKhTsE2XfPjZFuBznnOl01/ +FLX8Nn/SeEySdI0gOlzLXU3EAnp0k1OLDXMXC8/EQ/bB4VIwuS4Vu3RmKA0kikgm +nKeuPOTfCpBzzyo/NXCop1Ik/iKgVkp12wRwMp/K5fDg88ib+A8Naxdu25dQCUxH +pJJJ+KwhNf/UKVGpUZOMDAYmUCfisNbulOeS0RMKNzwMXaZzQSvquO8GSlnQ0aal +7Jjl/X/x1boS1dfMAlEeC7jQOm4O4HqSGPEIdoyNbUKupFjytYq3HZ/WMF79kyFh +Xx7khOjiCtopc/sAasFCMa+55/OBN6FThQ4f97UdlyEVxnMADnqOH5uQH5oJ5Vck +k35JOAXWY2fbZSkvKLj7hUZhIx5ja7l4uEnAkM2SxXS+mW9oRfX+pxRAEziUMSaZ +VuGcHkiO/E8viWxtKWbkQw5Ii6OpNLy9wF7YiVSXr7b27lm5ABEBAAGJBEQEGAEC +AA8FAlAgC58CGy4FCQeGH4ACKQkQw6OSdcxWzqjBXSAEGQECAAYFAlAgC58ACgkQ +lD2YH6maXVgyUhAAhWGhG52edHVMELz4wWaqiMKKNPM6GKsI0ZvmaroF0EWt1n9U +TGDyXK+VX/7WXIhqWPdsT390zmwV0bAdXdziPoeQ7DlEz74IRzMBsyEZwMtZ5Q83 +JGDmhjCr3NBVgckzZOl0JXtzyQovtLvCN88WCUIuNaZ2GI6VG8wS3prsKOL9hRNx +y4NNPpCW/QB1/N4A3QlBdKSGyTKCg9VsMwvtZmBdupRipzj2X2DsTOr16TGU4OVW +GNkZ8rUIC6vG7iQctLO8efml3heQU06HJoT+uTZMfXyd7wxHc6SOAENy4ezF62Fd +O9+rtZkE3u0oiW5HUEO4DcE+ufA+Rz/pK6RV65AArb3j6yeX7/VefTGev4SyV+dU +9gplLiXgNEgTfr70uBg+cGV5nxUp0O7ooHMn1g2CnVIkBdPts2rU0wwI5JipsJJ0 +DpK+1x51D7cpUcQ4u/oWtUGHPMVIxXjDWVfwzs9QGy4H0/lqD8LOStuWkeY2IC08 +1ErnY/1TWhmXX7pieh0Zjn1uxi49nxJ9qW0u70CTSzJzz+/17G+f1n9rauKJqVOy +HIGU1TgJ7DjPiwvmMllfQFpRNf/5SV0/tjvsnjzN5YCjN4YaEbVajc9H/Wi8bVNg +ANb5v5FLuhAi04DO0k3bWewd9KE3H7I2uQNaNck/iuYEL6ImAPMA0GUzIbbkxA/+ +Mp4fBbo/i4JpDXEvg8Umeg0wx+otI2ogYFREZjYBWH8txMfGXKVjIfBsFclCm47v +H9wDJ7ISeOR1atWDjHYBE4J2JNqJJREIecztFPQBTo+YUgP6/zDO2RxeZRGYP1rO ++Eld5++kbFEWgi1kWxTKwMlomcoP6hdabA8v8KNZLxRGrKYfE+JMU+PHrfBvO2Ql +4BZ1kmmTaWmGXrgQgpJeWiirF8Ptg2Mq8rCfXnFbOp89ZRNyFDV2Fgyw3BPbPPXE +aygCwpRgHgUrp32gBAGdsdghNn8kN0DFygZKE0kRc6hR7ALiQWoTbA/G/BJjpJQt +RhR4k58e2kWh1uuyFaxcB+Vp/6HXYIe6o8fhX8jwVM47WbINFGbvaz1gGpGzJCY1 +HJBwTMu5IgQ8n69Gs7DCDTVqBOqiDKtdQyZBheWCsIJUkvBHtxkUb7K0kcIA3Fet +46k2GFOEkHCxbKpjeFhcW4atmEShOViiGKVR+g689feVQB6+mI9O4fXmsGO4Zq/k +mEku0Eg95q3+ugVpz8DLctnlvIHVdf6RPieojBKbqPu/34iJqenHmeQUy1TkRKIx +ZEX2mjtW/Tz5VnUX/MUFA67sGIpGJMsvr2sk3Zyovl7GVfsq5K2UqK5pRc2rO8zt +QHVJ58ybqkmx2NgDgmi1gvsoV51mn6TTVs1S/stCtW4= +=eCNG +-----END PGP PUBLIC KEY BLOCK----- + +Type Bits/KeyID Date User ID +pub 4096R/DB3ECA42 2012-08-07 [expires: 2017-08-06] +uid Wido den Hollander +sig 3 DB3ECA42 2012-08-07 Wido den Hollander +sub 4096R/50E9D98F 2012-08-07 +sig DB3ECA42 2012-08-07 Wido den Hollander + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.11 (GNU/Linux) + +mQINBFAg4ogBEADPUAOmj/KdLjp5Wz8oW5+fnx3gnhVABh1Xg5Uf36tDCLogSMya +Y9S8lZb8PgvtkK6fOqUCoViUvXAWM5/k7JbIv70cWGc+M4XgZTnI6GWlz08EkzNT +/DX4Y+OAks602KYLXVepI4SdpCKaZJK14Az48cfzFEZDmzMuNtS/sQhXQZSXe7pu +7pBPpQ2GP1aYqGRBYTkMD9fjQAM2U3qJ/5K0AzeIciOI6QxD+h2fIBMnu+XV0g0C +2SG6UVy1RBVYzylWZ1p63brFtskjDnPoXrjXOx3iUxV/pEH7nKziHDolMShp+bni +Cnw5QcrqkBQls84d+cdteJ40ZzoyiWg0isIsxLMA2L71WkziJZkigqqQ8O/HI4Dl +3/mz1I5R2hphorkBPVc5ZAirhB38FqLgW1eH0rd/TJR428APYkbh6QnWRCLfGl7C +UsdYmpUaNjFZFrHCBoyA9p8pNzsJuZBVIBa+xheJk71HT5zeAk+uDPuNJH0Tc5qc +E7XRxaaj0QQxBlmkgdW0kMIO93jjrCTuzmgJMAEym1KSPiQTJmr0fUuxLEL7gTy3 +a0I9sEnhbyn+yl6KZp0Ey/pZ8UOLD4TBwx1r1kXWXD7evTs0CCoPeyP0GRyjlhqH +WLlhEH2MtSWn+0SQIHiGh8XNh7ToySCquk1jslV89aX/sezRLJuly0k2hwARAQAB +tCNXaWRvIGRlbiBIb2xsYW5kZXIgPHdpZG9Ad2lkb2RoLm5sPokCPgQTAQIAKAIb +AwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AFAlAg6F4FCQlmrtgACgkQAZtYLds+ +ykLICxAAlSVW5i3yIuBhnjIpCPPkOtABJEz2zImyl3VNJ/JuRT1nOmcvsu39MALj +m93qsVvZOulyiYHMKg61QWHRXHimqdJe7wUH64Fm/Gf85jqzf6Db0HFCyR4ADHKH +8XFNNiGctutPAwDeUaUGFYE3RtDEU105z/SovfzFrLOSLQ9o1+48T0Dm5iCezHr1 +3AF7HJpbQ9D0ng5CTEK2YhYHAS6rPf48MJ949WQoSrLt1X3WEu62Bgcuwa8Ph9AM +7Y4K+uVNWNft+xK+SJml0pkYBTwc+tIXhT6tirnFa731g5wKDLIpTc5OWYvirO3w +EO+G0kuZsDRyQTqCo1DBax30xVazNKQ1/OTDZpVAkkejCqrh7UY4tc2C2FL+9V0b +I6oeysYZpO23CC92Qe5NESavWOUGl9v3rzRCON2rkkDEi8jFCKGsJIoL8S6LjeDn +b0JASbXhYhZMmZY1QwSKvlbnhQkxPb0Ww3jALQV31AWTwN9ACS0/gwh1+gCE+zvm +paoD3yGyZZbTOUx4jQq0diMpDRsxboqsKzPpUMCL7w1YNQpPH4KHNiFGJzLsL1LF ++kwXVLq0hJjblKr0H5hfbBLODG1ZgOC5GkkcMcM73PDq4zOKgGW8O+yrkPc2Rx0/ +ZAP117yP5RlgL2LLA1H0EgS2TKZanM9MxwBhS+YAV/e+hWEPpCa5Ag0EUCDiiAEQ +AKnpED7QljHFLNrzftOF67EOcCeu/tew+gaok135taDgsKW7FMfjF+uQje0nloM8 +482TSFRJAp74fFiKjNUPXcGNaUU2XwDiSDsnuzqRStzJ58jxVcGbnV8nHCw4X+0w +BQVo+PCaj5f8HAFdiZ4EHRC/P3BuH9QLNEY9zziPw0LG5vn+0Lr0DTsdWQl2vWWc +SIUNd+QnQ0icnSY3FLdxyscqHkUCOtu7NxI5WzdjtaFvgxZbPYJQHfm7B3OAJmg7 +/Gn4YSbN2p78sYLKfKu7YoYG1+wP8cJMHgYM03b7WQgHqII/v6RCNRDtT1k1Hfw2 +Dxid3IWkd8JUlwJFvnAL2sBgHqAt4xtooRkHcAnbcH9cO88ULgqWIfIEYosd/3/v +qvWTKZb/9B0p61gq6yOGOs1swAEWDdkkAAZJK6O0O5x/7J005uX3W9H8J2DqJQYK +jvp8Fph1sv0HVb+AfxhEtS/wfw34iaebNANMy5e369kt9oBXISubksQwgKFqPcsE +xteeyEhZ3qZUBmcTjl9PjrgFn2fMXoMRF9DB19dDFXISvg3tyJ+FCe+/Kppn6u+a +X7e0AltGLMBmfs1rcTPkmAFJglL5zi994iIXDv7/KWxX9QQC5BRICm5pSL8inWoO +6mU0cD5F9FrmkrfEVV+Ajmy/cH9UIiOJijdK7e/ImxShABEBAAGJAh8EGAECAAkF +AlAg4ogCGwwACgkQAZtYLds+ykI73Q//fYNKhEAvrFyF2d8OwVqHhzifIqsRycOg +D0Ib3tOkeNgwZYI+x6QIiYFHQalcMUFhwUea7RKYkW17Rhpj6W5hj7ie5x6cvtzI +5CeArcvoBj0KIRGUvsRl9XplXdaBhmBGibvEQBac2oCIVCBtTbsjkQlXPs+Q2SaJ +kyL8rbdmt06Tsc3iwN+ZjPGIluifaacvurJH8tntCWdhnFKwSwfsa3ZfJwuf3O2Q +J1q7JwYOwQbTR3K5CAyZ0HVYksiIoUqy6IzYvNmilAx2hkVCm2HjWXEvTwjSd709 +yXBbm7X9JkB0RYSzpHEBqL1aB7GMe/pCeGLgcGRoA0ZyYXMoM7/gnE/ZCDG2fWGm +JZZ0LJ8QVlZq4nG4lkco7mZqDOycyA68nfbpGaSXhJ7iKbdk4DT0OMr//RlHsiif +AZFM2ppJ5cOmJ9USMkgyHziS6zexM0bYzzPJsLgoq2rjelmzE0pu7NoIcOu3KlkS +HCLDLqIZEYg7EySBVgqJ67FlnpAMY1IaUJN4rYQ4LQEq0uUfmmhZnlp4qQQnZjFR +MrkLZNjHiv8v6JGklVurAQstvZBQXrUUH+/JhJM0U6gsPzgsn4DlpxFyr3nM1aaJ +uHR4OoUFg2G1Hbm7k4eb1SFT1jPEe3is4Oc8t1ORRfSBIH0FfLF1ylLFpSma5q+3 +HpWraBFdP78= +=I9dG +-----END PGP PUBLIC KEY BLOCK----- diff --git a/agent-simulator/.classpath b/agent-simulator/.classpath index 24edf1b5c6c..0ca4c4a8e9e 100644 --- a/agent-simulator/.classpath +++ b/agent-simulator/.classpath @@ -26,9 +26,7 @@ under the License. - - diff --git a/awsapi/.classpath b/awsapi/.classpath index e814eaefdc6..4dc46c4b1ec 100644 --- a/awsapi/.classpath +++ b/awsapi/.classpath @@ -22,64 +22,64 @@ under the License. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/awsapi/wsdl/AmazonEC2.wsdl b/awsapi/wsdl/AmazonEC2.wsdl deleted file mode 100644 index a341a5e809d..00000000000 --- a/awsapi/wsdl/AmazonEC2.wsdl +++ /dev/null @@ -1,4536 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/awsapi/wsdl/AmazonS3.xsd b/awsapi/wsdl/AmazonS3.xsd deleted file mode 100644 index b8f466495b8..00000000000 --- a/awsapi/wsdl/AmazonS3.xsd +++ /dev/null @@ -1,607 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/awsapi/wsdl/cloud-AmazonEC2.wsdl b/awsapi/wsdl/cloud-AmazonEC2.wsdl deleted file mode 100644 index b953b76d049..00000000000 --- a/awsapi/wsdl/cloud-AmazonEC2.wsdl +++ /dev/null @@ -1,4668 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/awsapi/wsdl/cloud-AmazonS3.wsdl b/awsapi/wsdl/cloud-AmazonS3.wsdl deleted file mode 100644 index 6e60a6ec753..00000000000 --- a/awsapi/wsdl/cloud-AmazonS3.wsdl +++ /dev/null @@ -1,370 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/core/.classpath b/core/.classpath index 281ee60d897..b345290cf90 100644 --- a/core/.classpath +++ b/core/.classpath @@ -19,7 +19,7 @@ under the License. --> - + diff --git a/core/src/com/cloud/network/resource/XTrustProvider.java b/core/src/com/cloud/network/resource/XTrustProvider.java deleted file mode 100644 index ec76b6bef5f..00000000000 --- a/core/src/com/cloud/network/resource/XTrustProvider.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * The contents of this file are subject to the "END USER LICENSE AGREEMENT FOR F5 - * Software Development Kit for iControl"; you may not use this file except in - * compliance with the License. The License is included in the iControl - * Software Development Kit. - * - * Software distributed under the License is distributed on an "AS IS" - * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See - * the License for the specific language governing rights and limitations - * under the License. - * - * The Original Code is iControl Code and related documentation - * distributed by F5. - * - * Portions created by F5 are Copyright (C) 1996-2004 F5 Networks - * Inc. All Rights Reserved. iControl (TM) is a registered trademark of - * F5 Networks, Inc. - * - * Alternatively, the contents of this file may be used under the terms - * of the GNU General Public License (the "GPL"), in which case the - * provisions of GPL are applicable instead of those above. If you wish - * to allow use of your version of this file only under the terms of the - * GPL and not to allow others to use your version of this file under the - * License, indicate your decision by deleting the provisions above and - * replace them with the notice and other provisions required by the GPL. - * If you do not delete the provisions above, a recipient may use your - * version of this file under either the License or the GPL. - */ -package com.cloud.network.resource; - -import java.security.AccessController; -import java.security.InvalidAlgorithmParameterException; -import java.security.KeyStore; -import java.security.KeyStoreException; -import java.security.PrivilegedAction; -import java.security.Security; -import java.security.cert.X509Certificate; - -import javax.net.ssl.ManagerFactoryParameters; -import javax.net.ssl.TrustManager; -import javax.net.ssl.TrustManagerFactorySpi; -import javax.net.ssl.X509TrustManager; - -public final class XTrustProvider extends java.security.Provider -{ - private final static String NAME = "XTrustJSSE"; - private final static String INFO = - "XTrust JSSE Provider (implements trust factory with truststore validation disabled)"; - private final static double VERSION = 1.0D; - - public XTrustProvider() - { - super(NAME, VERSION, INFO); - - AccessController.doPrivileged(new PrivilegedAction() - { - public Object run() - { - put("TrustManagerFactory." + TrustManagerFactoryImpl.getAlgorithm(), - TrustManagerFactoryImpl.class.getName()); - return null; - } - }); - } - - public static void install() - { - if(Security.getProvider(NAME) == null) - { - Security.insertProviderAt(new XTrustProvider(), 2); - Security.setProperty("ssl.TrustManagerFactory.algorithm", - TrustManagerFactoryImpl.getAlgorithm()); - } - } - - public final static class TrustManagerFactoryImpl extends TrustManagerFactorySpi - { - public TrustManagerFactoryImpl() { } - public static String getAlgorithm() { return "XTrust509"; } - protected void engineInit(KeyStore keystore) throws KeyStoreException { } - protected void engineInit(ManagerFactoryParameters mgrparams) - throws InvalidAlgorithmParameterException - { - throw new InvalidAlgorithmParameterException( - XTrustProvider.NAME + " does not use ManagerFactoryParameters"); - } - - protected TrustManager[] engineGetTrustManagers() - { - return new TrustManager[] { new X509TrustManager() - { - public X509Certificate[] getAcceptedIssuers() { return null; } - public void checkClientTrusted(X509Certificate[] certs, String authType) { } - public void checkServerTrusted(X509Certificate[] certs, String authType) { } - }}; - } - } - } diff --git a/core/src/com/cloud/storage/template/DownloadManagerImpl.java b/core/src/com/cloud/storage/template/DownloadManagerImpl.java index cd4b30d37ba..a8e0db24a5e 100755 --- a/core/src/com/cloud/storage/template/DownloadManagerImpl.java +++ b/core/src/com/cloud/storage/template/DownloadManagerImpl.java @@ -297,7 +297,7 @@ public class DownloadManagerImpl implements DownloadManager { } byte[] md5sum = digest.digest(); BigInteger bigInt = new BigInteger(1, md5sum); - checksum = String.format("%032x",bigInt); + checksum = String.format("%032x",bigInt.toString(16)); return checksum; }catch(IOException e) { return null; diff --git a/docs/runbook/en-US/config.xml b/docs/runbook/en-US/config.xml index 5f246031426..90c34957fb1 100644 --- a/docs/runbook/en-US/config.xml +++ b/docs/runbook/en-US/config.xml @@ -123,9 +123,7 @@ Name - We'll use Cluster1 - Hypervisor - If this is the first cluster, you may have already been prompted for which hypervisor you were going to use, in which case this will - be a read-only field. Otherwise choose KVM - + Hypervisor - Choose KVM @@ -140,15 +138,15 @@ Password - enter the operating system password for the root user - - Host tags - This is an optional field and we will leave it blank -
Primary Storage With you cluster now setup - you should be prompted for primary storage information. Choose NFS as the storage type and then enter the following values in the fields: + + Name - We'll use 'Primary1' + Server - We'll be using the IP address 172.16.10.2 diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java index 6862e14145c..7bff023b68b 100755 --- a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java +++ b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java @@ -155,6 +155,7 @@ import com.cloud.agent.api.to.VirtualMachineTO; import com.cloud.agent.api.to.VolumeTO; import com.cloud.hypervisor.kvm.resource.KVMHABase.NfsStoragePool; import com.cloud.hypervisor.kvm.resource.LibvirtVMDef.ConsoleDef; +import com.cloud.hypervisor.kvm.resource.LibvirtVMDef.CpuTuneDef; import com.cloud.hypervisor.kvm.resource.LibvirtVMDef.DevicesDef; import com.cloud.hypervisor.kvm.resource.LibvirtVMDef.DiskDef; import com.cloud.hypervisor.kvm.resource.LibvirtVMDef.DiskDef.diskProtocol; @@ -2477,6 +2478,10 @@ public class LibvirtComputingResource extends ServerResourceBase implements grd.setVcpuNum(vmTO.getCpus()); vm.addComp(grd); + CpuTuneDef ctd = new CpuTuneDef(); + ctd.setShares(vmTO.getCpus() * vmTO.getSpeed()); + vm.addComp(ctd); + FeaturesDef features = new FeaturesDef(); features.addFeatures("pae"); features.addFeatures("apic"); @@ -2552,9 +2557,6 @@ public class LibvirtComputingResource extends ServerResourceBase implements s_logger.debug("starting " + vmName + ": " + vm.toString()); startDomain(conn, vmName, vm.toString()); - Script.runSimpleBashScript("virsh schedinfo " + vmName - + " --set cpu_shares=" + vmSpec.getCpus() - * vmSpec.getSpeed()); NicTO[] nics = vmSpec.getNics(); for (NicTO nic : nics) { diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java index 457d9ac6c64..ba6c715e455 100644 --- a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java +++ b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java @@ -35,7 +35,7 @@ public class LibvirtVMDef { } enum bootOrder { - HARDISK("hd"), CDROM("cdrom"), FLOOPY("fd"), NETWORK("network"); + HARDISK("hd"), CDROM("cdrom"), FLOPPY("fd"), NETWORK("network"); String _order; bootOrder(String order) { @@ -323,7 +323,7 @@ public class LibvirtVMDef { public static class DiskDef { enum deviceType { - FLOOPY("floopy"), DISK("disk"), CDROM("cdrom"); + FLOPPY("floppy"), DISK("disk"), CDROM("cdrom"); String _type; deviceType(String type) { @@ -752,6 +752,29 @@ public class LibvirtVMDef { } } + public static class CpuTuneDef { + private int _shares = 0; + + public void setShares(int shares) { + _shares = shares; + } + + public int getShares() { + return _shares; + } + + @Override + public String toString() { + StringBuilder cpuTuneBuilder = new StringBuilder(); + cpuTuneBuilder.append("\n"); + if (_shares > 0) { + cpuTuneBuilder.append("" + _shares + "\n"); + } + cpuTuneBuilder.append("\n"); + return cpuTuneBuilder.toString(); + } + } + public static class SerialDef { private final String _type; private final String _source; diff --git a/plugins/hypervisors/xen/.classpath b/plugins/hypervisors/xen/.classpath index a1aa5dd4626..a7502472b3a 100755 --- a/plugins/hypervisors/xen/.classpath +++ b/plugins/hypervisors/xen/.classpath @@ -25,5 +25,6 @@ under the License. + diff --git a/plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java b/plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java index 501656f372d..bf7719249e2 100644 --- a/plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java +++ b/plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java @@ -134,8 +134,6 @@ public class F5BigIpResource implements ServerResource { @Override public boolean configure(String name, Map params) throws ConfigurationException { try { - XTrustProvider.install(); - _name = (String) params.get("name"); if (_name == null) { throw new ConfigurationException("Unable to find name"); diff --git a/plugins/network-elements/nicira-nvp/.classpath b/plugins/network-elements/nicira-nvp/.classpath index e02c2da9704..2905af1416d 100644 --- a/plugins/network-elements/nicira-nvp/.classpath +++ b/plugins/network-elements/nicira-nvp/.classpath @@ -19,7 +19,6 @@ under the License. --> - diff --git a/project_admin/process/committerVote.txt b/project_admin/process/committerVote.txt deleted file mode 100644 index 6cdc3300edc..00000000000 --- a/project_admin/process/committerVote.txt +++ /dev/null @@ -1,96 +0,0 @@ -Summary -======= - -1) templates/committerVote.txt -1a) request lazy consensus from IPMC -2) templates/committerInvite.txt - -after they accept, then do: - -3) templates/committerAccept.txt ... the normal process for dev-to-pmc -4) wait until we see that receipt of CLA is recorded -5) template/committerCreate.txt -5a) now wait until root says it is done -5b) chair to enable their svn access -6) template/committerDone.txt -7 template/committerAnnounce.txt -8) add them to the cloudstack-developers group in Jira. - -Discussion -========== - -We do the vote on the private mailing list to enable a frank discussion. - -Start a separate Vote thread for each new person. This makes it much -easier to review the mail archives. - -In most cases, we will be inviting people to go straight from developer -to PPMC member. However, there may be extraordinary cases where we want -limited work-related commit access. This will be resolved during the vote -discussion. http://forrest.apache.org/guidelines.html#elect (yes, I know -this is not the CloudStack project, we need to create our own guidelines) - -We need to be sure that they are committed people that we can work with. -They will be our peers. We will have already observed that they are -committed to the project and graceful toward users and other developers. - -Don't wait too long before proposing and don't be too hasty. There is a -trade-off and something about timeliness. A point is reached where it -becomes obvious that we should invite them. This encourages them and keeps -them enthusiastic. If we leave it too long, then we risk them becoming -disillusioned. - -On the PPMC list we can each say exactly what we feel about each person, -with no holds barred. Keep the discussion concise. The praise part can -be done later in public. - -See the end of this document for some guidelines to help you to assess a -candidate. - -Let the Vote thread run for one week. -A positive result is achieved by Consensus Approval -http://forrest.apache.org/guidelines.html#approvals -i.e. at least 3 +1 votes and no vetoes. -Any veto must be accompanied by reasoning and be prepared to defend it. -Other members can attempt to encourage them to change. - -New PPMC members can be either quiet or active as they choose. If we find -that certain people lapse and don't ever contribute, then we can take steps -to retire them. - -After a positive result, we give them a chance to decline in private. -They can post a reply to the PPMC mailing list. - -After we reach a decision on the PPMC list, and after the steps above, -we will announce it on the dev list. We can then each follow up with -our praise in public. - -There are template emails for each stage of the process at ./templates/ -These may need tweaks for each case. Also remember that these templates -are just a guide, especially the announcement one. - -Other notes about the process are at -http://incubator.apache.org/guides/ppmc.html -http://www.apache.org/dev/pmc.html#newcommitter - - - ------------------------------------------------------------------------- -Guidelines for assessing candidates ------------------------------------ - -When voting, you need to make up your own mind, perhaps search mailing lists -and Jira, etc. The following are some tips that we developed on the private@ -list. It seems that each time we discuss someone, then new ideas arise about -what we should look for, e.g. private@ archives early July 2006. -Also consider http://forrest.apache.org/committed.html - -0) Ability to work co-operatively with peers. Ability to be a mentor. -- How do we evaluate? By the interactions they have through mail. By how -they respond to criticism. By how they participate in decision-making process. -1) Community - How do we evaluate? By the interactions they have through mail. -2) Committment - How do we evaluate? By time, by sticking through tough -issues, by helping on not-so-fun tasks as well. -3) Personal skill/ability - How do we evaluate? A solid general understanding -of CloudStack. Quality of discussion in mail. Patches easy to apply with only -a cursory review. diff --git a/project_admin/readme.txt b/project_admin/readme.txt deleted file mode 100644 index 1b058312ca2..00000000000 --- a/project_admin/readme.txt +++ /dev/null @@ -1,3 +0,0 @@ -This folder contains items of relevance to the management of the Apache CloudStack (incubating) project. - -The contents of this folder and its subfolders are not required to run or work with CloudStack. diff --git a/project_admin/templates/committerAccept.txt b/project_admin/templates/committerAccept.txt deleted file mode 100644 index efe20fa2e7b..00000000000 --- a/project_admin/templates/committerAccept.txt +++ /dev/null @@ -1,47 +0,0 @@ -This is the followup email after they have accepted. - ------------------------------------------------------------------------- -To: JoeBloggs@foo.net -Cc: cloudstack-private@incubator.apache.org -Subject: Re: invitation to become CloudStack committer - -Welcome. Here are the next steps. After that we will make -an announcement to the cloudstack-dev list. - -You need to send a Contributor License Agreement to the ASF. -Normally you would send an Individual CLA. If you also make -contributions done in work time or using work resources then -see the Corporate CLA. Ask us if you have any issues. -http://www.apache.org/licenses/#clas - -You need to choose a preferred ASF user name and alternatives. -In order to ensure it is available you can view a list of taken ids at -http://www.apache.org/~jim/committers.html - -Please notify us when you have submitted the CLA and by what means -you did so. This will enable us to monitor its progress. - -We will arrange for your Apache user account when the CLA has -been recorded. - -After that is done, please make followup replies to the cloudstack-dev list. -We generally discuss everything there and keep this cloudstack-private@ list -for occasional matters which must be private. - -The developer section of the website describes the roles -and provides other resources: -http://www.apache.org/foundation/how-it-works.html -http://www.apache.org/dev/ - -The incubator also has some useful information for new committers -in incubating projects: -http://incubator.apache.org/guides/committer.html - -In the absence of our own guidelines document we are currently -using those developed at Apache Forrest: -http://forrest.apache.org/guidelines.html - -Yours, -The Apache CloudStack PPMC - ------------------------------------------------------------------------- diff --git a/project_admin/templates/committerAnnounce.txt b/project_admin/templates/committerAnnounce.txt deleted file mode 100644 index f2450dccea2..00000000000 --- a/project_admin/templates/committerAnnounce.txt +++ /dev/null @@ -1,23 +0,0 @@ -This is the email to announce to cloudstack-dev after the -followup acceptance. - -Replace the Joe Blogs in the subject, the ### in the body. - ------------------------------------------------------------- -To: cloudstack-dev@incubator.apache.org -Subject: new committer: ###Joe Bloggs - -The Podling Project Management Committee (PPMC) for Apache CloudStack -has asked #### ####### to become a committer and we are pleased to -announce that they have accepted. - -### add specific details here ### - -Being a committer enables easier contribution to the -project since there is no need to go via the patch -submission process. This should enable better productivity. - -Please join me in congratulating ######### - ---#####Name#### -on behalf of the CloudStack PPMC diff --git a/project_admin/templates/committerCreate.txt b/project_admin/templates/committerCreate.txt deleted file mode 100644 index ce3366aad4e..00000000000 --- a/project_admin/templates/committerCreate.txt +++ /dev/null @@ -1,38 +0,0 @@ -Account creation email for new committers. - -Follow the instructions at: -http://www.apache.org/dev/pmc.html#newcommitter - -Email is to be sent to root *after* the CLA is registered. -The PMC needs to monitor iclas.txt to be sure that the CLA -is properly received before sending this email. See above. - -Don't forget to add their name/email in the email headers -and add the date/Message-Id of the PMC vote summary. - -If the new member is already a committer, then just need -to ask root to add them to the UNIX groups. - -IPMC member updates the authorization file to add the new -committer to both the committer-? section and the podling -section of the file https://svn.apache.org/repos/infra/infrastructure/trunk/subversion/authorization/asf-authorization - -New PMC members need to be acknowledged by the IPMC, -after their account is created. - ------------------------- snip ------------------------------ -To: root@apache.org -Cc: cloudstack-private@incubator.apache.org, ###JoeBloggs@foo.net -Subject: account request: ###Joe Bloggs - -Full name: ... -Preferred userid: ... [please provide acceptable alternates!] -Forwarding email address: ... - -Requested UNIX groups: cloudstack - -The receipt of the ICLA was recorded yesterday. - -The vote was conducted on the cloudstack-private@incubator list -around YYYY-MM-DD ### -Message-Id: ### diff --git a/project_admin/templates/committerDone.txt b/project_admin/templates/committerDone.txt deleted file mode 100644 index c6988bc1f9a..00000000000 --- a/project_admin/templates/committerDone.txt +++ /dev/null @@ -1,45 +0,0 @@ -After the committer account is established. - ------------------------------------------------------------- -To: cloudstack-private@incubator.apache.org, ###JoeBloggs@foo.net -Subject: account request: ###Joe Bloggs - -####, as you know, the ASF Infrastructure has set up your -committer account as the username '####'. - -Please follow the instructions to set up your SSH, -svn password, svn configuration, mail forwarding, etc. -http://www.apache.org/dev/#committers - -Please subscribe to the CloudStack Podling Project Management -Committee mailing list private-cloudstack@incubator.apcahe.org. - -You should also join the general@incubator@apache.org list. - -You have commit access to specific sections of the -ASF repository, as follows: - - CloudStack has various resources at: - https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git - - - The general "committers" at: - https://svn.apache.org/repos/private/committers - -As per the documentation mentioned above, you need -to 'svn switch" previous checkouts to now use https. - -If you have any questions during this phase, then please -see the following resources: - -Apache developer's pages: http://www.apache.org/dev/ -Apache Incubator site: http://incubator.apache.org/ -Incubator Committers Guide: http://incubator.apache.org/guides/committer.html - -Naturally, if you don't understand anything be sure to -ask us on the CloudStack dev mailing list. Documentation is -maintained by volunteers and hence can be out-of-date and -incomplete. - -One of us will announce you to the dev list soon. - diff --git a/project_admin/templates/committerInvite.txt b/project_admin/templates/committerInvite.txt deleted file mode 100644 index 3b122feb88d..00000000000 --- a/project_admin/templates/committerInvite.txt +++ /dev/null @@ -1,38 +0,0 @@ -This is the invitation email, sent after a positive result -from the vote for a new committer. - -Don't send this until there has been 72 hours for a lazy consensus -on private@incubator.apache.org. - -Don't forget we need to forward this mail to -private@incubator.apache.org - ------------------------------------------------------------- -To: JoeBloggs@foo.net -Cc: cloudstack-private@incubator.apache.org -Subject: invitation to become CloudStack committer: Joe Bloggs ##### - -Hello #####, the Apache CloudStack Podling Project Management Committee -would like to invite you to become a CloudStack committer. We value -your contributions and are aware that you are committed to the project. - -Being a committer enables you to more easily make changes and so -not need to go via the patch submission process. This should -enable you to be more productive. - -While this does not mean that you need to participate any more -than you already do, it does tend to make one even more committed. -Hence you will probably find that you spend more time here. - -Of course, you can decline and instead remain as a developer, -contributing as you do now. - -This personal email is also providing a chance for you to decline -in private. Either way, please let us know in reply only to the -cloudstack-private@incubator.apache.org list. If you agree, then we will announce -on the cloudstack-dev@ list after the account is established. - -Yours, -The Apache CloudStack PPMC - ------------------------------------------------------------------------- diff --git a/project_admin/templates/committerVote.txt b/project_admin/templates/committerVote.txt deleted file mode 100644 index 47f329cc906..00000000000 --- a/project_admin/templates/committerVote.txt +++ /dev/null @@ -1,26 +0,0 @@ -This is the email to commence a vote for a new committer. -We do this on the CloudStack Private mailing list, so as to enable -a frank discussion. - -Pay special attention that the IPMC gets copied on this email - ------------------------------------------------------------- -To: cloudstack-private@incubator.apache.org -Cc: private@incubator.apache.org -Subject: [Vote] new CloudStack committer: Joe Bloggs - - [ add the reasons behind your nomination here ] - -Voting ends one week from today, i.e. midnight UTC on YYYY-MM-DD -http://www.timeanddate.com/counters/customcounter.html?year=YYYY&month=MM&day=DD - -[ ] +1 approve -[ ] +0 no opinion -[ ] -1 disapprove (and reason why) - - -See voting guidelines (we need some of those so this is a TODO) -https://svn.apache.org/repos/private/pmc/forrest/pmc-member-vote.txt -(yes, this links to the Apache Forrest Guidelines, we don't have our own yet) - ------------------------------------------------------------- diff --git a/project_admin/templates/committerVoteResults.txt b/project_admin/templates/committerVoteResults.txt deleted file mode 100644 index 3370bc1d5ec..00000000000 --- a/project_admin/templates/committerVoteResults.txt +++ /dev/null @@ -1,33 +0,0 @@ -This is the email to end a vote for a new PPMC member. -We do this on the CloudStack Private mailing list as that -is where the vote is held.. - -Remember that this also needs to be forwarded to -private@incubator.apache.org and a 72 hour period for lazy -consensus must follow before moving on to the next stage -(committerInvite.txt). - ------------------------------------------------------------- -To: cloudstack-private@incubator.apache.org -cc: private@incubator.apache.org -Subject: [RESULT] [Vote] new CloudStack committer: Joe Bloggs - -The vote has now closed. The results are: - -Binding Votes: - -+1 [TOTAL BINDING +1 VOTES] - 0 [TOTAL BINDING +0/-0 VOTES] --1 [TOTAL BINDING -1 VOTES] - -The following mentors provided votes: - -[If three binding +1 and no binding -1] - -The vote passes, we now need lazy consensus approval from the IPMC. This email -calls for that consensus. - -Consensus period ends 72 hours from now, i.e. XYZ UTC on YYYY-MM-DD -http://www.timeanddate.com/counters/customcounter.html?year=YYYY&month=MM&day=DD&hour=0&min=0&sec=0&p0=0 - ------------------------------------------------------------- diff --git a/server/.classpath b/server/.classpath index e134955b265..a0f42c77a6f 100755 --- a/server/.classpath +++ b/server/.classpath @@ -19,7 +19,7 @@ under the License. --> - + diff --git a/server/src/com/cloud/vm/UserVmManagerImpl.java b/server/src/com/cloud/vm/UserVmManagerImpl.java index 66c5fb41e30..82693e9c97e 100755 --- a/server/src/com/cloud/vm/UserVmManagerImpl.java +++ b/server/src/com/cloud/vm/UserVmManagerImpl.java @@ -3409,6 +3409,9 @@ public class UserVmManagerImpl implements UserVmManager, UserVmService, Manager //VV 2: check if account/domain is with in resource limits to create a new vm _resourceLimitMgr.checkResourceLimit(newAccount, ResourceType.user_vm); + //VV 3: check if volumes are with in resource limits + _resourceLimitMgr.checkResourceLimit(newAccount, ResourceType.volume, _volsDao.findByInstance(cmd.getVmId()).size()); + // VV 4: Check if new owner can use the vm template VirtualMachineTemplate template = _templateDao.findById(vm.getTemplateId()); if (!template.isPublicTemplate()) { diff --git a/tools/devcloud/build_vagrant_basebox.sh b/tools/devcloud/build_vagrant_basebox.sh index 1a9dc087b91..83429a12ff9 100755 --- a/tools/devcloud/build_vagrant_basebox.sh +++ b/tools/devcloud/build_vagrant_basebox.sh @@ -35,9 +35,9 @@ cd ~/builddevcloud/veewee bundle install rake install bundle exec vagrant basebox define 'devcloudbase' 'ubuntu-12.04-server-i386' -wget --no-check-certificate -O ./definitions/devcloudbase/definition.rb https://git-wip-us.apache.org/repos/asf\?p\=incubator-cloudstack.git\;a\=blob_plain\;f\=tools/devcloud/veewee/definition.rb\;hb\=HEAD -wget --no-check-certificate -O ./definitions/devcloudbase/postinstall.sh https://git-wip-us.apache.org/repos/asf\?p\=incubator-cloudstack.git\;a\=blob_plain\;f\=tools/devcloud/veewee/postinstall.sh\;hb\=HEAD -wget --no-check-certificate -O ./definitions/devcloudbase/preseed.cfg https://git-wip-us.apache.org/repos/asf\?p\=incubator-cloudstack.git\;a\=blob_plain\;f\=tools/devcloud/veewee/preseed.cfg\;hb\=HEAD +wget --no-check-certificate -O ./definitions/devcloudbase/definition.rb "https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;a=blob_plain;f=tools/devcloud/veewee/definition.rb;hb=HEAD" +wget --no-check-certificate -O ./definitions/devcloudbase/postinstall.sh "https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;a=blob_plain;f=tools/devcloud/veewee/postinstall.sh;hb=HEAD" +wget --no-check-certificate -O ./definitions/devcloudbase/preseed.cfg "https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;a=blob_plain;f=tools/devcloud/veewee/preseed.cfg;hb=HEAD" bundle exec vagrant basebox build 'devcloudbase' -f -a -n # possibly use -r here too ^ bundle exec vagrant basebox export 'devcloudbase' -f diff --git a/tools/devcloud/devcloudbox/puppet-devcloud/files/builddevcloud.sh b/tools/devcloud/devcloudbox/puppet-devcloud/files/builddevcloud.sh new file mode 100644 index 00000000000..7755766ec3f --- /dev/null +++ b/tools/devcloud/devcloudbox/puppet-devcloud/files/builddevcloud.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +export CATALINA_HOME=/opt/cloudstack/apache-tomcat-6.0.32 +cd /opt/cloudstack/incubator-cloudstack/ +/usr/bin/ant clean-all build-all deploy-server deploydb diff --git a/tools/devcloud/devcloudbox/puppet-devcloud/manifests/init.pp b/tools/devcloud/devcloudbox/puppet-devcloud/manifests/init.pp index 175e3265782..5547ed3fefa 100644 --- a/tools/devcloud/devcloudbox/puppet-devcloud/manifests/init.pp +++ b/tools/devcloud/devcloudbox/puppet-devcloud/manifests/init.pp @@ -289,16 +289,25 @@ class puppet-devcloud { ensure => latest, } + file { '/opt/cloudstack/buildcloudstack.sh': + ensure => 'file', + source => 'puppet:///modules/puppet-devcloud/builddevcloud.sh', + mode => '777', + owner => '0', + group => '0', + } + exec { "build_cloudstack": require => [ Package['ant'], Exec["catalina_home"], File['/opt/cloudstack/incubator-cloudstack/dist'], File['/opt/cloudstack/incubator-cloudstack/target'], - Package['mkisofs'] + Package['mkisofs'], + File['/opt/cloudstack/buildcloudstack.sh'] ], - command => "/usr/bin/ant clean-all build-all deploy-server deploydb", - cwd => "/opt/cloudstack/incubator-cloudstack/", + command => "/opt/cloudstack/buildcloudstack.sh", + cwd => "/opt/cloudstack/", timeout => '0', } diff --git a/tools/marvin/CHANGES.txt b/tools/marvin/CHANGES.txt index dc207fb992a..262c8845f72 100644 --- a/tools/marvin/CHANGES.txt +++ b/tools/marvin/CHANGES.txt @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + v0.1.0 Tuesday, April 10 2012 -- Packaging Marvin diff --git a/tools/marvin/MANIFEST.in b/tools/marvin/MANIFEST.in index 92036977a8c..3d373818c20 100644 --- a/tools/marvin/MANIFEST.in +++ b/tools/marvin/MANIFEST.in @@ -1,2 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + include *.txt -recursive-include docs *.txt \ No newline at end of file +recursive-include docs *.txt diff --git a/tools/marvin/docs/tutorial.txt b/tools/marvin/docs/tutorial.txt index 4da4b1b1ef1..a387e1b085e 100644 --- a/tools/marvin/docs/tutorial.txt +++ b/tools/marvin/docs/tutorial.txt @@ -1 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + + Can be found at : http://wiki.cloudstack.org/display/QA/Testing+with+python diff --git a/tools/marvin/marvin/__init__.py b/tools/marvin/marvin/__init__.py index a3ded0a92d3..f6494e7bf65 100644 --- a/tools/marvin/marvin/__init__.py +++ b/tools/marvin/marvin/__init__.py @@ -1 +1,18 @@ -#Marvin - The cloudstack test client \ No newline at end of file +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +#Marvin - The cloudstack test client diff --git a/tools/marvin/marvin/pymysql/__init__.py b/tools/marvin/marvin/pymysql/__init__.py deleted file mode 100644 index 903107e539a..00000000000 --- a/tools/marvin/marvin/pymysql/__init__.py +++ /dev/null @@ -1,131 +0,0 @@ -''' -PyMySQL: A pure-Python drop-in replacement for MySQLdb. - -Copyright (c) 2010 PyMySQL contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -''' - -VERSION = (0, 4, None) - -from constants import FIELD_TYPE -from converters import escape_dict, escape_sequence, escape_string -from err import Warning, Error, InterfaceError, DataError, \ - DatabaseError, OperationalError, IntegrityError, InternalError, \ - NotSupportedError, ProgrammingError, MySQLError -from times import Date, Time, Timestamp, \ - DateFromTicks, TimeFromTicks, TimestampFromTicks - -import sys - -try: - frozenset -except NameError: - from sets import ImmutableSet as frozenset - try: - from sets import BaseSet as set - except ImportError: - from sets import Set as set - -threadsafety = 1 -apilevel = "2.0" -paramstyle = "format" - -class DBAPISet(frozenset): - - - def __ne__(self, other): - if isinstance(other, set): - return super(DBAPISet, self).__ne__(self, other) - else: - return other not in self - - def __eq__(self, other): - if isinstance(other, frozenset): - return frozenset.__eq__(self, other) - else: - return other in self - - def __hash__(self): - return frozenset.__hash__(self) - - -STRING = DBAPISet([FIELD_TYPE.ENUM, FIELD_TYPE.STRING, - FIELD_TYPE.VAR_STRING]) -BINARY = DBAPISet([FIELD_TYPE.BLOB, FIELD_TYPE.LONG_BLOB, - FIELD_TYPE.MEDIUM_BLOB, FIELD_TYPE.TINY_BLOB]) -NUMBER = DBAPISet([FIELD_TYPE.DECIMAL, FIELD_TYPE.DOUBLE, FIELD_TYPE.FLOAT, - FIELD_TYPE.INT24, FIELD_TYPE.LONG, FIELD_TYPE.LONGLONG, - FIELD_TYPE.TINY, FIELD_TYPE.YEAR]) -DATE = DBAPISet([FIELD_TYPE.DATE, FIELD_TYPE.NEWDATE]) -TIME = DBAPISet([FIELD_TYPE.TIME]) -TIMESTAMP = DBAPISet([FIELD_TYPE.TIMESTAMP, FIELD_TYPE.DATETIME]) -DATETIME = TIMESTAMP -ROWID = DBAPISet() - -def Binary(x): - """Return x as a binary type.""" - return str(x) - -def Connect(*args, **kwargs): - """ - Connect to the database; see connections.Connection.__init__() for - more information. - """ - from connections import Connection - return Connection(*args, **kwargs) - -def get_client_info(): # for MySQLdb compatibility - return '%s.%s.%s' % VERSION - -connect = Connection = Connect - -# we include a doctored version_info here for MySQLdb compatibility -version_info = (1,2,2,"final",0) - -NULL = "NULL" - -__version__ = get_client_info() - -def thread_safe(): - return True # match MySQLdb.thread_safe() - -def install_as_MySQLdb(): - """ - After this function is called, any application that imports MySQLdb or - _mysql will unwittingly actually use - """ - sys.modules["MySQLdb"] = sys.modules["_mysql"] = sys.modules["pymysql"] - -__all__ = [ - 'BINARY', 'Binary', 'Connect', 'Connection', 'DATE', 'Date', - 'Time', 'Timestamp', 'DateFromTicks', 'TimeFromTicks', 'TimestampFromTicks', - 'DataError', 'DatabaseError', 'Error', 'FIELD_TYPE', 'IntegrityError', - 'InterfaceError', 'InternalError', 'MySQLError', 'NULL', 'NUMBER', - 'NotSupportedError', 'DBAPISet', 'OperationalError', 'ProgrammingError', - 'ROWID', 'STRING', 'TIME', 'TIMESTAMP', 'Warning', 'apilevel', 'connect', - 'connections', 'constants', 'converters', 'cursors', - 'escape_dict', 'escape_sequence', 'escape_string', 'get_client_info', - 'paramstyle', 'threadsafety', 'version_info', - - "install_as_MySQLdb", - - "NULL","__version__", - ] diff --git a/tools/marvin/marvin/pymysql/charset.py b/tools/marvin/marvin/pymysql/charset.py deleted file mode 100644 index 10a91bd19f2..00000000000 --- a/tools/marvin/marvin/pymysql/charset.py +++ /dev/null @@ -1,174 +0,0 @@ -MBLENGTH = { - 8:1, - 33:3, - 88:2, - 91:2 - } - -class Charset: - def __init__(self, id, name, collation, is_default): - self.id, self.name, self.collation = id, name, collation - self.is_default = is_default == 'Yes' - -class Charsets: - def __init__(self): - self._by_id = {} - - def add(self, c): - self._by_id[c.id] = c - - def by_id(self, id): - return self._by_id[id] - - def by_name(self, name): - for c in self._by_id.values(): - if c.name == name and c.is_default: - return c - -_charsets = Charsets() -""" -Generated with: - -mysql -N -s -e "select id, character_set_name, collation_name, is_default -from information_schema.collations order by id;" | python -c "import sys -for l in sys.stdin.readlines(): - id, name, collation, is_default = l.split(chr(9)) - print '_charsets.add(Charset(%s, \'%s\', \'%s\', \'%s\'))' \ - % (id, name, collation, is_default.strip()) -" - -""" -_charsets.add(Charset(1, 'big5', 'big5_chinese_ci', 'Yes')) -_charsets.add(Charset(2, 'latin2', 'latin2_czech_cs', '')) -_charsets.add(Charset(3, 'dec8', 'dec8_swedish_ci', 'Yes')) -_charsets.add(Charset(4, 'cp850', 'cp850_general_ci', 'Yes')) -_charsets.add(Charset(5, 'latin1', 'latin1_german1_ci', '')) -_charsets.add(Charset(6, 'hp8', 'hp8_english_ci', 'Yes')) -_charsets.add(Charset(7, 'koi8r', 'koi8r_general_ci', 'Yes')) -_charsets.add(Charset(8, 'latin1', 'latin1_swedish_ci', 'Yes')) -_charsets.add(Charset(9, 'latin2', 'latin2_general_ci', 'Yes')) -_charsets.add(Charset(10, 'swe7', 'swe7_swedish_ci', 'Yes')) -_charsets.add(Charset(11, 'ascii', 'ascii_general_ci', 'Yes')) -_charsets.add(Charset(12, 'ujis', 'ujis_japanese_ci', 'Yes')) -_charsets.add(Charset(13, 'sjis', 'sjis_japanese_ci', 'Yes')) -_charsets.add(Charset(14, 'cp1251', 'cp1251_bulgarian_ci', '')) -_charsets.add(Charset(15, 'latin1', 'latin1_danish_ci', '')) -_charsets.add(Charset(16, 'hebrew', 'hebrew_general_ci', 'Yes')) -_charsets.add(Charset(18, 'tis620', 'tis620_thai_ci', 'Yes')) -_charsets.add(Charset(19, 'euckr', 'euckr_korean_ci', 'Yes')) -_charsets.add(Charset(20, 'latin7', 'latin7_estonian_cs', '')) -_charsets.add(Charset(21, 'latin2', 'latin2_hungarian_ci', '')) -_charsets.add(Charset(22, 'koi8u', 'koi8u_general_ci', 'Yes')) -_charsets.add(Charset(23, 'cp1251', 'cp1251_ukrainian_ci', '')) -_charsets.add(Charset(24, 'gb2312', 'gb2312_chinese_ci', 'Yes')) -_charsets.add(Charset(25, 'greek', 'greek_general_ci', 'Yes')) -_charsets.add(Charset(26, 'cp1250', 'cp1250_general_ci', 'Yes')) -_charsets.add(Charset(27, 'latin2', 'latin2_croatian_ci', '')) -_charsets.add(Charset(28, 'gbk', 'gbk_chinese_ci', 'Yes')) -_charsets.add(Charset(29, 'cp1257', 'cp1257_lithuanian_ci', '')) -_charsets.add(Charset(30, 'latin5', 'latin5_turkish_ci', 'Yes')) -_charsets.add(Charset(31, 'latin1', 'latin1_german2_ci', '')) -_charsets.add(Charset(32, 'armscii8', 'armscii8_general_ci', 'Yes')) -_charsets.add(Charset(33, 'utf8', 'utf8_general_ci', 'Yes')) -_charsets.add(Charset(34, 'cp1250', 'cp1250_czech_cs', '')) -_charsets.add(Charset(35, 'ucs2', 'ucs2_general_ci', 'Yes')) -_charsets.add(Charset(36, 'cp866', 'cp866_general_ci', 'Yes')) -_charsets.add(Charset(37, 'keybcs2', 'keybcs2_general_ci', 'Yes')) -_charsets.add(Charset(38, 'macce', 'macce_general_ci', 'Yes')) -_charsets.add(Charset(39, 'macroman', 'macroman_general_ci', 'Yes')) -_charsets.add(Charset(40, 'cp852', 'cp852_general_ci', 'Yes')) -_charsets.add(Charset(41, 'latin7', 'latin7_general_ci', 'Yes')) -_charsets.add(Charset(42, 'latin7', 'latin7_general_cs', '')) -_charsets.add(Charset(43, 'macce', 'macce_bin', '')) -_charsets.add(Charset(44, 'cp1250', 'cp1250_croatian_ci', '')) -_charsets.add(Charset(47, 'latin1', 'latin1_bin', '')) -_charsets.add(Charset(48, 'latin1', 'latin1_general_ci', '')) -_charsets.add(Charset(49, 'latin1', 'latin1_general_cs', '')) -_charsets.add(Charset(50, 'cp1251', 'cp1251_bin', '')) -_charsets.add(Charset(51, 'cp1251', 'cp1251_general_ci', 'Yes')) -_charsets.add(Charset(52, 'cp1251', 'cp1251_general_cs', '')) -_charsets.add(Charset(53, 'macroman', 'macroman_bin', '')) -_charsets.add(Charset(57, 'cp1256', 'cp1256_general_ci', 'Yes')) -_charsets.add(Charset(58, 'cp1257', 'cp1257_bin', '')) -_charsets.add(Charset(59, 'cp1257', 'cp1257_general_ci', 'Yes')) -_charsets.add(Charset(63, 'binary', 'binary', 'Yes')) -_charsets.add(Charset(64, 'armscii8', 'armscii8_bin', '')) -_charsets.add(Charset(65, 'ascii', 'ascii_bin', '')) -_charsets.add(Charset(66, 'cp1250', 'cp1250_bin', '')) -_charsets.add(Charset(67, 'cp1256', 'cp1256_bin', '')) -_charsets.add(Charset(68, 'cp866', 'cp866_bin', '')) -_charsets.add(Charset(69, 'dec8', 'dec8_bin', '')) -_charsets.add(Charset(70, 'greek', 'greek_bin', '')) -_charsets.add(Charset(71, 'hebrew', 'hebrew_bin', '')) -_charsets.add(Charset(72, 'hp8', 'hp8_bin', '')) -_charsets.add(Charset(73, 'keybcs2', 'keybcs2_bin', '')) -_charsets.add(Charset(74, 'koi8r', 'koi8r_bin', '')) -_charsets.add(Charset(75, 'koi8u', 'koi8u_bin', '')) -_charsets.add(Charset(77, 'latin2', 'latin2_bin', '')) -_charsets.add(Charset(78, 'latin5', 'latin5_bin', '')) -_charsets.add(Charset(79, 'latin7', 'latin7_bin', '')) -_charsets.add(Charset(80, 'cp850', 'cp850_bin', '')) -_charsets.add(Charset(81, 'cp852', 'cp852_bin', '')) -_charsets.add(Charset(82, 'swe7', 'swe7_bin', '')) -_charsets.add(Charset(83, 'utf8', 'utf8_bin', '')) -_charsets.add(Charset(84, 'big5', 'big5_bin', '')) -_charsets.add(Charset(85, 'euckr', 'euckr_bin', '')) -_charsets.add(Charset(86, 'gb2312', 'gb2312_bin', '')) -_charsets.add(Charset(87, 'gbk', 'gbk_bin', '')) -_charsets.add(Charset(88, 'sjis', 'sjis_bin', '')) -_charsets.add(Charset(89, 'tis620', 'tis620_bin', '')) -_charsets.add(Charset(90, 'ucs2', 'ucs2_bin', '')) -_charsets.add(Charset(91, 'ujis', 'ujis_bin', '')) -_charsets.add(Charset(92, 'geostd8', 'geostd8_general_ci', 'Yes')) -_charsets.add(Charset(93, 'geostd8', 'geostd8_bin', '')) -_charsets.add(Charset(94, 'latin1', 'latin1_spanish_ci', '')) -_charsets.add(Charset(95, 'cp932', 'cp932_japanese_ci', 'Yes')) -_charsets.add(Charset(96, 'cp932', 'cp932_bin', '')) -_charsets.add(Charset(97, 'eucjpms', 'eucjpms_japanese_ci', 'Yes')) -_charsets.add(Charset(98, 'eucjpms', 'eucjpms_bin', '')) -_charsets.add(Charset(99, 'cp1250', 'cp1250_polish_ci', '')) -_charsets.add(Charset(128, 'ucs2', 'ucs2_unicode_ci', '')) -_charsets.add(Charset(129, 'ucs2', 'ucs2_icelandic_ci', '')) -_charsets.add(Charset(130, 'ucs2', 'ucs2_latvian_ci', '')) -_charsets.add(Charset(131, 'ucs2', 'ucs2_romanian_ci', '')) -_charsets.add(Charset(132, 'ucs2', 'ucs2_slovenian_ci', '')) -_charsets.add(Charset(133, 'ucs2', 'ucs2_polish_ci', '')) -_charsets.add(Charset(134, 'ucs2', 'ucs2_estonian_ci', '')) -_charsets.add(Charset(135, 'ucs2', 'ucs2_spanish_ci', '')) -_charsets.add(Charset(136, 'ucs2', 'ucs2_swedish_ci', '')) -_charsets.add(Charset(137, 'ucs2', 'ucs2_turkish_ci', '')) -_charsets.add(Charset(138, 'ucs2', 'ucs2_czech_ci', '')) -_charsets.add(Charset(139, 'ucs2', 'ucs2_danish_ci', '')) -_charsets.add(Charset(140, 'ucs2', 'ucs2_lithuanian_ci', '')) -_charsets.add(Charset(141, 'ucs2', 'ucs2_slovak_ci', '')) -_charsets.add(Charset(142, 'ucs2', 'ucs2_spanish2_ci', '')) -_charsets.add(Charset(143, 'ucs2', 'ucs2_roman_ci', '')) -_charsets.add(Charset(144, 'ucs2', 'ucs2_persian_ci', '')) -_charsets.add(Charset(145, 'ucs2', 'ucs2_esperanto_ci', '')) -_charsets.add(Charset(146, 'ucs2', 'ucs2_hungarian_ci', '')) -_charsets.add(Charset(192, 'utf8', 'utf8_unicode_ci', '')) -_charsets.add(Charset(193, 'utf8', 'utf8_icelandic_ci', '')) -_charsets.add(Charset(194, 'utf8', 'utf8_latvian_ci', '')) -_charsets.add(Charset(195, 'utf8', 'utf8_romanian_ci', '')) -_charsets.add(Charset(196, 'utf8', 'utf8_slovenian_ci', '')) -_charsets.add(Charset(197, 'utf8', 'utf8_polish_ci', '')) -_charsets.add(Charset(198, 'utf8', 'utf8_estonian_ci', '')) -_charsets.add(Charset(199, 'utf8', 'utf8_spanish_ci', '')) -_charsets.add(Charset(200, 'utf8', 'utf8_swedish_ci', '')) -_charsets.add(Charset(201, 'utf8', 'utf8_turkish_ci', '')) -_charsets.add(Charset(202, 'utf8', 'utf8_czech_ci', '')) -_charsets.add(Charset(203, 'utf8', 'utf8_danish_ci', '')) -_charsets.add(Charset(204, 'utf8', 'utf8_lithuanian_ci', '')) -_charsets.add(Charset(205, 'utf8', 'utf8_slovak_ci', '')) -_charsets.add(Charset(206, 'utf8', 'utf8_spanish2_ci', '')) -_charsets.add(Charset(207, 'utf8', 'utf8_roman_ci', '')) -_charsets.add(Charset(208, 'utf8', 'utf8_persian_ci', '')) -_charsets.add(Charset(209, 'utf8', 'utf8_esperanto_ci', '')) -_charsets.add(Charset(210, 'utf8', 'utf8_hungarian_ci', '')) - -def charset_by_name(name): - return _charsets.by_name(name) - -def charset_by_id(id): - return _charsets.by_id(id) - diff --git a/tools/marvin/marvin/pymysql/connections.py b/tools/marvin/marvin/pymysql/connections.py deleted file mode 100644 index 8897644ab09..00000000000 --- a/tools/marvin/marvin/pymysql/connections.py +++ /dev/null @@ -1,928 +0,0 @@ -# Python implementation of the MySQL client-server protocol -# http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol - -try: - import hashlib - sha_new = lambda *args, **kwargs: hashlib.new("sha1", *args, **kwargs) -except ImportError: - import sha - sha_new = sha.new - -import socket -try: - import ssl - SSL_ENABLED = True -except ImportError: - SSL_ENABLED = False - -import struct -import sys -import os -import ConfigParser - -try: - import cStringIO as StringIO -except ImportError: - import StringIO - -from charset import MBLENGTH, charset_by_name, charset_by_id -from cursors import Cursor -from constants import FIELD_TYPE, FLAG -from constants import SERVER_STATUS -from constants.CLIENT import * -from constants.COMMAND import * -from util import join_bytes, byte2int, int2byte -from converters import escape_item, encoders, decoders -from err import raise_mysql_exception, Warning, Error, \ - InterfaceError, DataError, DatabaseError, OperationalError, \ - IntegrityError, InternalError, NotSupportedError, ProgrammingError - -DEBUG = False - -NULL_COLUMN = 251 -UNSIGNED_CHAR_COLUMN = 251 -UNSIGNED_SHORT_COLUMN = 252 -UNSIGNED_INT24_COLUMN = 253 -UNSIGNED_INT64_COLUMN = 254 -UNSIGNED_CHAR_LENGTH = 1 -UNSIGNED_SHORT_LENGTH = 2 -UNSIGNED_INT24_LENGTH = 3 -UNSIGNED_INT64_LENGTH = 8 - -DEFAULT_CHARSET = 'latin1' - - -def dump_packet(data): - - def is_ascii(data): - if byte2int(data) >= 65 and byte2int(data) <= 122: #data.isalnum(): - return data - return '.' - print "packet length %d" % len(data) - print "method call[1]: %s" % sys._getframe(1).f_code.co_name - print "method call[2]: %s" % sys._getframe(2).f_code.co_name - print "method call[3]: %s" % sys._getframe(3).f_code.co_name - print "method call[4]: %s" % sys._getframe(4).f_code.co_name - print "method call[5]: %s" % sys._getframe(5).f_code.co_name - print "-" * 88 - dump_data = [data[i:i+16] for i in xrange(len(data)) if i%16 == 0] - for d in dump_data: - print ' '.join(map(lambda x:"%02X" % byte2int(x), d)) + \ - ' ' * (16 - len(d)) + ' ' * 2 + \ - ' '.join(map(lambda x:"%s" % is_ascii(x), d)) - print "-" * 88 - print "" - -def _scramble(password, message): - if password == None or len(password) == 0: - return int2byte(0) - if DEBUG: print 'password=' + password - stage1 = sha_new(password).digest() - stage2 = sha_new(stage1).digest() - s = sha_new() - s.update(message) - s.update(stage2) - result = s.digest() - return _my_crypt(result, stage1) - -def _my_crypt(message1, message2): - length = len(message1) - result = struct.pack('B', length) - for i in xrange(length): - x = (struct.unpack('B', message1[i:i+1])[0] ^ \ - struct.unpack('B', message2[i:i+1])[0]) - result += struct.pack('B', x) - return result - -# old_passwords support ported from libmysql/password.c -SCRAMBLE_LENGTH_323 = 8 - -class RandStruct_323(object): - def __init__(self, seed1, seed2): - self.max_value = 0x3FFFFFFFL - self.seed1 = seed1 % self.max_value - self.seed2 = seed2 % self.max_value - - def my_rnd(self): - self.seed1 = (self.seed1 * 3L + self.seed2) % self.max_value - self.seed2 = (self.seed1 + self.seed2 + 33L) % self.max_value - return float(self.seed1) / float(self.max_value) - -def _scramble_323(password, message): - hash_pass = _hash_password_323(password) - hash_message = _hash_password_323(message[:SCRAMBLE_LENGTH_323]) - hash_pass_n = struct.unpack(">LL", hash_pass) - hash_message_n = struct.unpack(">LL", hash_message) - - rand_st = RandStruct_323(hash_pass_n[0] ^ hash_message_n[0], - hash_pass_n[1] ^ hash_message_n[1]) - outbuf = StringIO.StringIO() - for _ in xrange(min(SCRAMBLE_LENGTH_323, len(message))): - outbuf.write(int2byte(int(rand_st.my_rnd() * 31) + 64)) - extra = int2byte(int(rand_st.my_rnd() * 31)) - out = outbuf.getvalue() - outbuf = StringIO.StringIO() - for c in out: - outbuf.write(int2byte(byte2int(c) ^ byte2int(extra))) - return outbuf.getvalue() - -def _hash_password_323(password): - nr = 1345345333L - add = 7L - nr2 = 0x12345671L - - for c in [byte2int(x) for x in password if x not in (' ', '\t')]: - nr^= (((nr & 63)+add)*c)+ (nr << 8) & 0xFFFFFFFF - nr2= (nr2 + ((nr2 << 8) ^ nr)) & 0xFFFFFFFF - add= (add + c) & 0xFFFFFFFF - - r1 = nr & ((1L << 31) - 1L) # kill sign bits - r2 = nr2 & ((1L << 31) - 1L) - - # pack - return struct.pack(">LL", r1, r2) - -def pack_int24(n): - return struct.pack('BBB', n&0xFF, (n>>8)&0xFF, (n>>16)&0xFF) - -def unpack_uint16(n): - return struct.unpack(' len(self.__data): - raise Exception('Invalid advance amount (%s) for cursor. ' - 'Position=%s' % (length, new_position)) - self.__position = new_position - - def rewind(self, position=0): - """Set the position of the data buffer cursor to 'position'.""" - if position < 0 or position > len(self.__data): - raise Exception("Invalid position to rewind cursor to: %s." % position) - self.__position = position - - def peek(self, size): - """Look at the first 'size' bytes in packet without moving cursor.""" - result = self.__data[self.__position:(self.__position+size)] - if len(result) != size: - error = ('Result length not requested length:\n' - 'Expected=%s. Actual=%s. Position: %s. Data Length: %s' - % (size, len(result), self.__position, len(self.__data))) - if DEBUG: - print error - self.dump() - raise AssertionError(error) - return result - - def get_bytes(self, position, length=1): - """Get 'length' bytes starting at 'position'. - - Position is start of payload (first four packet header bytes are not - included) starting at index '0'. - - No error checking is done. If requesting outside end of buffer - an empty string (or string shorter than 'length') may be returned! - """ - return self.__data[position:(position+length)] - - def read_length_coded_binary(self): - """Read a 'Length Coded Binary' number from the data buffer. - - Length coded numbers can be anywhere from 1 to 9 bytes depending - on the value of the first byte. - """ - c = byte2int(self.read(1)) - if c == NULL_COLUMN: - return None - if c < UNSIGNED_CHAR_COLUMN: - return c - elif c == UNSIGNED_SHORT_COLUMN: - return unpack_uint16(self.read(UNSIGNED_SHORT_LENGTH)) - elif c == UNSIGNED_INT24_COLUMN: - return unpack_int24(self.read(UNSIGNED_INT24_LENGTH)) - elif c == UNSIGNED_INT64_COLUMN: - # TODO: what was 'longlong'? confirm it wasn't used? - return unpack_int64(self.read(UNSIGNED_INT64_LENGTH)) - - def read_length_coded_string(self): - """Read a 'Length Coded String' from the data buffer. - - A 'Length Coded String' consists first of a length coded - (unsigned, positive) integer represented in 1-9 bytes followed by - that many bytes of binary data. (For example "cat" would be "3cat".) - """ - length = self.read_length_coded_binary() - if length is None: - return None - return self.read(length) - - def is_ok_packet(self): - return byte2int(self.get_bytes(0)) == 0 - - def is_eof_packet(self): - return byte2int(self.get_bytes(0)) == 254 # 'fe' - - def is_resultset_packet(self): - field_count = byte2int(self.get_bytes(0)) - return field_count >= 1 and field_count <= 250 - - def is_error_packet(self): - return byte2int(self.get_bytes(0)) == 255 - - def check_error(self): - if self.is_error_packet(): - self.rewind() - self.advance(1) # field_count == error (we already know that) - errno = unpack_uint16(self.read(2)) - if DEBUG: print "errno = %d" % errno - raise_mysql_exception(self.__data) - - def dump(self): - dump_packet(self.__data) - - -class FieldDescriptorPacket(MysqlPacket): - """A MysqlPacket that represents a specific column's metadata in the result. - - Parsing is automatically done and the results are exported via public - attributes on the class such as: db, table_name, name, length, type_code. - """ - - def __init__(self, *args): - MysqlPacket.__init__(self, *args) - self.__parse_field_descriptor() - - def __parse_field_descriptor(self): - """Parse the 'Field Descriptor' (Metadata) packet. - - This is compatible with MySQL 4.1+ (not compatible with MySQL 4.0). - """ - self.catalog = self.read_length_coded_string() - self.db = self.read_length_coded_string() - self.table_name = self.read_length_coded_string() - self.org_table = self.read_length_coded_string() - self.name = self.read_length_coded_string().decode(self.connection.charset) - self.org_name = self.read_length_coded_string() - self.advance(1) # non-null filler - self.charsetnr = struct.unpack(' 2: - use_unicode = True - - if compress or named_pipe: - raise NotImplementedError, "compress and named_pipe arguments are not supported" - - if ssl and (ssl.has_key('capath') or ssl.has_key('cipher')): - raise NotImplementedError, 'ssl options capath and cipher are not supported' - - self.ssl = False - if ssl: - if not SSL_ENABLED: - raise NotImplementedError, "ssl module not found" - self.ssl = True - client_flag |= SSL - for k in ('key', 'cert', 'ca'): - v = None - if ssl.has_key(k): - v = ssl[k] - setattr(self, k, v) - - if read_default_group and not read_default_file: - if sys.platform.startswith("win"): - read_default_file = "c:\\my.ini" - else: - read_default_file = "/etc/my.cnf" - - if read_default_file: - if not read_default_group: - read_default_group = "client" - - cfg = ConfigParser.RawConfigParser() - cfg.read(os.path.expanduser(read_default_file)) - - def _config(key, default): - try: - return cfg.get(read_default_group,key) - except: - return default - - user = _config("user",user) - passwd = _config("password",passwd) - host = _config("host", host) - db = _config("db",db) - unix_socket = _config("socket",unix_socket) - port = _config("port", port) - charset = _config("default-character-set", charset) - - self.host = host - self.port = port - self.user = user - self.password = passwd - self.db = db - self.unix_socket = unix_socket - if charset: - self.charset = charset - self.use_unicode = True - else: - self.charset = DEFAULT_CHARSET - self.use_unicode = False - - if use_unicode is not None: - self.use_unicode = use_unicode - - client_flag |= CAPABILITIES - client_flag |= MULTI_STATEMENTS - if self.db: - client_flag |= CONNECT_WITH_DB - self.client_flag = client_flag - - self.cursorclass = cursorclass - self.connect_timeout = connect_timeout - - self._connect() - - self.messages = [] - self.set_charset(charset) - self.encoders = encoders - self.decoders = conv - - self._result = None - self._affected_rows = 0 - self.host_info = "Not connected" - - self.autocommit(False) - - if sql_mode is not None: - c = self.cursor() - c.execute("SET sql_mode=%s", (sql_mode,)) - - self.commit() - - if init_command is not None: - c = self.cursor() - c.execute(init_command) - - self.commit() - - - def close(self): - ''' Send the quit message and close the socket ''' - if self.socket is None: - raise Error("Already closed") - send_data = struct.pack('= i + 1: - i += 1 - - self.server_capabilities = struct.unpack('= i+12-1: - rest_salt = data[i:i+12] - self.salt += rest_salt - - def get_server_info(self): - return self.server_version - - Warning = Warning - Error = Error - InterfaceError = InterfaceError - DatabaseError = DatabaseError - DataError = DataError - OperationalError = OperationalError - IntegrityError = IntegrityError - InternalError = InternalError - ProgrammingError = ProgrammingError - NotSupportedError = NotSupportedError - -# TODO: move OK and EOF packet parsing/logic into a proper subclass -# of MysqlPacket like has been done with FieldDescriptorPacket. -class MySQLResult(object): - - def __init__(self, connection): - from weakref import proxy - self.connection = proxy(connection) - self.affected_rows = None - self.insert_id = None - self.server_status = 0 - self.warning_count = 0 - self.message = None - self.field_count = 0 - self.description = None - self.rows = None - self.has_next = None - - def read(self): - self.first_packet = self.connection.read_packet() - - # TODO: use classes for different packet types? - if self.first_packet.is_ok_packet(): - self._read_ok_packet() - else: - self._read_result_packet() - - def _read_ok_packet(self): - self.first_packet.advance(1) # field_count (always '0') - self.affected_rows = self.first_packet.read_length_coded_binary() - self.insert_id = self.first_packet.read_length_coded_binary() - self.server_status = struct.unpack(' 2 - -try: - set -except NameError: - try: - from sets import BaseSet as set - except ImportError: - from sets import Set as set - -ESCAPE_REGEX = re.compile(r"[\0\n\r\032\'\"\\]") -ESCAPE_MAP = {'\0': '\\0', '\n': '\\n', '\r': '\\r', '\032': '\\Z', - '\'': '\\\'', '"': '\\"', '\\': '\\\\'} - -def escape_item(val, charset): - if type(val) in [tuple, list, set]: - return escape_sequence(val, charset) - if type(val) is dict: - return escape_dict(val, charset) - if PYTHON3 and hasattr(val, "decode") and not isinstance(val, unicode): - # deal with py3k bytes - val = val.decode(charset) - encoder = encoders[type(val)] - val = encoder(val) - if type(val) is str: - return val - val = val.encode(charset) - return val - -def escape_dict(val, charset): - n = {} - for k, v in val.items(): - quoted = escape_item(v, charset) - n[k] = quoted - return n - -def escape_sequence(val, charset): - n = [] - for item in val: - quoted = escape_item(item, charset) - n.append(quoted) - return "(" + ",".join(n) + ")" - -def escape_set(val, charset): - val = map(lambda x: escape_item(x, charset), val) - return ','.join(val) - -def escape_bool(value): - return str(int(value)) - -def escape_object(value): - return str(value) - -escape_int = escape_long = escape_object - -def escape_float(value): - return ('%.15g' % value) - -def escape_string(value): - return ("'%s'" % ESCAPE_REGEX.sub( - lambda match: ESCAPE_MAP.get(match.group(0)), value)) - -def escape_unicode(value): - return escape_string(value) - -def escape_None(value): - return 'NULL' - -def escape_timedelta(obj): - seconds = int(obj.seconds) % 60 - minutes = int(obj.seconds // 60) % 60 - hours = int(obj.seconds // 3600) % 24 + int(obj.days) * 24 - return escape_string('%02d:%02d:%02d' % (hours, minutes, seconds)) - -def escape_time(obj): - s = "%02d:%02d:%02d" % (int(obj.hour), int(obj.minute), - int(obj.second)) - if obj.microsecond: - s += ".%f" % obj.microsecond - - return escape_string(s) - -def escape_datetime(obj): - return escape_string(obj.strftime("%Y-%m-%d %H:%M:%S")) - -def escape_date(obj): - return escape_string(obj.strftime("%Y-%m-%d")) - -def escape_struct_time(obj): - return escape_datetime(datetime.datetime(*obj[:6])) - -def convert_datetime(connection, field, obj): - """Returns a DATETIME or TIMESTAMP column value as a datetime object: - - >>> datetime_or_None('2007-02-25 23:06:20') - datetime.datetime(2007, 2, 25, 23, 6, 20) - >>> datetime_or_None('2007-02-25T23:06:20') - datetime.datetime(2007, 2, 25, 23, 6, 20) - - Illegal values are returned as None: - - >>> datetime_or_None('2007-02-31T23:06:20') is None - True - >>> datetime_or_None('0000-00-00 00:00:00') is None - True - - """ - if not isinstance(obj, unicode): - obj = obj.decode(connection.charset) - if ' ' in obj: - sep = ' ' - elif 'T' in obj: - sep = 'T' - else: - return convert_date(connection, field, obj) - - try: - ymd, hms = obj.split(sep, 1) - return datetime.datetime(*[ int(x) for x in ymd.split('-')+hms.split(':') ]) - except ValueError: - return convert_date(connection, field, obj) - -def convert_timedelta(connection, field, obj): - """Returns a TIME column as a timedelta object: - - >>> timedelta_or_None('25:06:17') - datetime.timedelta(1, 3977) - >>> timedelta_or_None('-25:06:17') - datetime.timedelta(-2, 83177) - - Illegal values are returned as None: - - >>> timedelta_or_None('random crap') is None - True - - Note that MySQL always returns TIME columns as (+|-)HH:MM:SS, but - can accept values as (+|-)DD HH:MM:SS. The latter format will not - be parsed correctly by this function. - """ - from math import modf - try: - if not isinstance(obj, unicode): - obj = obj.decode(connection.charset) - hours, minutes, seconds = tuple([int(x) for x in obj.split(':')]) - tdelta = datetime.timedelta( - hours = int(hours), - minutes = int(minutes), - seconds = int(seconds), - microseconds = int(modf(float(seconds))[0]*1000000), - ) - return tdelta - except ValueError: - return None - -def convert_time(connection, field, obj): - """Returns a TIME column as a time object: - - >>> time_or_None('15:06:17') - datetime.time(15, 6, 17) - - Illegal values are returned as None: - - >>> time_or_None('-25:06:17') is None - True - >>> time_or_None('random crap') is None - True - - Note that MySQL always returns TIME columns as (+|-)HH:MM:SS, but - can accept values as (+|-)DD HH:MM:SS. The latter format will not - be parsed correctly by this function. - - Also note that MySQL's TIME column corresponds more closely to - Python's timedelta and not time. However if you want TIME columns - to be treated as time-of-day and not a time offset, then you can - use set this function as the converter for FIELD_TYPE.TIME. - """ - from math import modf - try: - hour, minute, second = obj.split(':') - return datetime.time(hour=int(hour), minute=int(minute), - second=int(second), - microsecond=int(modf(float(second))[0]*1000000)) - except ValueError: - return None - -def convert_date(connection, field, obj): - """Returns a DATE column as a date object: - - >>> date_or_None('2007-02-26') - datetime.date(2007, 2, 26) - - Illegal values are returned as None: - - >>> date_or_None('2007-02-31') is None - True - >>> date_or_None('0000-00-00') is None - True - - """ - try: - if not isinstance(obj, unicode): - obj = obj.decode(connection.charset) - return datetime.date(*[ int(x) for x in obj.split('-', 2) ]) - except ValueError: - return None - -def convert_mysql_timestamp(connection, field, timestamp): - """Convert a MySQL TIMESTAMP to a Timestamp object. - - MySQL >= 4.1 returns TIMESTAMP in the same format as DATETIME: - - >>> mysql_timestamp_converter('2007-02-25 22:32:17') - datetime.datetime(2007, 2, 25, 22, 32, 17) - - MySQL < 4.1 uses a big string of numbers: - - >>> mysql_timestamp_converter('20070225223217') - datetime.datetime(2007, 2, 25, 22, 32, 17) - - Illegal values are returned as None: - - >>> mysql_timestamp_converter('2007-02-31 22:32:17') is None - True - >>> mysql_timestamp_converter('00000000000000') is None - True - - """ - if not isinstance(timestamp, unicode): - timestamp = timestamp.decode(connection.charset) - - if timestamp[4] == '-': - return convert_datetime(connection, field, timestamp) - timestamp += "0"*(14-len(timestamp)) # padding - year, month, day, hour, minute, second = \ - int(timestamp[:4]), int(timestamp[4:6]), int(timestamp[6:8]), \ - int(timestamp[8:10]), int(timestamp[10:12]), int(timestamp[12:14]) - try: - return datetime.datetime(year, month, day, hour, minute, second) - except ValueError: - return None - -def convert_set(s): - return set(s.split(",")) - -def convert_bit(connection, field, b): - #b = "\x00" * (8 - len(b)) + b # pad w/ zeroes - #return struct.unpack(">Q", b)[0] - # - # the snippet above is right, but MySQLdb doesn't process bits, - # so we shouldn't either - return b - -def convert_characters(connection, field, data): - field_charset = charset_by_id(field.charsetnr).name - if field.flags & FLAG.SET: - return convert_set(data.decode(field_charset)) - if field.flags & FLAG.BINARY: - return data - - if connection.use_unicode: - data = data.decode(field_charset) - elif connection.charset != field_charset: - data = data.decode(field_charset) - data = data.encode(connection.charset) - return data - -def convert_int(connection, field, data): - return int(data) - -def convert_long(connection, field, data): - return long(data) - -def convert_float(connection, field, data): - return float(data) - -encoders = { - bool: escape_bool, - int: escape_int, - long: escape_long, - float: escape_float, - str: escape_string, - unicode: escape_unicode, - tuple: escape_sequence, - list:escape_sequence, - set:escape_sequence, - dict:escape_dict, - type(None):escape_None, - datetime.date: escape_date, - datetime.datetime : escape_datetime, - datetime.timedelta : escape_timedelta, - datetime.time : escape_time, - time.struct_time : escape_struct_time, - } - -decoders = { - FIELD_TYPE.BIT: convert_bit, - FIELD_TYPE.TINY: convert_int, - FIELD_TYPE.SHORT: convert_int, - FIELD_TYPE.LONG: convert_long, - FIELD_TYPE.FLOAT: convert_float, - FIELD_TYPE.DOUBLE: convert_float, - FIELD_TYPE.DECIMAL: convert_float, - FIELD_TYPE.NEWDECIMAL: convert_float, - FIELD_TYPE.LONGLONG: convert_long, - FIELD_TYPE.INT24: convert_int, - FIELD_TYPE.YEAR: convert_int, - FIELD_TYPE.TIMESTAMP: convert_mysql_timestamp, - FIELD_TYPE.DATETIME: convert_datetime, - FIELD_TYPE.TIME: convert_timedelta, - FIELD_TYPE.DATE: convert_date, - FIELD_TYPE.SET: convert_set, - FIELD_TYPE.BLOB: convert_characters, - FIELD_TYPE.TINY_BLOB: convert_characters, - FIELD_TYPE.MEDIUM_BLOB: convert_characters, - FIELD_TYPE.LONG_BLOB: convert_characters, - FIELD_TYPE.STRING: convert_characters, - FIELD_TYPE.VAR_STRING: convert_characters, - FIELD_TYPE.VARCHAR: convert_characters, - #FIELD_TYPE.BLOB: str, - #FIELD_TYPE.STRING: str, - #FIELD_TYPE.VAR_STRING: str, - #FIELD_TYPE.VARCHAR: str - } -conversions = decoders # for MySQLdb compatibility - -try: - # python version > 2.3 - from decimal import Decimal - def convert_decimal(connection, field, data): - data = data.decode(connection.charset) - return Decimal(data) - decoders[FIELD_TYPE.DECIMAL] = convert_decimal - decoders[FIELD_TYPE.NEWDECIMAL] = convert_decimal - - def escape_decimal(obj): - return unicode(obj) - encoders[Decimal] = escape_decimal - -except ImportError: - pass diff --git a/tools/marvin/marvin/pymysql/cursors.py b/tools/marvin/marvin/pymysql/cursors.py deleted file mode 100644 index 4e10f83f4fa..00000000000 --- a/tools/marvin/marvin/pymysql/cursors.py +++ /dev/null @@ -1,297 +0,0 @@ -# -*- coding: utf-8 -*- -import struct -import re - -try: - import cStringIO as StringIO -except ImportError: - import StringIO - -from err import Warning, Error, InterfaceError, DataError, \ - DatabaseError, OperationalError, IntegrityError, InternalError, \ - NotSupportedError, ProgrammingError - -insert_values = re.compile(r'\svalues\s*(\(.+\))', re.IGNORECASE) - -class Cursor(object): - ''' - This is the object you use to interact with the database. - ''' - def __init__(self, connection): - ''' - Do not create an instance of a Cursor yourself. Call - connections.Connection.cursor(). - ''' - from weakref import proxy - self.connection = proxy(connection) - self.description = None - self.rownumber = 0 - self.rowcount = -1 - self.arraysize = 1 - self._executed = None - self.messages = [] - self.errorhandler = connection.errorhandler - self._has_next = None - self._rows = () - - def __del__(self): - ''' - When this gets GC'd close it. - ''' - self.close() - - def close(self): - ''' - Closing a cursor just exhausts all remaining data. - ''' - if not self.connection: - return - try: - while self.nextset(): - pass - except: - pass - - self.connection = None - - def _get_db(self): - if not self.connection: - self.errorhandler(self, ProgrammingError, "cursor closed") - return self.connection - - def _check_executed(self): - if not self._executed: - self.errorhandler(self, ProgrammingError, "execute() first") - - def setinputsizes(self, *args): - """Does nothing, required by DB API.""" - - def setoutputsizes(self, *args): - """Does nothing, required by DB API.""" - - def nextset(self): - ''' Get the next query set ''' - if self._executed: - self.fetchall() - del self.messages[:] - - if not self._has_next: - return None - connection = self._get_db() - connection.next_result() - self._do_get_result() - return True - - def execute(self, query, args=None): - ''' Execute a query ''' - from sys import exc_info - - conn = self._get_db() - charset = conn.charset - del self.messages[:] - - # TODO: make sure that conn.escape is correct - - if args is not None: - if isinstance(args, tuple) or isinstance(args, list): - escaped_args = tuple(conn.escape(arg) for arg in args) - elif isinstance(args, dict): - escaped_args = dict((key, conn.escape(val)) for (key, val) in args.items()) - else: - #If it's not a dictionary let's try escaping it anyways. - #Worst case it will throw a Value error - escaped_args = conn.escape(args) - - query = query % escaped_args - - if isinstance(query, unicode): - query = query.encode(charset) - - result = 0 - try: - result = self._query(query) - except: - exc, value, tb = exc_info() - del tb - self.messages.append((exc,value)) - self.errorhandler(self, exc, value) - - self._executed = query - return result - - def executemany(self, query, args): - ''' Run several data against one query ''' - del self.messages[:] - #conn = self._get_db() - if not args: - return - #charset = conn.charset - #if isinstance(query, unicode): - # query = query.encode(charset) - - self.rowcount = sum([ self.execute(query, arg) for arg in args ]) - return self.rowcount - - - def callproc(self, procname, args=()): - """Execute stored procedure procname with args - - procname -- string, name of procedure to execute on server - - args -- Sequence of parameters to use with procedure - - Returns the original args. - - Compatibility warning: PEP-249 specifies that any modified - parameters must be returned. This is currently impossible - as they are only available by storing them in a server - variable and then retrieved by a query. Since stored - procedures return zero or more result sets, there is no - reliable way to get at OUT or INOUT parameters via callproc. - The server variables are named @_procname_n, where procname - is the parameter above and n is the position of the parameter - (from zero). Once all result sets generated by the procedure - have been fetched, you can issue a SELECT @_procname_0, ... - query using .execute() to get any OUT or INOUT values. - - Compatibility warning: The act of calling a stored procedure - itself creates an empty result set. This appears after any - result sets generated by the procedure. This is non-standard - behavior with respect to the DB-API. Be sure to use nextset() - to advance through all result sets; otherwise you may get - disconnected. - """ - conn = self._get_db() - for index, arg in enumerate(args): - q = "SET @_%s_%d=%s" % (procname, index, conn.escape(arg)) - if isinstance(q, unicode): - q = q.encode(conn.charset) - self._query(q) - self.nextset() - - q = "CALL %s(%s)" % (procname, - ','.join(['@_%s_%d' % (procname, i) - for i in range(len(args))])) - if isinstance(q, unicode): - q = q.encode(conn.charset) - self._query(q) - self._executed = q - - return args - - def fetchone(self): - ''' Fetch the next row ''' - self._check_executed() - if self._rows is None or self.rownumber >= len(self._rows): - return None - result = self._rows[self.rownumber] - self.rownumber += 1 - return result - - def fetchmany(self, size=None): - ''' Fetch several rows ''' - self._check_executed() - end = self.rownumber + (size or self.arraysize) - result = self._rows[self.rownumber:end] - if self._rows is None: - return None - self.rownumber = min(end, len(self._rows)) - return result - - def fetchall(self): - ''' Fetch all the rows ''' - self._check_executed() - if self._rows is None: - return None - if self.rownumber: - result = self._rows[self.rownumber:] - else: - result = self._rows - self.rownumber = len(self._rows) - return result - - def scroll(self, value, mode='relative'): - self._check_executed() - if mode == 'relative': - r = self.rownumber + value - elif mode == 'absolute': - r = value - else: - self.errorhandler(self, ProgrammingError, - "unknown scroll mode %s" % mode) - - if r < 0 or r >= len(self._rows): - self.errorhandler(self, IndexError, "out of range") - self.rownumber = r - - def _query(self, q): - conn = self._get_db() - self._last_executed = q - conn.query(q) - self._do_get_result() - return self.rowcount - - def _do_get_result(self): - conn = self._get_db() - self.rowcount = conn._result.affected_rows - - self.rownumber = 0 - self.description = conn._result.description - self.lastrowid = conn._result.insert_id - self._rows = conn._result.rows - self._has_next = conn._result.has_next - - def __iter__(self): - return iter(self.fetchone, None) - - Warning = Warning - Error = Error - InterfaceError = InterfaceError - DatabaseError = DatabaseError - DataError = DataError - OperationalError = OperationalError - IntegrityError = IntegrityError - InternalError = InternalError - ProgrammingError = ProgrammingError - NotSupportedError = NotSupportedError - -class DictCursor(Cursor): - """A cursor which returns results as a dictionary""" - - def execute(self, query, args=None): - result = super(DictCursor, self).execute(query, args) - if self.description: - self._fields = [ field[0] for field in self.description ] - return result - - def fetchone(self): - ''' Fetch the next row ''' - self._check_executed() - if self._rows is None or self.rownumber >= len(self._rows): - return None - result = dict(zip(self._fields, self._rows[self.rownumber])) - self.rownumber += 1 - return result - - def fetchmany(self, size=None): - ''' Fetch several rows ''' - self._check_executed() - if self._rows is None: - return None - end = self.rownumber + (size or self.arraysize) - result = [ dict(zip(self._fields, r)) for r in self._rows[self.rownumber:end] ] - self.rownumber = min(end, len(self._rows)) - return tuple(result) - - def fetchall(self): - ''' Fetch all the rows ''' - self._check_executed() - if self._rows is None: - return None - if self.rownumber: - result = [ dict(zip(self._fields, r)) for r in self._rows[self.rownumber:] ] - else: - result = [ dict(zip(self._fields, r)) for r in self._rows ] - self.rownumber = len(self._rows) - return tuple(result) - diff --git a/tools/marvin/marvin/pymysql/err.py b/tools/marvin/marvin/pymysql/err.py deleted file mode 100644 index b4322c63354..00000000000 --- a/tools/marvin/marvin/pymysql/err.py +++ /dev/null @@ -1,147 +0,0 @@ -import struct - - -try: - StandardError, Warning -except ImportError: - try: - from exceptions import StandardError, Warning - except ImportError: - import sys - e = sys.modules['exceptions'] - StandardError = e.StandardError - Warning = e.Warning - -from constants import ER -import sys - -class MySQLError(StandardError): - - """Exception related to operation with MySQL.""" - - -class Warning(Warning, MySQLError): - - """Exception raised for important warnings like data truncations - while inserting, etc.""" - -class Error(MySQLError): - - """Exception that is the base class of all other error exceptions - (not Warning).""" - - -class InterfaceError(Error): - - """Exception raised for errors that are related to the database - interface rather than the database itself.""" - - -class DatabaseError(Error): - - """Exception raised for errors that are related to the - database.""" - - -class DataError(DatabaseError): - - """Exception raised for errors that are due to problems with the - processed data like division by zero, numeric value out of range, - etc.""" - - -class OperationalError(DatabaseError): - - """Exception raised for errors that are related to the database's - operation and not necessarily under the control of the programmer, - e.g. an unexpected disconnect occurs, the data source name is not - found, a transaction could not be processed, a memory allocation - error occurred during processing, etc.""" - - -class IntegrityError(DatabaseError): - - """Exception raised when the relational integrity of the database - is affected, e.g. a foreign key check fails, duplicate key, - etc.""" - - -class InternalError(DatabaseError): - - """Exception raised when the database encounters an internal - error, e.g. the cursor is not valid anymore, the transaction is - out of sync, etc.""" - - -class ProgrammingError(DatabaseError): - - """Exception raised for programming errors, e.g. table not found - or already exists, syntax error in the SQL statement, wrong number - of parameters specified, etc.""" - - -class NotSupportedError(DatabaseError): - - """Exception raised in case a method or database API was used - which is not supported by the database, e.g. requesting a - .rollback() on a connection that does not support transaction or - has transactions turned off.""" - - -error_map = {} - -def _map_error(exc, *errors): - for error in errors: - error_map[error] = exc - -_map_error(ProgrammingError, ER.DB_CREATE_EXISTS, ER.SYNTAX_ERROR, - ER.PARSE_ERROR, ER.NO_SUCH_TABLE, ER.WRONG_DB_NAME, - ER.WRONG_TABLE_NAME, ER.FIELD_SPECIFIED_TWICE, - ER.INVALID_GROUP_FUNC_USE, ER.UNSUPPORTED_EXTENSION, - ER.TABLE_MUST_HAVE_COLUMNS, ER.CANT_DO_THIS_DURING_AN_TRANSACTION) -_map_error(DataError, ER.WARN_DATA_TRUNCATED, ER.WARN_NULL_TO_NOTNULL, - ER.WARN_DATA_OUT_OF_RANGE, ER.NO_DEFAULT, ER.PRIMARY_CANT_HAVE_NULL, - ER.DATA_TOO_LONG, ER.DATETIME_FUNCTION_OVERFLOW) -_map_error(IntegrityError, ER.DUP_ENTRY, ER.NO_REFERENCED_ROW, - ER.NO_REFERENCED_ROW_2, ER.ROW_IS_REFERENCED, ER.ROW_IS_REFERENCED_2, - ER.CANNOT_ADD_FOREIGN) -_map_error(NotSupportedError, ER.WARNING_NOT_COMPLETE_ROLLBACK, - ER.NOT_SUPPORTED_YET, ER.FEATURE_DISABLED, ER.UNKNOWN_STORAGE_ENGINE) -_map_error(OperationalError, ER.DBACCESS_DENIED_ERROR, ER.ACCESS_DENIED_ERROR, - ER.TABLEACCESS_DENIED_ERROR, ER.COLUMNACCESS_DENIED_ERROR) - -del _map_error, ER - - -def _get_error_info(data): - errno = struct.unpack(' tuple) - c.execute("SELECT * from dictcursor where name='bob'") - r = c.fetchall() - self.assertEqual((bob,),r,"fetch a 1 row result via fetchall failed via DictCursor") - # same test again but iterate over the - c.execute("SELECT * from dictcursor where name='bob'") - for r in c: - self.assertEqual(bob, r,"fetch a 1 row result via iteration failed via DictCursor") - # get all 3 row via fetchall - c.execute("SELECT * from dictcursor") - r = c.fetchall() - self.assertEqual((bob,jim,fred), r, "fetchall failed via DictCursor") - #same test again but do a list comprehension - c.execute("SELECT * from dictcursor") - r = [x for x in c] - self.assertEqual([bob,jim,fred], r, "list comprehension failed via DictCursor") - # get all 2 row via fetchmany - c.execute("SELECT * from dictcursor") - r = c.fetchmany(2) - self.assertEqual((bob,jim), r, "fetchmany failed via DictCursor") - finally: - c.execute("drop table dictcursor") - -__all__ = ["TestDictCursor"] - -if __name__ == "__main__": - import unittest - unittest.main() diff --git a/tools/marvin/marvin/pymysql/tests/test_basic.py b/tools/marvin/marvin/pymysql/tests/test_basic.py deleted file mode 100644 index c8fdd297f44..00000000000 --- a/tools/marvin/marvin/pymysql/tests/test_basic.py +++ /dev/null @@ -1,193 +0,0 @@ -from pymysql.tests import base -from pymysql import util - -import time -import datetime - -class TestConversion(base.PyMySQLTestCase): - def test_datatypes(self): - """ test every data type """ - conn = self.connections[0] - c = conn.cursor() - c.execute("create table test_datatypes (b bit, i int, l bigint, f real, s varchar(32), u varchar(32), bb blob, d date, dt datetime, ts timestamp, td time, t time, st datetime)") - try: - # insert values - v = (True, -3, 123456789012, 5.7, "hello'\" world", u"Espa\xc3\xb1ol", "binary\x00data".encode(conn.charset), datetime.date(1988,2,2), datetime.datetime.now(), datetime.timedelta(5,6), datetime.time(16,32), time.localtime()) - c.execute("insert into test_datatypes (b,i,l,f,s,u,bb,d,dt,td,t,st) values (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)", v) - c.execute("select b,i,l,f,s,u,bb,d,dt,td,t,st from test_datatypes") - r = c.fetchone() - self.assertEqual(util.int2byte(1), r[0]) - self.assertEqual(v[1:8], r[1:8]) - # mysql throws away microseconds so we need to check datetimes - # specially. additionally times are turned into timedeltas. - self.assertEqual(datetime.datetime(*v[8].timetuple()[:6]), r[8]) - self.assertEqual(v[9], r[9]) # just timedeltas - self.assertEqual(datetime.timedelta(0, 60 * (v[10].hour * 60 + v[10].minute)), r[10]) - self.assertEqual(datetime.datetime(*v[-1][:6]), r[-1]) - - c.execute("delete from test_datatypes") - - # check nulls - c.execute("insert into test_datatypes (b,i,l,f,s,u,bb,d,dt,td,t,st) values (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)", [None] * 12) - c.execute("select b,i,l,f,s,u,bb,d,dt,td,t,st from test_datatypes") - r = c.fetchone() - self.assertEqual(tuple([None] * 12), r) - - c.execute("delete from test_datatypes") - - # check sequence type - c.execute("insert into test_datatypes (i, l) values (2,4), (6,8), (10,12)") - c.execute("select l from test_datatypes where i in %s order by i", ((2,6),)) - r = c.fetchall() - self.assertEqual(((4,),(8,)), r) - finally: - c.execute("drop table test_datatypes") - - def test_dict(self): - """ test dict escaping """ - conn = self.connections[0] - c = conn.cursor() - c.execute("create table test_dict (a integer, b integer, c integer)") - try: - c.execute("insert into test_dict (a,b,c) values (%(a)s, %(b)s, %(c)s)", {"a":1,"b":2,"c":3}) - c.execute("select a,b,c from test_dict") - self.assertEqual((1,2,3), c.fetchone()) - finally: - c.execute("drop table test_dict") - - def test_string(self): - conn = self.connections[0] - c = conn.cursor() - c.execute("create table test_dict (a text)") - test_value = "I am a test string" - try: - c.execute("insert into test_dict (a) values (%s)", test_value) - c.execute("select a from test_dict") - self.assertEqual((test_value,), c.fetchone()) - finally: - c.execute("drop table test_dict") - - def test_integer(self): - conn = self.connections[0] - c = conn.cursor() - c.execute("create table test_dict (a integer)") - test_value = 12345 - try: - c.execute("insert into test_dict (a) values (%s)", test_value) - c.execute("select a from test_dict") - self.assertEqual((test_value,), c.fetchone()) - finally: - c.execute("drop table test_dict") - - - def test_big_blob(self): - """ test tons of data """ - conn = self.connections[0] - c = conn.cursor() - c.execute("create table test_big_blob (b blob)") - try: - data = "pymysql" * 1024 - c.execute("insert into test_big_blob (b) values (%s)", (data,)) - c.execute("select b from test_big_blob") - self.assertEqual(data.encode(conn.charset), c.fetchone()[0]) - finally: - c.execute("drop table test_big_blob") - -class TestCursor(base.PyMySQLTestCase): - # this test case does not work quite right yet, however, - # we substitute in None for the erroneous field which is - # compatible with the DB-API 2.0 spec and has not broken - # any unit tests for anything we've tried. - - #def test_description(self): - # """ test description attribute """ - # # result is from MySQLdb module - # r = (('Host', 254, 11, 60, 60, 0, 0), - # ('User', 254, 16, 16, 16, 0, 0), - # ('Password', 254, 41, 41, 41, 0, 0), - # ('Select_priv', 254, 1, 1, 1, 0, 0), - # ('Insert_priv', 254, 1, 1, 1, 0, 0), - # ('Update_priv', 254, 1, 1, 1, 0, 0), - # ('Delete_priv', 254, 1, 1, 1, 0, 0), - # ('Create_priv', 254, 1, 1, 1, 0, 0), - # ('Drop_priv', 254, 1, 1, 1, 0, 0), - # ('Reload_priv', 254, 1, 1, 1, 0, 0), - # ('Shutdown_priv', 254, 1, 1, 1, 0, 0), - # ('Process_priv', 254, 1, 1, 1, 0, 0), - # ('File_priv', 254, 1, 1, 1, 0, 0), - # ('Grant_priv', 254, 1, 1, 1, 0, 0), - # ('References_priv', 254, 1, 1, 1, 0, 0), - # ('Index_priv', 254, 1, 1, 1, 0, 0), - # ('Alter_priv', 254, 1, 1, 1, 0, 0), - # ('Show_db_priv', 254, 1, 1, 1, 0, 0), - # ('Super_priv', 254, 1, 1, 1, 0, 0), - # ('Create_tmp_table_priv', 254, 1, 1, 1, 0, 0), - # ('Lock_tables_priv', 254, 1, 1, 1, 0, 0), - # ('Execute_priv', 254, 1, 1, 1, 0, 0), - # ('Repl_slave_priv', 254, 1, 1, 1, 0, 0), - # ('Repl_client_priv', 254, 1, 1, 1, 0, 0), - # ('Create_view_priv', 254, 1, 1, 1, 0, 0), - # ('Show_view_priv', 254, 1, 1, 1, 0, 0), - # ('Create_routine_priv', 254, 1, 1, 1, 0, 0), - # ('Alter_routine_priv', 254, 1, 1, 1, 0, 0), - # ('Create_user_priv', 254, 1, 1, 1, 0, 0), - # ('Event_priv', 254, 1, 1, 1, 0, 0), - # ('Trigger_priv', 254, 1, 1, 1, 0, 0), - # ('ssl_type', 254, 0, 9, 9, 0, 0), - # ('ssl_cipher', 252, 0, 65535, 65535, 0, 0), - # ('x509_issuer', 252, 0, 65535, 65535, 0, 0), - # ('x509_subject', 252, 0, 65535, 65535, 0, 0), - # ('max_questions', 3, 1, 11, 11, 0, 0), - # ('max_updates', 3, 1, 11, 11, 0, 0), - # ('max_connections', 3, 1, 11, 11, 0, 0), - # ('max_user_connections', 3, 1, 11, 11, 0, 0)) - # conn = self.connections[0] - # c = conn.cursor() - # c.execute("select * from mysql.user") - # - # self.assertEqual(r, c.description) - - def test_fetch_no_result(self): - """ test a fetchone() with no rows """ - conn = self.connections[0] - c = conn.cursor() - c.execute("create table test_nr (b varchar(32))") - try: - data = "pymysql" - c.execute("insert into test_nr (b) values (%s)", (data,)) - self.assertEqual(None, c.fetchone()) - finally: - c.execute("drop table test_nr") - - def test_aggregates(self): - """ test aggregate functions """ - conn = self.connections[0] - c = conn.cursor() - try: - c.execute('create table test_aggregates (i integer)') - for i in xrange(0, 10): - c.execute('insert into test_aggregates (i) values (%s)', (i,)) - c.execute('select sum(i) from test_aggregates') - r, = c.fetchone() - self.assertEqual(sum(range(0,10)), r) - finally: - c.execute('drop table test_aggregates') - - def test_single_tuple(self): - """ test a single tuple """ - conn = self.connections[0] - c = conn.cursor() - try: - c.execute("create table mystuff (id integer primary key)") - c.execute("insert into mystuff (id) values (1)") - c.execute("insert into mystuff (id) values (2)") - c.execute("select id from mystuff where id in %s", ((1,),)) - self.assertEqual([(1,)], list(c.fetchall())) - finally: - c.execute("drop table mystuff") - -__all__ = ["TestConversion","TestCursor"] - -if __name__ == "__main__": - import unittest - unittest.main() diff --git a/tools/marvin/marvin/pymysql/tests/test_example.py b/tools/marvin/marvin/pymysql/tests/test_example.py deleted file mode 100644 index 2da05db31c6..00000000000 --- a/tools/marvin/marvin/pymysql/tests/test_example.py +++ /dev/null @@ -1,32 +0,0 @@ -import pymysql -from pymysql.tests import base - -class TestExample(base.PyMySQLTestCase): - def test_example(self): - conn = pymysql.connect(host='127.0.0.1', port=3306, user='root', passwd='', db='mysql') - - - cur = conn.cursor() - - cur.execute("SELECT Host,User FROM user") - - # print cur.description - - # r = cur.fetchall() - # print r - # ...or... - u = False - - for r in cur.fetchall(): - u = u or conn.user in r - - self.assertTrue(u) - - cur.close() - conn.close() - -__all__ = ["TestExample"] - -if __name__ == "__main__": - import unittest - unittest.main() diff --git a/tools/marvin/marvin/pymysql/tests/test_issues.py b/tools/marvin/marvin/pymysql/tests/test_issues.py deleted file mode 100644 index 38d71639c90..00000000000 --- a/tools/marvin/marvin/pymysql/tests/test_issues.py +++ /dev/null @@ -1,268 +0,0 @@ -import pymysql -from pymysql.tests import base - -import sys - -try: - import imp - reload = imp.reload -except AttributeError: - pass - -import datetime - -class TestOldIssues(base.PyMySQLTestCase): - def test_issue_3(self): - """ undefined methods datetime_or_None, date_or_None """ - conn = self.connections[0] - c = conn.cursor() - c.execute("create table issue3 (d date, t time, dt datetime, ts timestamp)") - try: - c.execute("insert into issue3 (d, t, dt, ts) values (%s,%s,%s,%s)", (None, None, None, None)) - c.execute("select d from issue3") - self.assertEqual(None, c.fetchone()[0]) - c.execute("select t from issue3") - self.assertEqual(None, c.fetchone()[0]) - c.execute("select dt from issue3") - self.assertEqual(None, c.fetchone()[0]) - c.execute("select ts from issue3") - self.assertTrue(isinstance(c.fetchone()[0], datetime.datetime)) - finally: - c.execute("drop table issue3") - - def test_issue_4(self): - """ can't retrieve TIMESTAMP fields """ - conn = self.connections[0] - c = conn.cursor() - c.execute("create table issue4 (ts timestamp)") - try: - c.execute("insert into issue4 (ts) values (now())") - c.execute("select ts from issue4") - self.assertTrue(isinstance(c.fetchone()[0], datetime.datetime)) - finally: - c.execute("drop table issue4") - - def test_issue_5(self): - """ query on information_schema.tables fails """ - con = self.connections[0] - cur = con.cursor() - cur.execute("select * from information_schema.tables") - - def test_issue_6(self): - """ exception: TypeError: ord() expected a character, but string of length 0 found """ - conn = pymysql.connect(host="localhost",user="root",passwd="",db="mysql") - c = conn.cursor() - c.execute("select * from user") - conn.close() - - def test_issue_8(self): - """ Primary Key and Index error when selecting data """ - conn = self.connections[0] - c = conn.cursor() - c.execute("""CREATE TABLE `test` (`station` int(10) NOT NULL DEFAULT '0', `dh` -datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `echeance` int(1) NOT NULL -DEFAULT '0', `me` double DEFAULT NULL, `mo` double DEFAULT NULL, PRIMARY -KEY (`station`,`dh`,`echeance`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;""") - try: - self.assertEqual(0, c.execute("SELECT * FROM test")) - c.execute("ALTER TABLE `test` ADD INDEX `idx_station` (`station`)") - self.assertEqual(0, c.execute("SELECT * FROM test")) - finally: - c.execute("drop table test") - - def test_issue_9(self): - """ sets DeprecationWarning in Python 2.6 """ - try: - reload(pymysql) - except DeprecationWarning: - self.fail() - - def test_issue_10(self): - """ Allocate a variable to return when the exception handler is permissive """ - conn = self.connections[0] - conn.errorhandler = lambda cursor, errorclass, errorvalue: None - cur = conn.cursor() - cur.execute( "create table t( n int )" ) - cur.execute( "create table t( n int )" ) - - def test_issue_13(self): - """ can't handle large result fields """ - conn = self.connections[0] - cur = conn.cursor() - try: - cur.execute("create table issue13 (t text)") - # ticket says 18k - size = 18*1024 - cur.execute("insert into issue13 (t) values (%s)", ("x" * size,)) - cur.execute("select t from issue13") - # use assert_ so that obscenely huge error messages don't print - r = cur.fetchone()[0] - self.assert_("x" * size == r) - finally: - cur.execute("drop table issue13") - - def test_issue_14(self): - """ typo in converters.py """ - self.assertEqual('1', pymysql.converters.escape_item(1, "utf8")) - self.assertEqual('1', pymysql.converters.escape_item(1L, "utf8")) - - self.assertEqual('1', pymysql.converters.escape_object(1)) - self.assertEqual('1', pymysql.converters.escape_object(1L)) - - def test_issue_15(self): - """ query should be expanded before perform character encoding """ - conn = self.connections[0] - c = conn.cursor() - c.execute("create table issue15 (t varchar(32))") - try: - c.execute("insert into issue15 (t) values (%s)", (u'\xe4\xf6\xfc',)) - c.execute("select t from issue15") - self.assertEqual(u'\xe4\xf6\xfc', c.fetchone()[0]) - finally: - c.execute("drop table issue15") - - def test_issue_16(self): - """ Patch for string and tuple escaping """ - conn = self.connections[0] - c = conn.cursor() - c.execute("create table issue16 (name varchar(32) primary key, email varchar(32))") - try: - c.execute("insert into issue16 (name, email) values ('pete', 'floydophone')") - c.execute("select email from issue16 where name=%s", ("pete",)) - self.assertEqual("floydophone", c.fetchone()[0]) - finally: - c.execute("drop table issue16") - - def test_issue_17(self): - """ could not connect mysql use passwod """ - conn = self.connections[0] - host = self.databases[0]["host"] - db = self.databases[0]["db"] - c = conn.cursor() - # grant access to a table to a user with a password - try: - c.execute("create table issue17 (x varchar(32) primary key)") - c.execute("insert into issue17 (x) values ('hello, world!')") - c.execute("grant all privileges on %s.issue17 to 'issue17user'@'%%' identified by '1234'" % db) - conn.commit() - - conn2 = pymysql.connect(host=host, user="issue17user", passwd="1234", db=db) - c2 = conn2.cursor() - c2.execute("select x from issue17") - self.assertEqual("hello, world!", c2.fetchone()[0]) - finally: - c.execute("drop table issue17") - -def _uni(s, e): - # hack for py3 - if sys.version_info[0] > 2: - return unicode(bytes(s, sys.getdefaultencoding()), e) - else: - return unicode(s, e) - -class TestNewIssues(base.PyMySQLTestCase): - def test_issue_34(self): - try: - pymysql.connect(host="localhost", port=1237, user="root") - self.fail() - except pymysql.OperationalError, e: - self.assertEqual(2003, e.args[0]) - except: - self.fail() - - def test_issue_33(self): - conn = pymysql.connect(host="localhost", user="root", db=self.databases[0]["db"], charset="utf8") - c = conn.cursor() - try: - c.execute(_uni("create table hei\xc3\x9fe (name varchar(32))", "utf8")) - c.execute(_uni("insert into hei\xc3\x9fe (name) values ('Pi\xc3\xb1ata')", "utf8")) - c.execute(_uni("select name from hei\xc3\x9fe", "utf8")) - self.assertEqual(_uni("Pi\xc3\xb1ata","utf8"), c.fetchone()[0]) - finally: - c.execute(_uni("drop table hei\xc3\x9fe", "utf8")) - - # Will fail without manual intervention: - #def test_issue_35(self): - # - # conn = self.connections[0] - # c = conn.cursor() - # print "sudo killall -9 mysqld within the next 10 seconds" - # try: - # c.execute("select sleep(10)") - # self.fail() - # except pymysql.OperationalError, e: - # self.assertEqual(2013, e.args[0]) - - def test_issue_36(self): - conn = self.connections[0] - c = conn.cursor() - # kill connections[0] - original_count = c.execute("show processlist") - kill_id = None - for id,user,host,db,command,time,state,info in c.fetchall(): - if info == "show processlist": - kill_id = id - break - # now nuke the connection - conn.kill(kill_id) - # make sure this connection has broken - try: - c.execute("show tables") - self.fail() - except: - pass - # check the process list from the other connection - self.assertEqual(original_count - 1, self.connections[1].cursor().execute("show processlist")) - del self.connections[0] - - def test_issue_37(self): - conn = self.connections[0] - c = conn.cursor() - self.assertEqual(1, c.execute("SELECT @foo")) - self.assertEqual((None,), c.fetchone()) - self.assertEqual(0, c.execute("SET @foo = 'bar'")) - c.execute("set @foo = 'bar'") - - def test_issue_38(self): - conn = self.connections[0] - c = conn.cursor() - datum = "a" * 1024 * 1023 # reduced size for most default mysql installs - - try: - c.execute("create table issue38 (id integer, data mediumblob)") - c.execute("insert into issue38 values (1, %s)", (datum,)) - finally: - c.execute("drop table issue38") - - def disabled_test_issue_54(self): - conn = self.connections[0] - c = conn.cursor() - big_sql = "select * from issue54 where " - big_sql += " and ".join("%d=%d" % (i,i) for i in xrange(0, 100000)) - - try: - c.execute("create table issue54 (id integer primary key)") - c.execute("insert into issue54 (id) values (7)") - c.execute(big_sql) - self.assertEquals(7, c.fetchone()[0]) - finally: - c.execute("drop table issue54") - -class TestGitHubIssues(base.PyMySQLTestCase): - def test_issue_66(self): - conn = self.connections[0] - c = conn.cursor() - self.assertEquals(0, conn.insert_id()) - try: - c.execute("create table issue66 (id integer primary key auto_increment, x integer)") - c.execute("insert into issue66 (x) values (1)") - c.execute("insert into issue66 (x) values (1)") - self.assertEquals(2, conn.insert_id()) - finally: - c.execute("drop table issue66") - -__all__ = ["TestOldIssues", "TestNewIssues", "TestGitHubIssues"] - -if __name__ == "__main__": - import unittest - unittest.main() diff --git a/tools/marvin/marvin/pymysql/tests/thirdparty/__init__.py b/tools/marvin/marvin/pymysql/tests/thirdparty/__init__.py deleted file mode 100644 index bfcc075fc4b..00000000000 --- a/tools/marvin/marvin/pymysql/tests/thirdparty/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -from test_MySQLdb import * - -if __name__ == "__main__": - import unittest - unittest.main() diff --git a/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/__init__.py b/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/__init__.py deleted file mode 100644 index b64f273cf08..00000000000 --- a/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -from test_MySQLdb_capabilities import test_MySQLdb as test_capabilities -from test_MySQLdb_nonstandard import * -from test_MySQLdb_dbapi20 import test_MySQLdb as test_dbapi2 - -if __name__ == "__main__": - import unittest - unittest.main() diff --git a/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/capabilities.py b/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/capabilities.py deleted file mode 100644 index ddd012330e5..00000000000 --- a/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/capabilities.py +++ /dev/null @@ -1,292 +0,0 @@ -#!/usr/bin/env python -O -""" Script to test database capabilities and the DB-API interface - for functionality and memory leaks. - - Adapted from a script by M-A Lemburg. - -""" -from time import time -import array -import unittest - - -class DatabaseTest(unittest.TestCase): - - db_module = None - connect_args = () - connect_kwargs = dict(use_unicode=True, charset="utf8") - create_table_extra = "ENGINE=INNODB CHARACTER SET UTF8" - rows = 10 - debug = False - - def setUp(self): - import gc - db = self.db_module.connect(*self.connect_args, **self.connect_kwargs) - self.connection = db - self.cursor = db.cursor() - self.BLOBText = ''.join([chr(i) for i in range(256)] * 100); - self.BLOBUText = u''.join([unichr(i) for i in range(16834)]) - self.BLOBBinary = self.db_module.Binary(''.join([chr(i) for i in range(256)] * 16)) - - leak_test = True - - def tearDown(self): - if self.leak_test: - import gc - del self.cursor - orphans = gc.collect() - self.assertFalse(orphans, "%d orphaned objects found after deleting cursor" % orphans) - - del self.connection - orphans = gc.collect() - self.assertFalse(orphans, "%d orphaned objects found after deleting connection" % orphans) - - def table_exists(self, name): - try: - self.cursor.execute('select * from %s where 1=0' % name) - except: - return False - else: - return True - - def quote_identifier(self, ident): - return '"%s"' % ident - - def new_table_name(self): - i = id(self.cursor) - while True: - name = self.quote_identifier('tb%08x' % i) - if not self.table_exists(name): - return name - i = i + 1 - - def create_table(self, columndefs): - - """ Create a table using a list of column definitions given in - columndefs. - - generator must be a function taking arguments (row_number, - col_number) returning a suitable data object for insertion - into the table. - - """ - self.table = self.new_table_name() - self.cursor.execute('CREATE TABLE %s (%s) %s' % - (self.table, - ',\n'.join(columndefs), - self.create_table_extra)) - - def check_data_integrity(self, columndefs, generator): - # insert - self.create_table(columndefs) - insert_statement = ('INSERT INTO %s VALUES (%s)' % - (self.table, - ','.join(['%s'] * len(columndefs)))) - data = [ [ generator(i,j) for j in range(len(columndefs)) ] - for i in range(self.rows) ] - if self.debug: - print data - self.cursor.executemany(insert_statement, data) - self.connection.commit() - # verify - self.cursor.execute('select * from %s' % self.table) - l = self.cursor.fetchall() - if self.debug: - print l - self.assertEquals(len(l), self.rows) - try: - for i in range(self.rows): - for j in range(len(columndefs)): - self.assertEquals(l[i][j], generator(i,j)) - finally: - if not self.debug: - self.cursor.execute('drop table %s' % (self.table)) - - def test_transactions(self): - columndefs = ( 'col1 INT', 'col2 VARCHAR(255)') - def generator(row, col): - if col == 0: return row - else: return ('%i' % (row%10))*255 - self.create_table(columndefs) - insert_statement = ('INSERT INTO %s VALUES (%s)' % - (self.table, - ','.join(['%s'] * len(columndefs)))) - data = [ [ generator(i,j) for j in range(len(columndefs)) ] - for i in range(self.rows) ] - self.cursor.executemany(insert_statement, data) - # verify - self.connection.commit() - self.cursor.execute('select * from %s' % self.table) - l = self.cursor.fetchall() - self.assertEquals(len(l), self.rows) - for i in range(self.rows): - for j in range(len(columndefs)): - self.assertEquals(l[i][j], generator(i,j)) - delete_statement = 'delete from %s where col1=%%s' % self.table - self.cursor.execute(delete_statement, (0,)) - self.cursor.execute('select col1 from %s where col1=%s' % \ - (self.table, 0)) - l = self.cursor.fetchall() - self.assertFalse(l, "DELETE didn't work") - self.connection.rollback() - self.cursor.execute('select col1 from %s where col1=%s' % \ - (self.table, 0)) - l = self.cursor.fetchall() - self.assertTrue(len(l) == 1, "ROLLBACK didn't work") - self.cursor.execute('drop table %s' % (self.table)) - - def test_truncation(self): - columndefs = ( 'col1 INT', 'col2 VARCHAR(255)') - def generator(row, col): - if col == 0: return row - else: return ('%i' % (row%10))*((255-self.rows/2)+row) - self.create_table(columndefs) - insert_statement = ('INSERT INTO %s VALUES (%s)' % - (self.table, - ','.join(['%s'] * len(columndefs)))) - - try: - self.cursor.execute(insert_statement, (0, '0'*256)) - except Warning: - if self.debug: print self.cursor.messages - except self.connection.DataError: - pass - else: - self.fail("Over-long column did not generate warnings/exception with single insert") - - self.connection.rollback() - - try: - for i in range(self.rows): - data = [] - for j in range(len(columndefs)): - data.append(generator(i,j)) - self.cursor.execute(insert_statement,tuple(data)) - except Warning: - if self.debug: print self.cursor.messages - except self.connection.DataError: - pass - else: - self.fail("Over-long columns did not generate warnings/exception with execute()") - - self.connection.rollback() - - try: - data = [ [ generator(i,j) for j in range(len(columndefs)) ] - for i in range(self.rows) ] - self.cursor.executemany(insert_statement, data) - except Warning: - if self.debug: print self.cursor.messages - except self.connection.DataError: - pass - else: - self.fail("Over-long columns did not generate warnings/exception with executemany()") - - self.connection.rollback() - self.cursor.execute('drop table %s' % (self.table)) - - def test_CHAR(self): - # Character data - def generator(row,col): - return ('%i' % ((row+col) % 10)) * 255 - self.check_data_integrity( - ('col1 char(255)','col2 char(255)'), - generator) - - def test_INT(self): - # Number data - def generator(row,col): - return row*row - self.check_data_integrity( - ('col1 INT',), - generator) - - def test_DECIMAL(self): - # DECIMAL - def generator(row,col): - from decimal import Decimal - return Decimal("%d.%02d" % (row, col)) - self.check_data_integrity( - ('col1 DECIMAL(5,2)',), - generator) - - def test_DATE(self): - ticks = time() - def generator(row,col): - return self.db_module.DateFromTicks(ticks+row*86400-col*1313) - self.check_data_integrity( - ('col1 DATE',), - generator) - - def test_TIME(self): - ticks = time() - def generator(row,col): - return self.db_module.TimeFromTicks(ticks+row*86400-col*1313) - self.check_data_integrity( - ('col1 TIME',), - generator) - - def test_DATETIME(self): - ticks = time() - def generator(row,col): - return self.db_module.TimestampFromTicks(ticks+row*86400-col*1313) - self.check_data_integrity( - ('col1 DATETIME',), - generator) - - def test_TIMESTAMP(self): - ticks = time() - def generator(row,col): - return self.db_module.TimestampFromTicks(ticks+row*86400-col*1313) - self.check_data_integrity( - ('col1 TIMESTAMP',), - generator) - - def test_fractional_TIMESTAMP(self): - ticks = time() - def generator(row,col): - return self.db_module.TimestampFromTicks(ticks+row*86400-col*1313+row*0.7*col/3.0) - self.check_data_integrity( - ('col1 TIMESTAMP',), - generator) - - def test_LONG(self): - def generator(row,col): - if col == 0: - return row - else: - return self.BLOBUText # 'BLOB Text ' * 1024 - self.check_data_integrity( - ('col1 INT', 'col2 LONG'), - generator) - - def test_TEXT(self): - def generator(row,col): - if col == 0: - return row - else: - return self.BLOBUText[:5192] # 'BLOB Text ' * 1024 - self.check_data_integrity( - ('col1 INT', 'col2 TEXT'), - generator) - - def test_LONG_BYTE(self): - def generator(row,col): - if col == 0: - return row - else: - return self.BLOBBinary # 'BLOB\000Binary ' * 1024 - self.check_data_integrity( - ('col1 INT','col2 LONG BYTE'), - generator) - - def test_BLOB(self): - def generator(row,col): - if col == 0: - return row - else: - return self.BLOBBinary # 'BLOB\000Binary ' * 1024 - self.check_data_integrity( - ('col1 INT','col2 BLOB'), - generator) - diff --git a/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.py b/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.py deleted file mode 100644 index a419e34a46c..00000000000 --- a/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.py +++ /dev/null @@ -1,853 +0,0 @@ -#!/usr/bin/env python -''' Python DB API 2.0 driver compliance unit test suite. - - This software is Public Domain and may be used without restrictions. - - "Now we have booze and barflies entering the discussion, plus rumours of - DBAs on drugs... and I won't tell you what flashes through my mind each - time I read the subject line with 'Anal Compliance' in it. All around - this is turning out to be a thoroughly unwholesome unit test." - - -- Ian Bicking -''' - -__rcs_id__ = '$Id$' -__version__ = '$Revision$'[11:-2] -__author__ = 'Stuart Bishop ' - -import unittest -import time - -# $Log$ -# Revision 1.1.2.1 2006/02/25 03:44:32 adustman -# Generic DB-API unit test module -# -# Revision 1.10 2003/10/09 03:14:14 zenzen -# Add test for DB API 2.0 optional extension, where database exceptions -# are exposed as attributes on the Connection object. -# -# Revision 1.9 2003/08/13 01:16:36 zenzen -# Minor tweak from Stefan Fleiter -# -# Revision 1.8 2003/04/10 00:13:25 zenzen -# Changes, as per suggestions by M.-A. Lemburg -# - Add a table prefix, to ensure namespace collisions can always be avoided -# -# Revision 1.7 2003/02/26 23:33:37 zenzen -# Break out DDL into helper functions, as per request by David Rushby -# -# Revision 1.6 2003/02/21 03:04:33 zenzen -# Stuff from Henrik Ekelund: -# added test_None -# added test_nextset & hooks -# -# Revision 1.5 2003/02/17 22:08:43 zenzen -# Implement suggestions and code from Henrik Eklund - test that cursor.arraysize -# defaults to 1 & generic cursor.callproc test added -# -# Revision 1.4 2003/02/15 00:16:33 zenzen -# Changes, as per suggestions and bug reports by M.-A. Lemburg, -# Matthew T. Kromer, Federico Di Gregorio and Daniel Dittmar -# - Class renamed -# - Now a subclass of TestCase, to avoid requiring the driver stub -# to use multiple inheritance -# - Reversed the polarity of buggy test in test_description -# - Test exception heirarchy correctly -# - self.populate is now self._populate(), so if a driver stub -# overrides self.ddl1 this change propogates -# - VARCHAR columns now have a width, which will hopefully make the -# DDL even more portible (this will be reversed if it causes more problems) -# - cursor.rowcount being checked after various execute and fetchXXX methods -# - Check for fetchall and fetchmany returning empty lists after results -# are exhausted (already checking for empty lists if select retrieved -# nothing -# - Fix bugs in test_setoutputsize_basic and test_setinputsizes -# - -class DatabaseAPI20Test(unittest.TestCase): - ''' Test a database self.driver for DB API 2.0 compatibility. - This implementation tests Gadfly, but the TestCase - is structured so that other self.drivers can subclass this - test case to ensure compiliance with the DB-API. It is - expected that this TestCase may be expanded in the future - if ambiguities or edge conditions are discovered. - - The 'Optional Extensions' are not yet being tested. - - self.drivers should subclass this test, overriding setUp, tearDown, - self.driver, connect_args and connect_kw_args. Class specification - should be as follows: - - import dbapi20 - class mytest(dbapi20.DatabaseAPI20Test): - [...] - - Don't 'import DatabaseAPI20Test from dbapi20', or you will - confuse the unit tester - just 'import dbapi20'. - ''' - - # The self.driver module. This should be the module where the 'connect' - # method is to be found - driver = None - connect_args = () # List of arguments to pass to connect - connect_kw_args = {} # Keyword arguments for connect - table_prefix = 'dbapi20test_' # If you need to specify a prefix for tables - - ddl1 = 'create table %sbooze (name varchar(20))' % table_prefix - ddl2 = 'create table %sbarflys (name varchar(20))' % table_prefix - xddl1 = 'drop table %sbooze' % table_prefix - xddl2 = 'drop table %sbarflys' % table_prefix - - lowerfunc = 'lower' # Name of stored procedure to convert string->lowercase - - # Some drivers may need to override these helpers, for example adding - # a 'commit' after the execute. - def executeDDL1(self,cursor): - cursor.execute(self.ddl1) - - def executeDDL2(self,cursor): - cursor.execute(self.ddl2) - - def setUp(self): - ''' self.drivers should override this method to perform required setup - if any is necessary, such as creating the database. - ''' - pass - - def tearDown(self): - ''' self.drivers should override this method to perform required cleanup - if any is necessary, such as deleting the test database. - The default drops the tables that may be created. - ''' - con = self._connect() - try: - cur = con.cursor() - for ddl in (self.xddl1,self.xddl2): - try: - cur.execute(ddl) - con.commit() - except self.driver.Error: - # Assume table didn't exist. Other tests will check if - # execute is busted. - pass - finally: - con.close() - - def _connect(self): - try: - return self.driver.connect( - *self.connect_args,**self.connect_kw_args - ) - except AttributeError: - self.fail("No connect method found in self.driver module") - - def test_connect(self): - con = self._connect() - con.close() - - def test_apilevel(self): - try: - # Must exist - apilevel = self.driver.apilevel - # Must equal 2.0 - self.assertEqual(apilevel,'2.0') - except AttributeError: - self.fail("Driver doesn't define apilevel") - - def test_threadsafety(self): - try: - # Must exist - threadsafety = self.driver.threadsafety - # Must be a valid value - self.assertTrue(threadsafety in (0,1,2,3)) - except AttributeError: - self.fail("Driver doesn't define threadsafety") - - def test_paramstyle(self): - try: - # Must exist - paramstyle = self.driver.paramstyle - # Must be a valid value - self.assertTrue(paramstyle in ( - 'qmark','numeric','named','format','pyformat' - )) - except AttributeError: - self.fail("Driver doesn't define paramstyle") - - def test_Exceptions(self): - # Make sure required exceptions exist, and are in the - # defined heirarchy. - self.assertTrue(issubclass(self.driver.Warning,StandardError)) - self.assertTrue(issubclass(self.driver.Error,StandardError)) - self.assertTrue( - issubclass(self.driver.InterfaceError,self.driver.Error) - ) - self.assertTrue( - issubclass(self.driver.DatabaseError,self.driver.Error) - ) - self.assertTrue( - issubclass(self.driver.OperationalError,self.driver.Error) - ) - self.assertTrue( - issubclass(self.driver.IntegrityError,self.driver.Error) - ) - self.assertTrue( - issubclass(self.driver.InternalError,self.driver.Error) - ) - self.assertTrue( - issubclass(self.driver.ProgrammingError,self.driver.Error) - ) - self.assertTrue( - issubclass(self.driver.NotSupportedError,self.driver.Error) - ) - - def test_ExceptionsAsConnectionAttributes(self): - # OPTIONAL EXTENSION - # Test for the optional DB API 2.0 extension, where the exceptions - # are exposed as attributes on the Connection object - # I figure this optional extension will be implemented by any - # driver author who is using this test suite, so it is enabled - # by default. - con = self._connect() - drv = self.driver - self.assertTrue(con.Warning is drv.Warning) - self.assertTrue(con.Error is drv.Error) - self.assertTrue(con.InterfaceError is drv.InterfaceError) - self.assertTrue(con.DatabaseError is drv.DatabaseError) - self.assertTrue(con.OperationalError is drv.OperationalError) - self.assertTrue(con.IntegrityError is drv.IntegrityError) - self.assertTrue(con.InternalError is drv.InternalError) - self.assertTrue(con.ProgrammingError is drv.ProgrammingError) - self.assertTrue(con.NotSupportedError is drv.NotSupportedError) - - - def test_commit(self): - con = self._connect() - try: - # Commit must work, even if it doesn't do anything - con.commit() - finally: - con.close() - - def test_rollback(self): - con = self._connect() - # If rollback is defined, it should either work or throw - # the documented exception - if hasattr(con,'rollback'): - try: - con.rollback() - except self.driver.NotSupportedError: - pass - - def test_cursor(self): - con = self._connect() - try: - cur = con.cursor() - finally: - con.close() - - def test_cursor_isolation(self): - con = self._connect() - try: - # Make sure cursors created from the same connection have - # the documented transaction isolation level - cur1 = con.cursor() - cur2 = con.cursor() - self.executeDDL1(cur1) - cur1.execute("insert into %sbooze values ('Victoria Bitter')" % ( - self.table_prefix - )) - cur2.execute("select name from %sbooze" % self.table_prefix) - booze = cur2.fetchall() - self.assertEqual(len(booze),1) - self.assertEqual(len(booze[0]),1) - self.assertEqual(booze[0][0],'Victoria Bitter') - finally: - con.close() - - def test_description(self): - con = self._connect() - try: - cur = con.cursor() - self.executeDDL1(cur) - self.assertEqual(cur.description,None, - 'cursor.description should be none after executing a ' - 'statement that can return no rows (such as DDL)' - ) - cur.execute('select name from %sbooze' % self.table_prefix) - self.assertEqual(len(cur.description),1, - 'cursor.description describes too many columns' - ) - self.assertEqual(len(cur.description[0]),7, - 'cursor.description[x] tuples must have 7 elements' - ) - self.assertEqual(cur.description[0][0].lower(),'name', - 'cursor.description[x][0] must return column name' - ) - self.assertEqual(cur.description[0][1],self.driver.STRING, - 'cursor.description[x][1] must return column type. Got %r' - % cur.description[0][1] - ) - - # Make sure self.description gets reset - self.executeDDL2(cur) - self.assertEqual(cur.description,None, - 'cursor.description not being set to None when executing ' - 'no-result statements (eg. DDL)' - ) - finally: - con.close() - - def test_rowcount(self): - con = self._connect() - try: - cur = con.cursor() - self.executeDDL1(cur) - self.assertEqual(cur.rowcount,-1, - 'cursor.rowcount should be -1 after executing no-result ' - 'statements' - ) - cur.execute("insert into %sbooze values ('Victoria Bitter')" % ( - self.table_prefix - )) - self.assertTrue(cur.rowcount in (-1,1), - 'cursor.rowcount should == number or rows inserted, or ' - 'set to -1 after executing an insert statement' - ) - cur.execute("select name from %sbooze" % self.table_prefix) - self.assertTrue(cur.rowcount in (-1,1), - 'cursor.rowcount should == number of rows returned, or ' - 'set to -1 after executing a select statement' - ) - self.executeDDL2(cur) - self.assertEqual(cur.rowcount,-1, - 'cursor.rowcount not being reset to -1 after executing ' - 'no-result statements' - ) - finally: - con.close() - - lower_func = 'lower' - def test_callproc(self): - con = self._connect() - try: - cur = con.cursor() - if self.lower_func and hasattr(cur,'callproc'): - r = cur.callproc(self.lower_func,('FOO',)) - self.assertEqual(len(r),1) - self.assertEqual(r[0],'FOO') - r = cur.fetchall() - self.assertEqual(len(r),1,'callproc produced no result set') - self.assertEqual(len(r[0]),1, - 'callproc produced invalid result set' - ) - self.assertEqual(r[0][0],'foo', - 'callproc produced invalid results' - ) - finally: - con.close() - - def test_close(self): - con = self._connect() - try: - cur = con.cursor() - finally: - con.close() - - # cursor.execute should raise an Error if called after connection - # closed - self.assertRaises(self.driver.Error,self.executeDDL1,cur) - - # connection.commit should raise an Error if called after connection' - # closed.' - self.assertRaises(self.driver.Error,con.commit) - - # connection.close should raise an Error if called more than once - self.assertRaises(self.driver.Error,con.close) - - def test_execute(self): - con = self._connect() - try: - cur = con.cursor() - self._paraminsert(cur) - finally: - con.close() - - def _paraminsert(self,cur): - self.executeDDL1(cur) - cur.execute("insert into %sbooze values ('Victoria Bitter')" % ( - self.table_prefix - )) - self.assertTrue(cur.rowcount in (-1,1)) - - if self.driver.paramstyle == 'qmark': - cur.execute( - 'insert into %sbooze values (?)' % self.table_prefix, - ("Cooper's",) - ) - elif self.driver.paramstyle == 'numeric': - cur.execute( - 'insert into %sbooze values (:1)' % self.table_prefix, - ("Cooper's",) - ) - elif self.driver.paramstyle == 'named': - cur.execute( - 'insert into %sbooze values (:beer)' % self.table_prefix, - {'beer':"Cooper's"} - ) - elif self.driver.paramstyle == 'format': - cur.execute( - 'insert into %sbooze values (%%s)' % self.table_prefix, - ("Cooper's",) - ) - elif self.driver.paramstyle == 'pyformat': - cur.execute( - 'insert into %sbooze values (%%(beer)s)' % self.table_prefix, - {'beer':"Cooper's"} - ) - else: - self.fail('Invalid paramstyle') - self.assertTrue(cur.rowcount in (-1,1)) - - cur.execute('select name from %sbooze' % self.table_prefix) - res = cur.fetchall() - self.assertEqual(len(res),2,'cursor.fetchall returned too few rows') - beers = [res[0][0],res[1][0]] - beers.sort() - self.assertEqual(beers[0],"Cooper's", - 'cursor.fetchall retrieved incorrect data, or data inserted ' - 'incorrectly' - ) - self.assertEqual(beers[1],"Victoria Bitter", - 'cursor.fetchall retrieved incorrect data, or data inserted ' - 'incorrectly' - ) - - def test_executemany(self): - con = self._connect() - try: - cur = con.cursor() - self.executeDDL1(cur) - largs = [ ("Cooper's",) , ("Boag's",) ] - margs = [ {'beer': "Cooper's"}, {'beer': "Boag's"} ] - if self.driver.paramstyle == 'qmark': - cur.executemany( - 'insert into %sbooze values (?)' % self.table_prefix, - largs - ) - elif self.driver.paramstyle == 'numeric': - cur.executemany( - 'insert into %sbooze values (:1)' % self.table_prefix, - largs - ) - elif self.driver.paramstyle == 'named': - cur.executemany( - 'insert into %sbooze values (:beer)' % self.table_prefix, - margs - ) - elif self.driver.paramstyle == 'format': - cur.executemany( - 'insert into %sbooze values (%%s)' % self.table_prefix, - largs - ) - elif self.driver.paramstyle == 'pyformat': - cur.executemany( - 'insert into %sbooze values (%%(beer)s)' % ( - self.table_prefix - ), - margs - ) - else: - self.fail('Unknown paramstyle') - self.assertTrue(cur.rowcount in (-1,2), - 'insert using cursor.executemany set cursor.rowcount to ' - 'incorrect value %r' % cur.rowcount - ) - cur.execute('select name from %sbooze' % self.table_prefix) - res = cur.fetchall() - self.assertEqual(len(res),2, - 'cursor.fetchall retrieved incorrect number of rows' - ) - beers = [res[0][0],res[1][0]] - beers.sort() - self.assertEqual(beers[0],"Boag's",'incorrect data retrieved') - self.assertEqual(beers[1],"Cooper's",'incorrect data retrieved') - finally: - con.close() - - def test_fetchone(self): - con = self._connect() - try: - cur = con.cursor() - - # cursor.fetchone should raise an Error if called before - # executing a select-type query - self.assertRaises(self.driver.Error,cur.fetchone) - - # cursor.fetchone should raise an Error if called after - # executing a query that cannnot return rows - self.executeDDL1(cur) - self.assertRaises(self.driver.Error,cur.fetchone) - - cur.execute('select name from %sbooze' % self.table_prefix) - self.assertEqual(cur.fetchone(),None, - 'cursor.fetchone should return None if a query retrieves ' - 'no rows' - ) - self.assertTrue(cur.rowcount in (-1,0)) - - # cursor.fetchone should raise an Error if called after - # executing a query that cannnot return rows - cur.execute("insert into %sbooze values ('Victoria Bitter')" % ( - self.table_prefix - )) - self.assertRaises(self.driver.Error,cur.fetchone) - - cur.execute('select name from %sbooze' % self.table_prefix) - r = cur.fetchone() - self.assertEqual(len(r),1, - 'cursor.fetchone should have retrieved a single row' - ) - self.assertEqual(r[0],'Victoria Bitter', - 'cursor.fetchone retrieved incorrect data' - ) - self.assertEqual(cur.fetchone(),None, - 'cursor.fetchone should return None if no more rows available' - ) - self.assertTrue(cur.rowcount in (-1,1)) - finally: - con.close() - - samples = [ - 'Carlton Cold', - 'Carlton Draft', - 'Mountain Goat', - 'Redback', - 'Victoria Bitter', - 'XXXX' - ] - - def _populate(self): - ''' Return a list of sql commands to setup the DB for the fetch - tests. - ''' - populate = [ - "insert into %sbooze values ('%s')" % (self.table_prefix,s) - for s in self.samples - ] - return populate - - def test_fetchmany(self): - con = self._connect() - try: - cur = con.cursor() - - # cursor.fetchmany should raise an Error if called without - #issuing a query - self.assertRaises(self.driver.Error,cur.fetchmany,4) - - self.executeDDL1(cur) - for sql in self._populate(): - cur.execute(sql) - - cur.execute('select name from %sbooze' % self.table_prefix) - r = cur.fetchmany() - self.assertEqual(len(r),1, - 'cursor.fetchmany retrieved incorrect number of rows, ' - 'default of arraysize is one.' - ) - cur.arraysize=10 - r = cur.fetchmany(3) # Should get 3 rows - self.assertEqual(len(r),3, - 'cursor.fetchmany retrieved incorrect number of rows' - ) - r = cur.fetchmany(4) # Should get 2 more - self.assertEqual(len(r),2, - 'cursor.fetchmany retrieved incorrect number of rows' - ) - r = cur.fetchmany(4) # Should be an empty sequence - self.assertEqual(len(r),0, - 'cursor.fetchmany should return an empty sequence after ' - 'results are exhausted' - ) - self.assertTrue(cur.rowcount in (-1,6)) - - # Same as above, using cursor.arraysize - cur.arraysize=4 - cur.execute('select name from %sbooze' % self.table_prefix) - r = cur.fetchmany() # Should get 4 rows - self.assertEqual(len(r),4, - 'cursor.arraysize not being honoured by fetchmany' - ) - r = cur.fetchmany() # Should get 2 more - self.assertEqual(len(r),2) - r = cur.fetchmany() # Should be an empty sequence - self.assertEqual(len(r),0) - self.assertTrue(cur.rowcount in (-1,6)) - - cur.arraysize=6 - cur.execute('select name from %sbooze' % self.table_prefix) - rows = cur.fetchmany() # Should get all rows - self.assertTrue(cur.rowcount in (-1,6)) - self.assertEqual(len(rows),6) - self.assertEqual(len(rows),6) - rows = [r[0] for r in rows] - rows.sort() - - # Make sure we get the right data back out - for i in range(0,6): - self.assertEqual(rows[i],self.samples[i], - 'incorrect data retrieved by cursor.fetchmany' - ) - - rows = cur.fetchmany() # Should return an empty list - self.assertEqual(len(rows),0, - 'cursor.fetchmany should return an empty sequence if ' - 'called after the whole result set has been fetched' - ) - self.assertTrue(cur.rowcount in (-1,6)) - - self.executeDDL2(cur) - cur.execute('select name from %sbarflys' % self.table_prefix) - r = cur.fetchmany() # Should get empty sequence - self.assertEqual(len(r),0, - 'cursor.fetchmany should return an empty sequence if ' - 'query retrieved no rows' - ) - self.assertTrue(cur.rowcount in (-1,0)) - - finally: - con.close() - - def test_fetchall(self): - con = self._connect() - try: - cur = con.cursor() - # cursor.fetchall should raise an Error if called - # without executing a query that may return rows (such - # as a select) - self.assertRaises(self.driver.Error, cur.fetchall) - - self.executeDDL1(cur) - for sql in self._populate(): - cur.execute(sql) - - # cursor.fetchall should raise an Error if called - # after executing a a statement that cannot return rows - self.assertRaises(self.driver.Error,cur.fetchall) - - cur.execute('select name from %sbooze' % self.table_prefix) - rows = cur.fetchall() - self.assertTrue(cur.rowcount in (-1,len(self.samples))) - self.assertEqual(len(rows),len(self.samples), - 'cursor.fetchall did not retrieve all rows' - ) - rows = [r[0] for r in rows] - rows.sort() - for i in range(0,len(self.samples)): - self.assertEqual(rows[i],self.samples[i], - 'cursor.fetchall retrieved incorrect rows' - ) - rows = cur.fetchall() - self.assertEqual( - len(rows),0, - 'cursor.fetchall should return an empty list if called ' - 'after the whole result set has been fetched' - ) - self.assertTrue(cur.rowcount in (-1,len(self.samples))) - - self.executeDDL2(cur) - cur.execute('select name from %sbarflys' % self.table_prefix) - rows = cur.fetchall() - self.assertTrue(cur.rowcount in (-1,0)) - self.assertEqual(len(rows),0, - 'cursor.fetchall should return an empty list if ' - 'a select query returns no rows' - ) - - finally: - con.close() - - def test_mixedfetch(self): - con = self._connect() - try: - cur = con.cursor() - self.executeDDL1(cur) - for sql in self._populate(): - cur.execute(sql) - - cur.execute('select name from %sbooze' % self.table_prefix) - rows1 = cur.fetchone() - rows23 = cur.fetchmany(2) - rows4 = cur.fetchone() - rows56 = cur.fetchall() - self.assertTrue(cur.rowcount in (-1,6)) - self.assertEqual(len(rows23),2, - 'fetchmany returned incorrect number of rows' - ) - self.assertEqual(len(rows56),2, - 'fetchall returned incorrect number of rows' - ) - - rows = [rows1[0]] - rows.extend([rows23[0][0],rows23[1][0]]) - rows.append(rows4[0]) - rows.extend([rows56[0][0],rows56[1][0]]) - rows.sort() - for i in range(0,len(self.samples)): - self.assertEqual(rows[i],self.samples[i], - 'incorrect data retrieved or inserted' - ) - finally: - con.close() - - def help_nextset_setUp(self,cur): - ''' Should create a procedure called deleteme - that returns two result sets, first the - number of rows in booze then "name from booze" - ''' - raise NotImplementedError,'Helper not implemented' - #sql=""" - # create procedure deleteme as - # begin - # select count(*) from booze - # select name from booze - # end - #""" - #cur.execute(sql) - - def help_nextset_tearDown(self,cur): - 'If cleaning up is needed after nextSetTest' - raise NotImplementedError,'Helper not implemented' - #cur.execute("drop procedure deleteme") - - def test_nextset(self): - con = self._connect() - try: - cur = con.cursor() - if not hasattr(cur,'nextset'): - return - - try: - self.executeDDL1(cur) - sql=self._populate() - for sql in self._populate(): - cur.execute(sql) - - self.help_nextset_setUp(cur) - - cur.callproc('deleteme') - numberofrows=cur.fetchone() - assert numberofrows[0]== len(self.samples) - assert cur.nextset() - names=cur.fetchall() - assert len(names) == len(self.samples) - s=cur.nextset() - assert s == None,'No more return sets, should return None' - finally: - self.help_nextset_tearDown(cur) - - finally: - con.close() - - def test_nextset(self): - raise NotImplementedError,'Drivers need to override this test' - - def test_arraysize(self): - # Not much here - rest of the tests for this are in test_fetchmany - con = self._connect() - try: - cur = con.cursor() - self.assertTrue(hasattr(cur,'arraysize'), - 'cursor.arraysize must be defined' - ) - finally: - con.close() - - def test_setinputsizes(self): - con = self._connect() - try: - cur = con.cursor() - cur.setinputsizes( (25,) ) - self._paraminsert(cur) # Make sure cursor still works - finally: - con.close() - - def test_setoutputsize_basic(self): - # Basic test is to make sure setoutputsize doesn't blow up - con = self._connect() - try: - cur = con.cursor() - cur.setoutputsize(1000) - cur.setoutputsize(2000,0) - self._paraminsert(cur) # Make sure the cursor still works - finally: - con.close() - - def test_setoutputsize(self): - # Real test for setoutputsize is driver dependant - raise NotImplementedError,'Driver need to override this test' - - def test_None(self): - con = self._connect() - try: - cur = con.cursor() - self.executeDDL1(cur) - cur.execute('insert into %sbooze values (NULL)' % self.table_prefix) - cur.execute('select name from %sbooze' % self.table_prefix) - r = cur.fetchall() - self.assertEqual(len(r),1) - self.assertEqual(len(r[0]),1) - self.assertEqual(r[0][0],None,'NULL value not returned as None') - finally: - con.close() - - def test_Date(self): - d1 = self.driver.Date(2002,12,25) - d2 = self.driver.DateFromTicks(time.mktime((2002,12,25,0,0,0,0,0,0))) - # Can we assume this? API doesn't specify, but it seems implied - # self.assertEqual(str(d1),str(d2)) - - def test_Time(self): - t1 = self.driver.Time(13,45,30) - t2 = self.driver.TimeFromTicks(time.mktime((2001,1,1,13,45,30,0,0,0))) - # Can we assume this? API doesn't specify, but it seems implied - # self.assertEqual(str(t1),str(t2)) - - def test_Timestamp(self): - t1 = self.driver.Timestamp(2002,12,25,13,45,30) - t2 = self.driver.TimestampFromTicks( - time.mktime((2002,12,25,13,45,30,0,0,0)) - ) - # Can we assume this? API doesn't specify, but it seems implied - # self.assertEqual(str(t1),str(t2)) - - def test_Binary(self): - b = self.driver.Binary('Something') - b = self.driver.Binary('') - - def test_STRING(self): - self.assertTrue(hasattr(self.driver,'STRING'), - 'module.STRING must be defined' - ) - - def test_BINARY(self): - self.assertTrue(hasattr(self.driver,'BINARY'), - 'module.BINARY must be defined.' - ) - - def test_NUMBER(self): - self.assertTrue(hasattr(self.driver,'NUMBER'), - 'module.NUMBER must be defined.' - ) - - def test_DATETIME(self): - self.assertTrue(hasattr(self.driver,'DATETIME'), - 'module.DATETIME must be defined.' - ) - - def test_ROWID(self): - self.assertTrue(hasattr(self.driver,'ROWID'), - 'module.ROWID must be defined.' - ) - diff --git a/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py b/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py deleted file mode 100644 index e0bc93439c2..00000000000 --- a/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py +++ /dev/null @@ -1,115 +0,0 @@ -#!/usr/bin/env python -import capabilities -import unittest -import pymysql -from pymysql.tests import base -import warnings - -warnings.filterwarnings('error') - -class test_MySQLdb(capabilities.DatabaseTest): - - db_module = pymysql - connect_args = () - connect_kwargs = base.PyMySQLTestCase.databases[0].copy() - connect_kwargs.update(dict(read_default_file='~/.my.cnf', - use_unicode=True, - charset='utf8', sql_mode="ANSI,STRICT_TRANS_TABLES,TRADITIONAL")) - - create_table_extra = "ENGINE=INNODB CHARACTER SET UTF8" - leak_test = False - - def quote_identifier(self, ident): - return "`%s`" % ident - - def test_TIME(self): - from datetime import timedelta - def generator(row,col): - return timedelta(0, row*8000) - self.check_data_integrity( - ('col1 TIME',), - generator) - - def test_TINYINT(self): - # Number data - def generator(row,col): - v = (row*row) % 256 - if v > 127: - v = v-256 - return v - self.check_data_integrity( - ('col1 TINYINT',), - generator) - - def test_stored_procedures(self): - db = self.connection - c = self.cursor - try: - self.create_table(('pos INT', 'tree CHAR(20)')) - c.executemany("INSERT INTO %s (pos,tree) VALUES (%%s,%%s)" % self.table, - list(enumerate('ash birch cedar larch pine'.split()))) - db.commit() - - c.execute(""" - CREATE PROCEDURE test_sp(IN t VARCHAR(255)) - BEGIN - SELECT pos FROM %s WHERE tree = t; - END - """ % self.table) - db.commit() - - c.callproc('test_sp', ('larch',)) - rows = c.fetchall() - self.assertEquals(len(rows), 1) - self.assertEquals(rows[0][0], 3) - c.nextset() - finally: - c.execute("DROP PROCEDURE IF EXISTS test_sp") - c.execute('drop table %s' % (self.table)) - - def test_small_CHAR(self): - # Character data - def generator(row,col): - i = ((row+1)*(col+1)+62)%256 - if i == 62: return '' - if i == 63: return None - return chr(i) - self.check_data_integrity( - ('col1 char(1)','col2 char(1)'), - generator) - - def test_bug_2671682(self): - from pymysql.constants import ER - try: - self.cursor.execute("describe some_non_existent_table"); - except self.connection.ProgrammingError, msg: - self.assertTrue(msg.args[0] == ER.NO_SUCH_TABLE) - - def test_insert_values(self): - from pymysql.cursors import insert_values - query = """INSERT FOO (a, b, c) VALUES (a, b, c)""" - matched = insert_values.search(query) - self.assertTrue(matched) - values = matched.group(1) - self.assertTrue(values == "(a, b, c)") - - def test_ping(self): - self.connection.ping() - - def test_literal_int(self): - self.assertTrue("2" == self.connection.literal(2)) - - def test_literal_float(self): - self.assertTrue("3.1415" == self.connection.literal(3.1415)) - - def test_literal_string(self): - self.assertTrue("'foo'" == self.connection.literal("foo")) - - -if __name__ == '__main__': - if test_MySQLdb.leak_test: - import gc - gc.enable() - gc.set_debug(gc.DEBUG_LEAK) - unittest.main() - diff --git a/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.py b/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.py deleted file mode 100644 index 83c002fdf39..00000000000 --- a/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.py +++ /dev/null @@ -1,205 +0,0 @@ -#!/usr/bin/env python -import dbapi20 -import unittest -import pymysql -from pymysql.tests import base - -class test_MySQLdb(dbapi20.DatabaseAPI20Test): - driver = pymysql - connect_args = () - connect_kw_args = base.PyMySQLTestCase.databases[0].copy() - connect_kw_args.update(dict(read_default_file='~/.my.cnf', - charset='utf8', - sql_mode="ANSI,STRICT_TRANS_TABLES,TRADITIONAL")) - - def test_setoutputsize(self): pass - def test_setoutputsize_basic(self): pass - def test_nextset(self): pass - - """The tests on fetchone and fetchall and rowcount bogusly - test for an exception if the statement cannot return a - result set. MySQL always returns a result set; it's just that - some things return empty result sets.""" - - def test_fetchall(self): - con = self._connect() - try: - cur = con.cursor() - # cursor.fetchall should raise an Error if called - # without executing a query that may return rows (such - # as a select) - self.assertRaises(self.driver.Error, cur.fetchall) - - self.executeDDL1(cur) - for sql in self._populate(): - cur.execute(sql) - - # cursor.fetchall should raise an Error if called - # after executing a a statement that cannot return rows -## self.assertRaises(self.driver.Error,cur.fetchall) - - cur.execute('select name from %sbooze' % self.table_prefix) - rows = cur.fetchall() - self.assertTrue(cur.rowcount in (-1,len(self.samples))) - self.assertEqual(len(rows),len(self.samples), - 'cursor.fetchall did not retrieve all rows' - ) - rows = [r[0] for r in rows] - rows.sort() - for i in range(0,len(self.samples)): - self.assertEqual(rows[i],self.samples[i], - 'cursor.fetchall retrieved incorrect rows' - ) - rows = cur.fetchall() - self.assertEqual( - len(rows),0, - 'cursor.fetchall should return an empty list if called ' - 'after the whole result set has been fetched' - ) - self.assertTrue(cur.rowcount in (-1,len(self.samples))) - - self.executeDDL2(cur) - cur.execute('select name from %sbarflys' % self.table_prefix) - rows = cur.fetchall() - self.assertTrue(cur.rowcount in (-1,0)) - self.assertEqual(len(rows),0, - 'cursor.fetchall should return an empty list if ' - 'a select query returns no rows' - ) - - finally: - con.close() - - def test_fetchone(self): - con = self._connect() - try: - cur = con.cursor() - - # cursor.fetchone should raise an Error if called before - # executing a select-type query - self.assertRaises(self.driver.Error,cur.fetchone) - - # cursor.fetchone should raise an Error if called after - # executing a query that cannnot return rows - self.executeDDL1(cur) -## self.assertRaises(self.driver.Error,cur.fetchone) - - cur.execute('select name from %sbooze' % self.table_prefix) - self.assertEqual(cur.fetchone(),None, - 'cursor.fetchone should return None if a query retrieves ' - 'no rows' - ) - self.assertTrue(cur.rowcount in (-1,0)) - - # cursor.fetchone should raise an Error if called after - # executing a query that cannnot return rows - cur.execute("insert into %sbooze values ('Victoria Bitter')" % ( - self.table_prefix - )) -## self.assertRaises(self.driver.Error,cur.fetchone) - - cur.execute('select name from %sbooze' % self.table_prefix) - r = cur.fetchone() - self.assertEqual(len(r),1, - 'cursor.fetchone should have retrieved a single row' - ) - self.assertEqual(r[0],'Victoria Bitter', - 'cursor.fetchone retrieved incorrect data' - ) -## self.assertEqual(cur.fetchone(),None, -## 'cursor.fetchone should return None if no more rows available' -## ) - self.assertTrue(cur.rowcount in (-1,1)) - finally: - con.close() - - # Same complaint as for fetchall and fetchone - def test_rowcount(self): - con = self._connect() - try: - cur = con.cursor() - self.executeDDL1(cur) -## self.assertEqual(cur.rowcount,-1, -## 'cursor.rowcount should be -1 after executing no-result ' -## 'statements' -## ) - cur.execute("insert into %sbooze values ('Victoria Bitter')" % ( - self.table_prefix - )) -## self.assertTrue(cur.rowcount in (-1,1), -## 'cursor.rowcount should == number or rows inserted, or ' -## 'set to -1 after executing an insert statement' -## ) - cur.execute("select name from %sbooze" % self.table_prefix) - self.assertTrue(cur.rowcount in (-1,1), - 'cursor.rowcount should == number of rows returned, or ' - 'set to -1 after executing a select statement' - ) - self.executeDDL2(cur) -## self.assertEqual(cur.rowcount,-1, -## 'cursor.rowcount not being reset to -1 after executing ' -## 'no-result statements' -## ) - finally: - con.close() - - def test_callproc(self): - pass # performed in test_MySQL_capabilities - - def help_nextset_setUp(self,cur): - ''' Should create a procedure called deleteme - that returns two result sets, first the - number of rows in booze then "name from booze" - ''' - sql=""" - create procedure deleteme() - begin - select count(*) from %(tp)sbooze; - select name from %(tp)sbooze; - end - """ % dict(tp=self.table_prefix) - cur.execute(sql) - - def help_nextset_tearDown(self,cur): - 'If cleaning up is needed after nextSetTest' - cur.execute("drop procedure deleteme") - - def test_nextset(self): - from warnings import warn - con = self._connect() - try: - cur = con.cursor() - if not hasattr(cur,'nextset'): - return - - try: - self.executeDDL1(cur) - sql=self._populate() - for sql in self._populate(): - cur.execute(sql) - - self.help_nextset_setUp(cur) - - cur.callproc('deleteme') - numberofrows=cur.fetchone() - assert numberofrows[0]== len(self.samples) - assert cur.nextset() - names=cur.fetchall() - assert len(names) == len(self.samples) - s=cur.nextset() - if s: - empty = cur.fetchall() - self.assertEquals(len(empty), 0, - "non-empty result set after other result sets") - #warn("Incompatibility: MySQL returns an empty result set for the CALL itself", - # Warning) - #assert s == None,'No more return sets, should return None' - finally: - self.help_nextset_tearDown(cur) - - finally: - con.close() - - -if __name__ == '__main__': - unittest.main() diff --git a/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.py b/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.py deleted file mode 100644 index f49369cb4f7..00000000000 --- a/tools/marvin/marvin/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.py +++ /dev/null @@ -1,90 +0,0 @@ -import unittest - -import pymysql -_mysql = pymysql -from pymysql.constants import FIELD_TYPE -from pymysql.tests import base - - -class TestDBAPISet(unittest.TestCase): - def test_set_equality(self): - self.assertTrue(pymysql.STRING == pymysql.STRING) - - def test_set_inequality(self): - self.assertTrue(pymysql.STRING != pymysql.NUMBER) - - def test_set_equality_membership(self): - self.assertTrue(FIELD_TYPE.VAR_STRING == pymysql.STRING) - - def test_set_inequality_membership(self): - self.assertTrue(FIELD_TYPE.DATE != pymysql.STRING) - - -class CoreModule(unittest.TestCase): - """Core _mysql module features.""" - - def test_NULL(self): - """Should have a NULL constant.""" - self.assertEqual(_mysql.NULL, 'NULL') - - def test_version(self): - """Version information sanity.""" - self.assertTrue(isinstance(_mysql.__version__, str)) - - self.assertTrue(isinstance(_mysql.version_info, tuple)) - self.assertEqual(len(_mysql.version_info), 5) - - def test_client_info(self): - self.assertTrue(isinstance(_mysql.get_client_info(), str)) - - def test_thread_safe(self): - self.assertTrue(isinstance(_mysql.thread_safe(), int)) - - -class CoreAPI(unittest.TestCase): - """Test _mysql interaction internals.""" - - def setUp(self): - kwargs = base.PyMySQLTestCase.databases[0].copy() - kwargs["read_default_file"] = "~/.my.cnf" - self.conn = _mysql.connect(**kwargs) - - def tearDown(self): - self.conn.close() - - def test_thread_id(self): - tid = self.conn.thread_id() - self.assertTrue(isinstance(tid, int), - "thread_id didn't return an int.") - - self.assertRaises(TypeError, self.conn.thread_id, ('evil',), - "thread_id shouldn't accept arguments.") - - def test_affected_rows(self): - self.assertEquals(self.conn.affected_rows(), 0, - "Should return 0 before we do anything.") - - - #def test_debug(self): - ## FIXME Only actually tests if you lack SUPER - #self.assertRaises(pymysql.OperationalError, - #self.conn.dump_debug_info) - - def test_charset_name(self): - self.assertTrue(isinstance(self.conn.character_set_name(), str), - "Should return a string.") - - def test_host_info(self): - self.assertTrue(isinstance(self.conn.get_host_info(), str), - "Should return a string.") - - def test_proto_info(self): - self.assertTrue(isinstance(self.conn.get_proto_info(), int), - "Should return an int.") - - def test_server_info(self): - self.assertTrue(isinstance(self.conn.get_server_info(), basestring), - "Should return an str.") - -if __name__ == "__main__": - unittest.main() diff --git a/tools/marvin/marvin/pymysql/times.py b/tools/marvin/marvin/pymysql/times.py deleted file mode 100644 index c47db09eb9c..00000000000 --- a/tools/marvin/marvin/pymysql/times.py +++ /dev/null @@ -1,16 +0,0 @@ -from time import localtime -from datetime import date, datetime, time, timedelta - -Date = date -Time = time -TimeDelta = timedelta -Timestamp = datetime - -def DateFromTicks(ticks): - return date(*localtime(ticks)[:3]) - -def TimeFromTicks(ticks): - return time(*localtime(ticks)[3:6]) - -def TimestampFromTicks(ticks): - return datetime(*localtime(ticks)[:6]) diff --git a/tools/marvin/marvin/pymysql/util.py b/tools/marvin/marvin/pymysql/util.py deleted file mode 100644 index cc622e57b74..00000000000 --- a/tools/marvin/marvin/pymysql/util.py +++ /dev/null @@ -1,19 +0,0 @@ -import struct - -def byte2int(b): - if isinstance(b, int): - return b - else: - return struct.unpack("!B", b)[0] - -def int2byte(i): - return struct.pack("!B", i) - -def join_bytes(bs): - if len(bs) == 0: - return "" - else: - rv = bs[0] - for b in bs[1:]: - rv += b - return rv diff --git a/tools/marvin/marvin/sandbox/__init__.py b/tools/marvin/marvin/sandbox/__init__.py index e69de29bb2d..57823fcc162 100644 --- a/tools/marvin/marvin/sandbox/__init__.py +++ b/tools/marvin/marvin/sandbox/__init__.py @@ -0,0 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + diff --git a/tools/marvin/marvin/sandbox/advanced/__init__.py b/tools/marvin/marvin/sandbox/advanced/__init__.py index e69de29bb2d..57823fcc162 100644 --- a/tools/marvin/marvin/sandbox/advanced/__init__.py +++ b/tools/marvin/marvin/sandbox/advanced/__init__.py @@ -0,0 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + diff --git a/tools/marvin/marvin/sandbox/advanced/setup.properties b/tools/marvin/marvin/sandbox/advanced/setup.properties index 9c025f58aa2..966d1f9a52c 100644 --- a/tools/marvin/marvin/sandbox/advanced/setup.properties +++ b/tools/marvin/marvin/sandbox/advanced/setup.properties @@ -1,3 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + [globals] #global settings in cloudstack expunge.delay=60 diff --git a/tools/marvin/marvin/sandbox/advanced/tests/test_scenarios.py b/tools/marvin/marvin/sandbox/advanced/tests/test_scenarios.py index bae181ca693..7f552c33615 100644 --- a/tools/marvin/marvin/sandbox/advanced/tests/test_scenarios.py +++ b/tools/marvin/marvin/sandbox/advanced/tests/test_scenarios.py @@ -1,3 +1,22 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + + #!/usr/bin/env python try: import unittest2 as unittest diff --git a/tools/marvin/marvin/sandbox/basic/__init__.py b/tools/marvin/marvin/sandbox/basic/__init__.py index e69de29bb2d..57823fcc162 100644 --- a/tools/marvin/marvin/sandbox/basic/__init__.py +++ b/tools/marvin/marvin/sandbox/basic/__init__.py @@ -0,0 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + diff --git a/tools/marvin/marvin/sandbox/basic/setup.properties b/tools/marvin/marvin/sandbox/basic/setup.properties index 2cde465440b..e9c0f4d70e3 100644 --- a/tools/marvin/marvin/sandbox/basic/setup.properties +++ b/tools/marvin/marvin/sandbox/basic/setup.properties @@ -1,3 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + [globals] #global settings in cloudstack expunge.delay=60 diff --git a/tools/marvin/marvin/sandbox/demo/simulator/__init__.py b/tools/marvin/marvin/sandbox/demo/simulator/__init__.py index e69de29bb2d..57823fcc162 100644 --- a/tools/marvin/marvin/sandbox/demo/simulator/__init__.py +++ b/tools/marvin/marvin/sandbox/demo/simulator/__init__.py @@ -0,0 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + diff --git a/tools/marvin/marvin/sandbox/demo/simulator/simulator.cfg b/tools/marvin/marvin/sandbox/demo/simulator/simulator.cfg index 7816e19762d..9cb904c6767 100644 --- a/tools/marvin/marvin/sandbox/demo/simulator/simulator.cfg +++ b/tools/marvin/marvin/sandbox/demo/simulator/simulator.cfg @@ -1,3 +1,22 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + + { "zones": [ { diff --git a/tools/marvin/marvin/sandbox/demo/simulator/simulatordemo.properties b/tools/marvin/marvin/sandbox/demo/simulator/simulatordemo.properties index ef01fb8e628..5a476b4174d 100644 --- a/tools/marvin/marvin/sandbox/demo/simulator/simulatordemo.properties +++ b/tools/marvin/marvin/sandbox/demo/simulator/simulatordemo.properties @@ -1,3 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + [globals] expunge.delay=60 expunge.interval=60 diff --git a/tools/marvin/marvin/sandbox/demo/simulator/testcase/__init__.py b/tools/marvin/marvin/sandbox/demo/simulator/testcase/__init__.py index e69de29bb2d..57823fcc162 100644 --- a/tools/marvin/marvin/sandbox/demo/simulator/testcase/__init__.py +++ b/tools/marvin/marvin/sandbox/demo/simulator/testcase/__init__.py @@ -0,0 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + diff --git a/tools/marvin/marvin/sandbox/demo/simulator/testcase/libs/__init__.py b/tools/marvin/marvin/sandbox/demo/simulator/testcase/libs/__init__.py index e69de29bb2d..57823fcc162 100644 --- a/tools/marvin/marvin/sandbox/demo/simulator/testcase/libs/__init__.py +++ b/tools/marvin/marvin/sandbox/demo/simulator/testcase/libs/__init__.py @@ -0,0 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + diff --git a/tools/marvin/setup.py b/tools/marvin/setup.py index 96981ee217a..c9841f31f3b 100644 --- a/tools/marvin/setup.py +++ b/tools/marvin/setup.py @@ -34,9 +34,10 @@ setup(name="Marvin", long_description="Marvin is the cloudstack testclient written around the python unittest framework", platforms=("Any",), url="http://jenkins.cloudstack.org:8080/job/marvin", - packages=["marvin", "marvin.cloudstackAPI", "marvin.sandbox", "marvin.sandbox.advanced", "marvin.sandbox.basic", "marvin.pymysql", "marvin.pymysql.constants", "marvin.pymysql.tests"], + packages=["marvin", "marvin.cloudstackAPI", "marvin.sandbox", "marvin.sandbox.advanced", "marvin.sandbox.basic"], license="LICENSE.txt", install_requires=[ + "pymysql", "paramiko", "nose", "unittest-xml-reporting" diff --git a/tools/mockito/LICENSE b/tools/mockito/LICENSE deleted file mode 100644 index e0840a446ca..00000000000 --- a/tools/mockito/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License - -Copyright (c) 2007 Mockito contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/tools/mockito/NOTICE b/tools/mockito/NOTICE deleted file mode 100644 index 05941740e0b..00000000000 --- a/tools/mockito/NOTICE +++ /dev/null @@ -1,11 +0,0 @@ -Mockito license - MIT. - -Libraries used: - -Cglib - Apache License 2.0 -ASM - BSD license - -Mockito all distribution: - -Objenesis - MIT license -Hamcrest - BSD license \ No newline at end of file diff --git a/tools/mockito/jars-info.txt b/tools/mockito/jars-info.txt deleted file mode 100644 index bc54ee4eceb..00000000000 --- a/tools/mockito/jars-info.txt +++ /dev/null @@ -1,11 +0,0 @@ -To use mockito either: - - - put 'mockito-all-x.jar' on your path (runtime dependencies: Objenesis and Hamcrest-core are expanded into single, 'all' jar) - - - or put all jars from 'separate-jars' folder on your path. You need mockito-core, objenesis and hamcrest-core. - Instead of hamcrest-core you might use latest junit that includes hamcrest-core in the jar. - -All jars (even the dependencies) contain java source inside. -However, for convenience of some IDEs there are also source distributions in 'sources' folder - -springsource distributions of hamcrest/objenesis are used only because they are OSGI-fied \ No newline at end of file diff --git a/tools/mockito/javadoc/allclasses-frame.html b/tools/mockito/javadoc/allclasses-frame.html deleted file mode 100644 index eaef06d9d2c..00000000000 --- a/tools/mockito/javadoc/allclasses-frame.html +++ /dev/null @@ -1,506 +0,0 @@ - - - - - - -All Classes (Mockito API) - - - - - - - - - - -All Classes -
- - - - - -
AbstractMockitoMethodProxy -
-AccessibilityChanger -
-AdditionalMatchers -
-AllInvocationsFinder -
-And -
-AnnotationEngine -
-Answer -
-AnswerReturnValuesAdapter -
-Answers -
-Answers -
-AnswersValidator -
-Any -
-AnyVararg -
-ArgumentCaptor -
-ArgumentMatcher -
-ArgumentMatcherStorage -
-ArgumentMatcherStorageImpl -
-ArgumentMatchingTool -
-ArgumentsAreDifferent -
-ArgumentsAreDifferent -
-ArgumentsComparator -
-ArrayEquals -
-ArrayUtils -
-AtLeast -
-AtLeastDiscrepancy -
-AtLeastXNumberOfInvocationsChecker -
-AtLeastXNumberOfInvocationsInOrderChecker -
-AtMost -
-BaseStubbing -
-BDDMockito -
-BDDMockito.BDDMyOngoingStubbing -
-BDDMockito.BDDOngoingStubbingImpl -
-BDDMockito.BDDStubber -
-BDDMockito.BDDStubberImpl -
-CallsRealMethods -
-Captor -
-CapturesArgumensFromInvocation -
-CapturesArguments -
-CapturingMatcher -
-CGLIBHacker -
-CGLIBProxyRealMethod -
-ClassImposterizer -
-ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug -
-ClassNameFinder -
-ClassPathLoader -
-ClonesArguments -
-CollectCreatedMocks -
-CompareEqual -
-CompareTo -
-ConditionalStackTraceFilter -
-ConsecutiveStubbing -
-ConsoleMockitoLogger -
-ConsoleSpammingMockitoJUnitRunner -
-Contains -
-ContainsExtraTypeInformation -
-Decamelizer -
-DefaultAnnotationEngine -
-DefaultInjectionEngine -
-DefaultMockitoConfiguration -
-DelegatingMethod -
-DelegatingMockitoMethodProxy -
-DeprecatedOngoingStubbing -
-Discrepancy -
-DoesNothing -
-EndsWith -
-Equality -
-Equals -
-EqualsWithDelta -
-ExceptionIncludingMockitoWarnings -
-FieldCopier -
-FieldReader -
-FieldSetter -
-FilteredCGLIBProxyRealMethod -
-Find -
-FindingsListener -
-FrameworkUsageValidator -
-GenericMaster -
-GlobalConfiguration -
-GloballyConfiguredAnswer -
-GreaterOrEqual -
-GreaterThan -
-HandyReturnValues -
-HasCGLIBMethodProxy -
-IdentitySet -
-IMockitoConfiguration -
-InjectingAnnotationEngine -
-InjectMocks -
-InOrder -
-InOrderContext -
-InOrderContextImpl -
-InOrderImpl -
-InOrderWrapper -
-InstanceOf -
-InvalidUseOfMatchersException -
-Invocation -
-InvocationContainer -
-InvocationContainerImpl -
-InvocationMarker -
-InvocationMatcher -
-InvocationOnMock -
-InvocationsFinder -
-IOngoingStubbing -
-JUnit44RunnerImpl -
-JUnit45AndHigherRunnerImpl -
-JUnitFailureHacker -
-JUnitTool -
-LenientCopyTool -
-LessOrEqual -
-LessThan -
-ListUtil -
-ListUtil.Filter -
-Localized -
-LocalizedMatcher -
-Location -
-LoggingListener -
-MatcherDecorator -
-Matchers -
-MatchersBinder -
-MatchersPrinter -
-Matches -
-MethodInterceptorFilter -
-MissingInvocationChecker -
-MissingInvocationInOrderChecker -
-MissingMethodInvocationException -
-Mock -
-MockAwareVerificationMode -
-MockCreationValidator -
-MockHandler -
-MockHandlerInterface -
-MockingProgress -
-MockingProgressImpl -
-MockingProgressListener -
-MockingStartedListener -
-Mockito -
-MockitoAnnotations -
-MockitoAnnotations.Mock -
-MockitoAssertionError -
-MockitoConfigurationException -
-MockitoCore -
-MockitoDebugger -
-MockitoDebuggerImpl -
-MockitoException -
-MockitoInvocationHandler -
-MockitoJUnit44Runner -
-MockitoJUnitRunner -
-MockitoLogger -
-MockitoMethod -
-MockitoMethodProxy -
-MockitoNamingPolicy -
-MockName -
-MockSettings -
-MockSettingsImpl -
-MockUtil -
-NeverWantedButInvoked -
-NoInteractionsWanted -
-NoMoreInteractions -
-Not -
-NotAMockException -
-NotNull -
-Null -
-NullInsteadOfMockException -
-NumberOfInvocationsChecker -
-NumberOfInvocationsInOrderChecker -
-ObjectMethodsGuru -
-OngoingStubbing -
-OngoingStubbingImpl -
-Only -
-Or -
-Pluralizer -
-Primitives -
-PrintableInvocation -
-PrintingFriendlyInvocation -
-PrintSettings -
-RealMethod -
-ReflectionEquals -
-RegisteredInvocations -
-RemoveFirstLine -
-Reporter -
-Returns -
-ReturnsDeepStubs -
-ReturnsElementsOf -
-ReturnsEmptyValues -
-ReturnsMocks -
-ReturnsMoreEmptyValues -
-ReturnsSmartNulls -
-ReturnValues -
-RunnerFactory -
-RunnerImpl -
-RunnerProvider -
-Same -
-ScenarioPrinter -
-SearchingClassLoader -
-SequenceNumber -
-SerializableMethod -
-SerializableMockitoMethodProxy -
-SerializableNoOp -
-SimpleMockitoLogger -
-SmartNullPointerException -
-SmartPrinter -
-Spy -
-SpyAnnotationEngine -
-StackTraceFilter -
-StartsWith -
-StringJoiner -
-StubbedInvocationMatcher -
-Stubber -
-StubberImpl -
-StubInfo -
-TestMethodsFinder -
-ThreadSafeMockingProgress -
-ThrowsException -
-Timeout -
-Times -
-TooLittleActualInvocations -
-TooManyActualInvocations -
-UnfinishedStubbingException -
-UnfinishedVerificationException -
-UnusedStubsFinder -
-VarargMatcher -
-VerboseMockitoJUnitRunner -
-VerificationAwareInvocation -
-VerificationData -
-VerificationDataImpl -
-VerificationDataInOrder -
-VerificationDataInOrderImpl -
-VerificationInOrderFailure -
-VerificationInOrderMode -
-VerificationMode -
-VerificationModeFactory -
-VerificationWithTimeout -
-VerificationWithTimeoutImpl -
-VoidMethodStubbable -
-VoidMethodStubbableImpl -
-WantedButNotInvoked -
-WarningsCollector -
-WarningsFinder -
-WarningsPrinterImpl -
-Whitebox -
-WrongTypeOfReturnValue -
-
- - - diff --git a/tools/mockito/javadoc/allclasses-noframe.html b/tools/mockito/javadoc/allclasses-noframe.html deleted file mode 100644 index 6cc13530aaa..00000000000 --- a/tools/mockito/javadoc/allclasses-noframe.html +++ /dev/null @@ -1,506 +0,0 @@ - - - - - - -All Classes (Mockito API) - - - - - - - - - - -All Classes -
- - - - - -
AbstractMockitoMethodProxy -
-AccessibilityChanger -
-AdditionalMatchers -
-AllInvocationsFinder -
-And -
-AnnotationEngine -
-Answer -
-AnswerReturnValuesAdapter -
-Answers -
-Answers -
-AnswersValidator -
-Any -
-AnyVararg -
-ArgumentCaptor -
-ArgumentMatcher -
-ArgumentMatcherStorage -
-ArgumentMatcherStorageImpl -
-ArgumentMatchingTool -
-ArgumentsAreDifferent -
-ArgumentsAreDifferent -
-ArgumentsComparator -
-ArrayEquals -
-ArrayUtils -
-AtLeast -
-AtLeastDiscrepancy -
-AtLeastXNumberOfInvocationsChecker -
-AtLeastXNumberOfInvocationsInOrderChecker -
-AtMost -
-BaseStubbing -
-BDDMockito -
-BDDMockito.BDDMyOngoingStubbing -
-BDDMockito.BDDOngoingStubbingImpl -
-BDDMockito.BDDStubber -
-BDDMockito.BDDStubberImpl -
-CallsRealMethods -
-Captor -
-CapturesArgumensFromInvocation -
-CapturesArguments -
-CapturingMatcher -
-CGLIBHacker -
-CGLIBProxyRealMethod -
-ClassImposterizer -
-ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug -
-ClassNameFinder -
-ClassPathLoader -
-ClonesArguments -
-CollectCreatedMocks -
-CompareEqual -
-CompareTo -
-ConditionalStackTraceFilter -
-ConsecutiveStubbing -
-ConsoleMockitoLogger -
-ConsoleSpammingMockitoJUnitRunner -
-Contains -
-ContainsExtraTypeInformation -
-Decamelizer -
-DefaultAnnotationEngine -
-DefaultInjectionEngine -
-DefaultMockitoConfiguration -
-DelegatingMethod -
-DelegatingMockitoMethodProxy -
-DeprecatedOngoingStubbing -
-Discrepancy -
-DoesNothing -
-EndsWith -
-Equality -
-Equals -
-EqualsWithDelta -
-ExceptionIncludingMockitoWarnings -
-FieldCopier -
-FieldReader -
-FieldSetter -
-FilteredCGLIBProxyRealMethod -
-Find -
-FindingsListener -
-FrameworkUsageValidator -
-GenericMaster -
-GlobalConfiguration -
-GloballyConfiguredAnswer -
-GreaterOrEqual -
-GreaterThan -
-HandyReturnValues -
-HasCGLIBMethodProxy -
-IdentitySet -
-IMockitoConfiguration -
-InjectingAnnotationEngine -
-InjectMocks -
-InOrder -
-InOrderContext -
-InOrderContextImpl -
-InOrderImpl -
-InOrderWrapper -
-InstanceOf -
-InvalidUseOfMatchersException -
-Invocation -
-InvocationContainer -
-InvocationContainerImpl -
-InvocationMarker -
-InvocationMatcher -
-InvocationOnMock -
-InvocationsFinder -
-IOngoingStubbing -
-JUnit44RunnerImpl -
-JUnit45AndHigherRunnerImpl -
-JUnitFailureHacker -
-JUnitTool -
-LenientCopyTool -
-LessOrEqual -
-LessThan -
-ListUtil -
-ListUtil.Filter -
-Localized -
-LocalizedMatcher -
-Location -
-LoggingListener -
-MatcherDecorator -
-Matchers -
-MatchersBinder -
-MatchersPrinter -
-Matches -
-MethodInterceptorFilter -
-MissingInvocationChecker -
-MissingInvocationInOrderChecker -
-MissingMethodInvocationException -
-Mock -
-MockAwareVerificationMode -
-MockCreationValidator -
-MockHandler -
-MockHandlerInterface -
-MockingProgress -
-MockingProgressImpl -
-MockingProgressListener -
-MockingStartedListener -
-Mockito -
-MockitoAnnotations -
-MockitoAnnotations.Mock -
-MockitoAssertionError -
-MockitoConfigurationException -
-MockitoCore -
-MockitoDebugger -
-MockitoDebuggerImpl -
-MockitoException -
-MockitoInvocationHandler -
-MockitoJUnit44Runner -
-MockitoJUnitRunner -
-MockitoLogger -
-MockitoMethod -
-MockitoMethodProxy -
-MockitoNamingPolicy -
-MockName -
-MockSettings -
-MockSettingsImpl -
-MockUtil -
-NeverWantedButInvoked -
-NoInteractionsWanted -
-NoMoreInteractions -
-Not -
-NotAMockException -
-NotNull -
-Null -
-NullInsteadOfMockException -
-NumberOfInvocationsChecker -
-NumberOfInvocationsInOrderChecker -
-ObjectMethodsGuru -
-OngoingStubbing -
-OngoingStubbingImpl -
-Only -
-Or -
-Pluralizer -
-Primitives -
-PrintableInvocation -
-PrintingFriendlyInvocation -
-PrintSettings -
-RealMethod -
-ReflectionEquals -
-RegisteredInvocations -
-RemoveFirstLine -
-Reporter -
-Returns -
-ReturnsDeepStubs -
-ReturnsElementsOf -
-ReturnsEmptyValues -
-ReturnsMocks -
-ReturnsMoreEmptyValues -
-ReturnsSmartNulls -
-ReturnValues -
-RunnerFactory -
-RunnerImpl -
-RunnerProvider -
-Same -
-ScenarioPrinter -
-SearchingClassLoader -
-SequenceNumber -
-SerializableMethod -
-SerializableMockitoMethodProxy -
-SerializableNoOp -
-SimpleMockitoLogger -
-SmartNullPointerException -
-SmartPrinter -
-Spy -
-SpyAnnotationEngine -
-StackTraceFilter -
-StartsWith -
-StringJoiner -
-StubbedInvocationMatcher -
-Stubber -
-StubberImpl -
-StubInfo -
-TestMethodsFinder -
-ThreadSafeMockingProgress -
-ThrowsException -
-Timeout -
-Times -
-TooLittleActualInvocations -
-TooManyActualInvocations -
-UnfinishedStubbingException -
-UnfinishedVerificationException -
-UnusedStubsFinder -
-VarargMatcher -
-VerboseMockitoJUnitRunner -
-VerificationAwareInvocation -
-VerificationData -
-VerificationDataImpl -
-VerificationDataInOrder -
-VerificationDataInOrderImpl -
-VerificationInOrderFailure -
-VerificationInOrderMode -
-VerificationMode -
-VerificationModeFactory -
-VerificationWithTimeout -
-VerificationWithTimeoutImpl -
-VoidMethodStubbable -
-VoidMethodStubbableImpl -
-WantedButNotInvoked -
-WarningsCollector -
-WarningsFinder -
-WarningsPrinterImpl -
-Whitebox -
-WrongTypeOfReturnValue -
-
- - - diff --git a/tools/mockito/javadoc/constant-values.html b/tools/mockito/javadoc/constant-values.html deleted file mode 100644 index bea7da17a6b..00000000000 --- a/tools/mockito/javadoc/constant-values.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -Constant Field Values (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Constant Field Values

-
-
-Contents
    -
- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/deprecated-list.html b/tools/mockito/javadoc/deprecated-list.html deleted file mode 100644 index c3b7d86203d..00000000000 --- a/tools/mockito/javadoc/deprecated-list.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - - -Deprecated List (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Deprecated API

-
-
-Contents - - - - - - - - - -
-Deprecated Interfaces
org.mockito.ReturnValues -
-          Instead, please use Answer interface -

- In rare cases your code might not compile with recent deprecation & changes. - Very sorry for inconvenience but it had to be done in order to keep framework consistent. -

- Why it is deprecated? ReturnValues is being replaced by Answer - for better consistency & interoperability of the framework. - Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues. - There's no point in mainting exactly the same interfaces. -

- Configures return values for an unstubbed invocation -

- Can be used in Mockito.mock(Class, ReturnValues) 

-  -

- - - - - - - - -
-Deprecated Classes
org.mockito.runners.MockitoJUnit44Runner -
-           
-  -

- - - - - - - - -
-Deprecated Enums
org.mockito.internal.stubbing.defaultanswers.Answers -
-          - please use Answers from top Mockito package: Answers -

- WARNING Those answers no longer are used by the framework!!! Please use Answers -

- See Mockito for more information. 

-  -

- - - - - - - - -
-Deprecated Annotation Types
org.mockito.MockitoAnnotations.Mock -
-           
-  -

- - - - - - - - - - - - - - - - - - - - -
-Deprecated Methods
org.mockito.configuration.AnnotationEngine.createMockFor(Annotation, Field) -
-          Please use AnnotationProcessor 'execute' method instead that is more robust -

- Creates mock, ArgumentCaptor or wraps field instance in spy object. - Only if of correct annotation type. 

org.mockito.configuration.IMockitoConfiguration.getReturnValues() -
-          Please use IMockitoConfiguration.getDefaultAnswer() -

- Steps: -

- 1. Leave the implementation of getReturnValues() method empty - it's not going to be used anyway. -

- 2. Implement getDefaultAnswer() instead. -

- In rare cases your code might not compile with recent deprecation & changes. - Very sorry for inconvenience but it had to be done in order to keep framework consistent. -

- See javadoc ReturnValues for info why this method was deprecated -

- Allows configuring the default return values of unstubbed invocations -

- See javadoc for IMockitoConfiguration 

org.mockito.configuration.DefaultMockitoConfiguration.getReturnValues() -
-           
org.mockito.Mockito.mock(Class, ReturnValues) -
-          Please use mock(Foo.class, defaultAnswer); -

- See Mockito.mock(Class, Answer) -

- Why it is deprecated? ReturnValues is being replaced by Answer - for better consistency & interoperability of the framework. - Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues. - There's no point in mainting exactly the same interfaces. -

- Creates mock with a specified strategy for its return values. - It's quite advanced feature and typically you don't need it to write decent tests. - However it can be helpful when working with legacy systems. -

- Obviously return values are used only when you don't stub the method call. - -

-   Foo mock = mock(Foo.class, Mockito.RETURNS_SMART_NULLS);
-   Foo mockTwo = mock(Foo.class, new YourOwnReturnValues()); 
- 
- -

See examples in javadoc for Mockito class

 
org.mockito.Mockito.stubVoid(T) -
-          Use Mockito.doThrow(Throwable) method for stubbing voids 
-  -

- - - - - - - - -
-Deprecated Constructors
org.mockito.ArgumentCaptor() -
-          Please use factory method ArgumentCaptor.forClass(Class) to create captors -

- This is required to avoid NullPointerExceptions when autoUnboxing primitive types. - See issue 99. -

- Example: -

-   ArgumentCaptor<Person> argument = ArgumentCaptor.forClass(Person.class);
-   verify(mock).doSomething(argument.capture());
-   assertEquals("John", argument.getValue().getName());
- 
 
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/help-doc.html b/tools/mockito/javadoc/help-doc.html deleted file mode 100644 index d06e6d7ddc1..00000000000 --- a/tools/mockito/javadoc/help-doc.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - -API Help (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-How This API Document Is Organized

-
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

-Overview

-
- -

-The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

-

-Package

-
- -

-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    -
  • Interfaces (italic)
  • Classes
  • Enums
  • Exceptions
  • Errors
  • Annotation Types
-
-

-Class/Interface

-
- -

-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description -

    -

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary -

    -

  • Field Detail
  • Constructor Detail
  • Method Detail
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
- -

-Annotation Type

-
- -

-Each annotation type has its own separate page with the following sections:

    -
  • Annotation Type declaration
  • Annotation Type description
  • Required Element Summary
  • Optional Element Summary
  • Element Detail
-
- -

-Enum

-
- -

-Each enum has its own separate page with the following sections:

    -
  • Enum declaration
  • Enum description
  • Enum Constant Summary
  • Enum Constant Detail
-
-

-Use

-
-Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
-

-Tree (Class Hierarchy)

-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    -
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
-
-

-Deprecated API

-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-

-Index

-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-

-Prev/Next

-These links take you to the next or previous class, interface, package, or related page.

-Frames/No Frames

-These links show and hide the HTML frames. All pages are available with or without frames. -

-

-Serialized Form

-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

-

-Constant Field Values

-The Constant Field Values page lists the static final fields and their values. -

- - -This help file applies to API documentation generated using the standard doclet. - -
-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/index-all.html b/tools/mockito/javadoc/index-all.html deleted file mode 100644 index 2ade4fdbd9e..00000000000 --- a/tools/mockito/javadoc/index-all.html +++ /dev/null @@ -1,3364 +0,0 @@ - - - - - - -Index (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J L M N O P R S T U V W _
-

-A

-
-
AbstractMockitoMethodProxy - Class in org.mockito.internal.creation
 
AbstractMockitoMethodProxy() - -Constructor for class org.mockito.internal.creation.AbstractMockitoMethodProxy -
  -
AccessibilityChanger - Class in org.mockito.internal.util.reflection
 
AccessibilityChanger() - -Constructor for class org.mockito.internal.util.reflection.AccessibilityChanger -
  -
add(Object) - -Method in class org.mockito.internal.util.IdentitySet -
  -
add(Invocation) - -Method in class org.mockito.internal.verification.RegisteredInvocations -
  -
addAnswer(Answer) - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
addAnswer(Answer, boolean) - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
addAnswer(Answer) - -Method in class org.mockito.internal.stubbing.StubbedInvocationMatcher -
  -
addAnswerForVoidMethod(Answer) - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
addConsecutiveAnswer(Answer) - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
AdditionalMatchers - Class in org.mockito
See Matchers for general info about matchers.
AdditionalMatchers() - -Constructor for class org.mockito.AdditionalMatchers -
  -
AllInvocationsFinder - Class in org.mockito.internal.invocation
 
AllInvocationsFinder() - -Constructor for class org.mockito.internal.invocation.AllInvocationsFinder -
  -
and(boolean, boolean) - -Static method in class org.mockito.AdditionalMatchers -
boolean argument that matches both given matchers. -
and(byte, byte) - -Static method in class org.mockito.AdditionalMatchers -
byte argument that matches both given argument matchers. -
and(char, char) - -Static method in class org.mockito.AdditionalMatchers -
char argument that matches both given argument matchers. -
and(double, double) - -Static method in class org.mockito.AdditionalMatchers -
double argument that matches both given argument matchers. -
and(float, float) - -Static method in class org.mockito.AdditionalMatchers -
float argument that matches both given argument matchers. -
and(int, int) - -Static method in class org.mockito.AdditionalMatchers -
int argument that matches both given argument matchers. -
and(long, long) - -Static method in class org.mockito.AdditionalMatchers -
long argument that matches both given argument matchers. -
and(short, short) - -Static method in class org.mockito.AdditionalMatchers -
short argument that matches both given argument matchers. -
and(T, T) - -Static method in class org.mockito.AdditionalMatchers -
Object argument that matches both given argument matchers. -
And - Class in org.mockito.internal.matchers
 
And(List<Matcher>) - -Constructor for class org.mockito.internal.matchers.And -
  -
AnnotationEngine - Interface in org.mockito.configuration
Configures mock creation logic behind @Mock, @Captor and @Spy annotations
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.answers.AnswerReturnValuesAdapter -
  -
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.answers.CallsRealMethods -
  -
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.answers.ClonesArguments -
  -
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.answers.DoesNothing -
  -
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.answers.Returns -
  -
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.answers.ThrowsException -
  -
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.defaultanswers.GloballyConfiguredAnswer -
  -
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.defaultanswers.ReturnsDeepStubs -
  -
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValues -
  -
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.defaultanswers.ReturnsMocks -
  -
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValues -
  -
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNulls -
  -
answer(InvocationOnMock) - -Method in class org.mockito.internal.stubbing.StubbedInvocationMatcher -
  -
Answer<T> - Interface in org.mockito.stubbing
Generic interface to be used for configuring mock's answer.
answer(InvocationOnMock) - -Method in interface org.mockito.stubbing.Answer -
  -
answer(InvocationOnMock) - -Method in class org.mockito.stubbing.answers.ReturnsElementsOf -
  -
AnswerReturnValuesAdapter - Class in org.mockito.internal.stubbing.answers
 
AnswerReturnValuesAdapter(ReturnValues) - -Constructor for class org.mockito.internal.stubbing.answers.AnswerReturnValuesAdapter -
  -
Answers - Enum in org.mockito
Enumeration of pre-configured mock answers
Answers - Enum in org.mockito.internal.stubbing.defaultanswers
Deprecated. - please use Answers from top Mockito package: Answers -

- WARNING Those answers no longer are used by the framework!!! Please use Answers -

- See Mockito for more information.

AnswersValidator - Class in org.mockito.internal.stubbing.answers
 
AnswersValidator() - -Constructor for class org.mockito.internal.stubbing.answers.AnswersValidator -
  -
Any - Class in org.mockito.internal.matchers
 
ANY - -Static variable in class org.mockito.internal.matchers.Any -
  -
any(Class<T>) - -Static method in class org.mockito.Matchers -
any kind object, not necessary of the given class. -
any() - -Static method in class org.mockito.Matchers -
any object or null -
ANY_VARARG - -Static variable in class org.mockito.internal.matchers.AnyVararg -
  -
anyBoolean() - -Static method in class org.mockito.Matchers -
any boolean, Boolean or null. -
anyByte() - -Static method in class org.mockito.Matchers -
any byte, Byte or null -
anyChar() - -Static method in class org.mockito.Matchers -
any char, Character or null. -
anyCollection() - -Static method in class org.mockito.Matchers -
any Collection or null. -
anyCollectionOf(Class<T>) - -Static method in class org.mockito.Matchers -
generic friendly alias to Matchers.anyCollection(). -
anyDouble() - -Static method in class org.mockito.Matchers -
any double, Double or null. -
anyFloat() - -Static method in class org.mockito.Matchers -
any float, Float or null. -
anyInt() - -Static method in class org.mockito.Matchers -
any int, Integer or null. -
anyList() - -Static method in class org.mockito.Matchers -
any List or null. -
anyListOf(Class<T>) - -Static method in class org.mockito.Matchers -
generic friendly alias to Matchers.anyList(). -
anyLong() - -Static method in class org.mockito.Matchers -
any long, Long or null. -
anyMap() - -Static method in class org.mockito.Matchers -
any Map or null. -
anyObject() - -Static method in class org.mockito.Matchers -
any Object or null. -
anySet() - -Static method in class org.mockito.Matchers -
any Set or null -
anySetOf(Class<T>) - -Static method in class org.mockito.Matchers -
generic friendly alias to Matchers.anySet(). -
anyShort() - -Static method in class org.mockito.Matchers -
any short, Short or null. -
anyString() - -Static method in class org.mockito.Matchers -
any String or null. -
AnyVararg - Class in org.mockito.internal.matchers
 
AnyVararg() - -Constructor for class org.mockito.internal.matchers.AnyVararg -
  -
anyVararg() - -Static method in class org.mockito.Matchers -
Any vararg, meaning any number and values of arguments. -
appendWarnings(Failure, String) - -Method in class org.mockito.internal.util.junit.JUnitFailureHacker -
  -
areEqual(Object, Object) - -Static method in class org.mockito.internal.matchers.Equality -
  -
argThat(Matcher<T>) - -Static method in class org.mockito.Matchers -
Allows creating custom argument matchers. -
ArgumentCaptor<T> - Class in org.mockito
Use it to capture argument values for further assertions.
ArgumentCaptor() - -Constructor for class org.mockito.ArgumentCaptor -
Deprecated. Please use factory method ArgumentCaptor.forClass(Class) to create captors -

- This is required to avoid NullPointerExceptions when autoUnboxing primitive types. - See issue 99. -

- Example: -

-   ArgumentCaptor<Person> argument = ArgumentCaptor.forClass(Person.class);
-   verify(mock).doSomething(argument.capture());
-   assertEquals("John", argument.getValue().getName());
- 
-
ArgumentMatcher<T> - Class in org.mockito
Allows creating customized argument matchers.
ArgumentMatcher() - -Constructor for class org.mockito.ArgumentMatcher -
  -
ArgumentMatcherStorage - Interface in org.mockito.internal.progress
 
ArgumentMatcherStorageImpl - Class in org.mockito.internal.progress
 
ArgumentMatcherStorageImpl() - -Constructor for class org.mockito.internal.progress.ArgumentMatcherStorageImpl -
  -
ArgumentMatchingTool - Class in org.mockito.internal.verification.argumentmatching
 
ArgumentMatchingTool() - -Constructor for class org.mockito.internal.verification.argumentmatching.ArgumentMatchingTool -
  -
argumentsAreDifferent(String, String, Location) - -Method in class org.mockito.exceptions.Reporter -
  -
ArgumentsAreDifferent - Error in org.mockito.exceptions.verification
 
ArgumentsAreDifferent(String) - -Constructor for error org.mockito.exceptions.verification.ArgumentsAreDifferent -
  -
ArgumentsAreDifferent - Error in org.mockito.exceptions.verification.junit
 
ArgumentsAreDifferent(String, String, String) - -Constructor for error org.mockito.exceptions.verification.junit.ArgumentsAreDifferent -
  -
ArgumentsComparator - Class in org.mockito.internal.invocation
 
ArgumentsComparator() - -Constructor for class org.mockito.internal.invocation.ArgumentsComparator -
  -
argumentsMatch(InvocationMatcher, Invocation) - -Method in class org.mockito.internal.invocation.ArgumentsComparator -
  -
argumentsMatch(InvocationMatcher, Object[]) - -Method in class org.mockito.internal.invocation.ArgumentsComparator -
  -
argumentsToMatchers() - -Method in class org.mockito.internal.invocation.Invocation -
  -
ArrayEquals - Class in org.mockito.internal.matchers
 
ArrayEquals(Object) - -Constructor for class org.mockito.internal.matchers.ArrayEquals -
  -
ArrayUtils - Class in org.mockito.internal.util
 
ArrayUtils() - -Constructor for class org.mockito.internal.util.ArrayUtils -
  -
aryEq(T[]) - -Static method in class org.mockito.AdditionalMatchers -
Object array argument that is equal to the given array, i.e. -
aryEq(short[]) - -Static method in class org.mockito.AdditionalMatchers -
short array argument that is equal to the given array, i.e. -
aryEq(long[]) - -Static method in class org.mockito.AdditionalMatchers -
long array argument that is equal to the given array, i.e. -
aryEq(int[]) - -Static method in class org.mockito.AdditionalMatchers -
int array argument that is equal to the given array, i.e. -
aryEq(float[]) - -Static method in class org.mockito.AdditionalMatchers -
float array argument that is equal to the given array, i.e. -
aryEq(double[]) - -Static method in class org.mockito.AdditionalMatchers -
double array argument that is equal to the given array, i.e. -
aryEq(char[]) - -Static method in class org.mockito.AdditionalMatchers -
char array argument that is equal to the given array, i.e. -
aryEq(byte[]) - -Static method in class org.mockito.AdditionalMatchers -
byte array argument that is equal to the given array, i.e. -
aryEq(boolean[]) - -Static method in class org.mockito.AdditionalMatchers -
boolean array argument that is equal to the given array, i.e. -
AtLeast - Class in org.mockito.internal.verification
 
AtLeast(int) - -Constructor for class org.mockito.internal.verification.AtLeast -
  -
atLeast(int) - -Static method in class org.mockito.internal.verification.VerificationModeFactory -
  -
atLeast(int) - -Static method in class org.mockito.Mockito -
Allows at-least-x verification. -
atLeast(int) - -Method in class org.mockito.verification.Timeout -
  -
atLeast(int) - -Method in interface org.mockito.verification.VerificationWithTimeout -
Allows at-least-x verification withing given timeout. -
AtLeastDiscrepancy - Class in org.mockito.internal.verification.checkers
 
AtLeastDiscrepancy(int, int) - -Constructor for class org.mockito.internal.verification.checkers.AtLeastDiscrepancy -
  -
atLeastOnce() - -Static method in class org.mockito.internal.verification.VerificationModeFactory -
  -
atLeastOnce() - -Static method in class org.mockito.Mockito -
Allows at-least-once verification. -
atLeastOnce() - -Method in class org.mockito.verification.Timeout -
  -
atLeastOnce() - -Method in interface org.mockito.verification.VerificationWithTimeout -
Allows at-least-once verification withing given timeout. -
AtLeastXNumberOfInvocationsChecker - Class in org.mockito.internal.verification.checkers
 
AtLeastXNumberOfInvocationsChecker() - -Constructor for class org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsChecker -
  -
AtLeastXNumberOfInvocationsInOrderChecker - Class in org.mockito.internal.verification.checkers
 
AtLeastXNumberOfInvocationsInOrderChecker(InOrderContext) - -Constructor for class org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsInOrderChecker -
  -
AtMost - Class in org.mockito.internal.verification
 
AtMost(int) - -Constructor for class org.mockito.internal.verification.AtMost -
  -
atMost(int) - -Static method in class org.mockito.internal.verification.VerificationModeFactory -
  -
atMost(int) - -Static method in class org.mockito.Mockito -
Allows at-most-x verification. -
atMost(int) - -Method in class org.mockito.verification.Timeout -
  -
atMost(int) - -Method in interface org.mockito.verification.VerificationWithTimeout -
Allows at-most-x verification within given timeout. -
-
-

-B

-
-
BaseStubbing<T> - Class in org.mockito.internal.stubbing
 
BaseStubbing() - -Constructor for class org.mockito.internal.stubbing.BaseStubbing -
  -
BDDMockito - Class in org.mockito
Behavior Driven Development style of writing tests uses //given //when //then comments as fundamental parts of your test methods.
BDDMockito() - -Constructor for class org.mockito.BDDMockito -
  -
BDDMockito.BDDMyOngoingStubbing<T> - Interface in org.mockito
See original OngoingStubbing
BDDMockito.BDDOngoingStubbingImpl<T> - Class in org.mockito
 
BDDMockito.BDDOngoingStubbingImpl(OngoingStubbing<T>) - -Constructor for class org.mockito.BDDMockito.BDDOngoingStubbingImpl -
  -
BDDMockito.BDDStubber - Interface in org.mockito
See original Stubber
BDDMockito.BDDStubberImpl - Class in org.mockito
 
BDDMockito.BDDStubberImpl(Stubber) - -Constructor for class org.mockito.BDDMockito.BDDStubberImpl -
  -
bindMatchers(ArgumentMatcherStorage, Invocation) - -Method in class org.mockito.internal.invocation.MatchersBinder -
  -
booleanThat(Matcher<Boolean>) - -Static method in class org.mockito.Matchers -
Allows creating custom argument matchers. -
byteThat(Matcher<Byte>) - -Static method in class org.mockito.Matchers -
Allows creating custom argument matchers. -
-
-

-C

-
-
callRealMethod() - -Method in class org.mockito.internal.invocation.Invocation -
  -
callRealMethod() - -Method in interface org.mockito.invocation.InvocationOnMock -
calls real method -
CALLS_REAL_METHODS - -Static variable in class org.mockito.Mockito -
Optional Answer to be used with Mockito.mock(Class, Answer) -
CallsRealMethods - Class in org.mockito.internal.stubbing.answers
Optional Answer that adds partial mocking support
CallsRealMethods() - -Constructor for class org.mockito.internal.stubbing.answers.CallsRealMethods -
  -
canImposterise(Class<?>) - -Method in class org.mockito.internal.creation.jmock.ClassImposterizer -
  -
cannotCallRealMethodOnInterface() - -Method in class org.mockito.exceptions.Reporter -
  -
cannotMockFinalClass(Class<?>) - -Method in class org.mockito.exceptions.Reporter -
  -
cannotStubVoidMethodWithAReturnValue(String) - -Method in class org.mockito.exceptions.Reporter -
  -
cannotStubWithNullThrowable() - -Method in class org.mockito.exceptions.Reporter -
  -
cannotVerifyToString() - -Method in class org.mockito.exceptions.Reporter -
  -
Captor - Annotation Type in org.mockito
Allows shorthand ArgumentCaptor creation on fields.
capture() - -Method in class org.mockito.ArgumentCaptor -
Use it to capture the argument. -
captureArgumentsFrom(Invocation) - -Method in interface org.mockito.internal.invocation.CapturesArgumensFromInvocation -
  -
captureArgumentsFrom(Invocation) - -Method in class org.mockito.internal.invocation.InvocationMatcher -
  -
captureFrom(Object) - -Method in interface org.mockito.internal.matchers.CapturesArguments -
  -
captureFrom(Object) - -Method in class org.mockito.internal.matchers.CapturingMatcher -
  -
captureFrom(Object) - -Method in class org.mockito.internal.matchers.LocalizedMatcher -
  -
CapturesArgumensFromInvocation - Interface in org.mockito.internal.invocation
 
CapturesArguments - Interface in org.mockito.internal.matchers
 
CapturingMatcher<T> - Class in org.mockito.internal.matchers
 
CapturingMatcher() - -Constructor for class org.mockito.internal.matchers.CapturingMatcher -
  -
CGLIBHacker - Class in org.mockito.internal.creation.cglib
 
CGLIBHacker() - -Constructor for class org.mockito.internal.creation.cglib.CGLIBHacker -
  -
CGLIBProxyRealMethod - Class in org.mockito.internal.invocation.realmethod
 
CGLIBProxyRealMethod(MockitoMethodProxy) - -Constructor for class org.mockito.internal.invocation.realmethod.CGLIBProxyRealMethod -
  -
charThat(Matcher<Character>) - -Static method in class org.mockito.Matchers -
Allows creating custom argument matchers. -
check(List<Invocation>, InvocationMatcher, int) - -Method in class org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsChecker -
  -
check(List<Invocation>, InvocationMatcher, int) - -Method in class org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsInOrderChecker -
  -
check(List<Invocation>, InvocationMatcher) - -Method in class org.mockito.internal.verification.checkers.MissingInvocationChecker -
  -
check(List<Invocation>, InvocationMatcher, VerificationMode, InOrderContext) - -Method in class org.mockito.internal.verification.checkers.MissingInvocationInOrderChecker -
  -
check(List<Invocation>, InvocationMatcher, int) - -Method in class org.mockito.internal.verification.checkers.NumberOfInvocationsChecker -
  -
check(List<Invocation>, InvocationMatcher, int, InOrderContext) - -Method in class org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderChecker -
  -
checkedExceptionInvalid(Throwable) - -Method in class org.mockito.exceptions.Reporter -
  -
ClassImposterizer - Class in org.mockito.internal.creation.jmock
Thanks to jMock guys for this handy class that wraps all the cglib magic.
ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug - Class in org.mockito.internal.creation.jmock
 
ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug() - -Constructor for class org.mockito.internal.creation.jmock.ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug -
  -
ClassNameFinder - Class in org.mockito.internal.creation
 
ClassNameFinder() - -Constructor for class org.mockito.internal.creation.ClassNameFinder -
  -
classNameForMock(Object) - -Static method in class org.mockito.internal.creation.ClassNameFinder -
  -
ClassPathLoader - Class in org.mockito.internal.configuration
 
ClassPathLoader() - -Constructor for class org.mockito.internal.configuration.ClassPathLoader -
  -
cleansStackTrace() - -Method in class org.mockito.configuration.DefaultMockitoConfiguration -
  -
cleansStackTrace() - -Method in interface org.mockito.configuration.IMockitoConfiguration -
This should be turned on unless you're a Mockito developer and you wish - to have verbose (read: messy) stack traces that only few understand (eg: - Mockito developers) -
cleansStackTrace() - -Method in class org.mockito.internal.configuration.GlobalConfiguration -
  -
ClonesArguments - Class in org.mockito.internal.stubbing.answers
 
ClonesArguments() - -Constructor for class org.mockito.internal.stubbing.answers.ClonesArguments -
  -
cmpEq(Comparable<T>) - -Static method in class org.mockito.AdditionalMatchers -
comparable argument equals to the given value according to their - compareTo method. -
CollectCreatedMocks - Class in org.mockito.internal.listeners
 
CollectCreatedMocks(List) - -Constructor for class org.mockito.internal.listeners.CollectCreatedMocks -
  -
combineLoadersOf(Class<?>...) - -Static method in class org.mockito.internal.creation.jmock.SearchingClassLoader -
  -
CompareEqual<T extends java.lang.Comparable<T>> - Class in org.mockito.internal.matchers
 
CompareEqual(Comparable<T>) - -Constructor for class org.mockito.internal.matchers.CompareEqual -
  -
CompareTo<T extends java.lang.Comparable<T>> - Class in org.mockito.internal.matchers
 
CompareTo(Comparable<T>) - -Constructor for class org.mockito.internal.matchers.CompareTo -
  -
concat(Class<?>[], Class<?>) - -Method in class org.mockito.internal.util.ArrayUtils -
  -
ConditionalStackTraceFilter - Class in org.mockito.internal.exceptions.base
 
ConditionalStackTraceFilter() - -Constructor for class org.mockito.internal.exceptions.base.ConditionalStackTraceFilter -
  -
ConsecutiveStubbing<T> - Class in org.mockito.internal.stubbing
 
ConsecutiveStubbing(InvocationContainerImpl) - -Constructor for class org.mockito.internal.stubbing.ConsecutiveStubbing -
  -
ConsoleMockitoLogger - Class in org.mockito.internal.util
 
ConsoleMockitoLogger() - -Constructor for class org.mockito.internal.util.ConsoleMockitoLogger -
  -
ConsoleSpammingMockitoJUnitRunner - Class in org.mockito.runners
Uses JUnit 4.5 runner BlockJUnit4ClassRunner.
ConsoleSpammingMockitoJUnitRunner(Class<?>) - -Constructor for class org.mockito.runners.ConsoleSpammingMockitoJUnitRunner -
  -
Contains - Class in org.mockito.internal.matchers
 
Contains(String) - -Constructor for class org.mockito.internal.matchers.Contains -
  -
contains(Object) - -Method in class org.mockito.internal.util.IdentitySet -
  -
contains(String) - -Static method in class org.mockito.Matchers -
String argument that contains the given substring. -
ContainsExtraTypeInformation - Interface in org.mockito.internal.matchers
 
copyToMock(T, T) - -Method in class org.mockito.internal.util.reflection.LenientCopyTool -
  -
copyToRealObject(T, T) - -Method in class org.mockito.internal.util.reflection.LenientCopyTool -
  -
copyValue(T, T, Field) - -Method in class org.mockito.internal.util.reflection.FieldCopier -
  -
create(Class<?>) - -Method in class org.mockito.internal.runners.RunnerFactory -
  -
createArgumentsAreDifferentException(String, String, String) - -Static method in class org.mockito.exceptions.verification.junit.JUnitTool -
  -
createFrom(List<Invocation>) - -Static method in class org.mockito.internal.invocation.InvocationMatcher -
  -
createMock(Class<T>, MockSettingsImpl) - -Method in class org.mockito.internal.util.MockUtil -
  -
createMockFor(Annotation, Field) - -Method in interface org.mockito.configuration.AnnotationEngine -
Deprecated. Please use AnnotationProcessor 'execute' method instead that is more robust -

- Creates mock, ArgumentCaptor or wraps field instance in spy object. - Only if of correct annotation type. -

createMockFor(Annotation, Field) - -Method in class org.mockito.internal.configuration.DefaultAnnotationEngine -
  -
createMockFor(Annotation, Field) - -Method in class org.mockito.internal.configuration.InjectingAnnotationEngine -
  -
createMockFor(Annotation, Field) - -Method in class org.mockito.internal.configuration.SpyAnnotationEngine -
  -
createMockitoMethod(Method) - -Method in class org.mockito.internal.creation.MethodInterceptorFilter -
  -
createMockitoMethodProxy(MethodProxy) - -Method in class org.mockito.internal.creation.MethodInterceptorFilter -
  -
createObjectArray(Object) - -Static method in class org.mockito.internal.matchers.ArrayEquals -
  -
-
-

-D

-
-
decamelizeMatcher(String) - -Static method in class org.mockito.internal.util.Decamelizer -
  -
Decamelizer - Class in org.mockito.internal.util
 
Decamelizer() - -Constructor for class org.mockito.internal.util.Decamelizer -
  -
DefaultAnnotationEngine - Class in org.mockito.internal.configuration
Initializes fields annotated with @Mock or @Captor.
DefaultAnnotationEngine() - -Constructor for class org.mockito.internal.configuration.DefaultAnnotationEngine -
  -
defaultAnswer(Answer) - -Method in class org.mockito.internal.creation.MockSettingsImpl -
  -
defaultAnswer(Answer) - -Method in interface org.mockito.MockSettings -
Specifies default answers to interactions. -
DefaultInjectionEngine - Class in org.mockito.internal.configuration
Initializes mock/spies dependencies for fields annotated with @InjectMocks -

- See MockitoAnnotations

DefaultInjectionEngine() - -Constructor for class org.mockito.internal.configuration.DefaultInjectionEngine -
  -
DefaultMockitoConfiguration - Class in org.mockito.configuration
DefaultConfiguration of Mockito framework
DefaultMockitoConfiguration() - -Constructor for class org.mockito.configuration.DefaultMockitoConfiguration -
  -
DelegatingMethod - Class in org.mockito.internal.creation
 
DelegatingMethod(Method) - -Constructor for class org.mockito.internal.creation.DelegatingMethod -
  -
DelegatingMockitoMethodProxy - Class in org.mockito.internal.creation
 
DelegatingMockitoMethodProxy(MethodProxy) - -Constructor for class org.mockito.internal.creation.DelegatingMockitoMethodProxy -
  -
DeprecatedOngoingStubbing<T> - Interface in org.mockito.stubbing
Stubs a method call with return value or an exception.
describe(Object) - -Method in class org.mockito.internal.matchers.Equals -
  -
describeTo(Description) - -Method in class org.mockito.ArgumentMatcher -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.And -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.Any -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.apachecommons.ReflectionEquals -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.ArrayEquals -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.CapturingMatcher -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.CompareTo -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.Contains -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.EndsWith -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.Equals -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.EqualsWithDelta -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.Find -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.InstanceOf -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.LocalizedMatcher -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.Matches -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.Not -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.NotNull -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.Null -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.Or -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.Same -
  -
describeTo(Description) - -Method in class org.mockito.internal.matchers.StartsWith -
  -
Discrepancy - Class in org.mockito.exceptions
 
Discrepancy(int, int) - -Constructor for class org.mockito.exceptions.Discrepancy -
  -
doAnswer(Answer) - -Method in class org.mockito.internal.MockitoCore -
  -
doAnswer(Answer) - -Method in class org.mockito.internal.stubbing.StubberImpl -
  -
doAnswer(Answer) - -Static method in class org.mockito.Mockito -
Use doAnswer() when you want to stub a void method with generic Answer. -
doAnswer(Answer) - -Method in interface org.mockito.stubbing.Stubber -
Use it for stubbing consecutive calls in Mockito.doAnswer(Answer) style: -
doCallRealMethod() - -Static method in class org.mockito.Mockito -
Use doCallRealMethod() when you want to call the real implementation of a method. -
DoesNothing - Class in org.mockito.internal.stubbing.answers
 
DoesNothing() - -Constructor for class org.mockito.internal.stubbing.answers.DoesNothing -
  -
doNothing() - -Method in class org.mockito.internal.stubbing.StubberImpl -
  -
doNothing() - -Static method in class org.mockito.Mockito -
Use doNothing() for setting void methods to do nothing. -
doNothing() - -Method in interface org.mockito.stubbing.Stubber -
Use it for stubbing consecutive calls in Mockito.doNothing() style: -
doReturn(Object) - -Method in class org.mockito.internal.stubbing.StubberImpl -
  -
doReturn(Object) - -Static method in class org.mockito.Mockito -
Use doReturn() in those rare occasions when you cannot use Mockito.when(Object). -
doReturn(Object) - -Method in interface org.mockito.stubbing.Stubber -
Use it for stubbing consecutive calls in Mockito.doReturn(Object) style. -
doThrow(Throwable) - -Method in class org.mockito.internal.stubbing.StubberImpl -
  -
doThrow(Throwable) - -Static method in class org.mockito.Mockito -
Use doThrow() when you want to stub the void method with an exception. -
doThrow(Throwable) - -Method in interface org.mockito.stubbing.Stubber -
Use it for stubbing consecutive calls in Mockito.doThrow(Throwable) style: -
doubleThat(Matcher<Double>) - -Static method in class org.mockito.Matchers -
Allows creating custom argument matchers. -
-
-

-E

-
-
enableAccess(Field) - -Method in class org.mockito.internal.util.reflection.AccessibilityChanger -
changes the field accessibility and returns true if accessibility was changed -
EndsWith - Class in org.mockito.internal.matchers
 
EndsWith(String) - -Constructor for class org.mockito.internal.matchers.EndsWith -
  -
endsWith(String) - -Static method in class org.mockito.Matchers -
String argument that ends with the given suffix. -
eq(double, double) - -Static method in class org.mockito.AdditionalMatchers -
double argument that has an absolute difference to the given value that - is less than the given delta details. -
eq(float, float) - -Static method in class org.mockito.AdditionalMatchers -
float argument that has an absolute difference to the given value that is - less than the given delta details. -
eq(boolean) - -Static method in class org.mockito.Matchers -
boolean argument that is equal to the given value. -
eq(byte) - -Static method in class org.mockito.Matchers -
byte argument that is equal to the given value. -
eq(char) - -Static method in class org.mockito.Matchers -
char argument that is equal to the given value. -
eq(double) - -Static method in class org.mockito.Matchers -
double argument that is equal to the given value. -
eq(float) - -Static method in class org.mockito.Matchers -
float argument that is equal to the given value. -
eq(int) - -Static method in class org.mockito.Matchers -
int argument that is equal to the given value. -
eq(long) - -Static method in class org.mockito.Matchers -
long argument that is equal to the given value. -
eq(short) - -Static method in class org.mockito.Matchers -
short argument that is equal to the given value. -
eq(T) - -Static method in class org.mockito.Matchers -
Object argument that is equal to the given value. -
Equality - Class in org.mockito.internal.matchers
 
Equality() - -Constructor for class org.mockito.internal.matchers.Equality -
  -
equals(Object) - -Method in class org.mockito.internal.creation.DelegatingMethod -
  -
equals(Object) - -Method in class org.mockito.internal.invocation.Invocation -
  -
equals(Object) - -Method in class org.mockito.internal.invocation.SerializableMethod -
  -
Equals - Class in org.mockito.internal.matchers
 
Equals(Object) - -Constructor for class org.mockito.internal.matchers.Equals -
  -
equals(Object) - -Method in class org.mockito.internal.matchers.Equals -
  -
EqualsWithDelta - Class in org.mockito.internal.matchers
 
EqualsWithDelta(Number, Number) - -Constructor for class org.mockito.internal.matchers.EqualsWithDelta -
  -
ExceptionIncludingMockitoWarnings - Exception in org.mockito.internal.exceptions
 
ExceptionIncludingMockitoWarnings(String, Throwable) - -Constructor for exception org.mockito.internal.exceptions.ExceptionIncludingMockitoWarnings -
  -
extraInterfaces(Class<?>...) - -Method in class org.mockito.internal.creation.MockSettingsImpl -
  -
extraInterfaces(Class<?>...) - -Method in interface org.mockito.MockSettings -
Specifies extra interfaces the mock should implement. -
extraInterfacesAcceptsOnlyInterfaces(Class<?>) - -Method in class org.mockito.exceptions.Reporter -
  -
extraInterfacesCannotContainMockedType(Class<?>) - -Method in class org.mockito.exceptions.Reporter -
  -
extraInterfacesDoesNotAcceptNullParameters() - -Method in class org.mockito.exceptions.Reporter -
  -
extraInterfacesRequiresAtLeastOneInterface() - -Method in class org.mockito.exceptions.Reporter -
  -
extraTypeInfoFor(int) - -Method in class org.mockito.internal.reporting.PrintSettings -
  -
-
-

-F

-
-
FieldCopier - Class in org.mockito.internal.util.reflection
 
FieldCopier() - -Constructor for class org.mockito.internal.util.reflection.FieldCopier -
  -
FieldReader - Class in org.mockito.internal.util.reflection
 
FieldReader(Object, Field) - -Constructor for class org.mockito.internal.util.reflection.FieldReader -
  -
FieldSetter - Class in org.mockito.internal.util.reflection
 
FieldSetter(Object, Field) - -Constructor for class org.mockito.internal.util.reflection.FieldSetter -
  -
filter(Throwable) - -Method in class org.mockito.internal.exceptions.base.ConditionalStackTraceFilter -
  -
filter(StackTraceElement[], boolean) - -Method in class org.mockito.internal.exceptions.base.StackTraceFilter -
Example how the filter works (+/- means good/bad): - [a+, b+, c-, d+, e+, f-, g+] -> [a+, b+, g+] - Basically removes all bad from the middle. -
filter(Filter) - -Method in class org.mockito.internal.runners.JUnit44RunnerImpl -
  -
filter(Filter) - -Method in class org.mockito.internal.runners.JUnit45AndHigherRunnerImpl -
  -
filter(Collection<T>, ListUtil.Filter<T>) - -Static method in class org.mockito.internal.util.ListUtil -
  -
filter(Filter) - -Method in class org.mockito.runners.ConsoleSpammingMockitoJUnitRunner -
  -
filter(Filter) - -Method in class org.mockito.runners.MockitoJUnitRunner -
  -
filter(Filter) - -Method in class org.mockito.runners.VerboseMockitoJUnitRunner -
  -
FilteredCGLIBProxyRealMethod - Class in org.mockito.internal.invocation.realmethod
 
FilteredCGLIBProxyRealMethod(MockitoMethodProxy) - -Constructor for class org.mockito.internal.invocation.realmethod.FilteredCGLIBProxyRealMethod -
  -
FilteredCGLIBProxyRealMethod(RealMethod) - -Constructor for class org.mockito.internal.invocation.realmethod.FilteredCGLIBProxyRealMethod -
  -
find(String) - -Static method in class org.mockito.AdditionalMatchers -
String argument that contains a substring that matches the given regular - expression. -
find(FindingsListener) - -Method in class org.mockito.internal.debugging.WarningsFinder -
  -
find(List<?>) - -Method in class org.mockito.internal.invocation.AllInvocationsFinder -
gets all invocations from mocks. -
find(List<?>) - -Method in class org.mockito.internal.invocation.UnusedStubsFinder -
Finds all unused stubs for given mocks -
Find - Class in org.mockito.internal.matchers
 
Find(String) - -Constructor for class org.mockito.internal.matchers.Find -
  -
findAllMatchingUnverifiedChunks(List<Invocation>, InvocationMatcher, InOrderContext) - -Method in class org.mockito.internal.invocation.InvocationsFinder -
  -
findAnswerFor(Invocation) - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
findClass(String) - -Method in class org.mockito.internal.creation.jmock.SearchingClassLoader -
  -
findFirstUnverified(List<Invocation>) - -Method in class org.mockito.internal.invocation.InvocationsFinder -
  -
findFirstUnverifiedInOrder(InOrderContext, List<Invocation>) - -Method in class org.mockito.internal.invocation.InvocationsFinder -
i3 is unverified here: - - i1, i2, i3 - v - - all good here: - - i1, i2, i3 - v v -
FindingsListener - Interface in org.mockito.internal.debugging
 
findInvocations(List<Invocation>, InvocationMatcher) - -Method in class org.mockito.internal.invocation.InvocationsFinder -
  -
findMatchingChunk(List<Invocation>, InvocationMatcher, int, InOrderContext) - -Method in class org.mockito.internal.invocation.InvocationsFinder -
some examples how it works: - - Given invocations sequence: - 1,1,2,1 - - if wanted is 1 and mode is times(2) then returns - 1,1 - - if wanted is 1 and mode is atLeast() then returns - 1,1,1 - - if wanted is 1 and mode is times(x), where x != 2 then returns - 1,1,1 -
findPreviousVerifiedInOrder(List<Invocation>, InOrderContext) - -Method in class org.mockito.internal.invocation.InvocationsFinder -
  -
findSimilarInvocation(List<Invocation>, InvocationMatcher) - -Method in class org.mockito.internal.invocation.InvocationsFinder -
  -
floatThat(Matcher<Float>) - -Static method in class org.mockito.Matchers -
Allows creating custom argument matchers. -
forClass(Class<T>) - -Static method in class org.mockito.ArgumentCaptor -
  -
foundStubCalledWithDifferentArgs(Invocation, InvocationMatcher) - -Method in interface org.mockito.internal.debugging.FindingsListener -
  -
foundStubCalledWithDifferentArgs(Invocation, InvocationMatcher) - -Method in class org.mockito.internal.debugging.LoggingListener -
  -
foundUnstubbed(InvocationMatcher) - -Method in interface org.mockito.internal.debugging.FindingsListener -
  -
foundUnstubbed(InvocationMatcher) - -Method in class org.mockito.internal.debugging.LoggingListener -
  -
foundUnusedStub(Invocation) - -Method in interface org.mockito.internal.debugging.FindingsListener -
  -
foundUnusedStub(Invocation) - -Method in class org.mockito.internal.debugging.LoggingListener -
  -
FrameworkUsageValidator - Class in org.mockito.internal.runners.util
 
FrameworkUsageValidator(RunNotifier) - -Constructor for class org.mockito.internal.runners.util.FrameworkUsageValidator -
  -
-
-

-G

-
-
GenericMaster - Class in org.mockito.internal.util.reflection
 
GenericMaster() - -Constructor for class org.mockito.internal.util.reflection.GenericMaster -
  -
geq(Comparable<T>) - -Static method in class org.mockito.AdditionalMatchers -
argument greater than or equal the given value. -
geq(byte) - -Static method in class org.mockito.AdditionalMatchers -
byte argument greater than or equal to the given value. -
geq(double) - -Static method in class org.mockito.AdditionalMatchers -
double argument greater than or equal to the given value. -
geq(float) - -Static method in class org.mockito.AdditionalMatchers -
float argument greater than or equal to the given value. -
geq(int) - -Static method in class org.mockito.AdditionalMatchers -
int argument greater than or equal to the given value. -
geq(long) - -Static method in class org.mockito.AdditionalMatchers -
long argument greater than or equal to the given value. -
geq(short) - -Static method in class org.mockito.AdditionalMatchers -
short argument greater than or equal to the given value. -
get() - -Method in enum org.mockito.Answers -
  -
get() - -Method in enum org.mockito.internal.stubbing.defaultanswers.Answers -
Deprecated.   -
getActual() - -Method in class org.mockito.internal.reporting.SmartPrinter -
  -
getActualCount() - -Method in class org.mockito.exceptions.Discrepancy -
  -
getActualMatcher() - -Method in class org.mockito.internal.matchers.LocalizedMatcher -
  -
getActualMatcher() - -Method in interface org.mockito.internal.matchers.MatcherDecorator -
  -
getAll() - -Method in class org.mockito.internal.verification.RegisteredInvocations -
  -
getAllInvocations() - -Method in interface org.mockito.internal.verification.api.VerificationData -
  -
getAllInvocations() - -Method in interface org.mockito.internal.verification.api.VerificationDataInOrder -
  -
getAllInvocations() - -Method in class org.mockito.internal.verification.api.VerificationDataInOrderImpl -
  -
getAllInvocations() - -Method in class org.mockito.internal.verification.VerificationDataImpl -
  -
getAllValues() - -Method in class org.mockito.ArgumentCaptor -
Returns all captured values. -
getAllValues() - -Method in class org.mockito.internal.matchers.CapturingMatcher -
  -
getAnnotationEngine() - -Method in class org.mockito.configuration.DefaultMockitoConfiguration -
  -
getAnnotationEngine() - -Method in interface org.mockito.configuration.IMockitoConfiguration -
Configures annotations for mocks -
getAnnotationEngine() - -Method in class org.mockito.internal.configuration.GlobalConfiguration -
  -
getArgumentMatcherStorage() - -Method in interface org.mockito.internal.progress.MockingProgress -
  -
getArgumentMatcherStorage() - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
getArgumentMatcherStorage() - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
getArguments() - -Method in class org.mockito.internal.invocation.Invocation -
  -
getArguments() - -Method in interface org.mockito.invocation.InvocationOnMock -
returns arguments passed to the method -
getArgumentsBlock(List<Matcher>, PrintSettings) - -Method in class org.mockito.internal.matchers.MatchersPrinter -
  -
getArgumentsCount() - -Method in class org.mockito.internal.invocation.Invocation -
  -
getArgumentsLine(List<Matcher>, PrintSettings) - -Method in class org.mockito.internal.matchers.MatchersPrinter -
  -
getDefaultAnswer() - -Method in class org.mockito.configuration.DefaultMockitoConfiguration -
  -
getDefaultAnswer() - -Method in interface org.mockito.configuration.IMockitoConfiguration -
Allows configuring the default answers of unstubbed invocations -
getDefaultAnswer() - -Method in class org.mockito.internal.configuration.GlobalConfiguration -
  -
getDefaultAnswer() - -Method in class org.mockito.internal.creation.MockSettingsImpl -
  -
getDelegate() - -Method in class org.mockito.internal.verification.VerificationWithTimeoutImpl -
  -
getDescription() - -Method in class org.mockito.internal.runners.JUnit44RunnerImpl -
  -
getDescription() - -Method in class org.mockito.internal.runners.JUnit45AndHigherRunnerImpl -
  -
getDescription() - -Method in interface org.mockito.internal.runners.RunnerImpl -
  -
getDescription() - -Method in class org.mockito.runners.ConsoleSpammingMockitoJUnitRunner -
  -
getDescription() - -Method in class org.mockito.runners.MockitoJUnitRunner -
  -
getDescription() - -Method in class org.mockito.runners.VerboseMockitoJUnitRunner -
  -
getExceptionTypes() - -Method in class org.mockito.internal.creation.DelegatingMethod -
  -
getExceptionTypes() - -Method in interface org.mockito.internal.invocation.MockitoMethod -
  -
getExceptionTypes() - -Method in class org.mockito.internal.invocation.SerializableMethod -
  -
getExtraInterfaces() - -Method in class org.mockito.internal.creation.MockSettingsImpl -
  -
getGenericType(Field) - -Method in class org.mockito.internal.util.reflection.GenericMaster -
Finds the generic type (parametrized type) of the field. -
getHandler() - -Method in class org.mockito.internal.creation.MethodInterceptorFilter -
  -
getInternalState(Object, String) - -Static method in class org.mockito.internal.util.reflection.Whitebox -
  -
getInvocation() - -Method in class org.mockito.internal.invocation.InvocationMatcher -
  -
getInvocationContainer() - -Method in class org.mockito.internal.MockHandler -
  -
getInvocationContainer() - -Method in interface org.mockito.internal.MockHandlerInterface -
  -
getInvocations() - -Method in interface org.mockito.internal.stubbing.InvocationContainer -
  -
getInvocations() - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
getJavaMethod() - -Method in class org.mockito.internal.creation.DelegatingMethod -
  -
getJavaMethod() - -Method in interface org.mockito.internal.invocation.MockitoMethod -
  -
getJavaMethod() - -Method in class org.mockito.internal.invocation.SerializableMethod -
  -
getLastInvocation() - -Method in class org.mockito.internal.MockitoCore -
For testing purposes only. -
getLastLocation(List<Invocation>) - -Method in class org.mockito.internal.invocation.InvocationsFinder -
  -
getLastValue() - -Method in class org.mockito.internal.matchers.CapturingMatcher -
  -
getLocation() - -Method in interface org.mockito.exceptions.PrintableInvocation -
  -
getLocation() - -Method in class org.mockito.internal.debugging.Localized -
  -
getLocation() - -Method in class org.mockito.internal.invocation.Invocation -
  -
getLocation() - -Method in class org.mockito.internal.invocation.InvocationMatcher -
  -
getLocation() - -Method in class org.mockito.internal.matchers.LocalizedMatcher -
  -
getLoggedInfo() - -Method in class org.mockito.internal.util.SimpleMockitoLogger -
  -
getLogger() - -Method in class org.mockito.internal.debugging.LoggingListener -
  -
getMatchers() - -Method in class org.mockito.internal.invocation.InvocationMatcher -
  -
getMessage() - -Method in error org.mockito.exceptions.verification.junit.ArgumentsAreDifferent -
  -
getMethod() - -Method in class org.mockito.internal.invocation.Invocation -
  -
getMethod() - -Method in class org.mockito.internal.invocation.InvocationMatcher -
  -
getMethod() - -Method in interface org.mockito.invocation.InvocationOnMock -
returns the method -
getMethodName() - -Method in class org.mockito.internal.invocation.Invocation -
  -
getMethodProxy() - -Method in class org.mockito.internal.creation.DelegatingMockitoMethodProxy -
  -
getMethodProxy() - -Method in interface org.mockito.internal.creation.MockitoMethodProxy -
  -
getMethodProxy() - -Method in class org.mockito.internal.creation.SerializableMockitoMethodProxy -
  -
getMethodProxy() - -Method in class org.mockito.internal.invocation.realmethod.CGLIBProxyRealMethod -
  -
getMethodProxy() - -Method in class org.mockito.internal.invocation.realmethod.FilteredCGLIBProxyRealMethod -
  -
getMethodProxy() - -Method in interface org.mockito.internal.invocation.realmethod.HasCGLIBMethodProxy -
  -
getMock() - -Method in class org.mockito.internal.invocation.Invocation -
  -
getMock() - -Method in class org.mockito.internal.verification.MockAwareVerificationMode -
  -
getMock() - -Method in interface org.mockito.invocation.InvocationOnMock -
returns the mock object -
getMockHandler(T) - -Method in class org.mockito.internal.util.MockUtil -
  -
getMockName() - -Method in class org.mockito.internal.creation.MockSettingsImpl -
  -
getMockName(Object) - -Method in class org.mockito.internal.util.MockUtil -
  -
getMockSettings() - -Method in class org.mockito.internal.MockHandler -
  -
getMockSettings() - -Method in interface org.mockito.internal.MockHandlerInterface -
  -
getMocksToBeVerifiedInOrder() - -Method in class org.mockito.internal.InOrderImpl -
  -
getName() - -Method in class org.mockito.internal.creation.DelegatingMethod -
  -
getName() - -Method in interface org.mockito.internal.invocation.MockitoMethod -
  -
getName() - -Method in class org.mockito.internal.invocation.SerializableMethod -
  -
getName() - -Method in class org.mockito.internal.matchers.CompareEqual -
  -
getName() - -Method in class org.mockito.internal.matchers.CompareTo -
  -
getName() - -Method in class org.mockito.internal.matchers.GreaterOrEqual -
  -
getName() - -Method in class org.mockito.internal.matchers.GreaterThan -
  -
getName() - -Method in class org.mockito.internal.matchers.LessOrEqual -
  -
getName() - -Method in class org.mockito.internal.matchers.LessThan -
  -
getObject() - -Method in class org.mockito.internal.debugging.Localized -
  -
getOrderingContext() - -Method in interface org.mockito.internal.verification.api.VerificationDataInOrder -
  -
getOrderingContext() - -Method in class org.mockito.internal.verification.api.VerificationDataInOrderImpl -
  -
getParameterTypes() - -Method in class org.mockito.internal.creation.DelegatingMethod -
  -
getParameterTypes() - -Method in interface org.mockito.internal.invocation.MockitoMethod -
  -
getParameterTypes() - -Method in class org.mockito.internal.invocation.SerializableMethod -
  -
getPluralizedActualCount() - -Method in class org.mockito.exceptions.Discrepancy -
  -
getPluralizedWantedCount() - -Method in class org.mockito.exceptions.Discrepancy -
  -
getPluralizedWantedCount() - -Method in class org.mockito.internal.verification.checkers.AtLeastDiscrepancy -
  -
getRawArguments() - -Method in class org.mockito.internal.invocation.Invocation -
  -
getRegisteredInvocations() - -Method in class org.mockito.internal.stubbing.OngoingStubbingImpl -
  -
getReturnType() - -Method in class org.mockito.internal.creation.DelegatingMethod -
  -
getReturnType() - -Method in interface org.mockito.internal.invocation.MockitoMethod -
  -
getReturnType() - -Method in class org.mockito.internal.invocation.SerializableMethod -
  -
getReturnType() - -Method in class org.mockito.internal.stubbing.answers.Returns -
  -
getReturnValues() - -Method in class org.mockito.configuration.DefaultMockitoConfiguration -
Deprecated.  -
getReturnValues() - -Method in interface org.mockito.configuration.IMockitoConfiguration -
Deprecated. Please use IMockitoConfiguration.getDefaultAnswer() -

- Steps: -

- 1. Leave the implementation of getReturnValues() method empty - it's not going to be used anyway. -

- 2. Implement getDefaultAnswer() instead. -

- In rare cases your code might not compile with recent deprecation & changes. - Very sorry for inconvenience but it had to be done in order to keep framework consistent. -

- See javadoc ReturnValues for info why this method was deprecated -

- Allows configuring the default return values of unstubbed invocations -

- See javadoc for IMockitoConfiguration -

getReturnValues() - -Method in class org.mockito.internal.configuration.GlobalConfiguration -
  -
getSequenceNumber() - -Method in class org.mockito.internal.invocation.Invocation -
  -
getSpiedInstance() - -Method in class org.mockito.internal.creation.MockSettingsImpl -
  -
getStubbedInvocations() - -Method in interface org.mockito.internal.stubbing.InvocationContainer -
  -
getStubbedInvocations() - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
getSuspiciouslyNotMatchingArgsIndexes(List<Matcher>, Object[]) - -Method in class org.mockito.internal.verification.argumentmatching.ArgumentMatchingTool -
Suspiciously not matching arguments are those that don't match, the toString() representation is the same but types are different. -
getTag() - -Method in class org.mockito.internal.creation.cglib.MockitoNamingPolicy -
  -
getThrowable() - -Method in class org.mockito.internal.stubbing.answers.ThrowsException -
  -
getTimeout() - -Method in class org.mockito.internal.verification.VerificationWithTimeoutImpl -
  -
getTreshhold() - -Method in class org.mockito.internal.verification.VerificationWithTimeoutImpl -
  -
getUnfilteredStackTrace() - -Method in error org.mockito.exceptions.base.MockitoAssertionError -
  -
getUnfilteredStackTrace() - -Method in exception org.mockito.exceptions.base.MockitoException -
  -
getUnfilteredStackTrace() - -Method in error org.mockito.exceptions.verification.junit.ArgumentsAreDifferent -
  -
getValue() - -Method in class org.mockito.ArgumentCaptor -
Returns the captured value of the argument. -
getWanted() - -Method in class org.mockito.internal.matchers.Equals -
  -
getWanted() - -Method in class org.mockito.internal.reporting.SmartPrinter -
  -
getWanted() - -Method in interface org.mockito.internal.verification.api.VerificationData -
  -
getWanted() - -Method in interface org.mockito.internal.verification.api.VerificationDataInOrder -
  -
getWanted() - -Method in class org.mockito.internal.verification.api.VerificationDataInOrderImpl -
  -
getWanted() - -Method in class org.mockito.internal.verification.VerificationDataImpl -
  -
getWantedCount() - -Method in class org.mockito.exceptions.Discrepancy -
  -
getWarnings() - -Method in class org.mockito.internal.debugging.WarningsCollector -
  -
given(T) - -Method in interface org.mockito.BDDMockito.BDDStubber -
See original Stubber.when(Object) -
given(T) - -Method in class org.mockito.BDDMockito.BDDStubberImpl -
  -
given(T) - -Static method in class org.mockito.BDDMockito -
see original Mockito.when(Object) -
GlobalConfiguration - Class in org.mockito.internal.configuration
Thread-safe wrapper on user-defined org.mockito.configuration.MockitoConfiguration implementation
GlobalConfiguration() - -Constructor for class org.mockito.internal.configuration.GlobalConfiguration -
  -
GloballyConfiguredAnswer - Class in org.mockito.internal.stubbing.defaultanswers
Globally configured Answer.
GloballyConfiguredAnswer() - -Constructor for class org.mockito.internal.stubbing.defaultanswers.GloballyConfiguredAnswer -
  -
GreaterOrEqual<T extends java.lang.Comparable<T>> - Class in org.mockito.internal.matchers
 
GreaterOrEqual(Comparable<T>) - -Constructor for class org.mockito.internal.matchers.GreaterOrEqual -
  -
GreaterThan<T extends java.lang.Comparable<T>> - Class in org.mockito.internal.matchers
 
GreaterThan(Comparable<T>) - -Constructor for class org.mockito.internal.matchers.GreaterThan -
  -
gt(Comparable<T>) - -Static method in class org.mockito.AdditionalMatchers -
comparable argument greater than the given value. -
gt(byte) - -Static method in class org.mockito.AdditionalMatchers -
byte argument greater than the given value. -
gt(double) - -Static method in class org.mockito.AdditionalMatchers -
double argument greater than the given value. -
gt(float) - -Static method in class org.mockito.AdditionalMatchers -
float argument greater than the given value. -
gt(int) - -Static method in class org.mockito.AdditionalMatchers -
int argument greater than the given value. -
gt(long) - -Static method in class org.mockito.AdditionalMatchers -
long argument greater than the given value. -
gt(short) - -Static method in class org.mockito.AdditionalMatchers -
short argument greater than the given value. -
-
-

-H

-
-
handle(Invocation) - -Method in class org.mockito.internal.MockHandler -
  -
handle(Invocation) - -Method in interface org.mockito.internal.MockitoInvocationHandler -
  -
HandyReturnValues - Class in org.mockito.internal.progress
 
HandyReturnValues() - -Constructor for class org.mockito.internal.progress.HandyReturnValues -
  -
hasAnswersForStubbing() - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
HasCGLIBMethodProxy - Interface in org.mockito.internal.invocation.realmethod
 
hashCode() - -Method in class org.mockito.internal.creation.DelegatingMethod -
  -
hashCode() - -Method in class org.mockito.internal.invocation.Invocation -
  -
hashCode() - -Method in class org.mockito.internal.invocation.SerializableMethod -
  -
hashCode() - -Method in class org.mockito.internal.matchers.Equals -
  -
hasJUnit() - -Static method in class org.mockito.exceptions.verification.junit.JUnitTool -
  -
hasSameMethod(Invocation) - -Method in class org.mockito.internal.invocation.InvocationMatcher -
  -
hasSimilarMethod(Invocation) - -Method in class org.mockito.internal.invocation.InvocationMatcher -
similar means the same method name, same mock, unverified - and: if arguments are the same cannot be overloaded -
hasTestMethods(Class<?>) - -Method in class org.mockito.internal.runners.util.TestMethodsFinder -
  -
-
-

-I

-
-
IdentitySet - Class in org.mockito.internal.util
 
IdentitySet() - -Constructor for class org.mockito.internal.util.IdentitySet -
  -
IMockitoConfiguration - Interface in org.mockito.configuration
Use it to configure Mockito.
imposterise(MethodInterceptor, Class<T>, Class<?>...) - -Method in class org.mockito.internal.creation.jmock.ClassImposterizer -
  -
initiateMockName(Class) - -Method in class org.mockito.internal.creation.MockSettingsImpl -
  -
initMocks(Object) - -Static method in class org.mockito.MockitoAnnotations -
Initializes objects annotated with Mockito annotations for given testClass: - @Mock, @Spy, @Captor, @InjectMocks -
InjectingAnnotationEngine - Class in org.mockito.internal.configuration
See MockitoAnnotations
InjectingAnnotationEngine() - -Constructor for class org.mockito.internal.configuration.InjectingAnnotationEngine -
  -
injectMockAnnotationFieldIsNull(String) - -Method in class org.mockito.exceptions.Reporter -
  -
InjectMocks - Annotation Type in org.mockito
- Allows shorthand mock and spy injection. - Minimizes repetitive mock and spy injection. -
injectMocks(Object) - -Method in class org.mockito.internal.configuration.InjectingAnnotationEngine -
Initializes mock/spies dependencies for objects annotated with - @InjectMocks for given testClass. -
injectMocksOnFields(Set<Field>, Set<Object>, Object) - -Method in class org.mockito.internal.configuration.DefaultInjectionEngine -
  -
InOrder - Interface in org.mockito
Allows verification in order.
inOrder(Object...) - -Method in class org.mockito.internal.MockitoCore -
  -
inOrder(Object...) - -Static method in class org.mockito.Mockito -
Creates InOrder object that allows verifying mocks in order. -
InOrderContext - Interface in org.mockito.internal.verification.api
 
InOrderContextImpl - Class in org.mockito.internal.verification
 
InOrderContextImpl() - -Constructor for class org.mockito.internal.verification.InOrderContextImpl -
  -
InOrderImpl - Class in org.mockito.internal
Allows verifying in order.
InOrderImpl(List<Object>) - -Constructor for class org.mockito.internal.InOrderImpl -
  -
inOrderRequiresFamiliarMock() - -Method in class org.mockito.exceptions.Reporter -
  -
InOrderWrapper - Class in org.mockito.internal.verification
 
InOrderWrapper(VerificationInOrderMode, InOrderImpl) - -Constructor for class org.mockito.internal.verification.InOrderWrapper -
  -
INSTANCE - -Static variable in class org.mockito.internal.creation.cglib.MockitoNamingPolicy -
  -
INSTANCE - -Static variable in class org.mockito.internal.creation.jmock.ClassImposterizer -
  -
InstanceOf - Class in org.mockito.internal.matchers
 
InstanceOf(Class<?>) - -Constructor for class org.mockito.internal.matchers.InstanceOf -
  -
intercept(Object, Method, Object[], MethodProxy) - -Method in class org.mockito.internal.creation.MethodInterceptorFilter -
  -
intThat(Matcher<Integer>) - -Static method in class org.mockito.Matchers -
Allows creating custom argument matchers. -
invalidUseOfMatchers(int, int) - -Method in class org.mockito.exceptions.Reporter -
  -
InvalidUseOfMatchersException - Exception in org.mockito.exceptions.misusing
 
InvalidUseOfMatchersException(String) - -Constructor for exception org.mockito.exceptions.misusing.InvalidUseOfMatchersException -
  -
InvalidUseOfMatchersException() - -Constructor for exception org.mockito.exceptions.misusing.InvalidUseOfMatchersException -
  -
Invocation - Class in org.mockito.internal.invocation
Method call on a mock object.
Invocation(Object, MockitoMethod, Object[], int, RealMethod) - -Constructor for class org.mockito.internal.invocation.Invocation -
  -
InvocationContainer - Interface in org.mockito.internal.stubbing
 
InvocationContainerImpl - Class in org.mockito.internal.stubbing
 
InvocationContainerImpl(MockingProgress) - -Constructor for class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
InvocationMarker - Class in org.mockito.internal.invocation
 
InvocationMarker() - -Constructor for class org.mockito.internal.invocation.InvocationMarker -
  -
InvocationMatcher - Class in org.mockito.internal.invocation
 
InvocationMatcher(Invocation, List<Matcher>) - -Constructor for class org.mockito.internal.invocation.InvocationMatcher -
  -
InvocationMatcher(Invocation) - -Constructor for class org.mockito.internal.invocation.InvocationMatcher -
  -
InvocationOnMock - Interface in org.mockito.invocation
An invocation on a mock
InvocationsFinder - Class in org.mockito.internal.invocation
 
InvocationsFinder() - -Constructor for class org.mockito.internal.invocation.InvocationsFinder -
  -
invoke(Object, Object[]) - -Method in class org.mockito.internal.invocation.realmethod.CGLIBProxyRealMethod -
  -
invoke(Object, Object[]) - -Method in class org.mockito.internal.invocation.realmethod.FilteredCGLIBProxyRealMethod -
  -
invoke(Object, Object[]) - -Method in interface org.mockito.internal.invocation.realmethod.RealMethod -
  -
invokeSuper(Object, Object[]) - -Method in class org.mockito.internal.creation.AbstractMockitoMethodProxy -
  -
invokeSuper(Object, Object[]) - -Method in interface org.mockito.internal.creation.MockitoMethodProxy -
  -
IOngoingStubbing - Interface in org.mockito.internal.progress
Marking interface to be removed when DeprecatedOngoingStubbing gets deleted
isA(Class<T>) - -Static method in class org.mockito.Matchers -
Object argument that implements the given class. -
isBad(StackTraceElement) - -Method in class org.mockito.internal.exceptions.base.StackTraceFilter -
  -
isDeclaredOnInterface() - -Method in class org.mockito.internal.invocation.Invocation -
  -
isEqualsMethod(Method) - -Method in class org.mockito.internal.util.ObjectMethodsGuru -
  -
isHashCodeMethod(Method) - -Method in class org.mockito.internal.util.ObjectMethodsGuru -
  -
isJUnit45OrHigherAvailable() - -Method in class org.mockito.internal.runners.util.RunnerProvider -
  -
isMock(Object) - -Method in class org.mockito.internal.util.MockUtil -
  -
isMultiline() - -Method in class org.mockito.internal.reporting.PrintSettings -
  -
isNotNull() - -Static method in class org.mockito.Matchers -
not null argument. -
isNull() - -Method in class org.mockito.internal.util.reflection.FieldReader -
  -
isNull() - -Static method in class org.mockito.Matchers -
null argument. -
isOut(T) - -Method in interface org.mockito.internal.util.ListUtil.Filter -
  -
isPrimitiveWrapper(Class<?>) - -Static method in class org.mockito.internal.util.Primitives -
  -
isSerializable() - -Method in class org.mockito.internal.creation.MockSettingsImpl -
  -
isSurrogate() - -Method in class org.mockito.internal.util.MockName -
  -
isToString(InvocationOnMock) - -Static method in class org.mockito.internal.invocation.Invocation -
  -
isToString(Method) - -Method in class org.mockito.internal.util.ObjectMethodsGuru -
  -
isToString(MockitoMethod) - -Method in class org.mockito.internal.util.ObjectMethodsGuru -
  -
isTypeMockable(Class<?>) - -Method in class org.mockito.internal.util.MockCreationValidator -
  -
isValidException(Throwable) - -Method in class org.mockito.internal.invocation.Invocation -
  -
isValidReturnType(Class) - -Method in class org.mockito.internal.invocation.Invocation -
  -
isVarArgs() - -Method in class org.mockito.internal.creation.DelegatingMethod -
  -
isVarArgs() - -Method in interface org.mockito.internal.invocation.MockitoMethod -
  -
isVarArgs() - -Method in class org.mockito.internal.invocation.SerializableMethod -
  -
isVerified() - -Method in interface org.mockito.internal.exceptions.VerificationAwareInvocation -
  -
isVerified(Invocation) - -Method in class org.mockito.internal.InOrderImpl -
  -
isVerified() - -Method in class org.mockito.internal.invocation.Invocation -
  -
isVerified(Invocation) - -Method in interface org.mockito.internal.verification.api.InOrderContext -
  -
isVerified(Invocation) - -Method in class org.mockito.internal.verification.InOrderContextImpl -
  -
isVoid() - -Method in class org.mockito.internal.invocation.Invocation -
  -
isWarnAboutUnstubbed() - -Method in class org.mockito.internal.debugging.LoggingListener -
  -
-
-

-J

-
-
join(Object...) - -Static method in class org.mockito.internal.util.StringJoiner -
  -
JUnit44RunnerImpl - Class in org.mockito.internal.runners
 
JUnit44RunnerImpl(Class<?>) - -Constructor for class org.mockito.internal.runners.JUnit44RunnerImpl -
  -
JUnit45AndHigherRunnerImpl - Class in org.mockito.internal.runners
 
JUnit45AndHigherRunnerImpl(Class<?>) - -Constructor for class org.mockito.internal.runners.JUnit45AndHigherRunnerImpl -
  -
JUnitFailureHacker - Class in org.mockito.internal.util.junit
 
JUnitFailureHacker() - -Constructor for class org.mockito.internal.util.junit.JUnitFailureHacker -
  -
JUnitTool - Class in org.mockito.exceptions.verification.junit
 
JUnitTool() - -Constructor for class org.mockito.exceptions.verification.junit.JUnitTool -
  -
-
-

-L

-
-
LenientCopyTool - Class in org.mockito.internal.util.reflection
 
LenientCopyTool() - -Constructor for class org.mockito.internal.util.reflection.LenientCopyTool -
  -
leq(Comparable<T>) - -Static method in class org.mockito.AdditionalMatchers -
comparable argument less than or equal the given value details. -
leq(byte) - -Static method in class org.mockito.AdditionalMatchers -
byte argument less than or equal to the given value. -
leq(double) - -Static method in class org.mockito.AdditionalMatchers -
double argument less than or equal to the given value. -
leq(float) - -Static method in class org.mockito.AdditionalMatchers -
float argument less than or equal to the given value. -
leq(int) - -Static method in class org.mockito.AdditionalMatchers -
int argument less than or equal to the given value. -
leq(long) - -Static method in class org.mockito.AdditionalMatchers -
long argument less than or equal to the given value. -
leq(short) - -Static method in class org.mockito.AdditionalMatchers -
short argument less than or equal to the given value. -
LessOrEqual<T extends java.lang.Comparable<T>> - Class in org.mockito.internal.matchers
 
LessOrEqual(Comparable<T>) - -Constructor for class org.mockito.internal.matchers.LessOrEqual -
  -
LessThan<T extends java.lang.Comparable<T>> - Class in org.mockito.internal.matchers
 
LessThan(Comparable<T>) - -Constructor for class org.mockito.internal.matchers.LessThan -
  -
ListUtil - Class in org.mockito.internal.util
 
ListUtil() - -Constructor for class org.mockito.internal.util.ListUtil -
  -
ListUtil.Filter<T> - Interface in org.mockito.internal.util
 
loadConfiguration() - -Method in class org.mockito.internal.configuration.ClassPathLoader -
  -
Localized<T> - Class in org.mockito.internal.debugging
 
Localized(T) - -Constructor for class org.mockito.internal.debugging.Localized -
  -
LocalizedMatcher - Class in org.mockito.internal.matchers
 
LocalizedMatcher(Matcher) - -Constructor for class org.mockito.internal.matchers.LocalizedMatcher -
  -
Location - Class in org.mockito.internal.debugging
 
Location() - -Constructor for class org.mockito.internal.debugging.Location -
  -
Location(StackTraceFilter) - -Constructor for class org.mockito.internal.debugging.Location -
  -
log(Object) - -Method in class org.mockito.internal.util.ConsoleMockitoLogger -
  -
log(Object) - -Method in interface org.mockito.internal.util.MockitoLogger -
  -
log(Object) - -Method in class org.mockito.internal.util.SimpleMockitoLogger -
  -
LoggingListener - Class in org.mockito.internal.debugging
 
LoggingListener(boolean, MockitoLogger) - -Constructor for class org.mockito.internal.debugging.LoggingListener -
  -
longThat(Matcher<Long>) - -Static method in class org.mockito.Matchers -
Allows creating custom argument matchers. -
lt(Comparable<T>) - -Static method in class org.mockito.AdditionalMatchers -
comparable argument less than the given value. -
lt(byte) - -Static method in class org.mockito.AdditionalMatchers -
byte argument less than the given value. -
lt(double) - -Static method in class org.mockito.AdditionalMatchers -
double argument less than the given value. -
lt(float) - -Static method in class org.mockito.AdditionalMatchers -
float argument less than the given value. -
lt(int) - -Static method in class org.mockito.AdditionalMatchers -
int argument less than the given value. -
lt(long) - -Static method in class org.mockito.AdditionalMatchers -
long argument less than the given value. -
lt(short) - -Static method in class org.mockito.AdditionalMatchers -
short argument less than the given value. -
-
-

-M

-
-
markStubbed(StubInfo) - -Method in class org.mockito.internal.invocation.Invocation -
  -
markStubUsed(PrintableInvocation) - -Method in class org.mockito.internal.stubbing.StubbedInvocationMatcher -
  -
markVerified(Invocation) - -Method in class org.mockito.internal.InOrderImpl -
  -
markVerified(List<Invocation>, CapturesArgumensFromInvocation) - -Method in class org.mockito.internal.invocation.InvocationMarker -
  -
markVerified(Invocation, CapturesArgumensFromInvocation) - -Method in class org.mockito.internal.invocation.InvocationMarker -
  -
markVerified(Invocation) - -Method in interface org.mockito.internal.verification.api.InOrderContext -
  -
markVerified(Invocation) - -Method in class org.mockito.internal.verification.InOrderContextImpl -
  -
markVerifiedInOrder(List<Invocation>, CapturesArgumensFromInvocation, InOrderContext) - -Method in class org.mockito.internal.invocation.InvocationMarker -
  -
MatcherDecorator - Interface in org.mockito.internal.matchers
 
Matchers - Class in org.mockito
Allow flexible verification or stubbing.
Matchers() - -Constructor for class org.mockito.Matchers -
  -
MatchersBinder - Class in org.mockito.internal.invocation
 
MatchersBinder() - -Constructor for class org.mockito.internal.invocation.MatchersBinder -
  -
MatchersPrinter - Class in org.mockito.internal.matchers
 
MatchersPrinter() - -Constructor for class org.mockito.internal.matchers.MatchersPrinter -
  -
matches(Object) - -Method in class org.mockito.ArgumentMatcher -
Returns whether this matcher accepts the given argument. -
matches(Invocation) - -Method in class org.mockito.internal.invocation.InvocationMatcher -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.And -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.Any -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.AnyVararg -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.apachecommons.ReflectionEquals -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.ArrayEquals -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.CapturingMatcher -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.CompareTo -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.Contains -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.EndsWith -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.Equals -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.EqualsWithDelta -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.Find -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.InstanceOf -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.LocalizedMatcher -
  -
Matches - Class in org.mockito.internal.matchers
 
Matches(String) - -Constructor for class org.mockito.internal.matchers.Matches -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.Matches -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.Not -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.NotNull -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.Null -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.Or -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.Same -
  -
matches(Object) - -Method in class org.mockito.internal.matchers.StartsWith -
  -
matches(String) - -Static method in class org.mockito.Matchers -
String argument that matches the given regular expression. -
matchResult(int) - -Method in class org.mockito.internal.matchers.CompareEqual -
  -
matchResult(int) - -Method in class org.mockito.internal.matchers.CompareTo -
  -
matchResult(int) - -Method in class org.mockito.internal.matchers.GreaterOrEqual -
  -
matchResult(int) - -Method in class org.mockito.internal.matchers.GreaterThan -
  -
matchResult(int) - -Method in class org.mockito.internal.matchers.LessOrEqual -
  -
matchResult(int) - -Method in class org.mockito.internal.matchers.LessThan -
  -
MethodInterceptorFilter - Class in org.mockito.internal.creation
 
MethodInterceptorFilter(MockitoInvocationHandler, MockSettingsImpl) - -Constructor for class org.mockito.internal.creation.MethodInterceptorFilter -
  -
misplacedArgumentMatcher(Location) - -Method in class org.mockito.exceptions.Reporter -
  -
MissingInvocationChecker - Class in org.mockito.internal.verification.checkers
 
MissingInvocationChecker() - -Constructor for class org.mockito.internal.verification.checkers.MissingInvocationChecker -
  -
MissingInvocationInOrderChecker - Class in org.mockito.internal.verification.checkers
 
MissingInvocationInOrderChecker() - -Constructor for class org.mockito.internal.verification.checkers.MissingInvocationInOrderChecker -
  -
missingMethodInvocation() - -Method in class org.mockito.exceptions.Reporter -
  -
MissingMethodInvocationException - Exception in org.mockito.exceptions.misusing
 
MissingMethodInvocationException(String) - -Constructor for exception org.mockito.exceptions.misusing.MissingMethodInvocationException -
  -
mock(Class<T>, MockSettings) - -Method in class org.mockito.internal.MockitoCore -
  -
Mock - Annotation Type in org.mockito
- Allows shorthand mock creation. - Minimizes repetitive mock creation code. - Makes the test class more readable. - Makes the verification error easier to read because the field name is used to identify the mock. -
mock(Class<T>) - -Static method in class org.mockito.Mockito -
Creates mock object of given class or interface. -
mock(Class<T>, String) - -Static method in class org.mockito.Mockito -
Specifies mock name. -
mock(Class<T>, ReturnValues) - -Static method in class org.mockito.Mockito -
Deprecated. Please use mock(Foo.class, defaultAnswer); -

- See Mockito.mock(Class, Answer) -

- Why it is deprecated? ReturnValues is being replaced by Answer - for better consistency & interoperability of the framework. - Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues. - There's no point in mainting exactly the same interfaces. -

- Creates mock with a specified strategy for its return values. - It's quite advanced feature and typically you don't need it to write decent tests. - However it can be helpful when working with legacy systems. -

- Obviously return values are used only when you don't stub the method call. - -

-   Foo mock = mock(Foo.class, Mockito.RETURNS_SMART_NULLS);
-   Foo mockTwo = mock(Foo.class, new YourOwnReturnValues()); 
- 
- -

See examples in javadoc for Mockito class

-
mock(Class<T>, Answer) - -Static method in class org.mockito.Mockito -
Creates mock with a specified strategy for its answers to interactions. -
mock(Class<T>, MockSettings) - -Static method in class org.mockito.Mockito -
Creates a mock with some non-standard settings. -
MockAwareVerificationMode - Class in org.mockito.internal.verification
 
MockAwareVerificationMode(Object, VerificationMode) - -Constructor for class org.mockito.internal.verification.MockAwareVerificationMode -
  -
MockCreationValidator - Class in org.mockito.internal.util
 
MockCreationValidator() - -Constructor for class org.mockito.internal.util.MockCreationValidator -
  -
mockedTypeIsInconsistentWithSpiedInstanceType(Class<?>, Object) - -Method in class org.mockito.exceptions.Reporter -
  -
MockHandler<T> - Class in org.mockito.internal
Invocation handler set on mock objects.
MockHandler(MockSettingsImpl) - -Constructor for class org.mockito.internal.MockHandler -
  -
MockHandler(MockHandlerInterface<T>) - -Constructor for class org.mockito.internal.MockHandler -
  -
MockHandlerInterface<T> - Interface in org.mockito.internal
 
MockingProgress - Interface in org.mockito.internal.progress
 
MockingProgressImpl - Class in org.mockito.internal.progress
 
MockingProgressImpl() - -Constructor for class org.mockito.internal.progress.MockingProgressImpl -
  -
MockingProgressListener - Interface in org.mockito.internal.listeners
 
mockingStarted(Object, Class, MockSettings) - -Method in class org.mockito.internal.listeners.CollectCreatedMocks -
  -
mockingStarted(Object, Class, MockSettings) - -Method in interface org.mockito.internal.listeners.MockingStartedListener -
  -
mockingStarted(Object, Class, MockSettings) - -Method in interface org.mockito.internal.progress.MockingProgress -
  -
mockingStarted(Object, Class, MockSettings) - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
mockingStarted(Object, Class, MockSettings) - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
MockingStartedListener - Interface in org.mockito.internal.listeners
 
Mockito - Class in org.mockito

Mockito() - -Constructor for class org.mockito.Mockito -
  -
MockitoAnnotations - Class in org.mockito
MockitoAnnotations.initMocks(this); initializes fields annotated with Mockito annotations.
MockitoAnnotations() - -Constructor for class org.mockito.MockitoAnnotations -
  -
MockitoAnnotations.Mock - Annotation Type in org.mockito
Deprecated. 
MockitoAssertionError - Error in org.mockito.exceptions.base
 
MockitoAssertionError(String) - -Constructor for error org.mockito.exceptions.base.MockitoAssertionError -
  -
MockitoConfigurationException - Exception in org.mockito.exceptions.misusing
 
MockitoConfigurationException(String) - -Constructor for exception org.mockito.exceptions.misusing.MockitoConfigurationException -
  -
MockitoConfigurationException(String, Exception) - -Constructor for exception org.mockito.exceptions.misusing.MockitoConfigurationException -
  -
MockitoCore - Class in org.mockito.internal
 
MockitoCore() - -Constructor for class org.mockito.internal.MockitoCore -
  -
MockitoDebugger - Interface in org.mockito
 
MockitoDebuggerImpl - Class in org.mockito.internal.debugging
 
MockitoDebuggerImpl() - -Constructor for class org.mockito.internal.debugging.MockitoDebuggerImpl -
  -
MockitoException - Exception in org.mockito.exceptions.base
 
MockitoException(String, Throwable) - -Constructor for exception org.mockito.exceptions.base.MockitoException -
  -
MockitoException(String) - -Constructor for exception org.mockito.exceptions.base.MockitoException -
  -
MockitoInvocationHandler - Interface in org.mockito.internal
 
MockitoJUnit44Runner - Class in org.mockito.runners
Deprecated. 
MockitoJUnit44Runner(Class<?>) - -Constructor for class org.mockito.runners.MockitoJUnit44Runner -
Deprecated.   -
MockitoJUnitRunner - Class in org.mockito.runners
Compatible with JUnit 4.4 and higher, this runner adds following behavior: - - - Initializes mocks annotated with Mock, - so that explicit usage of MockitoAnnotations.initMocks(Object) is not necessary.
MockitoJUnitRunner(Class<?>) - -Constructor for class org.mockito.runners.MockitoJUnitRunner -
  -
MockitoLogger - Interface in org.mockito.internal.util
 
MockitoMethod - Interface in org.mockito.internal.invocation
 
MockitoMethodProxy - Interface in org.mockito.internal.creation
 
MockitoNamingPolicy - Class in org.mockito.internal.creation.cglib
 
MockitoNamingPolicy() - -Constructor for class org.mockito.internal.creation.cglib.MockitoNamingPolicy -
  -
MockName - Class in org.mockito.internal.util
 
MockName(String, Class) - -Constructor for class org.mockito.internal.util.MockName -
  -
MockSettings - Interface in org.mockito
Allows mock creation with additional mock settings.
MockSettingsImpl - Class in org.mockito.internal.creation
 
MockSettingsImpl() - -Constructor for class org.mockito.internal.creation.MockSettingsImpl -
  -
mocksHaveToBePassedToVerifyNoMoreInteractions() - -Method in class org.mockito.exceptions.Reporter -
  -
mocksHaveToBePassedWhenCreatingInOrder() - -Method in class org.mockito.exceptions.Reporter -
  -
MockUtil - Class in org.mockito.internal.util
 
MockUtil(MockCreationValidator) - -Constructor for class org.mockito.internal.util.MockUtil -
  -
MockUtil() - -Constructor for class org.mockito.internal.util.MockUtil -
  -
moreThanOneAnnotationNotAllowed(String) - -Method in class org.mockito.exceptions.Reporter -
  -
-
-

-N

-
-
name(String) - -Method in class org.mockito.internal.creation.MockSettingsImpl -
  -
name(String) - -Method in interface org.mockito.MockSettings -
Specifies mock name. -
never() - -Static method in class org.mockito.Mockito -
Alias to times(0), see Mockito.times(int) -
never() - -Method in class org.mockito.verification.Timeout -
  -
never() - -Method in interface org.mockito.verification.VerificationWithTimeout -
Alias to times(0), see VerificationWithTimeout.times(int) -
neverWantedButInvoked(PrintableInvocation, Location) - -Method in class org.mockito.exceptions.Reporter -
  -
NeverWantedButInvoked - Error in org.mockito.exceptions.verification
 
NeverWantedButInvoked(String) - -Constructor for error org.mockito.exceptions.verification.NeverWantedButInvoked -
  -
newInstance(String, Class<?>) - -Method in class org.mockito.internal.runners.util.RunnerProvider -
  -
next() - -Static method in class org.mockito.internal.progress.SequenceNumber -
  -
noArgumentValueWasCaptured() - -Method in class org.mockito.exceptions.Reporter -
  -
NoInteractionsWanted - Error in org.mockito.exceptions.verification
No interactions wanted.
NoInteractionsWanted(String) - -Constructor for error org.mockito.exceptions.verification.NoInteractionsWanted -
  -
NoMoreInteractions - Class in org.mockito.internal.verification
 
NoMoreInteractions() - -Constructor for class org.mockito.internal.verification.NoMoreInteractions -
  -
noMoreInteractions() - -Static method in class org.mockito.internal.verification.VerificationModeFactory -
  -
noMoreInteractionsWanted(Invocation, List<VerificationAwareInvocation>) - -Method in class org.mockito.exceptions.Reporter -
  -
noMoreInteractionsWantedInOrder(Invocation) - -Method in class org.mockito.exceptions.Reporter -
  -
not(T) - -Static method in class org.mockito.AdditionalMatchers -
Object argument that does not match the given argument matcher. -
not(short) - -Static method in class org.mockito.AdditionalMatchers -
short argument that does not match the given argument matcher. -
not(int) - -Static method in class org.mockito.AdditionalMatchers -
int argument that does not match the given argument matcher. -
not(long) - -Static method in class org.mockito.AdditionalMatchers -
long argument that does not match the given argument matcher. -
not(float) - -Static method in class org.mockito.AdditionalMatchers -
float argument that does not match the given argument matcher. -
not(double) - -Static method in class org.mockito.AdditionalMatchers -
double argument that does not match the given argument matcher. -
not(char) - -Static method in class org.mockito.AdditionalMatchers -
char argument that does not match the given argument matcher. -
not(boolean) - -Static method in class org.mockito.AdditionalMatchers -
boolean argument that does not match the given argument matcher. -
not(byte) - -Static method in class org.mockito.AdditionalMatchers -
byte argument that does not match the given argument matcher. -
Not - Class in org.mockito.internal.matchers
 
Not(Matcher) - -Constructor for class org.mockito.internal.matchers.Not -
  -
NOT_NULL - -Static variable in class org.mockito.internal.matchers.NotNull -
  -
NotAMockException - Exception in org.mockito.exceptions.misusing
 
NotAMockException(String) - -Constructor for exception org.mockito.exceptions.misusing.NotAMockException -
  -
notAMockPassedToVerify() - -Method in class org.mockito.exceptions.Reporter -
  -
notAMockPassedToVerifyNoMoreInteractions() - -Method in class org.mockito.exceptions.Reporter -
  -
notAMockPassedToWhenMethod() - -Method in class org.mockito.exceptions.Reporter -
  -
notAMockPassedWhenCreatingInOrder() - -Method in class org.mockito.exceptions.Reporter -
  -
NotNull - Class in org.mockito.internal.matchers
 
notNull() - -Static method in class org.mockito.Matchers -
not null argument. -
Null - Class in org.mockito.internal.matchers
 
NULL - -Static variable in class org.mockito.internal.matchers.Null -
  -
NullInsteadOfMockException - Exception in org.mockito.exceptions.misusing
 
NullInsteadOfMockException(String) - -Constructor for exception org.mockito.exceptions.misusing.NullInsteadOfMockException -
  -
nullPassedToVerify() - -Method in class org.mockito.exceptions.Reporter -
  -
nullPassedToVerifyNoMoreInteractions() - -Method in class org.mockito.exceptions.Reporter -
  -
nullPassedToWhenMethod() - -Method in class org.mockito.exceptions.Reporter -
  -
nullPassedWhenCreatingInOrder() - -Method in class org.mockito.exceptions.Reporter -
  -
NumberOfInvocationsChecker - Class in org.mockito.internal.verification.checkers
 
NumberOfInvocationsChecker() - -Constructor for class org.mockito.internal.verification.checkers.NumberOfInvocationsChecker -
  -
NumberOfInvocationsInOrderChecker - Class in org.mockito.internal.verification.checkers
 
NumberOfInvocationsInOrderChecker() - -Constructor for class org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderChecker -
  -
-
-

-O

-
-
ObjectMethodsGuru - Class in org.mockito.internal.util
 
ObjectMethodsGuru() - -Constructor for class org.mockito.internal.util.ObjectMethodsGuru -
  -
of(String) - -Method in class org.mockito.internal.util.RemoveFirstLine -
  -
on() - -Method in class org.mockito.internal.stubbing.VoidMethodStubbableImpl -
  -
on() - -Method in interface org.mockito.stubbing.VoidMethodStubbable -
Choose void method for stubbing. -
OngoingStubbing<T> - Interface in org.mockito.stubbing
Simply put: "When the x method is called then return y".
OngoingStubbingImpl<T> - Class in org.mockito.internal.stubbing
 
OngoingStubbingImpl(InvocationContainerImpl) - -Constructor for class org.mockito.internal.stubbing.OngoingStubbingImpl -
  -
Only - Class in org.mockito.internal.verification
 
Only() - -Constructor for class org.mockito.internal.verification.Only -
  -
only() - -Static method in class org.mockito.internal.verification.VerificationModeFactory -
  -
only() - -Static method in class org.mockito.Mockito -
Allows checking if given method was the only one invoked. -
only() - -Method in class org.mockito.verification.Timeout -
  -
only() - -Method in interface org.mockito.verification.VerificationWithTimeout -
Allows checking if given method was the only one invoked. -
onlyVoidMethodsCanBeSetToDoNothing() - -Method in class org.mockito.exceptions.Reporter -
  -
or(boolean, boolean) - -Static method in class org.mockito.AdditionalMatchers -
boolean argument that matches any of the given argument matchers. -
or(T, T) - -Static method in class org.mockito.AdditionalMatchers -
Object argument that matches any of the given argument matchers. -
or(short, short) - -Static method in class org.mockito.AdditionalMatchers -
short argument that matches any of the given argument matchers. -
or(long, long) - -Static method in class org.mockito.AdditionalMatchers -
long argument that matches any of the given argument matchers. -
or(int, int) - -Static method in class org.mockito.AdditionalMatchers -
int argument that matches any of the given argument matchers. -
or(float, float) - -Static method in class org.mockito.AdditionalMatchers -
float argument that matches any of the given argument matchers. -
or(double, double) - -Static method in class org.mockito.AdditionalMatchers -
double argument that matches any of the given argument matchers. -
or(char, char) - -Static method in class org.mockito.AdditionalMatchers -
char argument that matches any of the given argument matchers. -
or(byte, byte) - -Static method in class org.mockito.AdditionalMatchers -
byte argument that matches any of the given argument matchers. -
Or - Class in org.mockito.internal.matchers
 
Or(List<Matcher>) - -Constructor for class org.mockito.internal.matchers.Or -
  -
org.mockito - package org.mockito
Mockito is a mock library for java - see Mockito class for for usage.
org.mockito.configuration - package org.mockito.configuration
Mockito configuration utilities
org.mockito.exceptions - package org.mockito.exceptions
Exception messages, exception hierarchies.
org.mockito.exceptions.base - package org.mockito.exceptions.base
Base classes for exceptions and errors, stack trace filtering/removing logic.
org.mockito.exceptions.misusing - package org.mockito.exceptions.misusing
Exceptions thrown when Mockito is misused.
org.mockito.exceptions.verification - package org.mockito.exceptions.verification
Verification errors.
org.mockito.exceptions.verification.junit - package org.mockito.exceptions.verification.junit
JUnit integration to provide better support for junit runners in IDEs.
org.mockito.internal - package org.mockito.internal
Internal classes, not to be used by clients.
org.mockito.internal.configuration - package org.mockito.internal.configuration
Mockito configuration
org.mockito.internal.creation - package org.mockito.internal.creation
Mock object creation.
org.mockito.internal.creation.cglib - package org.mockito.internal.creation.cglib
CGLIB related stuff
org.mockito.internal.creation.jmock - package org.mockito.internal.creation.jmock
Borrowed from jmock codebase
org.mockito.internal.debugging - package org.mockito.internal.debugging
Whatever helps in debugging failed tests
org.mockito.internal.exceptions - package org.mockito.internal.exceptions
 
org.mockito.internal.exceptions.base - package org.mockito.internal.exceptions.base
internal implementations of exceptions stuff
org.mockito.internal.exceptions.util - package org.mockito.internal.exceptions.util
 
org.mockito.internal.invocation - package org.mockito.internal.invocation
Invocation and related classes.
org.mockito.internal.invocation.realmethod - package org.mockito.internal.invocation.realmethod
implementations of real method calls
org.mockito.internal.listeners - package org.mockito.internal.listeners
 
org.mockito.internal.matchers - package org.mockito.internal.matchers
Argument matchers for verification and stubbing.
org.mockito.internal.matchers.apachecommons - package org.mockito.internal.matchers.apachecommons
Argument matchers that use Apache Commons Lang reflection-equality.
org.mockito.internal.progress - package org.mockito.internal.progress
Mocking progress stateful classes.
org.mockito.internal.reporting - package org.mockito.internal.reporting
Deals with nicely printing verification errors
org.mockito.internal.runners - package org.mockito.internal.runners
Internal classes for runners implementations
org.mockito.internal.runners.util - package org.mockito.internal.runners.util
Internal utils for runner implementations
org.mockito.internal.stubbing - package org.mockito.internal.stubbing
Stubbing logic.
org.mockito.internal.stubbing.answers - package org.mockito.internal.stubbing.answers
Answers for stubbed calls
org.mockito.internal.stubbing.defaultanswers - package org.mockito.internal.stubbing.defaultanswers
Implementations of ReturnValues
org.mockito.internal.util - package org.mockito.internal.util
Static utils
org.mockito.internal.util.junit - package org.mockito.internal.util.junit
 
org.mockito.internal.util.reflection - package org.mockito.internal.util.reflection
reflection utilities
org.mockito.internal.verification - package org.mockito.internal.verification
Verification logic.
org.mockito.internal.verification.api - package org.mockito.internal.verification.api
This package should be open to public once verification API is fully finished
org.mockito.internal.verification.argumentmatching - package org.mockito.internal.verification.argumentmatching
Deals with matching arguments
org.mockito.internal.verification.checkers - package org.mockito.internal.verification.checkers
verification checkers
org.mockito.invocation - package org.mockito.invocation
Publicly visible classes related to invocation
org.mockito.runners - package org.mockito.runners
JUnit runners.
org.mockito.stubbing - package org.mockito.stubbing
External stubbing related classes
org.mockito.stubbing.answers - package org.mockito.stubbing.answers
 
org.mockito.verification - package org.mockito.verification
 
-
-

-P

-
-
pluralize(int) - -Static method in class org.mockito.exceptions.Pluralizer -
  -
Pluralizer - Class in org.mockito.exceptions
 
Pluralizer() - -Constructor for class org.mockito.exceptions.Pluralizer -
  -
Primitives - Class in org.mockito.internal.util
 
Primitives() - -Constructor for class org.mockito.internal.util.Primitives -
  -
primitiveTypeOf(Class<T>) - -Static method in class org.mockito.internal.util.Primitives -
  -
primitiveValueOrNullFor(Class<T>) - -Static method in class org.mockito.internal.util.Primitives -
  -
primitiveWrapperOf(Class<T>) - -Static method in class org.mockito.internal.util.Primitives -
  -
print(MockitoLogger) - -Method in class org.mockito.internal.debugging.WarningsPrinterImpl -
  -
print() - -Method in class org.mockito.internal.debugging.WarningsPrinterImpl -
  -
print(List<VerificationAwareInvocation>) - -Method in class org.mockito.internal.exceptions.util.ScenarioPrinter -
  -
PrintableInvocation - Interface in org.mockito.exceptions
 
PrintingFriendlyInvocation - Interface in org.mockito.internal.reporting
 
printInvocations(Object...) - -Method in class org.mockito.internal.debugging.MockitoDebuggerImpl -
  -
printInvocations(Object...) - -Method in interface org.mockito.MockitoDebugger -
  -
printMethodReturnType() - -Method in class org.mockito.internal.invocation.Invocation -
  -
printReturnType() - -Method in class org.mockito.internal.stubbing.answers.Returns -
  -
PrintSettings - Class in org.mockito.internal.reporting
 
PrintSettings() - -Constructor for class org.mockito.internal.reporting.PrintSettings -
  -
process(Class<?>, Object) - -Method in interface org.mockito.configuration.AnnotationEngine -
Allows extending the interface to perform action on specific fields on the test class -
process(Class<?>, Object) - -Method in class org.mockito.internal.configuration.DefaultAnnotationEngine -
  -
process(Class<?>, Object) - -Method in class org.mockito.internal.configuration.InjectingAnnotationEngine -
  -
process(Class<?>, Object) - -Method in class org.mockito.internal.configuration.SpyAnnotationEngine -
  -
pullMatchers() - -Method in interface org.mockito.internal.progress.ArgumentMatcherStorage -
  -
pullMatchers() - -Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl -
  -
pullOngoingStubbing() - -Method in interface org.mockito.internal.progress.MockingProgress -
  -
pullOngoingStubbing() - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
pullOngoingStubbing() - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
pullVerificationMode() - -Method in interface org.mockito.internal.progress.MockingProgress -
  -
pullVerificationMode() - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
pullVerificationMode() - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
-
-

-R

-
-
RealMethod - Interface in org.mockito.internal.invocation.realmethod
 
refEq(T, String...) - -Static method in class org.mockito.Matchers -
Object argument that is reflection-equal to the given value with support for excluding - selected fields from a class. -
ReflectionEquals - Class in org.mockito.internal.matchers.apachecommons
 
ReflectionEquals(Object, String...) - -Constructor for class org.mockito.internal.matchers.apachecommons.ReflectionEquals -
  -
RegisteredInvocations - Class in org.mockito.internal.verification
 
RegisteredInvocations() - -Constructor for class org.mockito.internal.verification.RegisteredInvocations -
  -
RemoveFirstLine - Class in org.mockito.internal.util
 
RemoveFirstLine() - -Constructor for class org.mockito.internal.util.RemoveFirstLine -
  -
removeLast() - -Method in class org.mockito.internal.verification.RegisteredInvocations -
  -
reportAnd() - -Method in interface org.mockito.internal.progress.ArgumentMatcherStorage -
  -
reportAnd() - -Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl -
  -
Reporter - Class in org.mockito.exceptions
Reports verification and misusing errors.
Reporter() - -Constructor for class org.mockito.exceptions.Reporter -
  -
reportMatcher(Matcher) - -Method in interface org.mockito.internal.progress.ArgumentMatcherStorage -
  -
reportMatcher(Matcher) - -Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl -
  -
reportNot() - -Method in interface org.mockito.internal.progress.ArgumentMatcherStorage -
  -
reportNot() - -Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl -
  -
reportOngoingStubbing(IOngoingStubbing) - -Method in interface org.mockito.internal.progress.MockingProgress -
  -
reportOngoingStubbing(IOngoingStubbing) - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
reportOngoingStubbing(IOngoingStubbing) - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
reportOr() - -Method in interface org.mockito.internal.progress.ArgumentMatcherStorage -
  -
reportOr() - -Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl -
  -
reset(T...) - -Method in class org.mockito.internal.MockitoCore -
  -
reset() - -Method in interface org.mockito.internal.progress.ArgumentMatcherStorage -
  -
reset() - -Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl -
  -
reset() - -Method in interface org.mockito.internal.progress.MockingProgress -
  -
reset() - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
reset() - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
reset(T...) - -Static method in class org.mockito.Mockito -
Smart Mockito users hardly use this feature because they know it could be a sign of poor tests. -
resetInvocationForPotentialStubbing(InvocationMatcher) - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
resetMock(T) - -Method in class org.mockito.internal.util.MockUtil -
  -
resetOngoingStubbing() - -Method in interface org.mockito.internal.progress.MockingProgress -
Removes ongoing stubbing so that in case the framework is misused - state validation errors are more accurate -
resetOngoingStubbing() - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
resetOngoingStubbing() - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
returnChar() - -Method in class org.mockito.internal.progress.HandyReturnValues -
  -
returnFalse() - -Method in class org.mockito.internal.progress.HandyReturnValues -
  -
returnFor(Class<T>) - -Method in class org.mockito.internal.progress.HandyReturnValues -
  -
returnFor(T) - -Method in class org.mockito.internal.progress.HandyReturnValues -
  -
returnList() - -Method in class org.mockito.internal.progress.HandyReturnValues -
  -
returnMap() - -Method in class org.mockito.internal.progress.HandyReturnValues -
  -
returnNull() - -Method in class org.mockito.internal.progress.HandyReturnValues -
  -
Returns - Class in org.mockito.internal.stubbing.answers
 
Returns(Object) - -Constructor for class org.mockito.internal.stubbing.answers.Returns -
  -
RETURNS_DEEP_STUBS - -Static variable in class org.mockito.Mockito -
Optional Answer to be used with Mockito.mock(Class, Answer) -
RETURNS_DEFAULTS - -Static variable in class org.mockito.Mockito -
The default Answer of every mock if the mock was not stubbed. -
RETURNS_MOCKS - -Static variable in class org.mockito.Mockito -
Optional Answer to be used with Mockito.mock(Class, Answer) -
RETURNS_SMART_NULLS - -Static variable in class org.mockito.Mockito -
Optional Answer to be used with Mockito.mock(Class, Answer) -
ReturnsDeepStubs - Class in org.mockito.internal.stubbing.defaultanswers
 
ReturnsDeepStubs() - -Constructor for class org.mockito.internal.stubbing.defaultanswers.ReturnsDeepStubs -
  -
ReturnsElementsOf - Class in org.mockito.stubbing.answers
Returns elements of the collection.
ReturnsElementsOf(Collection) - -Constructor for class org.mockito.stubbing.answers.ReturnsElementsOf -
  -
ReturnsEmptyValues - Class in org.mockito.internal.stubbing.defaultanswers
Default answer of every Mockito mock.
ReturnsEmptyValues() - -Constructor for class org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValues -
  -
returnSet() - -Method in class org.mockito.internal.progress.HandyReturnValues -
  -
ReturnsMocks - Class in org.mockito.internal.stubbing.defaultanswers
 
ReturnsMocks() - -Constructor for class org.mockito.internal.stubbing.defaultanswers.ReturnsMocks -
  -
ReturnsMoreEmptyValues - Class in org.mockito.internal.stubbing.defaultanswers
It's likely this implementation will be used by default by every Mockito 2.0 mock.
ReturnsMoreEmptyValues() - -Constructor for class org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValues -
  -
returnsNull() - -Method in class org.mockito.internal.stubbing.answers.Returns -
  -
returnsPrimitive() - -Method in class org.mockito.internal.invocation.Invocation -
  -
ReturnsSmartNulls - Class in org.mockito.internal.stubbing.defaultanswers
Optional Answer that can be used with - Mockito.mock(Class, Answer)
ReturnsSmartNulls() - -Constructor for class org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNulls -
  -
returnString() - -Method in class org.mockito.internal.progress.HandyReturnValues -
  -
ReturnValues - Interface in org.mockito
Deprecated. Instead, please use Answer interface -

- In rare cases your code might not compile with recent deprecation & changes. - Very sorry for inconvenience but it had to be done in order to keep framework consistent. -

- Why it is deprecated? ReturnValues is being replaced by Answer - for better consistency & interoperability of the framework. - Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues. - There's no point in mainting exactly the same interfaces. -

- Configures return values for an unstubbed invocation -

- Can be used in Mockito.mock(Class, ReturnValues)

returnZero() - -Method in class org.mockito.internal.progress.HandyReturnValues -
  -
run(RunNotifier) - -Method in class org.mockito.internal.runners.JUnit44RunnerImpl -
  -
run(RunNotifier) - -Method in class org.mockito.internal.runners.JUnit45AndHigherRunnerImpl -
  -
run(RunNotifier) - -Method in interface org.mockito.internal.runners.RunnerImpl -
  -
run(RunNotifier) - -Method in class org.mockito.runners.ConsoleSpammingMockitoJUnitRunner -
  -
run(RunNotifier) - -Method in class org.mockito.runners.MockitoJUnitRunner -
  -
run(RunNotifier) - -Method in class org.mockito.runners.VerboseMockitoJUnitRunner -
  -
RunnerFactory - Class in org.mockito.internal.runners
 
RunnerFactory() - -Constructor for class org.mockito.internal.runners.RunnerFactory -
  -
RunnerImpl - Interface in org.mockito.internal.runners
I'm using this surrogate interface to hide internal Runner implementations.
RunnerProvider - Class in org.mockito.internal.runners.util
 
RunnerProvider() - -Constructor for class org.mockito.internal.runners.util.RunnerProvider -
  -
-
-

-S

-
-
safelyDisableAccess(Field) - -Method in class org.mockito.internal.util.reflection.AccessibilityChanger -
safely disables access -
Same - Class in org.mockito.internal.matchers
 
Same(Object) - -Constructor for class org.mockito.internal.matchers.Same -
  -
same(T) - -Static method in class org.mockito.Matchers -
Object argument that is the same as the given value. -
ScenarioPrinter - Class in org.mockito.internal.exceptions.util
 
ScenarioPrinter() - -Constructor for class org.mockito.internal.exceptions.util.ScenarioPrinter -
  -
SearchingClassLoader - Class in org.mockito.internal.creation.jmock
Thanks to jMock guys for this ClassLoader.
SearchingClassLoader(ClassLoader, ClassLoader) - -Constructor for class org.mockito.internal.creation.jmock.SearchingClassLoader -
  -
SequenceNumber - Class in org.mockito.internal.progress
 
SequenceNumber() - -Constructor for class org.mockito.internal.progress.SequenceNumber -
  -
serializable() - -Method in class org.mockito.internal.creation.MockSettingsImpl -
  -
serializable() - -Method in interface org.mockito.MockSettings -
Configures the mock to be serializable. -
SERIALIZABLE_INSTANCE - -Static variable in class org.mockito.internal.creation.jmock.SerializableNoOp -
  -
SerializableMethod - Class in org.mockito.internal.invocation
 
SerializableMethod(Method) - -Constructor for class org.mockito.internal.invocation.SerializableMethod -
  -
SerializableMockitoMethodProxy - Class in org.mockito.internal.creation
 
SerializableMockitoMethodProxy(MethodProxy) - -Constructor for class org.mockito.internal.creation.SerializableMockitoMethodProxy -
  -
SerializableNoOp - Class in org.mockito.internal.creation.jmock
 
SerializableNoOp() - -Constructor for class org.mockito.internal.creation.jmock.SerializableNoOp -
  -
set(Object) - -Method in class org.mockito.internal.util.reflection.FieldSetter -
  -
setAnswersForStubbing(List<Answer>) - -Method in class org.mockito.internal.MockHandler -
  -
setAnswersForStubbing(List<Answer>) - -Method in interface org.mockito.internal.MockHandlerInterface -
  -
setAnswersForStubbing(List<Answer>) - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
setInternalState(Object, String, Object) - -Static method in class org.mockito.internal.util.reflection.Whitebox -
  -
setInvocationForPotentialStubbing(InvocationMatcher) - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
setListener(MockingProgressListener) - -Method in interface org.mockito.internal.progress.MockingProgress -
  -
setListener(MockingProgressListener) - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
setListener(MockingProgressListener) - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
setMatchersToBeDescribedWithExtraTypeInfo(Integer[]) - -Method in class org.mockito.internal.reporting.PrintSettings -
  -
setMethodForStubbing(InvocationMatcher) - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
setMockitoNamingPolicy(MockitoMethodProxy) - -Method in class org.mockito.internal.creation.cglib.CGLIBHacker -
  -
setMultiline(boolean) - -Method in class org.mockito.internal.reporting.PrintSettings -
  -
shortThat(Matcher<Short>) - -Static method in class org.mockito.Matchers -
Allows creating custom argument matchers. -
SimpleMockitoLogger - Class in org.mockito.internal.util
 
SimpleMockitoLogger() - -Constructor for class org.mockito.internal.util.SimpleMockitoLogger -
  -
smartNullPointerException(Location) - -Method in class org.mockito.exceptions.Reporter -
  -
SmartNullPointerException - Exception in org.mockito.exceptions.verification
 
SmartNullPointerException(String) - -Constructor for exception org.mockito.exceptions.verification.SmartNullPointerException -
  -
SmartPrinter - Class in org.mockito.internal.reporting
Makes sure both wanted and actual are printed consistently (single line or multiline)
SmartPrinter(PrintingFriendlyInvocation, PrintingFriendlyInvocation, Integer...) - -Constructor for class org.mockito.internal.reporting.SmartPrinter -
  -
spiedInstance(Object) - -Method in class org.mockito.internal.creation.MockSettingsImpl -
  -
spiedInstance(Object) - -Method in interface org.mockito.MockSettings -
Specifies the instance to spy on. -
spy(T) - -Static method in class org.mockito.Mockito -
Creates a spy of the real object. -
Spy - Annotation Type in org.mockito
Allows shorthand wrapping of field instances in an spy object.
SpyAnnotationEngine - Class in org.mockito.internal.configuration
 
SpyAnnotationEngine() - -Constructor for class org.mockito.internal.configuration.SpyAnnotationEngine -
  -
StackTraceFilter - Class in org.mockito.internal.exceptions.base
 
StackTraceFilter() - -Constructor for class org.mockito.internal.exceptions.base.StackTraceFilter -
  -
StartsWith - Class in org.mockito.internal.matchers
 
StartsWith(String) - -Constructor for class org.mockito.internal.matchers.StartsWith -
  -
startsWith(String) - -Static method in class org.mockito.Matchers -
String argument that starts with the given prefix. -
StringJoiner - Class in org.mockito.internal.util
 
StringJoiner() - -Constructor for class org.mockito.internal.util.StringJoiner -
  -
stub() - -Method in class org.mockito.internal.MockitoCore -
  -
stub(T) - -Method in class org.mockito.internal.MockitoCore -
  -
stub(T) - -Static method in class org.mockito.Mockito -
Stubs a method call with return value or an exception. -
stubbedAt() - -Method in class org.mockito.internal.invocation.StubInfo -
  -
StubbedInvocationMatcher - Class in org.mockito.internal.stubbing
 
StubbedInvocationMatcher(InvocationMatcher, Answer) - -Constructor for class org.mockito.internal.stubbing.StubbedInvocationMatcher -
  -
Stubber - Interface in org.mockito.stubbing
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
StubberImpl - Class in org.mockito.internal.stubbing
 
StubberImpl() - -Constructor for class org.mockito.internal.stubbing.StubberImpl -
  -
stubbingCompleted(Invocation) - -Method in interface org.mockito.internal.progress.MockingProgress -
  -
stubbingCompleted(Invocation) - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
stubbingCompleted(Invocation) - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
stubbingStarted() - -Method in interface org.mockito.internal.progress.MockingProgress -
  -
stubbingStarted() - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
stubbingStarted() - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
stubInfo() - -Method in class org.mockito.internal.invocation.Invocation -
  -
StubInfo - Class in org.mockito.internal.invocation
 
StubInfo(PrintableInvocation) - -Constructor for class org.mockito.internal.invocation.StubInfo -
  -
stubVoid(T) - -Method in class org.mockito.internal.MockitoCore -
  -
stubVoid(T) - -Static method in class org.mockito.Mockito -
Deprecated. Use Mockito.doThrow(Throwable) method for stubbing voids -
-
-

-T

-
-
testFinished(Description) - -Method in class org.mockito.internal.runners.util.FrameworkUsageValidator -
  -
TestMethodsFinder - Class in org.mockito.internal.runners.util
 
TestMethodsFinder() - -Constructor for class org.mockito.internal.runners.util.TestMethodsFinder -
  -
thenAnswer(Answer<?>) - -Method in class org.mockito.internal.stubbing.ConsecutiveStubbing -
  -
thenAnswer(Answer<?>) - -Method in class org.mockito.internal.stubbing.OngoingStubbingImpl -
  -
thenAnswer(Answer<?>) - -Method in interface org.mockito.stubbing.OngoingStubbing -
Sets a generic Answer for the method. -
thenCallRealMethod() - -Method in class org.mockito.internal.stubbing.BaseStubbing -
  -
thenCallRealMethod() - -Method in interface org.mockito.stubbing.OngoingStubbing -
Sets the real implementation to be called when the method is called on a mock object. -
thenReturn(T) - -Method in class org.mockito.internal.stubbing.BaseStubbing -
  -
thenReturn(T, T...) - -Method in class org.mockito.internal.stubbing.BaseStubbing -
  -
thenReturn(T) - -Method in interface org.mockito.stubbing.OngoingStubbing -
Sets a return value to be returned when the method is called. -
thenReturn(T, T...) - -Method in interface org.mockito.stubbing.OngoingStubbing -
Sets consecutive return values to be returned when the method is called. -
thenThrow(Throwable...) - -Method in class org.mockito.internal.stubbing.BaseStubbing -
  -
thenThrow(Throwable...) - -Method in interface org.mockito.stubbing.OngoingStubbing -
Sets Throwable objects to be thrown when the method is called. -
ThreadSafeMockingProgress - Class in org.mockito.internal.progress
 
ThreadSafeMockingProgress() - -Constructor for class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
ThrowsException - Class in org.mockito.internal.stubbing.answers
 
ThrowsException(Throwable) - -Constructor for class org.mockito.internal.stubbing.answers.ThrowsException -
  -
timeout(int) - -Static method in class org.mockito.Mockito -
Allows verifying with timeout. -
Timeout - Class in org.mockito.verification
See the javadoc for VerificationWithTimeout
Timeout(int, VerificationMode) - -Constructor for class org.mockito.verification.Timeout -
See the javadoc for VerificationWithTimeout -
Times - Class in org.mockito.internal.verification
 
Times(int) - -Constructor for class org.mockito.internal.verification.Times -
  -
times(int) - -Static method in class org.mockito.internal.verification.VerificationModeFactory -
  -
times(int) - -Static method in class org.mockito.Mockito -
Allows verifying exact number of invocations. -
times(int) - -Method in class org.mockito.verification.Timeout -
  -
times(int) - -Method in interface org.mockito.verification.VerificationWithTimeout -
Allows verifying exact number of invocations within given timeout -
toAnswer(Answer<?>) - -Method in class org.mockito.internal.stubbing.ConsecutiveStubbing -
  -
toAnswer(Answer<?>) - -Method in class org.mockito.internal.stubbing.OngoingStubbingImpl -
  -
toAnswer(Answer<?>) - -Method in class org.mockito.internal.stubbing.VoidMethodStubbableImpl -
  -
toAnswer(Answer<?>) - -Method in interface org.mockito.stubbing.DeprecatedOngoingStubbing -
Set a generic Answer for the stubbed method. -
toAnswer(Answer<?>) - -Method in interface org.mockito.stubbing.VoidMethodStubbable -
Stubs a void method with generic Answer -
tooLittleActualInvocations(Discrepancy, PrintableInvocation, Location) - -Method in class org.mockito.exceptions.Reporter -
  -
TooLittleActualInvocations - Error in org.mockito.exceptions.verification
 
TooLittleActualInvocations(String) - -Constructor for error org.mockito.exceptions.verification.TooLittleActualInvocations -
  -
tooLittleActualInvocationsInOrder(Discrepancy, PrintableInvocation, Location) - -Method in class org.mockito.exceptions.Reporter -
  -
tooManyActualInvocations(int, int, PrintableInvocation, Location) - -Method in class org.mockito.exceptions.Reporter -
  -
TooManyActualInvocations - Error in org.mockito.exceptions.verification
 
TooManyActualInvocations(String) - -Constructor for error org.mockito.exceptions.verification.TooManyActualInvocations -
  -
tooManyActualInvocationsInOrder(int, int, PrintableInvocation, Location) - -Method in class org.mockito.exceptions.Reporter -
  -
toReturn(T) - -Method in class org.mockito.internal.stubbing.BaseStubbing -
  -
toReturn() - -Method in class org.mockito.internal.stubbing.VoidMethodStubbableImpl -
  -
toReturn(T) - -Method in interface org.mockito.stubbing.DeprecatedOngoingStubbing -
Set a return value for the stubbed method. -
toReturn() - -Method in interface org.mockito.stubbing.VoidMethodStubbable -
Stubs void method to 'just return' (e.g. -
toString() - -Method in interface org.mockito.exceptions.PrintableInvocation -
  -
toString() - -Method in error org.mockito.exceptions.verification.ArgumentsAreDifferent -
  -
toString() - -Method in error org.mockito.exceptions.verification.junit.ArgumentsAreDifferent -
  -
toString() - -Method in error org.mockito.exceptions.verification.WantedButNotInvoked -
  -
toString() - -Method in class org.mockito.internal.debugging.Location -
  -
toString() - -Method in class org.mockito.internal.invocation.Invocation -
  -
toString(List<Matcher>, PrintSettings) - -Method in class org.mockito.internal.invocation.Invocation -
  -
toString(PrintSettings) - -Method in class org.mockito.internal.invocation.Invocation -
  -
toString() - -Method in class org.mockito.internal.invocation.InvocationMatcher -
  -
toString(PrintSettings) - -Method in class org.mockito.internal.invocation.InvocationMatcher -
  -
toString() - -Method in class org.mockito.internal.matchers.LocalizedMatcher -
  -
toString() - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
toString() - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
toString(PrintSettings) - -Method in interface org.mockito.internal.reporting.PrintingFriendlyInvocation -
  -
toString() - -Method in class org.mockito.internal.stubbing.answers.Returns -
  -
toString() - -Method in class org.mockito.internal.stubbing.InvocationContainerImpl -
  -
toString() - -Method in class org.mockito.internal.stubbing.StubbedInvocationMatcher -
  -
toString() - -Method in class org.mockito.internal.util.MockName -
  -
toString() - -Method in class org.mockito.internal.verification.AtLeast -
  -
toString() - -Method in class org.mockito.internal.verification.Times -
  -
toThrow(Throwable) - -Method in class org.mockito.internal.stubbing.BaseStubbing -
  -
toThrow(Throwable) - -Method in class org.mockito.internal.stubbing.VoidMethodStubbableImpl -
  -
toThrow(Throwable) - -Method in interface org.mockito.stubbing.DeprecatedOngoingStubbing -
Set a Throwable to be thrown when the stubbed method is called. -
toThrow(Throwable) - -Method in interface org.mockito.stubbing.VoidMethodStubbable -
Stubs void method with an exception. -
typeMatches(Object) - -Method in interface org.mockito.internal.matchers.ContainsExtraTypeInformation -
  -
typeMatches(Object) - -Method in class org.mockito.internal.matchers.Equals -
  -
typeMatches(Object) - -Method in class org.mockito.internal.matchers.LocalizedMatcher -
  -
-
-

-U

-
-
unfinishedStubbing(Location) - -Method in class org.mockito.exceptions.Reporter -
  -
UnfinishedStubbingException - Exception in org.mockito.exceptions.misusing
 
UnfinishedStubbingException(String) - -Constructor for exception org.mockito.exceptions.misusing.UnfinishedStubbingException -
  -
UnfinishedVerificationException - Exception in org.mockito.exceptions.misusing
 
UnfinishedVerificationException(String) - -Constructor for exception org.mockito.exceptions.misusing.UnfinishedVerificationException -
  -
unfinishedVerificationException(Location) - -Method in class org.mockito.exceptions.Reporter -
  -
unsupportedCombinationOfAnnotations(String, String) - -Method in class org.mockito.exceptions.Reporter -
  -
UnusedStubsFinder - Class in org.mockito.internal.invocation
 
UnusedStubsFinder() - -Constructor for class org.mockito.internal.invocation.UnusedStubsFinder -
  -
-
-

-V

-
-
validate() - -Static method in class org.mockito.internal.configuration.GlobalConfiguration -
  -
validate(Answer<?>, Invocation) - -Method in class org.mockito.internal.stubbing.answers.AnswersValidator -
  -
validateExtraInterfaces(Class, Class...) - -Method in class org.mockito.internal.util.MockCreationValidator -
  -
validateMockedType(Class, Object) - -Method in class org.mockito.internal.util.MockCreationValidator -
  -
validateMockitoUsage() - -Method in class org.mockito.internal.MockitoCore -
  -
validateMockitoUsage() - -Static method in class org.mockito.Mockito -
First of all, in case of any trouble, I encourage you to read the Mockito FAQ: http://code.google.com/p/mockito/wiki/FAQ -
validateState() - -Method in interface org.mockito.internal.progress.ArgumentMatcherStorage -
  -
validateState() - -Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl -
  -
validateState() - -Method in interface org.mockito.internal.progress.MockingProgress -
  -
validateState() - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
validateState() - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
validateType(Class) - -Method in class org.mockito.internal.util.MockCreationValidator -
  -
valueFor(InvocationOnMock) - -Method in interface org.mockito.ReturnValues -
Deprecated. return value for an unstubbed invocation -
valueOf(String) - -Static method in enum org.mockito.Answers -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum org.mockito.internal.stubbing.defaultanswers.Answers -
Deprecated. Returns the enum constant of this type with the specified name. -
values() - -Static method in enum org.mockito.Answers -
Returns an array containing the constants of this enum type, in -the order they're declared. -
values() - -Static method in enum org.mockito.internal.stubbing.defaultanswers.Answers -
Deprecated. Returns an array containing the constants of this enum type, in -the order they're declared. -
VarargMatcher - Interface in org.mockito.internal.matchers
 
verboseMatchers(Integer...) - -Static method in class org.mockito.internal.reporting.PrintSettings -
  -
VerboseMockitoJUnitRunner - Class in org.mockito.runners
Experimental implementation that suppose to improve tdd/testing experience.
VerboseMockitoJUnitRunner(Class<?>) - -Constructor for class org.mockito.runners.VerboseMockitoJUnitRunner -
  -
VerificationAwareInvocation - Interface in org.mockito.internal.exceptions
 
VerificationData - Interface in org.mockito.internal.verification.api
 
VerificationDataImpl - Class in org.mockito.internal.verification
 
VerificationDataImpl(InvocationContainer, InvocationMatcher) - -Constructor for class org.mockito.internal.verification.VerificationDataImpl -
  -
VerificationDataInOrder - Interface in org.mockito.internal.verification.api
 
VerificationDataInOrderImpl - Class in org.mockito.internal.verification.api
 
VerificationDataInOrderImpl(InOrderContext, List<Invocation>, InvocationMatcher) - -Constructor for class org.mockito.internal.verification.api.VerificationDataInOrderImpl -
  -
VerificationInOrderFailure - Error in org.mockito.exceptions.verification
 
VerificationInOrderFailure(String) - -Constructor for error org.mockito.exceptions.verification.VerificationInOrderFailure -
  -
VerificationInOrderMode - Interface in org.mockito.internal.verification.api
 
VerificationMode - Interface in org.mockito.verification
Allows verifying that certain behavior happened at least once / exact number - of times / never.
VerificationModeFactory - Class in org.mockito.internal.verification
 
VerificationModeFactory() - -Constructor for class org.mockito.internal.verification.VerificationModeFactory -
  -
verificationStarted(VerificationMode) - -Method in interface org.mockito.internal.progress.MockingProgress -
  -
verificationStarted(VerificationMode) - -Method in class org.mockito.internal.progress.MockingProgressImpl -
  -
verificationStarted(VerificationMode) - -Method in class org.mockito.internal.progress.ThreadSafeMockingProgress -
  -
VerificationWithTimeout - Interface in org.mockito.verification
VerificationWithTimeout is a VerificationMode that allows combining existing verification modes with 'timeout'.
VerificationWithTimeoutImpl - Class in org.mockito.internal.verification
 
VerificationWithTimeoutImpl(int, int, VerificationMode) - -Constructor for class org.mockito.internal.verification.VerificationWithTimeoutImpl -
  -
verify(T) - -Method in interface org.mockito.InOrder -
Verifies interaction happened once in order. -
verify(T, VerificationMode) - -Method in interface org.mockito.InOrder -
Verifies interaction in order. -
verify(T) - -Method in class org.mockito.internal.InOrderImpl -
  -
verify(T, VerificationMode) - -Method in class org.mockito.internal.InOrderImpl -
  -
verify(T, VerificationMode) - -Method in class org.mockito.internal.MockitoCore -
  -
verify(VerificationData) - -Method in class org.mockito.internal.verification.AtLeast -
  -
verify(VerificationData) - -Method in class org.mockito.internal.verification.AtMost -
  -
verify(VerificationData) - -Method in class org.mockito.internal.verification.InOrderWrapper -
  -
verify(VerificationData) - -Method in class org.mockito.internal.verification.MockAwareVerificationMode -
  -
verify(VerificationData) - -Method in class org.mockito.internal.verification.NoMoreInteractions -
  -
verify(VerificationData) - -Method in class org.mockito.internal.verification.Only -
  -
verify(VerificationData) - -Method in class org.mockito.internal.verification.Times -
  -
verify(VerificationData) - -Method in class org.mockito.internal.verification.VerificationWithTimeoutImpl -
  -
verify(T) - -Static method in class org.mockito.Mockito -
Verifies certain behavior happened once -
verify(T, VerificationMode) - -Static method in class org.mockito.Mockito -
Verifies certain behavior happened at least once / exact number of times / never. -
verify(VerificationData) - -Method in class org.mockito.verification.Timeout -
  -
verify(VerificationData) - -Method in interface org.mockito.verification.VerificationMode -
  -
verifyInOrder(VerificationDataInOrder) - -Method in interface org.mockito.internal.verification.api.VerificationInOrderMode -
  -
verifyInOrder(VerificationDataInOrder) - -Method in class org.mockito.internal.verification.AtLeast -
  -
verifyInOrder(VerificationDataInOrder) - -Method in class org.mockito.internal.verification.NoMoreInteractions -
  -
verifyInOrder(VerificationDataInOrder) - -Method in class org.mockito.internal.verification.Times -
  -
verifyNoMoreInteractions() - -Method in interface org.mockito.InOrder -
Verifies that no more interactions happened in order. -
verifyNoMoreInteractions() - -Method in class org.mockito.internal.InOrderImpl -
  -
verifyNoMoreInteractions(Object...) - -Method in class org.mockito.internal.MockitoCore -
  -
verifyNoMoreInteractions(Object...) - -Static method in class org.mockito.Mockito -
Checks if any of given mocks has any unverified interaction. -
verifyNoMoreInteractionsInOrder(List<Object>, InOrderContext) - -Method in class org.mockito.internal.MockitoCore -
  -
verifyZeroInteractions(Object...) - -Static method in class org.mockito.Mockito -
Verifies that no interactions happened on given mocks. -
voidMethodStubbable(T) - -Method in class org.mockito.internal.MockHandler -
  -
voidMethodStubbable(T) - -Method in interface org.mockito.internal.MockHandlerInterface -
  -
VoidMethodStubbable<T> - Interface in org.mockito.stubbing
Stubs void method with an exception.
VoidMethodStubbableImpl<T> - Class in org.mockito.internal.stubbing
 
VoidMethodStubbableImpl(T, InvocationContainerImpl) - -Constructor for class org.mockito.internal.stubbing.VoidMethodStubbableImpl -
  -
-
-

-W

-
-
wantedAtMostX(int, int) - -Method in class org.mockito.exceptions.Reporter -
  -
wantedButNotInvoked(PrintableInvocation) - -Method in class org.mockito.exceptions.Reporter -
  -
wantedButNotInvoked(PrintableInvocation, List<? extends PrintableInvocation>) - -Method in class org.mockito.exceptions.Reporter -
  -
WantedButNotInvoked - Error in org.mockito.exceptions.verification
 
WantedButNotInvoked(String) - -Constructor for error org.mockito.exceptions.verification.WantedButNotInvoked -
  -
wantedButNotInvokedInOrder(PrintableInvocation, PrintableInvocation) - -Method in class org.mockito.exceptions.Reporter -
  -
WarningsCollector - Class in org.mockito.internal.debugging
 
WarningsCollector() - -Constructor for class org.mockito.internal.debugging.WarningsCollector -
  -
WarningsFinder - Class in org.mockito.internal.debugging
 
WarningsFinder(List<Invocation>, List<InvocationMatcher>) - -Constructor for class org.mockito.internal.debugging.WarningsFinder -
  -
WarningsPrinterImpl - Class in org.mockito.internal.debugging
 
WarningsPrinterImpl(List<Invocation>, List<InvocationMatcher>) - -Constructor for class org.mockito.internal.debugging.WarningsPrinterImpl -
  -
WarningsPrinterImpl(List<Invocation>, List<InvocationMatcher>, boolean) - -Constructor for class org.mockito.internal.debugging.WarningsPrinterImpl -
  -
wasUsed() - -Method in class org.mockito.internal.stubbing.StubbedInvocationMatcher -
  -
when(T) - -Method in class org.mockito.internal.MockitoCore -
  -
when(T) - -Method in class org.mockito.internal.stubbing.StubberImpl -
  -
when(T) - -Static method in class org.mockito.Mockito -
Enables stubbing methods. -
when(T) - -Method in interface org.mockito.stubbing.Stubber -
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style -
Whitebox - Class in org.mockito.internal.util.reflection
 
Whitebox() - -Constructor for class org.mockito.internal.util.reflection.Whitebox -
  -
willAnswer(Answer<?>) - -Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing -
See original OngoingStubbing.thenAnswer(Answer) -
willAnswer(Answer<?>) - -Method in class org.mockito.BDDMockito.BDDOngoingStubbingImpl -
  -
willAnswer(Answer) - -Method in interface org.mockito.BDDMockito.BDDStubber -
See original Stubber.doAnswer(Answer) -
willAnswer(Answer) - -Method in class org.mockito.BDDMockito.BDDStubberImpl -
  -
willAnswer(Answer) - -Static method in class org.mockito.BDDMockito -
see original Mockito.doAnswer(Answer) -
willCallRealMethod() - -Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing -
See original OngoingStubbing.thenCallRealMethod() -
willCallRealMethod() - -Method in class org.mockito.BDDMockito.BDDOngoingStubbingImpl -
  -
willCallRealMethod() - -Static method in class org.mockito.BDDMockito -
see original Mockito.doCallRealMethod() -
willDoNothing() - -Static method in class org.mockito.BDDMockito -
see original Mockito.doNothing() -
willNothing() - -Method in interface org.mockito.BDDMockito.BDDStubber -
See original Stubber.doNothing() -
willNothing() - -Method in class org.mockito.BDDMockito.BDDStubberImpl -
  -
willReturn(T) - -Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing -
See original OngoingStubbing.thenReturn(Object) -
willReturn(T, T...) - -Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing -
See original OngoingStubbing.thenReturn(Object, Object...) -
willReturn(T) - -Method in class org.mockito.BDDMockito.BDDOngoingStubbingImpl -
  -
willReturn(T, T...) - -Method in class org.mockito.BDDMockito.BDDOngoingStubbingImpl -
  -
willReturn(Object) - -Method in interface org.mockito.BDDMockito.BDDStubber -
See original Stubber.doReturn(Object) -
willReturn(Object) - -Method in class org.mockito.BDDMockito.BDDStubberImpl -
  -
willReturn(Object) - -Static method in class org.mockito.BDDMockito -
see original Mockito.doReturn(Object) -
willThrow(Throwable...) - -Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing -
See original OngoingStubbing.thenThrow(Throwable...) -
willThrow(Throwable...) - -Method in class org.mockito.BDDMockito.BDDOngoingStubbingImpl -
  -
willThrow(Throwable) - -Method in interface org.mockito.BDDMockito.BDDStubber -
See original Stubber.doThrow(Throwable) -
willThrow(Throwable) - -Method in class org.mockito.BDDMockito.BDDStubberImpl -
  -
willThrow(Throwable) - -Static method in class org.mockito.BDDMockito -
see original Mockito.doThrow(Throwable) -
withExtraTypeInfo() - -Method in interface org.mockito.internal.matchers.ContainsExtraTypeInformation -
  -
withExtraTypeInfo() - -Method in class org.mockito.internal.matchers.Equals -
  -
withExtraTypeInfo() - -Method in class org.mockito.internal.matchers.LocalizedMatcher -
  -
withSettings() - -Static method in class org.mockito.Mockito -
Allows mock creation with additional mock settings. -
WrongTypeOfReturnValue - Exception in org.mockito.exceptions.misusing
 
WrongTypeOfReturnValue(String) - -Constructor for exception org.mockito.exceptions.misusing.WrongTypeOfReturnValue -
  -
wrongTypeOfReturnValue(String, String, String) - -Method in class org.mockito.exceptions.Reporter -
  -
-
-

-_

-
-
_dont_implement_Matcher___instead_extend_BaseMatcher_() - -Method in class org.mockito.internal.matchers.LocalizedMatcher -
  -
-
-A B C D E F G H I J L M N O P R S T U V W _ - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/index.html b/tools/mockito/javadoc/index.html deleted file mode 100644 index 1d3a1097f3d..00000000000 --- a/tools/mockito/javadoc/index.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - -Mockito API - - - - - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to<A HREF="overview-summary.html">Non-frame version.</A> - - - diff --git a/tools/mockito/javadoc/org/mockito/AdditionalMatchers.html b/tools/mockito/javadoc/org/mockito/AdditionalMatchers.html deleted file mode 100644 index 74abbefa466..00000000000 --- a/tools/mockito/javadoc/org/mockito/AdditionalMatchers.html +++ /dev/null @@ -1,2013 +0,0 @@ - - - - - - -AdditionalMatchers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Class AdditionalMatchers

-
-java.lang.Object
-  extended by org.mockito.AdditionalMatchers
-
-
-
-
public class AdditionalMatchers
extends java.lang.Object
- - -

-See Matchers for general info about matchers. -

- AdditionalMatchers provides rarely used matchers, kept only for somewhat compatibility with EasyMock. - Use additional matchers very judiciously because they may impact readability of a test. - It is recommended to use matchers from Matchers and keep stubbing and verification simple. -

- Example of using logical and(), not(), or() matchers: - -

-   //anything but not "ejb"
-   mock.someMethod(not(eq("ejb")));
-   
-   //not "ejb" and not "michael jackson"
-   mock.someMethod(and(not(eq("ejb")), not(eq("michael jackson"))));
-   
-   //1 or 10
-   mock.someMethod(or(eq(1), eq(10)));
- 
- - Scroll down to see all methods - full list of matchers. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
AdditionalMatchers() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static booleanand(boolean first, - boolean second) - -
-          boolean argument that matches both given matchers.
-static byteand(byte first, - byte second) - -
-          byte argument that matches both given argument matchers.
-static charand(char first, - char second) - -
-          char argument that matches both given argument matchers.
-static doubleand(double first, - double second) - -
-          double argument that matches both given argument matchers.
-static floatand(float first, - float second) - -
-          float argument that matches both given argument matchers.
-static intand(int first, - int second) - -
-          int argument that matches both given argument matchers.
-static longand(long first, - long second) - -
-          long argument that matches both given argument matchers.
-static shortand(short first, - short second) - -
-          short argument that matches both given argument matchers.
-static - - - - -
-<T> T
-
and(T first, - T second) - -
-          Object argument that matches both given argument matchers.
-static boolean[]aryEq(boolean[] value) - -
-          boolean array argument that is equal to the given array, i.e.
-static byte[]aryEq(byte[] value) - -
-          byte array argument that is equal to the given array, i.e.
-static char[]aryEq(char[] value) - -
-          char array argument that is equal to the given array, i.e.
-static double[]aryEq(double[] value) - -
-          double array argument that is equal to the given array, i.e.
-static float[]aryEq(float[] value) - -
-          float array argument that is equal to the given array, i.e.
-static int[]aryEq(int[] value) - -
-          int array argument that is equal to the given array, i.e.
-static long[]aryEq(long[] value) - -
-          long array argument that is equal to the given array, i.e.
-static short[]aryEq(short[] value) - -
-          short array argument that is equal to the given array, i.e.
-static - - - - -
-<T> T[]
-
aryEq(T[] value) - -
-          Object array argument that is equal to the given array, i.e.
-static - - - - -
-<T extends java.lang.Comparable<T>> -
-T
-
cmpEq(java.lang.Comparable<T> value) - -
-          comparable argument equals to the given value according to their - compareTo method.
-static doubleeq(double value, - double delta) - -
-          double argument that has an absolute difference to the given value that - is less than the given delta details.
-static floateq(float value, - float delta) - -
-          float argument that has an absolute difference to the given value that is - less than the given delta details.
-static java.lang.Stringfind(java.lang.String regex) - -
-          String argument that contains a substring that matches the given regular - expression.
-static bytegeq(byte value) - -
-          byte argument greater than or equal to the given value.
-static - - - - -
-<T extends java.lang.Comparable<T>> -
-T
-
geq(java.lang.Comparable<T> value) - -
-          argument greater than or equal the given value.
-static doublegeq(double value) - -
-          double argument greater than or equal to the given value.
-static floatgeq(float value) - -
-          float argument greater than or equal to the given value.
-static intgeq(int value) - -
-          int argument greater than or equal to the given value.
-static longgeq(long value) - -
-          long argument greater than or equal to the given value.
-static shortgeq(short value) - -
-          short argument greater than or equal to the given value.
-static bytegt(byte value) - -
-          byte argument greater than the given value.
-static - - - - -
-<T extends java.lang.Comparable<T>> -
-T
-
gt(java.lang.Comparable<T> value) - -
-          comparable argument greater than the given value.
-static doublegt(double value) - -
-          double argument greater than the given value.
-static floatgt(float value) - -
-          float argument greater than the given value.
-static intgt(int value) - -
-          int argument greater than the given value.
-static longgt(long value) - -
-          long argument greater than the given value.
-static shortgt(short value) - -
-          short argument greater than the given value.
-static byteleq(byte value) - -
-          byte argument less than or equal to the given value.
-static - - - - -
-<T extends java.lang.Comparable<T>> -
-T
-
leq(java.lang.Comparable<T> value) - -
-          comparable argument less than or equal the given value details.
-static doubleleq(double value) - -
-          double argument less than or equal to the given value.
-static floatleq(float value) - -
-          float argument less than or equal to the given value.
-static intleq(int value) - -
-          int argument less than or equal to the given value.
-static longleq(long value) - -
-          long argument less than or equal to the given value.
-static shortleq(short value) - -
-          short argument less than or equal to the given value.
-static bytelt(byte value) - -
-          byte argument less than the given value.
-static - - - - -
-<T extends java.lang.Comparable<T>> -
-T
-
lt(java.lang.Comparable<T> value) - -
-          comparable argument less than the given value.
-static doublelt(double value) - -
-          double argument less than the given value.
-static floatlt(float value) - -
-          float argument less than the given value.
-static intlt(int value) - -
-          int argument less than the given value.
-static longlt(long value) - -
-          long argument less than the given value.
-static shortlt(short value) - -
-          short argument less than the given value.
-static booleannot(boolean first) - -
-          boolean argument that does not match the given argument matcher.
-static bytenot(byte first) - -
-          byte argument that does not match the given argument matcher.
-static charnot(char first) - -
-          char argument that does not match the given argument matcher.
-static doublenot(double first) - -
-          double argument that does not match the given argument matcher.
-static floatnot(float first) - -
-          float argument that does not match the given argument matcher.
-static intnot(int first) - -
-          int argument that does not match the given argument matcher.
-static longnot(long first) - -
-          long argument that does not match the given argument matcher.
-static shortnot(short first) - -
-          short argument that does not match the given argument matcher.
-static - - - - -
-<T> T
-
not(T first) - -
-          Object argument that does not match the given argument matcher.
-static booleanor(boolean first, - boolean second) - -
-          boolean argument that matches any of the given argument matchers.
-static byteor(byte first, - byte second) - -
-          byte argument that matches any of the given argument matchers.
-static charor(char first, - char second) - -
-          char argument that matches any of the given argument matchers.
-static doubleor(double first, - double second) - -
-          double argument that matches any of the given argument matchers.
-static floator(float first, - float second) - -
-          float argument that matches any of the given argument matchers.
-static intor(int first, - int second) - -
-          int argument that matches any of the given argument matchers.
-static longor(long first, - long second) - -
-          long argument that matches any of the given argument matchers.
-static shortor(short first, - short second) - -
-          short argument that matches any of the given argument matchers.
-static - - - - -
-<T> T
-
or(T first, - T second) - -
-          Object argument that matches any of the given argument matchers.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-AdditionalMatchers

-
-public AdditionalMatchers()
-
-
- - - - - - - - -
-Method Detail
- -

-geq

-
-public static <T extends java.lang.Comparable<T>> T geq(java.lang.Comparable<T> value)
-
-
argument greater than or equal the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
null.
-
-
-
- -

-geq

-
-public static byte geq(byte value)
-
-
byte argument greater than or equal to the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-geq

-
-public static double geq(double value)
-
-
double argument greater than or equal to the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-geq

-
-public static float geq(float value)
-
-
float argument greater than or equal to the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-geq

-
-public static int geq(int value)
-
-
int argument greater than or equal to the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-geq

-
-public static long geq(long value)
-
-
long argument greater than or equal to the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-geq

-
-public static short geq(short value)
-
-
short argument greater than or equal to the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-leq

-
-public static <T extends java.lang.Comparable<T>> T leq(java.lang.Comparable<T> value)
-
-
comparable argument less than or equal the given value details. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
null.
-
-
-
- -

-leq

-
-public static byte leq(byte value)
-
-
byte argument less than or equal to the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-leq

-
-public static double leq(double value)
-
-
double argument less than or equal to the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-leq

-
-public static float leq(float value)
-
-
float argument less than or equal to the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-leq

-
-public static int leq(int value)
-
-
int argument less than or equal to the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-leq

-
-public static long leq(long value)
-
-
long argument less than or equal to the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-leq

-
-public static short leq(short value)
-
-
short argument less than or equal to the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-gt

-
-public static <T extends java.lang.Comparable<T>> T gt(java.lang.Comparable<T> value)
-
-
comparable argument greater than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
null.
-
-
-
- -

-gt

-
-public static byte gt(byte value)
-
-
byte argument greater than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-gt

-
-public static double gt(double value)
-
-
double argument greater than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-gt

-
-public static float gt(float value)
-
-
float argument greater than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-gt

-
-public static int gt(int value)
-
-
int argument greater than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-gt

-
-public static long gt(long value)
-
-
long argument greater than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-gt

-
-public static short gt(short value)
-
-
short argument greater than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-lt

-
-public static <T extends java.lang.Comparable<T>> T lt(java.lang.Comparable<T> value)
-
-
comparable argument less than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
null.
-
-
-
- -

-lt

-
-public static byte lt(byte value)
-
-
byte argument less than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-lt

-
-public static double lt(double value)
-
-
double argument less than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-lt

-
-public static float lt(float value)
-
-
float argument less than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-lt

-
-public static int lt(int value)
-
-
int argument less than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-lt

-
-public static long lt(long value)
-
-
long argument less than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-lt

-
-public static short lt(short value)
-
-
short argument less than the given value. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-cmpEq

-
-public static <T extends java.lang.Comparable<T>> T cmpEq(java.lang.Comparable<T> value)
-
-
comparable argument equals to the given value according to their - compareTo method. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value. -
Returns:
null.
-
-
-
- -

-find

-
-public static java.lang.String find(java.lang.String regex)
-
-
String argument that contains a substring that matches the given regular - expression. -

-

-
Parameters:
regex - the regular expression. -
Returns:
null.
-
-
-
- -

-aryEq

-
-public static <T> T[] aryEq(T[] value)
-
-
Object array argument that is equal to the given array, i.e. it has to - have the same type, length, and each element has to be equal. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Type Parameters:
T - the type of the array, it is passed through to prevent casts.
Parameters:
value - the given array. -
Returns:
null.
-
-
-
- -

-aryEq

-
-public static short[] aryEq(short[] value)
-
-
short array argument that is equal to the given array, i.e. it has to - have the same length, and each element has to be equal. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given array. -
Returns:
null.
-
-
-
- -

-aryEq

-
-public static long[] aryEq(long[] value)
-
-
long array argument that is equal to the given array, i.e. it has to have - the same length, and each element has to be equal. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given array. -
Returns:
null.
-
-
-
- -

-aryEq

-
-public static int[] aryEq(int[] value)
-
-
int array argument that is equal to the given array, i.e. it has to have - the same length, and each element has to be equal. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given array. -
Returns:
null.
-
-
-
- -

-aryEq

-
-public static float[] aryEq(float[] value)
-
-
float array argument that is equal to the given array, i.e. it has to - have the same length, and each element has to be equal. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given array. -
Returns:
null.
-
-
-
- -

-aryEq

-
-public static double[] aryEq(double[] value)
-
-
double array argument that is equal to the given array, i.e. it has to - have the same length, and each element has to be equal. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given array. -
Returns:
null.
-
-
-
- -

-aryEq

-
-public static char[] aryEq(char[] value)
-
-
char array argument that is equal to the given array, i.e. it has to have - the same length, and each element has to be equal. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given array. -
Returns:
null.
-
-
-
- -

-aryEq

-
-public static byte[] aryEq(byte[] value)
-
-
byte array argument that is equal to the given array, i.e. it has to have - the same length, and each element has to be equal. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given array. -
Returns:
null.
-
-
-
- -

-aryEq

-
-public static boolean[] aryEq(boolean[] value)
-
-
boolean array argument that is equal to the given array, i.e. it has to - have the same length, and each element has to be equal. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given array. -
Returns:
null.
-
-
-
- -

-and

-
-public static boolean and(boolean first,
-                          boolean second)
-
-
boolean argument that matches both given matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
false.
-
-
-
- -

-and

-
-public static byte and(byte first,
-                       byte second)
-
-
byte argument that matches both given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-and

-
-public static char and(char first,
-                       char second)
-
-
char argument that matches both given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-and

-
-public static double and(double first,
-                         double second)
-
-
double argument that matches both given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-and

-
-public static float and(float first,
-                        float second)
-
-
float argument that matches both given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-and

-
-public static int and(int first,
-                      int second)
-
-
int argument that matches both given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-and

-
-public static long and(long first,
-                       long second)
-
-
long argument that matches both given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-and

-
-public static short and(short first,
-                        short second)
-
-
short argument that matches both given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-and

-
-public static <T> T and(T first,
-                        T second)
-
-
Object argument that matches both given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Type Parameters:
T - the type of the object, it is passed through to prevent casts.
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
null.
-
-
-
- -

-or

-
-public static boolean or(boolean first,
-                         boolean second)
-
-
boolean argument that matches any of the given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
false.
-
-
-
- -

-or

-
-public static <T> T or(T first,
-                       T second)
-
-
Object argument that matches any of the given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Type Parameters:
T - the type of the object, it is passed through to prevent casts.
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
null.
-
-
-
- -

-or

-
-public static short or(short first,
-                       short second)
-
-
short argument that matches any of the given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-or

-
-public static long or(long first,
-                      long second)
-
-
long argument that matches any of the given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-or

-
-public static int or(int first,
-                     int second)
-
-
int argument that matches any of the given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-or

-
-public static float or(float first,
-                       float second)
-
-
float argument that matches any of the given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-or

-
-public static double or(double first,
-                        double second)
-
-
double argument that matches any of the given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-or

-
-public static char or(char first,
-                      char second)
-
-
char argument that matches any of the given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-or

-
-public static byte or(byte first,
-                      byte second)
-
-
byte argument that matches any of the given argument matchers. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the first argument matcher.
second - placeholder for the second argument matcher. -
Returns:
0.
-
-
-
- -

-not

-
-public static <T> T not(T first)
-
-
Object argument that does not match the given argument matcher. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Type Parameters:
T - the type of the object, it is passed through to prevent casts.
Parameters:
first - placeholder for the argument matcher. -
Returns:
null.
-
-
-
- -

-not

-
-public static short not(short first)
-
-
short argument that does not match the given argument matcher. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the argument matcher. -
Returns:
0.
-
-
-
- -

-not

-
-public static int not(int first)
-
-
int argument that does not match the given argument matcher. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the argument matcher. -
Returns:
0.
-
-
-
- -

-not

-
-public static long not(long first)
-
-
long argument that does not match the given argument matcher. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the argument matcher. -
Returns:
0.
-
-
-
- -

-not

-
-public static float not(float first)
-
-
float argument that does not match the given argument matcher. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the argument matcher. -
Returns:
0.
-
-
-
- -

-not

-
-public static double not(double first)
-
-
double argument that does not match the given argument matcher. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the argument matcher. -
Returns:
0.
-
-
-
- -

-not

-
-public static char not(char first)
-
-
char argument that does not match the given argument matcher. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the argument matcher. -
Returns:
0.
-
-
-
- -

-not

-
-public static boolean not(boolean first)
-
-
boolean argument that does not match the given argument matcher. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the argument matcher. -
Returns:
false.
-
-
-
- -

-not

-
-public static byte not(byte first)
-
-
byte argument that does not match the given argument matcher. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
first - placeholder for the argument matcher. -
Returns:
0.
-
-
-
- -

-eq

-
-public static double eq(double value,
-                        double delta)
-
-
double argument that has an absolute difference to the given value that - is less than the given delta details. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value.
delta - the given delta. -
Returns:
0.
-
-
-
- -

-eq

-
-public static float eq(float value,
-                       float delta)
-
-
float argument that has an absolute difference to the given value that is - less than the given delta details. -

- See examples in javadoc for AdditionalMatchers class -

-

-
Parameters:
value - the given value.
delta - the given delta. -
Returns:
0.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/Answers.html b/tools/mockito/javadoc/org/mockito/Answers.html deleted file mode 100644 index 6781be58547..00000000000 --- a/tools/mockito/javadoc/org/mockito/Answers.html +++ /dev/null @@ -1,397 +0,0 @@ - - - - - - -Answers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Enum Answers

-
-java.lang.Object
-  extended by java.lang.Enum<Answers>
-      extended by org.mockito.Answers
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Answers>
-
-
-
-
public enum Answers
extends java.lang.Enum<Answers>
- - -

-Enumeration of pre-configured mock answers -

- You can use it to pass extra parameters to @Mock annotation, see more info here: Mock -

- Example: -

-   @Mock(answer = RETURNS_DEEP_STUBS) UserProvider userProvider;
- 
- This is not the full list of Answers available in Mockito. Some interesting answers can be found in org.mockito.stubbing.answers package. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - -
-Enum Constant Summary
CALLS_REAL_METHODS - -
-           
RETURNS_DEEP_STUBS - -
-           
RETURNS_DEFAULTS - -
-           
RETURNS_MOCKS - -
-           
RETURNS_SMART_NULLS - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Answer<java.lang.Object>get() - -
-           
-static AnswersvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static Answers[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they're declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-RETURNS_DEFAULTS

-
-public static final Answers RETURNS_DEFAULTS
-
-
-
-
-
- -

-RETURNS_SMART_NULLS

-
-public static final Answers RETURNS_SMART_NULLS
-
-
-
-
-
- -

-RETURNS_MOCKS

-
-public static final Answers RETURNS_MOCKS
-
-
-
-
-
- -

-RETURNS_DEEP_STUBS

-
-public static final Answers RETURNS_DEEP_STUBS
-
-
-
-
-
- -

-CALLS_REAL_METHODS

-
-public static final Answers CALLS_REAL_METHODS
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static final Answers[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they're declared. This method may be used to iterate -over the constants as follows: -
-for(Answers c : Answers.values())
-        System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they're declared
-
-
-
- -

-valueOf

-
-public static Answers valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
-
-
-
- -

-get

-
-public Answer<java.lang.Object> get()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/ArgumentCaptor.html b/tools/mockito/javadoc/org/mockito/ArgumentCaptor.html deleted file mode 100644 index 436fdb26e20..00000000000 --- a/tools/mockito/javadoc/org/mockito/ArgumentCaptor.html +++ /dev/null @@ -1,397 +0,0 @@ - - - - - - -ArgumentCaptor (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Class ArgumentCaptor<T>

-
-java.lang.Object
-  extended by org.mockito.ArgumentCaptor<T>
-
-
-
-
public class ArgumentCaptor<T>
extends java.lang.Object
- - -

-Use it to capture argument values for further assertions. -

- Mockito verifies argument values in natural java style: by using an equals() method. - This is also the recommended way of matching arguments because it makes tests clean & simple. - In some situations though, it is helpful to assert on certain arguments after the actual verification. - For example: -

-   ArgumentCaptor<Person> argument = ArgumentCaptor.forClass(Person.class);
-   verify(mock).doSomething(argument.capture());
-   assertEquals("John", argument.getValue().getName());
- 
- -

- Warning: it is recommended to use ArgumentCaptor with verification but not with stubbing. - Using ArgumentCaptor with stubbing may decrease test readability because captor is created outside of assert (aka verify or 'then') block. - Also it may reduce defect localization because if stubbed method was not called then no argument is captured. -

- In a way ArgumentCaptor is related to custom argument matchers (see javadoc for ArgumentMatcher class). - Both techniques can be used for making sure certain arguments where passed to mocks. - However, ArgumentCaptor may be a better fit if: -

    -
  • custom argument matcher is not likely to be reused
  • -
  • you just need it to assert on argument values to complete verification
  • -
- Custom argument matchers via ArgumentMatcher are usually better for stubbing. -

- There is an annotation that you might find useful: @Captor -

- See the full documentation on Mockito in javadoc for Mockito class. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ArgumentCaptor() - -
-          Deprecated. Please use factory method forClass(Class) to create captors -

- This is required to avoid NullPointerExceptions when autoUnboxing primitive types. - See issue 99. -

- Example: -

-   ArgumentCaptor<Person> argument = ArgumentCaptor.forClass(Person.class);
-   verify(mock).doSomething(argument.capture());
-   assertEquals("John", argument.getValue().getName());
- 
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Tcapture() - -
-          Use it to capture the argument.
-static - - - - -
-<T> ArgumentCaptor<T>
-
forClass(java.lang.Class<T> clazz) - -
-           
- java.util.List<T>getAllValues() - -
-          Returns all captured values.
- TgetValue() - -
-          Returns the captured value of the argument.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ArgumentCaptor

-
-@Deprecated
-public ArgumentCaptor()
-
-
Deprecated. Please use factory method forClass(Class) to create captors -

- This is required to avoid NullPointerExceptions when autoUnboxing primitive types. - See issue 99. -

- Example: -

-   ArgumentCaptor<Person> argument = ArgumentCaptor.forClass(Person.class);
-   verify(mock).doSomething(argument.capture());
-   assertEquals("John", argument.getValue().getName());
- 
-

-

- - - - - - - - -
-Method Detail
- -

-capture

-
-public T capture()
-
-
Use it to capture the argument. This method must be used inside of verification. -

- Internally, this method registers a special implementation of an ArgumentMatcher. - This argument matcher stores the argument value so that you can use it later to perform assertions. -

- See examples in javadoc for ArgumentCaptor class. -

-

- -
Returns:
null
-
-
-
- -

-getValue

-
-public T getValue()
-
-
Returns the captured value of the argument. -

- If the method was called multiple times then it returns the latest captured value -

- See examples in javadoc for ArgumentCaptor class. -

-

- -
Returns:
captured argument value
-
-
-
- -

-getAllValues

-
-public java.util.List<T> getAllValues()
-
-
Returns all captured values. Use it in case the verified method was called multiple times. -

- Example: -

-   ArgumentCaptor<Person> peopleCaptor = ArgumentCaptor.forClass(Person.class);
-   verify(mock, times(2)).doSomething(peopleCaptor.capture());
-   
-   List<Person> capturedPeople = peopleCaptor.getAllValues();
-   assertEquals("John", capturedPeople.get(0).getName());
-   assertEquals("Jane", capturedPeople.get(1).getName());
- 
- See more examples in javadoc for ArgumentCaptor class. -

-

- -
Returns:
captured argument value
-
-
-
- -

-forClass

-
-public static <T> ArgumentCaptor<T> forClass(java.lang.Class<T> clazz)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/ArgumentMatcher.html b/tools/mockito/javadoc/org/mockito/ArgumentMatcher.html deleted file mode 100644 index 1a6eb8c0881..00000000000 --- a/tools/mockito/javadoc/org/mockito/ArgumentMatcher.html +++ /dev/null @@ -1,338 +0,0 @@ - - - - - - -ArgumentMatcher (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Class ArgumentMatcher<T>

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<T>
-
-
-
Type Parameters:
T - type of argument
-
-
All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
-
-
-
Direct Known Subclasses:
And, Any, AnyVararg, CapturingMatcher, CompareTo, Contains, EndsWith, Equals, EqualsWithDelta, Find, InstanceOf, Matches, Not, NotNull, Null, Or, ReflectionEquals, Same, StartsWith
-
-
-
-
public abstract class ArgumentMatcher<T>
extends org.hamcrest.BaseMatcher<T>
- - -

-Allows creating customized argument matchers. -

- ArgumentMatcher is an hamcrest Matcher with predefined describeTo() method. - In case of failure, ArgumentMatcher generates description based on decamelized class name - to promote meaningful class names. - For example StringWithStrongLanguage matcher will generate 'String with strong language' description. - You can always override describeTo() method and provide detailed description. -

- Use Matchers.argThat(org.hamcrest.Matcher) method and pass an instance of hamcrest Matcher, e.g: - -

- class IsListOfTwoElements extends ArgumentMatcher<List> {
-     public boolean matches(Object list) {
-         return ((List) list).size() == 2;
-     }
- }
- 
- List mock = mock(List.class);
- 
- when(mock.addAll(argThat(new IsListOfTwoElements()))).thenReturn(true);
- 
- mock.addAll(Arrays.asList("one", "two"));
- 
- verify(mock).addAll(argThat(new IsListOfTwoElements()));
- 
- - To keep it readable you may want to extract method, e.g: - -
-   verify(mock).addAll(argThat(new IsListOfTwoElements()));
-   //becomes
-   verify(mock).addAll(listOfTwoElements());
- 
- - Warning: Be reasonable with using complicated argument matching, especially custom argument matchers, as it can make the test less readable. - Sometimes it's better to implement equals() for arguments that are passed to mocks - (Mockito naturally uses equals() for argument matching). - This can make the test cleaner. -

- Also, sometimes ArgumentCaptor may be a better fit than custom matcher. - For example, if custom argument matcher is not likely to be reused - or you just need it to assert on argument values to complete verification of behavior. -

- Read more about other matchers in javadoc for Matchers class -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ArgumentMatcher() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
-abstract  booleanmatches(java.lang.Object argument) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ArgumentMatcher

-
-public ArgumentMatcher()
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public abstract boolean matches(java.lang.Object argument)
-
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Parameters:
argument - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/BDDMockito.BDDMyOngoingStubbing.html b/tools/mockito/javadoc/org/mockito/BDDMockito.BDDMyOngoingStubbing.html deleted file mode 100644 index 6a18fa489b5..00000000000 --- a/tools/mockito/javadoc/org/mockito/BDDMockito.BDDMyOngoingStubbing.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -BDDMockito.BDDMyOngoingStubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Interface BDDMockito.BDDMyOngoingStubbing<T>

-
-
All Known Implementing Classes:
BDDMockito.BDDOngoingStubbingImpl
-
-
-
Enclosing class:
BDDMockito
-
-
-
-
public static interface BDDMockito.BDDMyOngoingStubbing<T>
- - -

-See original OngoingStubbing -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- BDDMockito.BDDMyOngoingStubbing<T>willAnswer(Answer<?> answer) - -
-          See original OngoingStubbing.thenAnswer(Answer)
- BDDMockito.BDDMyOngoingStubbing<T>willCallRealMethod() - -
-          See original OngoingStubbing.thenCallRealMethod()
- BDDMockito.BDDMyOngoingStubbing<T>willReturn(T value) - -
-          See original OngoingStubbing.thenReturn(Object)
- BDDMockito.BDDMyOngoingStubbing<T>willReturn(T value, - T... values) - -
-          See original OngoingStubbing.thenReturn(Object, Object...)
- BDDMockito.BDDMyOngoingStubbing<T>willThrow(java.lang.Throwable... throwables) - -
-          See original OngoingStubbing.thenThrow(Throwable...)
-  -

- - - - - - - - -
-Method Detail
- -

-willAnswer

-
-BDDMockito.BDDMyOngoingStubbing<T> willAnswer(Answer<?> answer)
-
-
See original OngoingStubbing.thenAnswer(Answer) -

-

-
-
-
-
- -

-willReturn

-
-BDDMockito.BDDMyOngoingStubbing<T> willReturn(T value)
-
-
See original OngoingStubbing.thenReturn(Object) -

-

-
-
-
-
- -

-willReturn

-
-BDDMockito.BDDMyOngoingStubbing<T> willReturn(T value,
-                                              T... values)
-
-
See original OngoingStubbing.thenReturn(Object, Object...) -

-

-
-
-
-
- -

-willThrow

-
-BDDMockito.BDDMyOngoingStubbing<T> willThrow(java.lang.Throwable... throwables)
-
-
See original OngoingStubbing.thenThrow(Throwable...) -

-

-
-
-
-
- -

-willCallRealMethod

-
-BDDMockito.BDDMyOngoingStubbing<T> willCallRealMethod()
-
-
See original OngoingStubbing.thenCallRealMethod() -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/BDDMockito.BDDOngoingStubbingImpl.html b/tools/mockito/javadoc/org/mockito/BDDMockito.BDDOngoingStubbingImpl.html deleted file mode 100644 index 6f0ba36b3dd..00000000000 --- a/tools/mockito/javadoc/org/mockito/BDDMockito.BDDOngoingStubbingImpl.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - -BDDMockito.BDDOngoingStubbingImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Class BDDMockito.BDDOngoingStubbingImpl<T>

-
-java.lang.Object
-  extended by org.mockito.BDDMockito.BDDOngoingStubbingImpl<T>
-
-
-
All Implemented Interfaces:
BDDMockito.BDDMyOngoingStubbing<T>
-
-
-
Enclosing class:
BDDMockito
-
-
-
-
public static class BDDMockito.BDDOngoingStubbingImpl<T>
extends java.lang.Object
implements BDDMockito.BDDMyOngoingStubbing<T>
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
BDDMockito.BDDOngoingStubbingImpl(OngoingStubbing<T> ongoingStubbing) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- BDDMockito.BDDMyOngoingStubbing<T>willAnswer(Answer<?> answer) - -
-          See original OngoingStubbing.thenAnswer(Answer)
- BDDMockito.BDDMyOngoingStubbing<T>willCallRealMethod() - -
-          See original OngoingStubbing.thenCallRealMethod()
- BDDMockito.BDDMyOngoingStubbing<T>willReturn(T value) - -
-          See original OngoingStubbing.thenReturn(Object)
- BDDMockito.BDDMyOngoingStubbing<T>willReturn(T value, - T... values) - -
-          See original OngoingStubbing.thenReturn(Object, Object...)
- BDDMockito.BDDMyOngoingStubbing<T>willThrow(java.lang.Throwable... throwables) - -
-          See original OngoingStubbing.thenThrow(Throwable...)
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-BDDMockito.BDDOngoingStubbingImpl

-
-public BDDMockito.BDDOngoingStubbingImpl(OngoingStubbing<T> ongoingStubbing)
-
-
- - - - - - - - -
-Method Detail
- -

-willAnswer

-
-public BDDMockito.BDDMyOngoingStubbing<T> willAnswer(Answer<?> answer)
-
-
Description copied from interface: BDDMockito.BDDMyOngoingStubbing
-
See original OngoingStubbing.thenAnswer(Answer) -

-

-
Specified by:
willAnswer in interface BDDMockito.BDDMyOngoingStubbing<T>
-
-
-
-
-
-
- -

-willReturn

-
-public BDDMockito.BDDMyOngoingStubbing<T> willReturn(T value)
-
-
Description copied from interface: BDDMockito.BDDMyOngoingStubbing
-
See original OngoingStubbing.thenReturn(Object) -

-

-
Specified by:
willReturn in interface BDDMockito.BDDMyOngoingStubbing<T>
-
-
-
-
-
-
- -

-willReturn

-
-public BDDMockito.BDDMyOngoingStubbing<T> willReturn(T value,
-                                                     T... values)
-
-
Description copied from interface: BDDMockito.BDDMyOngoingStubbing
-
See original OngoingStubbing.thenReturn(Object, Object...) -

-

-
Specified by:
willReturn in interface BDDMockito.BDDMyOngoingStubbing<T>
-
-
-
-
-
-
- -

-willThrow

-
-public BDDMockito.BDDMyOngoingStubbing<T> willThrow(java.lang.Throwable... throwables)
-
-
Description copied from interface: BDDMockito.BDDMyOngoingStubbing
-
See original OngoingStubbing.thenThrow(Throwable...) -

-

-
Specified by:
willThrow in interface BDDMockito.BDDMyOngoingStubbing<T>
-
-
-
-
-
-
- -

-willCallRealMethod

-
-public BDDMockito.BDDMyOngoingStubbing<T> willCallRealMethod()
-
-
Description copied from interface: BDDMockito.BDDMyOngoingStubbing
-
See original OngoingStubbing.thenCallRealMethod() -

-

-
Specified by:
willCallRealMethod in interface BDDMockito.BDDMyOngoingStubbing<T>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/BDDMockito.BDDStubber.html b/tools/mockito/javadoc/org/mockito/BDDMockito.BDDStubber.html deleted file mode 100644 index 3a7bbf1e56e..00000000000 --- a/tools/mockito/javadoc/org/mockito/BDDMockito.BDDStubber.html +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - -BDDMockito.BDDStubber (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Interface BDDMockito.BDDStubber

-
-
All Known Implementing Classes:
BDDMockito.BDDStubberImpl
-
-
-
Enclosing class:
BDDMockito
-
-
-
-
public static interface BDDMockito.BDDStubber
- - -

-See original Stubber -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
given(T mock) - -
-          See original Stubber.when(Object)
- BDDMockito.BDDStubberwillAnswer(Answer answer) - -
-          See original Stubber.doAnswer(Answer)
- BDDMockito.BDDStubberwillNothing() - -
-          See original Stubber.doNothing()
- BDDMockito.BDDStubberwillReturn(java.lang.Object toBeReturned) - -
-          See original Stubber.doReturn(Object)
- BDDMockito.BDDStubberwillThrow(java.lang.Throwable toBeThrown) - -
-          See original Stubber.doThrow(Throwable)
-  -

- - - - - - - - -
-Method Detail
- -

-willAnswer

-
-BDDMockito.BDDStubber willAnswer(Answer answer)
-
-
See original Stubber.doAnswer(Answer) -

-

-
-
-
-
- -

-willNothing

-
-BDDMockito.BDDStubber willNothing()
-
-
See original Stubber.doNothing() -

-

-
-
-
-
- -

-willReturn

-
-BDDMockito.BDDStubber willReturn(java.lang.Object toBeReturned)
-
-
See original Stubber.doReturn(Object) -

-

-
-
-
-
- -

-willThrow

-
-BDDMockito.BDDStubber willThrow(java.lang.Throwable toBeThrown)
-
-
See original Stubber.doThrow(Throwable) -

-

-
-
-
-
- -

-given

-
-<T> T given(T mock)
-
-
See original Stubber.when(Object) -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/BDDMockito.BDDStubberImpl.html b/tools/mockito/javadoc/org/mockito/BDDMockito.BDDStubberImpl.html deleted file mode 100644 index 6be9471fee2..00000000000 --- a/tools/mockito/javadoc/org/mockito/BDDMockito.BDDStubberImpl.html +++ /dev/null @@ -1,368 +0,0 @@ - - - - - - -BDDMockito.BDDStubberImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Class BDDMockito.BDDStubberImpl

-
-java.lang.Object
-  extended by org.mockito.BDDMockito.BDDStubberImpl
-
-
-
All Implemented Interfaces:
BDDMockito.BDDStubber
-
-
-
Enclosing class:
BDDMockito
-
-
-
-
public static class BDDMockito.BDDStubberImpl
extends java.lang.Object
implements BDDMockito.BDDStubber
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
BDDMockito.BDDStubberImpl(Stubber mockitoStubber) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
given(T mock) - -
-          See original Stubber.when(Object)
- BDDMockito.BDDStubberwillAnswer(Answer answer) - -
-          See original Stubber.doAnswer(Answer)
- BDDMockito.BDDStubberwillNothing() - -
-          See original Stubber.doNothing()
- BDDMockito.BDDStubberwillReturn(java.lang.Object toBeReturned) - -
-          See original Stubber.doReturn(Object)
- BDDMockito.BDDStubberwillThrow(java.lang.Throwable toBeThrown) - -
-          See original Stubber.doThrow(Throwable)
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-BDDMockito.BDDStubberImpl

-
-public BDDMockito.BDDStubberImpl(Stubber mockitoStubber)
-
-
- - - - - - - - -
-Method Detail
- -

-given

-
-public <T> T given(T mock)
-
-
Description copied from interface: BDDMockito.BDDStubber
-
See original Stubber.when(Object) -

-

-
Specified by:
given in interface BDDMockito.BDDStubber
-
-
-
-
-
-
- -

-willAnswer

-
-public BDDMockito.BDDStubber willAnswer(Answer answer)
-
-
Description copied from interface: BDDMockito.BDDStubber
-
See original Stubber.doAnswer(Answer) -

-

-
Specified by:
willAnswer in interface BDDMockito.BDDStubber
-
-
-
-
-
-
- -

-willNothing

-
-public BDDMockito.BDDStubber willNothing()
-
-
Description copied from interface: BDDMockito.BDDStubber
-
See original Stubber.doNothing() -

-

-
Specified by:
willNothing in interface BDDMockito.BDDStubber
-
-
-
-
-
-
- -

-willReturn

-
-public BDDMockito.BDDStubber willReturn(java.lang.Object toBeReturned)
-
-
Description copied from interface: BDDMockito.BDDStubber
-
See original Stubber.doReturn(Object) -

-

-
Specified by:
willReturn in interface BDDMockito.BDDStubber
-
-
-
-
-
-
- -

-willThrow

-
-public BDDMockito.BDDStubber willThrow(java.lang.Throwable toBeThrown)
-
-
Description copied from interface: BDDMockito.BDDStubber
-
See original Stubber.doThrow(Throwable) -

-

-
Specified by:
willThrow in interface BDDMockito.BDDStubber
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/BDDMockito.html b/tools/mockito/javadoc/org/mockito/BDDMockito.html deleted file mode 100644 index 7c19cad8a0d..00000000000 --- a/tools/mockito/javadoc/org/mockito/BDDMockito.html +++ /dev/null @@ -1,487 +0,0 @@ - - - - - - -BDDMockito (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Class BDDMockito

-
-java.lang.Object
-  extended by org.mockito.Matchers
-      extended by org.mockito.Mockito
-          extended by org.mockito.BDDMockito
-
-
-
-
public class BDDMockito
extends Mockito
- - -

-Behavior Driven Development style of writing tests uses //given //when //then comments as fundamental parts of your test methods. - This is exactly how we write our tests and we warmly encourage you to do so! -

- Start learning about BDD here: http://en.wikipedia.org/wiki/Behavior_Driven_Development -

- The problem is that current stubbing api with canonical role of when word does not integrate nicely with //given //when //then comments. - It's because stubbing belongs to given component of the test and not to the when component of the test. - Hence BDDMockito class introduces an alias so that you stub method calls with given(Object) method. - Now it really nicely integrates with the given component of a BDD style test! -

- Here is how the test might look like: -

- import static org.mockito.BDDMockito.*;
- 
- Seller seller = mock(Seller.class);
- Shop shop = new Shop(seller);
- 
- public void shouldBuyBread() throws Exception {
-   //given  
-   given(seller.askForBread()).willReturn(new Bread());
-   
-   //when
-   Goods goods = shop.buyBread();
-   
-   //then
-   assertThat(goods, containBread());
- }  
- 
- - Stubbing voids with throwables: -
-   //given
-   willThrow(new RuntimeException("boo")).given(mock).foo();
-   
-   //when
-   Result result = systemUnderTest.perform();
-   
-   //then
-   assertEquals(failure, result);
- 
-

- One of the purposes of BDDMockito is also to show how to tailor the mocking syntax to a different programming style. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - -
-Nested Class Summary
-static interfaceBDDMockito.BDDMyOngoingStubbing<T> - -
-          See original OngoingStubbing
-static classBDDMockito.BDDOngoingStubbingImpl<T> - -
-           
-static interfaceBDDMockito.BDDStubber - -
-          See original Stubber
-static classBDDMockito.BDDStubberImpl - -
-           
- - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class org.mockito.Mockito
CALLS_REAL_METHODS, RETURNS_DEEP_STUBS, RETURNS_DEFAULTS, RETURNS_MOCKS, RETURNS_SMART_NULLS
-  - - - - - - - - - - -
-Constructor Summary
BDDMockito() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static - - - - -
-<T> BDDMockito.BDDMyOngoingStubbing<T>
-
given(T methodCall) - -
-          see original Mockito.when(Object)
-static BDDMockito.BDDStubberwillAnswer(Answer answer) - -
-          see original Mockito.doAnswer(Answer)
-static BDDMockito.BDDStubberwillCallRealMethod() - -
-          see original Mockito.doCallRealMethod()
-static BDDMockito.BDDStubberwillDoNothing() - -
-          see original Mockito.doNothing()
-static BDDMockito.BDDStubberwillReturn(java.lang.Object toBeReturned) - -
-          see original Mockito.doReturn(Object)
-static BDDMockito.BDDStubberwillThrow(java.lang.Throwable toBeThrown) - -
-          see original Mockito.doThrow(Throwable)
- - - - - - - -
Methods inherited from class org.mockito.Mockito
atLeast, atLeastOnce, atMost, doAnswer, doCallRealMethod, doNothing, doReturn, doThrow, inOrder, mock, mock, mock, mock, mock, never, only, reset, spy, stub, stubVoid, timeout, times, validateMockitoUsage, verify, verify, verifyNoMoreInteractions, verifyZeroInteractions, when, withSettings
- - - - - - - -
Methods inherited from class org.mockito.Matchers
any, any, anyBoolean, anyByte, anyChar, anyCollection, anyCollectionOf, anyDouble, anyFloat, anyInt, anyList, anyListOf, anyLong, anyMap, anyObject, anySet, anySetOf, anyShort, anyString, anyVararg, argThat, booleanThat, byteThat, charThat, contains, doubleThat, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, floatThat, intThat, isA, isNotNull, isNull, longThat, matches, notNull, refEq, same, shortThat, startsWith
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-BDDMockito

-
-public BDDMockito()
-
-
- - - - - - - - -
-Method Detail
- -

-given

-
-public static <T> BDDMockito.BDDMyOngoingStubbing<T> given(T methodCall)
-
-
see original Mockito.when(Object) -

-

-
-
-
-
- -

-willThrow

-
-public static BDDMockito.BDDStubber willThrow(java.lang.Throwable toBeThrown)
-
-
see original Mockito.doThrow(Throwable) -

-

-
-
-
-
- -

-willAnswer

-
-public static BDDMockito.BDDStubber willAnswer(Answer answer)
-
-
see original Mockito.doAnswer(Answer) -

-

-
-
-
-
- -

-willDoNothing

-
-public static BDDMockito.BDDStubber willDoNothing()
-
-
see original Mockito.doNothing() -

-

-
-
-
-
- -

-willReturn

-
-public static BDDMockito.BDDStubber willReturn(java.lang.Object toBeReturned)
-
-
see original Mockito.doReturn(Object) -

-

-
-
-
-
- -

-willCallRealMethod

-
-public static BDDMockito.BDDStubber willCallRealMethod()
-
-
see original Mockito.doCallRealMethod() -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/Captor.html b/tools/mockito/javadoc/org/mockito/Captor.html deleted file mode 100644 index 1a2214b1102..00000000000 --- a/tools/mockito/javadoc/org/mockito/Captor.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -Captor (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Annotation Type Captor

-
-
-
@Retention(value=RUNTIME)
-@Target(value=FIELD)
-@Documented
-public @interface Captor
- - -

-Allows shorthand ArgumentCaptor creation on fields. -

Example: -

- public class Test{
-
-    @Captor ArgumentCaptor<AsyncCallback<Foo>> captor;
-
-    @Before
-    public void init(){
-       MockitoAnnotations.initMocks(this);
-    }
-
-    @Test public void shouldDoSomethingUseful() {
-       //...
-       verify(mock.doStuff(captor.capture()));
-       assertEquals("foo", captor.getValue());
-    }
- }
- 
-

- One of the advantages of using @Captor annotation is that you can avoid warnings related capturing complex generic types. -

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/InOrder.html b/tools/mockito/javadoc/org/mockito/InOrder.html deleted file mode 100644 index aa71bb82230..00000000000 --- a/tools/mockito/javadoc/org/mockito/InOrder.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - -InOrder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Interface InOrder

-
-
All Known Implementing Classes:
InOrderImpl
-
-
-
-
public interface InOrder
- - -

-Allows verification in order. E.g: - -

- InOrder inOrder = inOrder(firstMock, secondMock);
- 
- inOrder.verify(firstMock).add("was called first");
- inOrder.verify(secondMock).add("was called second");
- 
- - As of Mockito 1.8.4 you can verifyNoMoreInvocations() in order-sensitive way. Read more: verifyNoMoreInteractions() -

- - See examples in javadoc for Mockito class -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
verify(T mock) - -
-          Verifies interaction happened once in order.
- - - - - -
-<T> T
-
verify(T mock, - VerificationMode mode) - -
-          Verifies interaction in order.
- voidverifyNoMoreInteractions() - -
-          Verifies that no more interactions happened in order.
-  -

- - - - - - - - -
-Method Detail
- -

-verify

-
-<T> T verify(T mock)
-
-
Verifies interaction happened once in order. -

- Alias to inOrder.verify(mock, times(1)) -

- Example: -

- InOrder inOrder = inOrder(firstMock, secondMock);
- 
- inOrder.verify(firstMock).someMethod("was called first");
- inOrder.verify(secondMock).someMethod("was called second");
- 
- - See examples in javadoc for Mockito class -

-

-
Parameters:
mock - to be verified -
Returns:
mock object itself
-
-
-
- -

-verify

-
-<T> T verify(T mock,
-             VerificationMode mode)
-
-
Verifies interaction in order. E.g: - -
- InOrder inOrder = inOrder(firstMock, secondMock);
- 
- inOrder.verify(firstMock, times(2)).someMethod("was called first two times");
- inOrder.verify(secondMock, atLeastOnce()).someMethod("was called second at least once");
- 
- - See examples in javadoc for Mockito class -

-

-
Parameters:
mock - to be verified
mode - for example times(x) or atLeastOnce() -
Returns:
mock object itself
-
-
-
- -

-verifyNoMoreInteractions

-
-void verifyNoMoreInteractions()
-
-
Verifies that no more interactions happened in order. - Different from Mockito.verifyNoMoreInteractions(Object...) because the order of verification matters. -

- Example: -

- mock.foo(); //1st
- mock.bar(); //2nd
- mock.baz(); //3rd
- 
- InOrder inOrder = inOrder(mock);
- 
- inOrder.verify(mock).bar(); //2n
- inOrder.verify(mock).baz(); //3rd (last method)
- 
- //passes because there are no more interactions after last method:
- inOrder.verifyNoMoreInteractions();
- 
- //however this fails because 1st method was not verified:
- Mockito.verifyNoMoreInteractions(mock);
- 
-

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/InjectMocks.html b/tools/mockito/javadoc/org/mockito/InjectMocks.html deleted file mode 100644 index fcf17e8107d..00000000000 --- a/tools/mockito/javadoc/org/mockito/InjectMocks.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - -InjectMocks (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Annotation Type InjectMocks

-
-
-
@Documented
-@Target(value=FIELD)
-@Retention(value=RUNTIME)
-public @interface InjectMocks
- - -

-

    -
  • Allows shorthand mock and spy injection.
  • -
  • Minimizes repetitive mock and spy injection.
  • -
-

- Currently it only supports setter injection. If you prefer constructor injection - please contribute a patch. -

- Mockito tries to inject by type (using name in case types are the same). - Mockito does not throw anything when injection fails - you will have to satisfy the dependencies manually. -

- Example: -

-   public class ArticleManagerTest extends SampleBaseTestCase {
-
-       @Mock private ArticleCalculator calculator;
-       @Mock private ArticleDatabase database;
-       @Spy private UserProvider userProvider = new ConsumerUserProvider();
-
-       @InjectMocks private ArticleManager manager = new ArticleManager();
-
-       @Test public void shouldDoSomething() {
-           manager.initiateArticle();
-           verify(database).addListener(any(ArticleListener.class));
-       }
-   }
-
-   public class SampleBaseTestCase {
-
-       @Before public void initMocks() {
-           MockitoAnnotations.initMocks(this);
-       }
-   }
- 
- - The field annotated with @InjectMocks must be initialized. -

- MockitoAnnotations.injectMocks(this) method has to called to initialize annotated objects. -

- In above example, injectMocks() is called in @Before (JUnit4) method of test's base class. - For JUnit3 injectMocks() can go to setup() method of a base class. - You can also put injectMocks() in your JUnit runner (@RunWith) or use built-in runners: MockitoJUnitRunner -

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/Matchers.html b/tools/mockito/javadoc/org/mockito/Matchers.html deleted file mode 100644 index 34629bd1047..00000000000 --- a/tools/mockito/javadoc/org/mockito/Matchers.html +++ /dev/null @@ -1,1593 +0,0 @@ - - - - - - -Matchers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Class Matchers

-
-java.lang.Object
-  extended by org.mockito.Matchers
-
-
-
Direct Known Subclasses:
Mockito
-
-
-
-
public class Matchers
extends java.lang.Object
- - -

-Allow flexible verification or stubbing. See also AdditionalMatchers. -

- Mockito extends Matchers so to get access to all matchers just import Mockito class statically. -

-  //stubbing using anyInt() argument matcher
-  when(mockedList.get(anyInt())).thenReturn("element");
-  
-  //following prints "element"
-  System.out.println(mockedList.get(999));
-  
-  //you can also verify using argument matcher
-  verify(mockedList).get(anyInt());
- 
- Scroll down to see all methods - full list of matchers. -

- Warning: -

- If you are using argument matchers, all arguments have to be provided by matchers. -

- E.g: (example shows verification but the same applies to stubbing): -

-   verify(mock).someMethod(anyInt(), anyString(), eq("third argument"));
-   //above is correct - eq() is also an argument matcher
-   
-   verify(mock).someMethod(anyInt(), anyString(), "third argument");
-   //above is incorrect - exception will be thrown because third argument is given without argument matcher.
- 
- -

Custom Argument Matchers

- - Use argThat(org.hamcrest.Matcher) method and pass an instance of hamcrest Matcher. -

- Before you start implementing your own custom argument matcher, make sure you check out ArgumentCaptor api. -

- So, how to implement your own argument matcher? - First, you might want to subclass ArgumentMatcher which is an hamcrest matcher with predefined describeTo() method. - Default description generated by describeTo() uses decamelized class name - to promote meaningful class names. -

- Example: - -

-   class IsListOfTwoElements extends ArgumentMatcher<List> {
-      public boolean matches(Object list) {
-          return ((List) list).size() == 2;
-      }
-   }
-   
-   List mock = mock(List.class);
-   
-   when(mock.addAll(argThat(new IsListOfTwoElements()))).thenReturn(true);
-   
-   mock.addAll(Arrays.asList("one", "two"));
-   
-   verify(mock).addAll(argThat(new IsListOfTwoElements()));
- 
- - To keep it readable you may want to extract method, e.g: -
-   verify(mock).addAll(argThat(new IsListOfTwoElements()));
-   //becomes
-   verify(mock).addAll(listOfTwoElements());
- 
- - Warning: Be reasonable with using complicated argument matching, especially custom argument matchers, as it can make the test less readable. - Sometimes it's better to implement equals() for arguments that are passed to mocks - (Mockito naturally uses equals() for argument matching). - This can make the test cleaner. -

- Also, sometimes ArgumentCaptor may be a better fit than custom matcher. - For example, if custom argument matcher is not likely to be reused - or you just need it to assert on argument values to complete verification of behavior. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Matchers() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static - - - - -
-<T> T
-
any() - -
-          any object or null
-static - - - - -
-<T> T
-
any(java.lang.Class<T> clazz) - -
-          any kind object, not necessary of the given class.
-static booleananyBoolean() - -
-          any boolean, Boolean or null.
-static byteanyByte() - -
-          any byte, Byte or null
-static charanyChar() - -
-          any char, Character or null.
-static java.util.CollectionanyCollection() - -
-          any Collection or null.
-static - - - - -
-<T> java.util.Collection<T>
-
anyCollectionOf(java.lang.Class<T> clazz) - -
-          generic friendly alias to anyCollection().
-static doubleanyDouble() - -
-          any double, Double or null.
-static floatanyFloat() - -
-          any float, Float or null.
-static intanyInt() - -
-          any int, Integer or null.
-static java.util.ListanyList() - -
-          any List or null.
-static - - - - -
-<T> java.util.List<T>
-
anyListOf(java.lang.Class<T> clazz) - -
-          generic friendly alias to anyList().
-static longanyLong() - -
-          any long, Long or null.
-static java.util.MapanyMap() - -
-          any Map or null.
-static - - - - -
-<T> T
-
anyObject() - -
-          any Object or null.
-static java.util.SetanySet() - -
-          any Set or null
-static - - - - -
-<T> java.util.Set<T>
-
anySetOf(java.lang.Class<T> clazz) - -
-          generic friendly alias to anySet().
-static shortanyShort() - -
-          any short, Short or null.
-static java.lang.StringanyString() - -
-          any String or null.
-static - - - - -
-<T> T
-
anyVararg() - -
-          Any vararg, meaning any number and values of arguments.
-static - - - - -
-<T> T
-
argThat(org.hamcrest.Matcher<T> matcher) - -
-          Allows creating custom argument matchers.
-static booleanbooleanThat(org.hamcrest.Matcher<java.lang.Boolean> matcher) - -
-          Allows creating custom argument matchers.
-static bytebyteThat(org.hamcrest.Matcher<java.lang.Byte> matcher) - -
-          Allows creating custom argument matchers.
-static charcharThat(org.hamcrest.Matcher<java.lang.Character> matcher) - -
-          Allows creating custom argument matchers.
-static java.lang.Stringcontains(java.lang.String substring) - -
-          String argument that contains the given substring.
-static doubledoubleThat(org.hamcrest.Matcher<java.lang.Double> matcher) - -
-          Allows creating custom argument matchers.
-static java.lang.StringendsWith(java.lang.String suffix) - -
-          String argument that ends with the given suffix.
-static booleaneq(boolean value) - -
-          boolean argument that is equal to the given value.
-static byteeq(byte value) - -
-          byte argument that is equal to the given value.
-static chareq(char value) - -
-          char argument that is equal to the given value.
-static doubleeq(double value) - -
-          double argument that is equal to the given value.
-static floateq(float value) - -
-          float argument that is equal to the given value.
-static inteq(int value) - -
-          int argument that is equal to the given value.
-static longeq(long value) - -
-          long argument that is equal to the given value.
-static shorteq(short value) - -
-          short argument that is equal to the given value.
-static - - - - -
-<T> T
-
eq(T value) - -
-          Object argument that is equal to the given value.
-static floatfloatThat(org.hamcrest.Matcher<java.lang.Float> matcher) - -
-          Allows creating custom argument matchers.
-static intintThat(org.hamcrest.Matcher<java.lang.Integer> matcher) - -
-          Allows creating custom argument matchers.
-static - - - - -
-<T> T
-
isA(java.lang.Class<T> clazz) - -
-          Object argument that implements the given class.
-static java.lang.ObjectisNotNull() - -
-          not null argument.
-static java.lang.ObjectisNull() - -
-          null argument.
-static longlongThat(org.hamcrest.Matcher<java.lang.Long> matcher) - -
-          Allows creating custom argument matchers.
-static java.lang.Stringmatches(java.lang.String regex) - -
-          String argument that matches the given regular expression.
-static java.lang.ObjectnotNull() - -
-          not null argument.
-static - - - - -
-<T> T
-
refEq(T value, - java.lang.String... excludeFields) - -
-          Object argument that is reflection-equal to the given value with support for excluding - selected fields from a class.
-static - - - - -
-<T> T
-
same(T value) - -
-          Object argument that is the same as the given value.
-static shortshortThat(org.hamcrest.Matcher<java.lang.Short> matcher) - -
-          Allows creating custom argument matchers.
-static java.lang.StringstartsWith(java.lang.String prefix) - -
-          String argument that starts with the given prefix.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Matchers

-
-public Matchers()
-
-
- - - - - - - - -
-Method Detail
- -

-anyBoolean

-
-public static boolean anyBoolean()
-
-
any boolean, Boolean or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
false.
-
-
-
- -

-anyByte

-
-public static byte anyByte()
-
-
any byte, Byte or null -

- See examples in javadoc for Matchers class -

-

- -
Returns:
0.
-
-
-
- -

-anyChar

-
-public static char anyChar()
-
-
any char, Character or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
0.
-
-
-
- -

-anyInt

-
-public static int anyInt()
-
-
any int, Integer or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
0.
-
-
-
- -

-anyLong

-
-public static long anyLong()
-
-
any long, Long or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
0.
-
-
-
- -

-anyFloat

-
-public static float anyFloat()
-
-
any float, Float or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
0.
-
-
-
- -

-anyDouble

-
-public static double anyDouble()
-
-
any double, Double or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
0.
-
-
-
- -

-anyShort

-
-public static short anyShort()
-
-
any short, Short or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
0.
-
-
-
- -

-anyObject

-
-public static <T> T anyObject()
-
-
any Object or null. -

- Has aliases: any() and any(Class clazz) -

- See examples in javadoc for Matchers class -

-

- -
Returns:
null.
-
-
-
- -

-anyVararg

-
-public static <T> T anyVararg()
-
-
Any vararg, meaning any number and values of arguments. -

- Example: -

-   //verification:
-   mock.foo(1, 2);
-   mock.foo(1, 2, 3, 4);
-
-   verify(mock, times(2)).foo(anyVararg());
-
-   //stubbing:
-   when(mock.foo(anyVararg()).thenReturn(100);
-
-   //prints 100
-   System.out.println(mock.foo(1, 2));
-   //also prints 100
-   System.out.println(mock.foo(1, 2, 3, 4));
- 
- See examples in javadoc for Matchers class -

-

- -
Returns:
null.
-
-
-
- -

-any

-
-public static <T> T any(java.lang.Class<T> clazz)
-
-
any kind object, not necessary of the given class. - The class argument is provided only to avoid casting. -

- Sometimes looks better than anyObject() - especially when explicit casting is required -

- Alias to anyObject() -

- See examples in javadoc for Matchers class -

-

- -
Returns:
null.
-
-
-
- -

-any

-
-public static <T> T any()
-
-
any object or null -

- Shorter alias to anyObject() -

- See examples in javadoc for Matchers class -

-

- -
Returns:
null.
-
-
-
- -

-anyString

-
-public static java.lang.String anyString()
-
-
any String or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
empty String ("")
-
-
-
- -

-anyList

-
-public static java.util.List anyList()
-
-
any List or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
empty List.
-
-
-
- -

-anyListOf

-
-public static <T> java.util.List<T> anyListOf(java.lang.Class<T> clazz)
-
-
generic friendly alias to anyList(). - It's an alternative to @SuppressWarnings("unchecked") to keep code clean of compiler warnings. -

- any List or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
empty List.
-
-
-
- -

-anySet

-
-public static java.util.Set anySet()
-
-
any Set or null -

- See examples in javadoc for Matchers class -

-

- -
Returns:
empty Set
-
-
-
- -

-anySetOf

-
-public static <T> java.util.Set<T> anySetOf(java.lang.Class<T> clazz)
-
-
generic friendly alias to anySet(). - It's an alternative to @SuppressWarnings("unchecked") to keep code clean of compiler warnings. -

- any Set or null -

- See examples in javadoc for Matchers class -

-

- -
Returns:
empty Set
-
-
-
- -

-anyMap

-
-public static java.util.Map anyMap()
-
-
any Map or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
empty Map.
-
-
-
- -

-anyCollection

-
-public static java.util.Collection anyCollection()
-
-
any Collection or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
empty Collection.
-
-
-
- -

-anyCollectionOf

-
-public static <T> java.util.Collection<T> anyCollectionOf(java.lang.Class<T> clazz)
-
-
generic friendly alias to anyCollection(). - It's an alternative to @SuppressWarnings("unchecked") to keep code clean of compiler warnings. -

- any Collection or null. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
empty Collection.
-
-
-
- -

-isA

-
-public static <T> T isA(java.lang.Class<T> clazz)
-
-
Object argument that implements the given class. -

- See examples in javadoc for Matchers class -

-

-
Type Parameters:
T - the accepted type.
Parameters:
clazz - the class of the accepted type. -
Returns:
null.
-
-
-
- -

-eq

-
-public static boolean eq(boolean value)
-
-
boolean argument that is equal to the given value. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-eq

-
-public static byte eq(byte value)
-
-
byte argument that is equal to the given value. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-eq

-
-public static char eq(char value)
-
-
char argument that is equal to the given value. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-eq

-
-public static double eq(double value)
-
-
double argument that is equal to the given value. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-eq

-
-public static float eq(float value)
-
-
float argument that is equal to the given value. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-eq

-
-public static int eq(int value)
-
-
int argument that is equal to the given value. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-eq

-
-public static long eq(long value)
-
-
long argument that is equal to the given value. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-eq

-
-public static short eq(short value)
-
-
short argument that is equal to the given value. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
value - the given value. -
Returns:
0.
-
-
-
- -

-eq

-
-public static <T> T eq(T value)
-
-
Object argument that is equal to the given value. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
value - the given value. -
Returns:
null.
-
-
-
- -

-refEq

-
-public static <T> T refEq(T value,
-                          java.lang.String... excludeFields)
-
-
Object argument that is reflection-equal to the given value with support for excluding - selected fields from a class. -

- This matcher can be used when equals() is not implemented on compared objects. - Matcher uses java reflection API to compare fields of wanted and actual object. -

- Works similarly to EqualsBuilder.reflectionEquals(this, other, exlucdeFields) from - apache commons library. -

- Warning The equality check is shallow! -

- See examples in javadoc for Matchers class -

-

-
Parameters:
value - the given value.
excludeFields - fields to exclude, if field does not exist it is ignored. -
Returns:
null.
-
-
-
- -

-same

-
-public static <T> T same(T value)
-
-
Object argument that is the same as the given value. -

- See examples in javadoc for Matchers class -

-

-
Type Parameters:
T - the type of the object, it is passed through to prevent casts.
Parameters:
value - the given value. -
Returns:
null.
-
-
-
- -

-isNull

-
-public static java.lang.Object isNull()
-
-
null argument. -

- See examples in javadoc for Matchers class -

-

- -
Returns:
null.
-
-
-
- -

-notNull

-
-public static java.lang.Object notNull()
-
-
not null argument. -

- alias to isNotNull() -

- See examples in javadoc for Matchers class -

-

- -
Returns:
null.
-
-
-
- -

-isNotNull

-
-public static java.lang.Object isNotNull()
-
-
not null argument. -

- alias to notNull() -

- See examples in javadoc for Matchers class -

-

- -
Returns:
null.
-
-
-
- -

-contains

-
-public static java.lang.String contains(java.lang.String substring)
-
-
String argument that contains the given substring. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
substring - the substring. -
Returns:
empty String ("").
-
-
-
- -

-matches

-
-public static java.lang.String matches(java.lang.String regex)
-
-
String argument that matches the given regular expression. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
regex - the regular expression. -
Returns:
empty String ("").
-
-
-
- -

-endsWith

-
-public static java.lang.String endsWith(java.lang.String suffix)
-
-
String argument that ends with the given suffix. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
suffix - the suffix. -
Returns:
empty String ("").
-
-
-
- -

-startsWith

-
-public static java.lang.String startsWith(java.lang.String prefix)
-
-
String argument that starts with the given prefix. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
prefix - the prefix. -
Returns:
empty String ("").
-
-
-
- -

-argThat

-
-public static <T> T argThat(org.hamcrest.Matcher<T> matcher)
-
-
Allows creating custom argument matchers. -

- See examples in javadoc for ArgumentMatcher class -

-

-
Parameters:
matcher - decides whether argument matches -
Returns:
null.
-
-
-
- -

-charThat

-
-public static char charThat(org.hamcrest.Matcher<java.lang.Character> matcher)
-
-
Allows creating custom argument matchers. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
matcher - decides whether argument matches -
Returns:
0.
-
-
-
- -

-booleanThat

-
-public static boolean booleanThat(org.hamcrest.Matcher<java.lang.Boolean> matcher)
-
-
Allows creating custom argument matchers. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
matcher - decides whether argument matches -
Returns:
false.
-
-
-
- -

-byteThat

-
-public static byte byteThat(org.hamcrest.Matcher<java.lang.Byte> matcher)
-
-
Allows creating custom argument matchers. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
matcher - decides whether argument matches -
Returns:
0.
-
-
-
- -

-shortThat

-
-public static short shortThat(org.hamcrest.Matcher<java.lang.Short> matcher)
-
-
Allows creating custom argument matchers. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
matcher - decides whether argument matches -
Returns:
0.
-
-
-
- -

-intThat

-
-public static int intThat(org.hamcrest.Matcher<java.lang.Integer> matcher)
-
-
Allows creating custom argument matchers. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
matcher - decides whether argument matches -
Returns:
0.
-
-
-
- -

-longThat

-
-public static long longThat(org.hamcrest.Matcher<java.lang.Long> matcher)
-
-
Allows creating custom argument matchers. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
matcher - decides whether argument matches -
Returns:
0.
-
-
-
- -

-floatThat

-
-public static float floatThat(org.hamcrest.Matcher<java.lang.Float> matcher)
-
-
Allows creating custom argument matchers. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
matcher - decides whether argument matches -
Returns:
0.
-
-
-
- -

-doubleThat

-
-public static double doubleThat(org.hamcrest.Matcher<java.lang.Double> matcher)
-
-
Allows creating custom argument matchers. -

- See examples in javadoc for Matchers class -

-

-
Parameters:
matcher - decides whether argument matches -
Returns:
0.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/Mock.html b/tools/mockito/javadoc/org/mockito/Mock.html deleted file mode 100644 index 3827cd1be92..00000000000 --- a/tools/mockito/javadoc/org/mockito/Mock.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - -Mock (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Annotation Type Mock

-
-
-
@Target(value=FIELD)
-@Retention(value=RUNTIME)
-@Documented
-public @interface Mock
- - -

-

    -
  • Allows shorthand mock creation.
  • -
  • Minimizes repetitive mock creation code.
  • -
  • Makes the test class more readable.
  • -
  • Makes the verification error easier to read because the field name is used to identify the mock.
  • -
- -
-   public class ArticleManagerTest extends SampleBaseTestCase {
-
-       @Mock private ArticleCalculator calculator;
-       @Mock(name = "dbMock") private ArticleDatabase database;
-       @Mock(answer = RETURNS_MOCKS) private UserProvider userProvider;
-
-       private ArticleManager manager;
-
-       @Before public void setup() {
-           manager = new ArticleManager(userProvider, database, calculator);
-       }
-   }
-
-   public class SampleBaseTestCase {
-
-       @Before public void initMocks() {
-           MockitoAnnotations.initMocks(this);
-       }
-   }
- 
- - MockitoAnnotations.initMocks(this) method has to called to initialize annotated mocks. -

- In above example, initMocks() is called in @Before (JUnit4) method of test's base class. - For JUnit3 initMocks() can go to setup() method of a base class. - You can also put initMocks() in your JUnit runner (@RunWith) or use built-in runners: MockitoJUnitRunner -

- -

-


- -

- - - - - - - - - - - - - - - - - - - -
-Optional Element Summary
- Answersanswer - -
-           
- java.lang.Class<?>[]extraInterfaces - -
-           
- java.lang.Stringname - -
-           
-  -

-

-answer

-
-public abstract Answers answer
-
-
-
-
-
-
-
-
Default:
RETURNS_DEFAULTS
-
-
-
- -

-name

-
-public abstract java.lang.String name
-
-
-
-
-
-
-
-
Default:
""
-
-
-
- -

-extraInterfaces

-
-public abstract java.lang.Class<?>[] extraInterfaces
-
-
-
-
-
-
-
-
Default:
{}
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/MockSettings.html b/tools/mockito/javadoc/org/mockito/MockSettings.html deleted file mode 100644 index f57de494618..00000000000 --- a/tools/mockito/javadoc/org/mockito/MockSettings.html +++ /dev/null @@ -1,409 +0,0 @@ - - - - - - -MockSettings (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Interface MockSettings

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
All Known Implementing Classes:
MockSettingsImpl
-
-
-
-
public interface MockSettings
extends java.io.Serializable
- - -

-Allows mock creation with additional mock settings. -

- Don't use it too often. - Consider writing simple tests that use simple mocks. - Repeat after me: simple tests push simple, KISSy, readable & maintainable code. - If you cannot write a test in a simple way - refactor the code under test. -

- Examples of mock settings: -

-   //Creates mock with different default answer & name
-   Foo mock = mock(Foo.class, withSettings()
-       .defaultAnswer(RETURNS_SMART_NULLS)
-       .name("cool mockie"));
-       
-   //Creates mock with different default answer, descriptive name and extra interfaces
-   Foo mock = mock(Foo.class, withSettings()
-       .defaultAnswer(RETURNS_SMART_NULLS)
-       .name("cool mockie")
-       .extraInterfaces(Bar.class));    
- 
- MockSettings has been introduced for two reasons. - Firstly, to make it easy to add another mock setting when the demand comes. - Secondly, to enable combining together different mock settings without introducing zillions of overloaded mock() methods. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- MockSettingsdefaultAnswer(Answer defaultAnswer) - -
-          Specifies default answers to interactions.
- MockSettingsextraInterfaces(java.lang.Class<?>... interfaces) - -
-          Specifies extra interfaces the mock should implement.
- MockSettingsname(java.lang.String name) - -
-          Specifies mock name.
- MockSettingsserializable() - -
-          Configures the mock to be serializable.
- MockSettingsspiedInstance(java.lang.Object instance) - -
-          Specifies the instance to spy on.
-  -

- - - - - - - - -
-Method Detail
- -

-extraInterfaces

-
-MockSettings extraInterfaces(java.lang.Class<?>... interfaces)
-
-
Specifies extra interfaces the mock should implement. Might be useful for legacy code or some corner cases. - For background, see issue 51 here -

- This mysterious feature should be used very occasionally. - The object under test should know exactly its collaborators & dependencies. - If you happen to use it often than please make sure you are really producing simple, clean & readable code. -

- Examples: -

-   Foo foo = mock(Foo.class, withSettings().extraInterfaces(Bar.class, Baz.class));
-   
-   //now, the mock implements extra interfaces, so following casting is possible:
-   Bar bar = (Bar) foo;
-   Baz baz = (Baz) foo;
- 
-

-

-
-
-
-
Parameters:
interfaces - extra interfaces the should implement. -
Returns:
settings instance so that you can fluently specify other settings
-
-
-
- -

-name

-
-MockSettings name(java.lang.String name)
-
-
Specifies mock name. Naming mocks can be helpful for debugging - the name is used in all verification errors. -

- Beware that naming mocks is not a solution for complex code which uses too many mocks or collaborators. - If you have too many mocks then refactor the code so that it's easy to test/debug without necessity of naming mocks. -

- If you use @Mock annotation then you've got naming mocks for free! @Mock uses field name as mock name. Read more. -

- Examples: -

-   Foo foo = mock(Foo.class, withSettings().name("foo"));
-   
-   //Below does exactly the same:
-   Foo foo = mock(Foo.class, "foo");
- 
-

-

-
-
-
-
Parameters:
name - the name of the mock, later used in all verification errors -
Returns:
settings instance so that you can fluently specify other settings
-
-
-
- -

-spiedInstance

-
-MockSettings spiedInstance(java.lang.Object instance)
-
-
Specifies the instance to spy on. Makes sense only for spies/partial mocks. - Sets the real implementation to be called when the method is called on a mock object. -

- As usual you are going to read the partial mock warning: - Object oriented programming is more less tackling complexity by dividing the complexity into separate, specific, SRPy objects. - How does partial mock fit into this paradigm? Well, it just doesn't... - Partial mock usually means that the complexity has been moved to a different method on the same object. - In most cases, this is not the way you want to design your application. -

- However, there are rare cases when partial mocks come handy: - dealing with code you cannot change easily (3rd party interfaces, interim refactoring of legacy code etc.) - However, I wouldn't use partial mocks for new, test-driven & well-designed code. -

- Enough warnings about partial mocks, see an example how spiedInstance() works: -

-   Foo foo = mock(Foo.class, spiedInstance(fooInstance));
-   
-   //Below does exactly the same:
-   Foo foo = spy(fooInstance);
- 
-

-

-
-
-
-
Parameters:
instance - to spy on -
Returns:
settings instance so that you can fluently specify other settings
-
-
-
- -

-defaultAnswer

-
-MockSettings defaultAnswer(Answer defaultAnswer)
-
-
Specifies default answers to interactions. - It's quite advanced feature and typically you don't need it to write decent tests. - However it can be helpful when working with legacy systems. -

- It is the default answer so it will be used only when you don't stub the method call. - -

-   Foo mock = mock(Foo.class, withSettings().defaultAnswer(RETURNS_SMART_NULLS));
-   Foo mockTwo = mock(Foo.class, withSettings().defaultAnswer(new YourOwnAnswer()));
-   
-   //Below does exactly the same:
-   Foo mockTwo = mock(Foo.class, new YourOwnAnswer());
- 
-

-

-
-
-
-
Parameters:
defaultAnswer - default answer to be used by mock when not stubbed -
Returns:
settings instance so that you can fluently specify other settings
-
-
-
- -

-serializable

-
-MockSettings serializable()
-
-
Configures the mock to be serializable. With this feature you can use a mock in a place that requires dependencies to be serializable. -

- WARNING: This should be rarely used in unit testing. -

- The behaviour was implemented for a specific use case of a BDD spec that had an unreliable external dependency. This - was in a web environment and the objects from the external dependency were being serialized to pass between layers. -

- Example: -

-   List serializableMock = mock(List.class, withSettings().serializable());
- 
-

-

-
-
-
- -
Returns:
settings instance so that you can fluently specify other settings
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/Mockito.html b/tools/mockito/javadoc/org/mockito/Mockito.html deleted file mode 100644 index 669f8b1870b..00000000000 --- a/tools/mockito/javadoc/org/mockito/Mockito.html +++ /dev/null @@ -1,2469 +0,0 @@ - - - - - - -Mockito (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Class Mockito

-
-java.lang.Object
-  extended by org.mockito.Matchers
-      extended by org.mockito.Mockito
-
-
-
Direct Known Subclasses:
BDDMockito
-
-
-
-
public class Mockito
extends Matchers
- - -

-

- Mockito library enables mocks creation, verification and stubbing. -

- This javadoc content is also available on the http://mockito.org web page. - All documentation is kept in javadocs because it guarantees consistency between what's on the web and what's in the source code. - Also, it makes possible to access documentation straight from the IDE even if you work offline. - -

Contents

- - - 1. Let's verify some behaviour!
- 2. How about some stubbing?
- 3. Argument matchers
- 4. Verifying exact number of invocations / at least once / never
- 5. Stubbing void methods with exceptions
- 6. Verification in order
- 7. Making sure interaction(s) never happened on mock
- 8. Finding redundant invocations
- 9. Shorthand for mocks creation - @Mock annotation
- 10. Stubbing consecutive calls (iterator-style stubbing)
- 11. Stubbing with callbacks
- 12. doThrow()|doAnswer()|doNothing()|doReturn() family of methods mostly for stubbing voids
- 13. Spying on real objects
- 14. Changing default return values of unstubbed invocations (Since 1.7)
- 15. Capturing arguments for further assertions (Since 1.8.0)
- 16. Real partial mocks (Since 1.8.0)
- 17. Resetting mocks (Since 1.8.0)
- 18. Troubleshooting & validating framework usage (Since 1.8.0)
- 19. Aliases for behavior driven development (Since 1.8.0)
- 20. Serializable mocks (Since 1.8.1)
- 21. New annotations: @Captor, @Spy, @InjectMocks (Since 1.8.3)
- 22. (**New**) Verification with timeout (Since 1.8.5)
-
- -

- Following examples mock a List, because everyone knows its interface (methods - like add(), get(), clear() will be used).
- You probably wouldn't mock List class 'in real'. - -

1. Let's verify some behaviour!

- -
- //Let's import Mockito statically so that the code looks clearer
- import static org.mockito.Mockito.*;
- 
- //mock creation
- List mockedList = mock(List.class);
-
- //using mock object
- mockedList.add("one");
- mockedList.clear();
-
- //verification
- verify(mockedList).add("one");
- verify(mockedList).clear();
- 
- -

- Once created, mock will remember all interactions. Then you can selectively - verify whatever interaction you are interested in. - -

2. How about some stubbing?

- -
- //You can mock concrete classes, not only interfaces
- LinkedList mockedList = mock(LinkedList.class);
- 
- //stubbing
- when(mockedList.get(0)).thenReturn("first");
- when(mockedList.get(1)).thenThrow(new RuntimeException());
- 
- //following prints "first"
- System.out.println(mockedList.get(0));
- 
- //following throws runtime exception
- System.out.println(mockedList.get(1));
- 
- //following prints "null" because get(999) was not stubbed
- System.out.println(mockedList.get(999));
-  
- //Although it is possible to verify a stubbed invocation, usually it's just redundant
- //If your code cares what get(0) returns then something else breaks (often before even verify() gets executed).
- //If your code doesn't care what get(0) returns then it should not be stubbed. Not convinced? See here.
- verify(mockedList).get(0);
- 
- -
    -
  • By default, for all methods that return value, mock returns null, an - empty collection or appropriate primitive/primitive wrapper value (e.g: 0, - false, ... for int/Integer, boolean/Boolean, ...).
  • - -
  • Stubbing can be overridden: for example common stubbing can go to - fixture setup but the test methods can override it. - Please note that overridding stubbing is a potential code smell that points out too much stubbing
  • - -
  • Once stubbed, the method will always return stubbed value regardless - of how many times it is called.
  • - -
  • Last stubbing is more important - when you stubbed the same method with - the same arguments many times.
  • - -
- -

3. Argument matchers

- - Mockito verifies argument values in natural java style: by using an equals() method. - Sometimes, when extra flexibility is required then you might use argument matchers: - -
- //stubbing using built-in anyInt() argument matcher
- when(mockedList.get(anyInt())).thenReturn("element");
- 
- //stubbing using hamcrest (let's say isValid() returns your own hamcrest matcher):
- when(mockedList.contains(argThat(isValid()))).thenReturn("element");
- 
- //following prints "element"
- System.out.println(mockedList.get(999));
- 
- //you can also verify using an argument matcher
- verify(mockedList).get(anyInt());
- 
- -

- Argument matchers allow flexible verification or stubbing. - Click here to see more built-in matchers - and examples of custom argument matchers / hamcrest matchers. -

- For information solely on custom argument matchers check out javadoc for ArgumentMatcher class. -

- Be reasonable with using complicated argument matching. - The natural matching style using equals() with occasional anyX() matchers tend to give clean & simple tests. - Sometimes it's just better to refactor the code to allow equals() matching or even implement equals() method to help out with testing. -

- Also, read section 15 or javadoc for ArgumentCaptor class. - ArgumentCaptor is a special implementation of an argument matcher that captures argument values for further assertions. -

- Warning on argument matchers: -

- If you are using argument matchers, all arguments have to be provided - by matchers. -

- E.g: (example shows verification but the same applies to stubbing): - -

-   verify(mock).someMethod(anyInt(), anyString(), eq("third argument"));
-   //above is correct - eq() is also an argument matcher
-   
-   verify(mock).someMethod(anyInt(), anyString(), "third argument");
-   //above is incorrect - exception will be thrown because third argument is given without an argument matcher.
- 
- -

4. Verifying exact number of invocations / at least x / never

- -
- //using mock 
- mockedList.add("once");
- 
- mockedList.add("twice");
- mockedList.add("twice");
- 
- mockedList.add("three times");
- mockedList.add("three times");
- mockedList.add("three times");
- 
- //following two verifications work exactly the same - times(1) is used by default
- verify(mockedList).add("once");
- verify(mockedList, times(1)).add("once");
- 
- //exact number of invocations verification
- verify(mockedList, times(2)).add("twice");
- verify(mockedList, times(3)).add("three times");
- 
- //verification using never(). never() is an alias to times(0)
- verify(mockedList, never()).add("never happened");
- 
- //verification using atLeast()/atMost()
- verify(mockedList, atLeastOnce()).add("three times");
- verify(mockedList, atLeast(2)).add("five times");
- verify(mockedList, atMost(5)).add("three times");
- 
- 
- -

- times(1) is the default. Therefore using times(1) explicitly can be - omitted. - -

5. Stubbing void methods with exceptions

- -
-   doThrow(new RuntimeException()).when(mockedList).clear();
-   
-   //following throws RuntimeException:
-   mockedList.clear();
- 
- - Read more about doThrow|doAnswer family of methods in paragraph 12. -

- Initially, stubVoid(Object) was used for stubbing voids. - Currently stubVoid() is deprecated in favor of doThrow(Throwable). - This is because of improved readability and consistency with the family of doAnswer(Answer) methods. - -

6. Verification in order

- -
- List firstMock = mock(List.class);
- List secondMock = mock(List.class);
- 
- //using mocks
- firstMock.add("was called first");
- secondMock.add("was called second");
- 
- //create inOrder object passing any mocks that need to be verified in order
- InOrder inOrder = inOrder(firstMock, secondMock);
- 
- //following will make sure that firstMock was called before secondMock
- inOrder.verify(firstMock).add("was called first");
- inOrder.verify(secondMock).add("was called second");
- 
- - Verification in order is flexible - you don't have to verify all - interactions one-by-one but only those that you are interested in - testing in order. -

- Also, you can create InOrder object passing only mocks that are relevant for - in-order verification. - -

7. Making sure interaction(s) never happened on mock

- -
- //using mocks - only mockOne is interacted
- mockOne.add("one");
- 
- //ordinary verification
- verify(mockOne).add("one");
- 
- //verify that method was never called on a mock
- verify(mockOne, never()).add("two");
- 
- //verify that other mocks were not interacted
- verifyZeroInteractions(mockTwo, mockThree);
- 
- 
- -

8. Finding redundant invocations

- -
- //using mocks
- mockedList.add("one");
- mockedList.add("two");
- 
- verify(mockedList).add("one");
- 
- //following verification will fail 
- verifyNoMoreInteractions(mockedList);
- 
- - A word of warning: - Some users who did a lot of classic, expect-run-verify mocking tend to use verifyNoMoreInteractions() very often, even in every test method. - verifyNoMoreInteractions() is not recommended to use in every test method. - verifyNoMoreInteractions() is a handy assertion from the interaction testing toolkit. Use it only when it's relevant. - Abusing it leads to overspecified, less maintainable tests. You can find further reading - here. - -

- See also never() - it is more explicit and - communicates the intent well. -

- -

9. Shorthand for mocks creation - @Mock annotation

- -
    -
  • Minimizes repetitive mock creation code.
  • -
  • Makes the test class more readable.
  • -
  • Makes the verification error easier to read because the field name - is used to identify the mock.
  • -
- -
-   public class ArticleManagerTest { 
-     
-       @Mock private ArticleCalculator calculator;
-       @Mock private ArticleDatabase database;
-       @Mock private UserProvider userProvider;
-     
-       private ArticleManager manager;
- 
- - Important! This needs to be somewhere in the base class or a test - runner: - -
- MockitoAnnotations.initMocks(testClass);
- 
- - You can use built-in runner: MockitoJUnitRunner. -

- Read more here: MockitoAnnotations - -

10. Stubbing consecutive calls (iterator-style stubbing)

- - Sometimes we need to stub with different return value/exception for the same - method call. Typical use case could be mocking iterators. - Original version of Mockito did not have this feature to promote simple mocking. - For example, instead of iterators one could use Iterable or simply - collections. Those offer natural ways of stubbing (e.g. using real - collections). In rare scenarios stubbing consecutive calls could be useful, - though: -

- -

- when(mock.someMethod("some arg"))
-   .thenThrow(new RuntimeException())
-   .thenReturn("foo");
- 
- //First call: throws runtime exception:
- mock.someMethod("some arg");
- 
- //Second call: prints "foo"
- System.out.println(mock.someMethod("some arg"));
- 
- //Any consecutive call: prints "foo" as well (last stubbing wins). 
- System.out.println(mock.someMethod("some arg"));
- 
- - Alternative, shorter version of consecutive stubbing: - -
- when(mock.someMethod("some arg"))
-   .thenReturn("one", "two", "three");
- 
- -

11. Stubbing with callbacks

- - Allows stubbing with generic Answer interface. -

- Yet another controversial feature which was not included in Mockito - originally. We recommend using simple stubbing with thenReturn() or - thenThrow() only. Those two should be just enough to test/test-drive - any clean & simple code. - -

- when(mock.someMethod(anyString())).thenAnswer(new Answer() {
-     Object answer(InvocationOnMock invocation) {
-         Object[] args = invocation.getArguments();
-         Object mock = invocation.getMock();
-         return "called with arguments: " + args;
-     }
- });
- 
- //Following prints "called with arguments: foo"
- System.out.println(mock.someMethod("foo"));
- 
- -

12. doThrow()|doAnswer()|doNothing()|doReturn() family of methods for stubbing voids (mostly)

- - Stubbing voids requires different approach from when(Object) because the compiler does not like void methods inside brackets... -

- doThrow(Throwable) replaces the stubVoid(Object) method for stubbing voids. - The main reason is improved readability and consistency with the family of doAnswer() methods. -

- Use doThrow() when you want to stub a void method with an exception: -

-   doThrow(new RuntimeException()).when(mockedList).clear();
-   
-   //following throws RuntimeException:
-   mockedList.clear();
- 
- - Read more about other methods: -

- doThrow(Throwable) -

- doAnswer(Answer) -

- doNothing() -

- doReturn(Object) - -

13. Spying on real objects

- - You can create spies of real objects. When you use the spy then the real methods are called (unless a method was stubbed). -

- Real spies should be used carefully and occasionally, for example when dealing with legacy code. - -

- Spying on real objects can be associated with "partial mocking" concept. - Before the release 1.8, Mockito spies were not real partial mocks. - The reason was we thought partial mock is a code smell. - At some point we found legitimate use cases for partial mocks - (3rd party interfaces, interim refactoring of legacy code, the full article is here) -

- -

-   List list = new LinkedList();
-   List spy = spy(list);
- 
-   //optionally, you can stub out some methods:
-   when(spy.size()).thenReturn(100);
- 
-   //using the spy calls real methods
-   spy.add("one");
-   spy.add("two");
- 
-   //prints "one" - the first element of a list
-   System.out.println(spy.get(0));
- 
-   //size() method was stubbed - 100 is printed
-   System.out.println(spy.size());
- 
-   //optionally, you can verify
-   verify(spy).add("one");
-   verify(spy).add("two");
- 
- -

Important gotcha on spying real objects!

- - 1. Sometimes it's impossible to use when(Object) for stubbing spies. Example: - -
-   List list = new LinkedList();
-   List spy = spy(list);
-   
-   //Impossible: real method is called so spy.get(0) throws IndexOutOfBoundsException (the list is yet empty)
-   when(spy.get(0)).thenReturn("foo");
-   
-   //You have to use doReturn() for stubbing
-   doReturn("foo").when(spy).get(0);
- 
- - 2. Watch out for final methods. - Mockito doesn't mock final methods so the bottom line is: when you spy on real objects + you try to stub a final method = trouble. - What will happen is the real method will be called *on mock* but *not on the real instance* you passed to the spy() method. - Typically you may get a NullPointerException because mock instances don't have fields initiated. - -

14. Changing default return values of unstubbed invocations (Since 1.7)

- - You can create a mock with specified strategy for its return values. - It's quite advanced feature and typically you don't need it to write decent tests. - However, it can be helpful for working with legacy systems. -

- It is the default answer so it will be used only when you don't stub the method call. - -

-   Foo mock = mock(Foo.class, Mockito.RETURNS_SMART_NULLS);
-   Foo mockTwo = mock(Foo.class, new YourOwnAnswer()); 
- 
- -

- Read more about this interesting implementation of Answer: RETURNS_SMART_NULLS - -

15. Capturing arguments for further assertions (Since 1.8.0)

- - Mockito verifies argument values in natural java style: by using an equals() method. - This is also the recommended way of matching arguments because it makes tests clean & simple. - In some situations though, it is helpful to assert on certain arguments after the actual verification. - For example: -
-   ArgumentCaptor<Person> argument = ArgumentCaptor.forClass(Person.class);
-   verify(mock).doSomething(argument.capture());
-   assertEquals("John", argument.getValue().getName());
- 
- - Warning: it is recommended to use ArgumentCaptor with verification but not with stubbing. - Using ArgumentCaptor with stubbing may decrease test readability because captor is created outside of assert (aka verify or 'then') block. - Also it may reduce defect localization because if stubbed method was not called then no argument is captured. -

- In a way ArgumentCaptor is related to custom argument matchers (see javadoc for ArgumentMatcher class). - Both techniques can be used for making sure certain arguments where passed to mocks. - However, ArgumentCaptor may be a better fit if: -

    -
  • custom argument matcher is not likely to be reused
  • -
  • you just need it to assert on argument values to complete verification
  • -
- Custom argument matchers via ArgumentMatcher are usually better for stubbing. - -

16. Real partial mocks (Since 1.8.0)

- - Finally, after many internal debates & discussions on the mailing list, partial mock support was added to Mockito. - Previously we considered partial mocks as code smells. However, we found a legitimate use case for partial mocks - more reading: - here -

- Before release 1.8 spy() was not producing real partial mocks and it was confusing for some users. - Read more about spying: here or in javadoc for spy(Object) method. -

-

-    //you can create partial mock with spy() method:    
-    List list = spy(new LinkedList());
-    
-    //you can enable partial mock capabilities selectively on mocks:
-    Foo mock = mock(Foo.class);
-    //Be sure the real implementation is 'safe'.
-    //If real implementation throws exceptions or depends on specific state of the object then you're in trouble.
-    when(mock.someMethod()).thenCallRealMethod();
-  
- - As usual you are going to read the partial mock warning: - Object oriented programming is more less tackling complexity by dividing the complexity into separate, specific, SRPy objects. - How does partial mock fit into this paradigm? Well, it just doesn't... - Partial mock usually means that the complexity has been moved to a different method on the same object. - In most cases, this is not the way you want to design your application. -

- However, there are rare cases when partial mocks come handy: - dealing with code you cannot change easily (3rd party interfaces, interim refactoring of legacy code etc.) - However, I wouldn't use partial mocks for new, test-driven & well-designed code. - -

17. Resetting mocks (Since 1.8.0)

- - Smart Mockito users hardly use this feature because they know it could be a sign of poor tests. - Normally, you don't need to reset your mocks, just create new mocks for each test method. -

- Instead of reset() please consider writing simple, small and focused test methods over lengthy, over-specified tests. - First potential code smell is reset() in the middle of the test method. This probably means you're testing too much. - Follow the whisper of your test methods: "Please keep us small & focused on single behavior". - There are several threads about it on mockito mailing list. -

- The only reason we added reset() method is to - make it possible to work with container-injected mocks. - See issue 55 (here) - or FAQ (here). -

- Don't harm yourself. reset() in the middle of the test method is a code smell (you're probably testing too much). -

-   List mock = mock(List.class);
-   when(mock.size()).thenReturn(10);
-   mock.add(1);
-   
-   reset(mock);
-   //at this point the mock forgot any interactions & stubbing
- 
- -

18. Troubleshooting & validating framework usage (Since 1.8.0)

- - First of all, in case of any trouble, I encourage you to read the Mockito FAQ: - http://code.google.com/p/mockito/wiki/FAQ -

- In case of questions you may also post to mockito mailing list: - http://groups.google.com/group/mockito -

- Next, you should know that Mockito validates if you use it correctly all the time. - However, there's a gotcha so please read the javadoc for validateMockitoUsage() - -

19. Aliases for behavior driven development (Since 1.8.0)

- - Behavior Driven Development style of writing tests uses //given //when //then comments as fundamental parts of your test methods. - This is exactly how we write our tests and we warmly encourage you to do so! -

- Start learning about BDD here: http://en.wikipedia.org/wiki/Behavior_Driven_Development -

- The problem is that current stubbing api with canonical role of when word does not integrate nicely with //given //when //then comments. - It's because stubbing belongs to given component of the test and not to the when component of the test. - Hence BDDMockito class introduces an alias so that you stub method calls with BDDMockito.given(Object) method. - Now it really nicely integrates with the given component of a BDD style test! -

- Here is how the test might look like: -

- import static org.mockito.BDDMockito.*;
- 
- Seller seller = mock(Seller.class);
- Shop shop = new Shop(seller);
- 
- public void shouldBuyBread() throws Exception {
-   //given  
-   given(seller.askForBread()).willReturn(new Bread());
-   
-   //when
-   Goods goods = shop.buyBread();
-   
-   //then
-   assertThat(goods, containBread());
- }  
- 
- -

20. (**New**) Serializable mocks (Since 1.8.1)

- - Mocks can be made serializable. With this feature you can use a mock in a place that requires dependencies to be serializable. -

- WARNING: This should be rarely used in unit testing. -

- The behaviour was implemented for a specific use case of a BDD spec that had an unreliable external dependency. This - was in a web environment and the objects from the external dependency were being serialized to pass between layers. -

- To create serializable mock use MockSettings.serializable(): -

-   List serializableMock = mock(List.class, withSettings().serializable());
- 
-

- The mock can be serialized assuming all the normal - serialization requirements are met by the class. -

- Making a real object spy serializable is a bit more effort as the spy(...) method does not have an overloaded version - which accepts MockSettings. No worries, you will hardly ever use it. - -

- List list = new ArrayList();
- List spy = mock(ArrayList.class, withSettings()
-                 .spiedInstance(list)
-                 .defaultAnswer(CALLS_REAL_METHODS)
-                 .serializable());
- 
- 
- 

21. (**New**) New annotations: @Captor, @Spy, @InjectMocks (Since 1.8.3)

-

- Release 1.8.3 brings new annotations that may be helpful on occasion: - -

    -
  • @Captor simplifies creation of ArgumentCaptor - - useful when the argument to capture is a nasty generic class and you want to avoid compiler warnings -
  • @Spy - you can use it instead spy(Object). -
  • @InjectMocks - injects mocks into tested object automatically. -
-

- All new annotations are *only* processed on MockitoAnnotations.initMocks(Object) -

-

22. (**New**) Verification with timeout (Since 1.8.5)

-

- Allows verifying with timeout. May be useful for testing in concurrent conditions. -

- It feels this feature should be used rarely - figure out a better way of testing your multi-threaded system. -

- Not yet implemented to work with InOrder verification. -

- Examples: -

-

-   //passes when someMethod() is called within given time span 
-   verify(mock, timeout(100)).someMethod();
-   //above is an alias to:
-   verify(mock, timeout(100).times(1)).someMethod();
-   
-   //passes when someMethod() is called *exactly* 2 times within given time span
-   verify(mock, timeout(100).times(2)).someMethod();
-
-   //passes when someMethod() is called *at lest* 2 times within given time span
-   verify(mock, timeout(100).atLeast(2)).someMethod();
-   
-   //verifies someMethod() within given time span using given verification mode
-   //useful only if you have your own custom verification modes.
-   verify(mock, new Timeout(100, yourOwnVerificationMode)).someMethod();
- 
-

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static Answer<java.lang.Object>CALLS_REAL_METHODS - -
-          Optional Answer to be used with mock(Class, Answer)
-static Answer<java.lang.Object>RETURNS_DEEP_STUBS - -
-          Optional Answer to be used with mock(Class, Answer)
-static Answer<java.lang.Object>RETURNS_DEFAULTS - -
-          The default Answer of every mock if the mock was not stubbed.
-static Answer<java.lang.Object>RETURNS_MOCKS - -
-          Optional Answer to be used with mock(Class, Answer)
-static Answer<java.lang.Object>RETURNS_SMART_NULLS - -
-          Optional Answer to be used with mock(Class, Answer)
-  - - - - - - - - - - -
-Constructor Summary
Mockito() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static VerificationModeatLeast(int minNumberOfInvocations) - -
-          Allows at-least-x verification.
-static VerificationModeatLeastOnce() - -
-          Allows at-least-once verification.
-static VerificationModeatMost(int maxNumberOfInvocations) - -
-          Allows at-most-x verification.
-static StubberdoAnswer(Answer answer) - -
-          Use doAnswer() when you want to stub a void method with generic Answer.
-static StubberdoCallRealMethod() - -
-          Use doCallRealMethod() when you want to call the real implementation of a method.
-static StubberdoNothing() - -
-          Use doNothing() for setting void methods to do nothing.
-static StubberdoReturn(java.lang.Object toBeReturned) - -
-          Use doReturn() in those rare occasions when you cannot use when(Object).
-static StubberdoThrow(java.lang.Throwable toBeThrown) - -
-          Use doThrow() when you want to stub the void method with an exception.
-static InOrderinOrder(java.lang.Object... mocks) - -
-          Creates InOrder object that allows verifying mocks in order.
-static - - - - -
-<T> T
-
mock(java.lang.Class<T> classToMock) - -
-          Creates mock object of given class or interface.
-static - - - - -
-<T> T
-
mock(java.lang.Class<T> classToMock, - Answer defaultAnswer) - -
-          Creates mock with a specified strategy for its answers to interactions.
-static - - - - -
-<T> T
-
mock(java.lang.Class<T> classToMock, - MockSettings mockSettings) - -
-          Creates a mock with some non-standard settings.
-static - - - - -
-<T> T
-
mock(java.lang.Class<T> classToMock, - ReturnValues returnValues) - -
-          Deprecated. Please use mock(Foo.class, defaultAnswer); -

- See mock(Class, Answer) -

- Why it is deprecated? ReturnValues is being replaced by Answer - for better consistency & interoperability of the framework. - Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues. - There's no point in mainting exactly the same interfaces. -

- Creates mock with a specified strategy for its return values. - It's quite advanced feature and typically you don't need it to write decent tests. - However it can be helpful when working with legacy systems. -

- Obviously return values are used only when you don't stub the method call. - -

-   Foo mock = mock(Foo.class, Mockito.RETURNS_SMART_NULLS);
-   Foo mockTwo = mock(Foo.class, new YourOwnReturnValues()); 
- 
- -

See examples in javadoc for Mockito class

-static - - - - -
-<T> T
-
mock(java.lang.Class<T> classToMock, - java.lang.String name) - -
-          Specifies mock name.
-static VerificationModenever() - -
-          Alias to times(0), see times(int)
-static VerificationModeonly() - -
-          Allows checking if given method was the only one invoked.
-static - - - - -
-<T> void
-
reset(T... mocks) - -
-          Smart Mockito users hardly use this feature because they know it could be a sign of poor tests.
-static - - - - -
-<T> T
-
spy(T object) - -
-          Creates a spy of the real object.
-static - - - - -
-<T> DeprecatedOngoingStubbing<T>
-
stub(T methodCall) - -
-          Stubs a method call with return value or an exception.
-static - - - - -
-<T> VoidMethodStubbable<T>
-
stubVoid(T mock) - -
-          Deprecated. Use doThrow(Throwable) method for stubbing voids
-static VerificationWithTimeouttimeout(int millis) - -
-          Allows verifying with timeout.
-static VerificationModetimes(int wantedNumberOfInvocations) - -
-          Allows verifying exact number of invocations.
-static voidvalidateMockitoUsage() - -
-          First of all, in case of any trouble, I encourage you to read the Mockito FAQ: http://code.google.com/p/mockito/wiki/FAQ
-static - - - - -
-<T> T
-
verify(T mock) - -
-          Verifies certain behavior happened once
-static - - - - -
-<T> T
-
verify(T mock, - VerificationMode mode) - -
-          Verifies certain behavior happened at least once / exact number of times / never.
-static voidverifyNoMoreInteractions(java.lang.Object... mocks) - -
-          Checks if any of given mocks has any unverified interaction.
-static voidverifyZeroInteractions(java.lang.Object... mocks) - -
-          Verifies that no interactions happened on given mocks.
-static - - - - -
-<T> OngoingStubbing<T>
-
when(T methodCall) - -
-          Enables stubbing methods.
-static MockSettingswithSettings() - -
-          Allows mock creation with additional mock settings.
- - - - - - - -
Methods inherited from class org.mockito.Matchers
any, any, anyBoolean, anyByte, anyChar, anyCollection, anyCollectionOf, anyDouble, anyFloat, anyInt, anyList, anyListOf, anyLong, anyMap, anyObject, anySet, anySetOf, anyShort, anyString, anyVararg, argThat, booleanThat, byteThat, charThat, contains, doubleThat, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, floatThat, intThat, isA, isNotNull, isNull, longThat, matches, notNull, refEq, same, shortThat, startsWith
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-RETURNS_DEFAULTS

-
-public static final Answer<java.lang.Object> RETURNS_DEFAULTS
-
-
The default Answer of every mock if the mock was not stubbed. - Typically it just returns some empty value. -

- Answer can be used to define the return values of unstubbed invocations. -

- This implementation first tries the global configuration. - If there is no global configuration then it uses ReturnsEmptyValues (returns zeros, empty collections, nulls, etc.) -

-

-
-
-
- -

-RETURNS_SMART_NULLS

-
-public static final Answer<java.lang.Object> RETURNS_SMART_NULLS
-
-
Optional Answer to be used with mock(Class, Answer) -

- Answer can be used to define the return values of unstubbed invocations. -

- This implementation can be helpful when working with legacy code. - Unstubbed methods often return null. If your code uses the object returned by an unstubbed call you get a NullPointerException. - This implementation of Answer returns SmartNull instead of null. - SmartNull gives nicer exception message than NPE because it points out the line where unstubbed method was called. You just click on the stack trace. -

- ReturnsSmartNulls first tries to return ordinary return values (see ReturnsMoreEmptyValues) - then it tries to return SmartNull. If the return type is final then plain null is returned. -

- ReturnsSmartNulls will be probably the default return values strategy in Mockito 2.0 -

- Example: -

-   Foo mock = (Foo.class, RETURNS_SMART_NULLS);
-   
-   //calling unstubbed method here:
-   Stuff stuff = mock.getStuff();
-   
-   //using object returned by unstubbed call:
-   stuff.doSomething();
-   
-   //Above doesn't yield NullPointerException this time!
-   //Instead, SmartNullPointerException is thrown. 
-   //Exception's cause links to unstubbed mock.getStuff() - just click on the stack trace.  
- 
-

-

-
-
-
- -

-RETURNS_MOCKS

-
-public static final Answer<java.lang.Object> RETURNS_MOCKS
-
-
Optional Answer to be used with mock(Class, Answer) -

- Answer can be used to define the return values of unstubbed invocations. -

- This implementation can be helpful when working with legacy code. -

- ReturnsMocks first tries to return ordinary return values (see ReturnsMoreEmptyValues) - then it tries to return mocks. If the return type cannot be mocked (e.g. is final) then plain null is returned. -

-

-

-
-
-
- -

-RETURNS_DEEP_STUBS

-
-public static final Answer<java.lang.Object> RETURNS_DEEP_STUBS
-
-
Optional Answer to be used with mock(Class, Answer) -

- Example that shows how deep stub works: -

-   Foo mock = mock(Foo.class, RETURNS_DEEP_STUBS);
-
-   // note that we're stubbing a chain of methods here: getBar().getName()
-   when(mock.getBar().getName()).thenReturn("deep");
-
-   // note that we're chaining method calls: getBar().getName()
-   assertEquals("deep", mock.getBar().getName());
- 
- - Verification API does not support 'chaining' so deep stub doesn't change how you do verification. -

- WARNING: - This feature should rarely be required for regular clean code! Leave it for legacy code. - Mocking a mock to return a mock, to return a mock, (...), to return something meaningful - hints at violation of Law of Demeter or mocking a value object (a well known anti-pattern). -

- Good quote I've seen one day on the web: every time a mock returns a mock a fairy dies. -

- How deep stub work internally? -

-   //this:
-   Foo mock = mock(Foo.class, RETURNS_DEEP_STUBS);
-   when(mock.getBar().getName(), "deep");
-
-   //is equivalent of
-   Foo foo = mock(Foo.class);
-   Bar bar = mock(Bar.class);
-   when(foo.getBar()).thenReturn(bar);
-   when(bar.getName()).thenReturn("deep");
- 
-

- This feature will not work when any return type of methods included in the chain cannot be mocked - (for example: is a primitive or a final class). This is because of java type system. -

-

-
-
-
- -

-CALLS_REAL_METHODS

-
-public static final Answer<java.lang.Object> CALLS_REAL_METHODS
-
-
Optional Answer to be used with mock(Class, Answer) -

- Answer can be used to define the return values of unstubbed invocations. -

- This implementation can be helpful when working with legacy code. - When this implementation is used, unstubbed methods will delegate to the real implementation. - This is a way to create a partial mock object that calls real methods by default. -

- As usual you are going to read the partial mock warning: - Object oriented programming is more less tackling complexity by dividing the complexity into separate, specific, SRPy objects. - How does partial mock fit into this paradigm? Well, it just doesn't... - Partial mock usually means that the complexity has been moved to a different method on the same object. - In most cases, this is not the way you want to design your application. -

- However, there are rare cases when partial mocks come handy: - dealing with code you cannot change easily (3rd party interfaces, interim refactoring of legacy code etc.) - However, I wouldn't use partial mocks for new, test-driven & well-designed code. -

- Example: -

- Foo mock = mock(Foo.class, CALLS_REAL_METHODS);
-
- // this calls the real implementation of Foo.getSomething()
- value = mock.getSomething();
-
- when(mock.getSomething()).thenReturn(fakeValue);
-
- // now fakeValue is returned
- value = mock.getSomething();
- 
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Mockito

-
-public Mockito()
-
-
- - - - - - - - -
-Method Detail
- -

-mock

-
-public static <T> T mock(java.lang.Class<T> classToMock)
-
-
Creates mock object of given class or interface. -

- See examples in javadoc for Mockito class -

-

-
Parameters:
classToMock - class or interface to mock -
Returns:
mock object
-
-
-
- -

-mock

-
-public static <T> T mock(java.lang.Class<T> classToMock,
-                         java.lang.String name)
-
-
Specifies mock name. Naming mocks can be helpful for debugging - the name is used in all verification errors. -

- Beware that naming mocks is not a solution for complex code which uses too many mocks or collaborators. - If you have too many mocks then refactor the code so that it's easy to test/debug without necessity of naming mocks. -

- If you use @Mock annotation then you've got naming mocks for free! @Mock uses field name as mock name. Read more. -

- - See examples in javadoc for Mockito class -

-

-
Parameters:
classToMock - class or interface to mock
name - of the mock -
Returns:
mock object
-
-
-
- -

-mock

-
-@Deprecated
-public static <T> T mock(java.lang.Class<T> classToMock,
-                                    ReturnValues returnValues)
-
-
Deprecated. Please use mock(Foo.class, defaultAnswer); -

- See mock(Class, Answer) -

- Why it is deprecated? ReturnValues is being replaced by Answer - for better consistency & interoperability of the framework. - Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues. - There's no point in mainting exactly the same interfaces. -

- Creates mock with a specified strategy for its return values. - It's quite advanced feature and typically you don't need it to write decent tests. - However it can be helpful when working with legacy systems. -

- Obviously return values are used only when you don't stub the method call. - -

-   Foo mock = mock(Foo.class, Mockito.RETURNS_SMART_NULLS);
-   Foo mockTwo = mock(Foo.class, new YourOwnReturnValues()); 
- 
- -

See examples in javadoc for Mockito class

-

-

-
Parameters:
classToMock - class or interface to mock
returnValues - default return values for unstubbed methods -
Returns:
mock object
-
-
-
- -

-mock

-
-public static <T> T mock(java.lang.Class<T> classToMock,
-                         Answer defaultAnswer)
-
-
Creates mock with a specified strategy for its answers to interactions. - It's quite advanced feature and typically you don't need it to write decent tests. - However it can be helpful when working with legacy systems. -

- It is the default answer so it will be used only when you don't stub the method call. - -

-   Foo mock = mock(Foo.class, RETURNS_SMART_NULLS);
-   Foo mockTwo = mock(Foo.class, new YourOwnAnswer()); 
- 
- -

See examples in javadoc for Mockito class

-

-

-
Parameters:
classToMock - class or interface to mock
defaultAnswer - default answer for unstubbed methods -
Returns:
mock object
-
-
-
- -

-mock

-
-public static <T> T mock(java.lang.Class<T> classToMock,
-                         MockSettings mockSettings)
-
-
Creates a mock with some non-standard settings. -

- The number of configuration points for a mock grows - so we need a fluent way to introduce new configuration without adding more and more overloaded Mockito.mock() methods. - Hence MockSettings. -

-   Listener mock = mock(Listener.class, withSettings()
-     .name("firstListner").defaultBehavior(RETURNS_SMART_NULLS));
-   );  
- 
- Use it carefully and occasionally. What might be reason your test needs non-standard mocks? - Is the code under test so complicated that it requires non-standard mocks? - Wouldn't you prefer to refactor the code under test so it is testable in a simple way? -

- See also withSettings() -

- See examples in javadoc for Mockito class -

-

-
Parameters:
classToMock - class or interface to mock
mockSettings - additional mock settings -
Returns:
mock object
-
-
-
- -

-spy

-
-public static <T> T spy(T object)
-
-
Creates a spy of the real object. The spy calls real methods unless they are stubbed. -

- Real spies should be used carefully and occasionally, for example when dealing with legacy code. -

- As usual you are going to read the partial mock warning: - Object oriented programming is more less tackling complexity by dividing the complexity into separate, specific, SRPy objects. - How does partial mock fit into this paradigm? Well, it just doesn't... - Partial mock usually means that the complexity has been moved to a different method on the same object. - In most cases, this is not the way you want to design your application. -

- However, there are rare cases when partial mocks come handy: - dealing with code you cannot change easily (3rd party interfaces, interim refactoring of legacy code etc.) - However, I wouldn't use partial mocks for new, test-driven & well-designed code. -

- Example: - -

-   List list = new LinkedList();
-   List spy = spy(list);
- 
-   //optionally, you can stub out some methods:
-   when(spy.size()).thenReturn(100);
- 
-   //using the spy calls real methods
-   spy.add("one");
-   spy.add("two");
- 
-   //prints "one" - the first element of a list
-   System.out.println(spy.get(0));
- 
-   //size() method was stubbed - 100 is printed
-   System.out.println(spy.size());
- 
-   //optionally, you can verify
-   verify(spy).add("one");
-   verify(spy).add("two");
- 
- -

Important gotcha on spying real objects!

- - 1. Sometimes it's impossible to use when(Object) for stubbing spies. Example: - -
-   List list = new LinkedList();
-   List spy = spy(list);
-   
-   //Impossible: real method is called so spy.get(0) throws IndexOutOfBoundsException (the list is yet empty)
-   when(spy.get(0)).thenReturn("foo");
-   
-   //You have to use doReturn() for stubbing
-   doReturn("foo").when(spy).get(0);
- 
- - 2. Watch out for final methods. - Mockito doesn't mock final methods so the bottom line is: when you spy on real objects + you try to stub a final method = trouble. - What will happen is the real method will be called *on mock* but *not on the real instance* you passed to the spy() method. - Typically you may get a NullPointerException because mock instances don't have fields initiated. - -

- See examples in javadoc for Mockito class -

-

-
Parameters:
object - to spy on -
Returns:
a spy of the real object
-
-
-
- -

-stub

-
-public static <T> DeprecatedOngoingStubbing<T> stub(T methodCall)
-
-
Stubs a method call with return value or an exception. E.g: - -
- stub(mock.someMethod()).toReturn(10);
-
- //you can use flexible argument matchers, e.g:
- stub(mock.someMethod(anyString())).toReturn(10);
-
- //setting exception to be thrown:
- stub(mock.someMethod("some arg")).toThrow(new RuntimeException());
-
- //you can stub with different behavior for consecutive method calls.
- //Last stubbing (e.g: toReturn("foo")) determines the behavior for further consecutive calls.
- stub(mock.someMethod("some arg"))
-  .toThrow(new RuntimeException())
-  .toReturn("foo");
- 
-

- Some users find stub() confusing therefore when(Object) is recommended over stub() -

-   //Instead of:
-   stub(mock.count()).toReturn(10);
- 
-   //You can do:
-   when(mock.count()).thenReturn(10);
- 
- For stubbing void methods with throwables see: doThrow(Throwable) -

- Stubbing can be overridden: for example common stubbing can go to fixture - setup but the test methods can override it. - Please note that overridding stubbing is a potential code smell that points out too much stubbing. -

- Once stubbed, the method will always return stubbed value regardless - of how many times it is called. -

- Last stubbing is more important - when you stubbed the same method with - the same arguments many times. -

- Although it is possible to verify a stubbed invocation, usually it's just redundant. - Let's say you've stubbed foo.bar(). - If your code cares what foo.bar() returns then something else breaks(often before even verify() gets executed). - If your code doesn't care what get(0) returns then it should not be stubbed. - Not convinced? See here. -

-

-
Parameters:
methodCall - method call -
Returns:
DeprecatedOngoingStubbing object to set stubbed value/exception
-
-
-
- -

-when

-
-public static <T> OngoingStubbing<T> when(T methodCall)
-
-
Enables stubbing methods. Use it when you want the mock to return particular value when particular method is called. -

- Simply put: "When the x method is called then return y". -

- when() is a successor of deprecated stub(Object) -

- Examples: - -

- when(mock.someMethod()).thenReturn(10);
-
- //you can use flexible argument matchers, e.g:
- when(mock.someMethod(anyString())).thenReturn(10);
-
- //setting exception to be thrown:
- when(mock.someMethod("some arg")).thenThrow(new RuntimeException());
-
- //you can set different behavior for consecutive method calls.
- //Last stubbing (e.g: thenReturn("foo")) determines the behavior of further consecutive calls.
- when(mock.someMethod("some arg"))
-  .thenThrow(new RuntimeException())
-  .thenReturn("foo");
-  
- //Alternative, shorter version for consecutive stubbing:
- when(mock.someMethod("some arg"))
-  .thenReturn("one", "two");
- //is the same as:
- when(mock.someMethod("some arg"))
-  .thenReturn("one")
-  .thenReturn("two");
-
- //shorter version for consecutive method calls throwing exceptions:
- when(mock.someMethod("some arg"))
-  .thenThrow(new RuntimeException(), new NullPointerException();
-   
- 
- - For stubbing void methods with throwables see: doThrow(Throwable) -

- Stubbing can be overridden: for example common stubbing can go to fixture - setup but the test methods can override it. - Please note that overridding stubbing is a potential code smell that points out too much stubbing. -

- Once stubbed, the method will always return stubbed value regardless - of how many times it is called. -

- Last stubbing is more important - when you stubbed the same method with - the same arguments many times. -

- Although it is possible to verify a stubbed invocation, usually it's just redundant. - Let's say you've stubbed foo.bar(). - If your code cares what foo.bar() returns then something else breaks(often before even verify() gets executed). - If your code doesn't care what get(0) returns then it should not be stubbed. - Not convinced? See here. - -

- See examples in javadoc for Mockito class -

-

-
Parameters:
methodCall - method to be stubbed
-
-
-
- -

-verify

-
-public static <T> T verify(T mock)
-
-
Verifies certain behavior happened once -

- Alias to verify(mock, times(1)) E.g: -

-   verify(mock).someMethod("some arg");
- 
- Above is equivalent to: -
-   verify(mock, times(1)).someMethod("some arg");
- 
-

- Arguments passed are compared using equals() method. - Read about ArgumentCaptor or ArgumentMatcher to find out other ways of matching / asserting arguments passed. -

- Although it is possible to verify a stubbed invocation, usually it's just redundant. - Let's say you've stubbed foo.bar(). - If your code cares what foo.bar() returns then something else breaks(often before even verify() gets executed). - If your code doesn't care what get(0) returns then it should not be stubbed. - Not convinced? See here. - -

- See examples in javadoc for Mockito class -

-

-
Parameters:
mock - to be verified -
Returns:
mock object itself
-
-
-
- -

-verify

-
-public static <T> T verify(T mock,
-                           VerificationMode mode)
-
-
Verifies certain behavior happened at least once / exact number of times / never. E.g: -
-   verify(mock, times(5)).someMethod("was called five times");
-
-   verify(mock, atLeast(2)).someMethod("was called at least two times");
-
-   //you can use flexible argument matchers, e.g:
-   verify(mock, atLeastOnce()).someMethod(anyString());
- 
- - times(1) is the default and can be omitted -

- Arguments passed are compared using equals() method. - Read about ArgumentCaptor or ArgumentMatcher to find out other ways of matching / asserting arguments passed. -

-

-

-
Parameters:
mock - to be verified
mode - times(x), atLeastOnce() or never() -
Returns:
mock object itself
-
-
-
- -

-reset

-
-public static <T> void reset(T... mocks)
-
-
Smart Mockito users hardly use this feature because they know it could be a sign of poor tests. - Normally, you don't need to reset your mocks, just create new mocks for each test method. -

- Instead of reset() please consider writing simple, small and focused test methods over lengthy, over-specified tests. - First potential code smell is reset() in the middle of the test method. This probably means you're testing too much. - Follow the whisper of your test methods: "Please keep us small & focused on single behavior". - There are several threads about it on mockito mailing list. -

- The only reason we added reset() method is to - make it possible to work with container-injected mocks. - See issue 55 (here) - or FAQ (here). -

- Don't harm yourself. reset() in the middle of the test method is a code smell (you're probably testing too much). -

-   List mock = mock(List.class);
-   when(mock.size()).thenReturn(10);
-   mock.add(1);
-
-   reset(mock);
-   //at this point the mock forgot any interactions & stubbing
- 
-

-

-
Type Parameters:
T -
Parameters:
mocks - to be reset
-
-
-
- -

-verifyNoMoreInteractions

-
-public static void verifyNoMoreInteractions(java.lang.Object... mocks)
-
-
Checks if any of given mocks has any unverified interaction. -

- You can use this method after you verified your mocks - to make sure that nothing - else was invoked on your mocks. -

- See also never() - it is more explicit and communicates the intent well. -

- Stubbed invocations (if called) are also treated as interactions. -

- A word of warning: - Some users who did a lot of classic, expect-run-verify mocking tend to use verifyNoMoreInteractions() very often, even in every test method. - verifyNoMoreInteractions() is not recommended to use in every test method. - verifyNoMoreInteractions() is a handy assertion from the interaction testing toolkit. Use it only when it's relevant. - Abusing it leads to overspecified, less maintainable tests. You can find further reading - here. -

- This method will also detect unverified invocations that occurred before the test method, - for example: in setUp(), @Before method or in constructor. - Consider writing nice code that makes interactions only in test methods. - -

- Example: - -

- //interactions
- mock.doSomething();
- mock.doSomethingUnexpected();
- 
- //verification
- verify(mock).doSomething();
- 
- //following will fail because 'doSomethingUnexpected()' is unexpected
- verifyNoMoreInteractions(mock);
- 
- 
- - See examples in javadoc for Mockito class -

-

-
Parameters:
mocks - to be verified
-
-
-
- -

-verifyZeroInteractions

-
-public static void verifyZeroInteractions(java.lang.Object... mocks)
-
-
Verifies that no interactions happened on given mocks. -
-   verifyZeroInteractions(mockOne, mockTwo);
- 
- This method will also detect invocations - that occurred before the test method, for example: in setUp(), @Before method or in constructor. - Consider writing nice code that makes interactions only in test methods. -

- See also never() - it is more explicit and communicates the intent well. -

- See examples in javadoc for Mockito class -

-

-
Parameters:
mocks - to be verified
-
-
-
- -

-stubVoid

-
-public static <T> VoidMethodStubbable<T> stubVoid(T mock)
-
-
Deprecated. Use doThrow(Throwable) method for stubbing voids -

-

-   //Instead of:
-   stubVoid(mock).toThrow(e).on().someVoidMethod();
- 
-   //Please do:
-   doThrow(e).when(mock).someVoidMethod();
- 
- - doThrow() replaces stubVoid() because of improved readability and consistency with the family of doAnswer() methods. -

- Originally, stubVoid() was used for stubbing void methods with exceptions. E.g: - -

- stubVoid(mock).toThrow(new RuntimeException()).on().someMethod();
- 
- //you can stub with different behavior for consecutive calls.
- //Last stubbing (e.g. toReturn()) determines the behavior for further consecutive calls.   
- stubVoid(mock)
-   .toThrow(new RuntimeException())
-   .toReturn()
-   .on().someMethod();
- 
- - See examples in javadoc for Mockito class -

-

-
Parameters:
mock - to stub -
Returns:
stubbable object that allows stubbing with throwable
-
-
-
- -

-doThrow

-
-public static Stubber doThrow(java.lang.Throwable toBeThrown)
-
-
Use doThrow() when you want to stub the void method with an exception. -

- Stubbing voids requires different approach from when(Object) because the compiler does not like void methods inside brackets... -

- Example: - -

-   doThrow(new RuntimeException()).when(mock).someVoidMethod();
- 
-

-

-
Parameters:
toBeThrown - to be thrown when the stubbed method is called -
Returns:
stubber - to select a method for stubbing
-
-
-
- -

-doCallRealMethod

-
-public static Stubber doCallRealMethod()
-
-
Use doCallRealMethod() when you want to call the real implementation of a method. -

- As usual you are going to read the partial mock warning: - Object oriented programming is more less tackling complexity by dividing the complexity into separate, specific, SRPy objects. - How does partial mock fit into this paradigm? Well, it just doesn't... - Partial mock usually means that the complexity has been moved to a different method on the same object. - In most cases, this is not the way you want to design your application. -

- However, there are rare cases when partial mocks come handy: - dealing with code you cannot change easily (3rd party interfaces, interim refactoring of legacy code etc.) - However, I wouldn't use partial mocks for new, test-driven & well-designed code. -

- See also javadoc spy(Object) to find out more about partial mocks. - Mockito.spy() is a recommended way of creating partial mocks. - The reason is it guarantees real methods are called against correctly constructed object because you're responsible for constructing the object passed to spy() method. -

- Example: -

-   Foo mock = mock(Foo.class);
-   doCallRealMethod().when(mock).someVoidMethod();
-
-   // this will call the real implementation of Foo.someVoidMethod()
-   mock.someVoidMethod();
- 
-

- See examples in javadoc for Mockito class -

-

- -
Returns:
stubber - to select a method for stubbing
-
-
-
- -

-doAnswer

-
-public static Stubber doAnswer(Answer answer)
-
-
Use doAnswer() when you want to stub a void method with generic Answer. -

- Stubbing voids requires different approach from when(Object) because the compiler does not like void methods inside brackets... -

- Example: - -

-  doAnswer(new Answer() {
-      public Object answer(InvocationOnMock invocation) {
-          Object[] args = invocation.getArguments();
-          Mock mock = invocation.getMock();
-          return null;
-      }})
-  .when(mock).someMethod();
- 
-

- See examples in javadoc for Mockito class -

-

-
Parameters:
answer - to answer when the stubbed method is called -
Returns:
stubber - to select a method for stubbing
-
-
-
- -

-doNothing

-
-public static Stubber doNothing()
-
-
Use doNothing() for setting void methods to do nothing. Beware that void methods on mocks do nothing by default! - However, there are rare situations when doNothing() comes handy: -

- 1. Stubbing consecutive calls on a void method: -

-   doNothing().
-   doThrow(new RuntimeException())
-   .when(mock).someVoidMethod();
-   
-   //does nothing the first time:
-   mock.someVoidMethod();
-   
-   //throws RuntimeException the next time:
-   mock.someVoidMethod();
- 
- - 2. When you spy real objects and you want the void method to do nothing: -
-   List list = new LinkedList();
-   List spy = spy(list);
-   
-   //let's make clear() do nothing
-   doNothing().when(spy).clear();
-   
-   spy.add("one");
-   
-   //clear() does nothing, so the list still contains "one"
-   spy.clear();
- 
-

- See examples in javadoc for Mockito class -

-

- -
Returns:
stubber - to select a method for stubbing
-
-
-
- -

-doReturn

-
-public static Stubber doReturn(java.lang.Object toBeReturned)
-
-
Use doReturn() in those rare occasions when you cannot use when(Object). -

- Beware that when(Object) is always recommended for stubbing because it is argument type-safe - and more readable (especially when stubbing consecutive calls). -

- Here are those rare occasions when doReturn() comes handy: -

- - 1. When spying real objects and calling real methods on a spy brings side effects - -

-   List list = new LinkedList();
-   List spy = spy(list);
-   
-   //Impossible: real method is called so spy.get(0) throws IndexOutOfBoundsException (the list is yet empty)
-   when(spy.get(0)).thenReturn("foo");
-   
-   //You have to use doReturn() for stubbing:
-   doReturn("foo").when(spy).get(0);
- 
- - 2. Overriding a previous exception-stubbing: - -
-   when(mock.foo()).thenThrow(new RuntimeException());
-   
-   //Impossible: the exception-stubbed foo() method is called so RuntimeException is thrown. 
-   when(mock.foo()).thenReturn("bar");
-   
-   //You have to use doReturn() for stubbing:
-   doReturn("bar").when(mock).foo();
- 
- - Above scenarios shows a tradeoff of Mockito's ellegant syntax. Note that the scenarios are very rare, though. - Spying should be sporadic and overriding exception-stubbing is very rare. Not to mention that in general - overridding stubbing is a potential code smell that points out too much stubbing. -

- See examples in javadoc for Mockito class -

-

-
Parameters:
toBeReturned - to be returned when the stubbed method is called -
Returns:
stubber - to select a method for stubbing
-
-
-
- -

-inOrder

-
-public static InOrder inOrder(java.lang.Object... mocks)
-
-
Creates InOrder object that allows verifying mocks in order. - -
-   InOrder inOrder = inOrder(firstMock, secondMock);
-   
-   inOrder.verify(firstMock).add("was called first");
-   inOrder.verify(secondMock).add("was called second");
- 
- - Verification in order is flexible - you don't have to verify all interactions one-by-one - but only those that you are interested in testing in order. -

- Also, you can create InOrder object passing only mocks that are relevant for in-order verification. -

- InOrder verification is 'greedy'. You will hardly every notice it but - if you want to find out more search for 'greedy' on the Mockito - wiki pages. -

- As of Mockito 1.8.4 you can verifyNoMoreInvocations() in order-sensitive way. Read more: InOrder.verifyNoMoreInteractions() -

- See examples in javadoc for Mockito class -

-

-
Parameters:
mocks - to be verified in order -
Returns:
InOrder object to be used to verify in order
-
-
-
- -

-times

-
-public static VerificationMode times(int wantedNumberOfInvocations)
-
-
Allows verifying exact number of invocations. E.g: -
-   verify(mock, times(2)).someMethod("some arg");
- 
- - See examples in javadoc for Mockito class -

-

-
Parameters:
wantedNumberOfInvocations - wanted number of invocations -
Returns:
verification mode
-
-
-
- -

-never

-
-public static VerificationMode never()
-
-
Alias to times(0), see times(int) -

- Verifies that interaction did not happen. E.g: -

-   verify(mock, never()).someMethod();
- 
- -

- If you want to verify there were NO interactions with the mock - check out verifyZeroInteractions(Object...) - or verifyNoMoreInteractions(Object...) -

- See examples in javadoc for Mockito class -

-

- -
Returns:
verification mode
-
-
-
- -

-atLeastOnce

-
-public static VerificationMode atLeastOnce()
-
-
Allows at-least-once verification. E.g: -
-   verify(mock, atLeastOnce()).someMethod("some arg");
- 
- Alias to atLeast(1) -

- See examples in javadoc for Mockito class -

-

- -
Returns:
verification mode
-
-
-
- -

-atLeast

-
-public static VerificationMode atLeast(int minNumberOfInvocations)
-
-
Allows at-least-x verification. E.g: -
-   verify(mock, atLeast(3)).someMethod("some arg");
- 
- - See examples in javadoc for Mockito class -

-

-
Parameters:
minNumberOfInvocations - minimum number of invocations -
Returns:
verification mode
-
-
-
- -

-atMost

-
-public static VerificationMode atMost(int maxNumberOfInvocations)
-
-
Allows at-most-x verification. E.g: -
-   verify(mock, atMost(3)).someMethod("some arg");
- 
- - See examples in javadoc for Mockito class -

-

-
Parameters:
maxNumberOfInvocations - max number of invocations -
Returns:
verification mode
-
-
-
- -

-only

-
-public static VerificationMode only()
-
-
Allows checking if given method was the only one invoked. E.g: -
-   verify(mock, only()).someMethod();
-   //above is a shorthand for following 2 lines of code:
-   verify(mock).someMethod();
-   verifyNoMoreInvocations(mock);
- 
- -

- See also verifyNoMoreInteractions(Object...) -

- See examples in javadoc for Mockito class -

-

- -
Returns:
verification mode
-
-
-
- -

-timeout

-
-public static VerificationWithTimeout timeout(int millis)
-
-
Allows verifying with timeout. May be useful for testing in concurrent conditions. -

- It feels this feature should be used rarely - figure out a better way of testing your multi-threaded system -

- Not yet implemented to work with InOrder verification. -

-   //passes when someMethod() is called within given time span 
-   verify(mock, timeout(100)).someMethod();
-   //above is an alias to:
-   verify(mock, timeout(100).times(1)).someMethod();
-   
-   //passes when someMethod() is called *exactly* 2 times within given time span
-   verify(mock, timeout(100).times(2)).someMethod();
-
-   //passes when someMethod() is called *at lest* 2 times within given time span
-   verify(mock, timeout(100).atLeast(2)).someMethod();
-   
-   //verifies someMethod() within given time span using given verification mode
-   //useful only if you have your own custom verification modes.
-   verify(mock, new Timeout(100, yourOwnVerificationMode)).someMethod();
- 
- - See examples in javadoc for Mockito class -

-

-
Parameters:
millis - - time span in millis -
Returns:
verification mode
-
-
-
- -

-validateMockitoUsage

-
-public static void validateMockitoUsage()
-
-
First of all, in case of any trouble, I encourage you to read the Mockito FAQ: http://code.google.com/p/mockito/wiki/FAQ -

- In case of questions you may also post to mockito mailing list: http://groups.google.com/group/mockito -

- validateMockitoUsage() explicitly validates the framework state to detect invalid use of Mockito. - However, this feature is optional because Mockito validates the usage all the time... but there is a gotcha so read on. -

- Examples of incorrect use: -

- //Oups, someone forgot thenReturn() part:
- when(mock.get());
- 
- //Oups, someone put the verified method call inside verify() where it should be outside:
- verify(mock.execute());
- 
- //Oups, someone has used EasyMock for too long and forgot to specify the method to verify:
- verify(mock);
- 
- - Mockito throws exceptions if you misuse it so that you know if your tests are written correctly. - The gotcha is that Mockito does the validation next time you use the framework (e.g. next time you verify, stub, call mock etc.). - But even though the exception might be thrown in the next test, - the exception message contains a navigable stack trace element with location of the defect. - Hence you can click and find the place where Mockito was misused. -

- Sometimes though, you might want to validate the framework usage explicitly. - For example, one of the users wanted to put validateMockitoUsage() in his @After method - so that he knows immediately when he misused Mockito. - Without it, he would have known about it not sooner than next time he used the framework. - One more benefit of having validateMockitoUsage() in @After is that jUnit runner will always fail in the test method with defect - whereas ordinary 'next-time' validation might fail the next test method. - But even though JUnit might report next test as red, don't worry about it - and just click at navigable stack trace element in the exception message to instantly locate the place where you misused mockito. -

- Built-in runner: MockitoJUnitRunner does validateMockitoUsage() after each test method. -

- Bear in mind that usually you don't have to validateMockitoUsage() - and framework validation triggered on next-time basis should be just enough, - mainly because of enhanced exception message with clickable location of defect. - However, I would recommend validateMockitoUsage() if you already have sufficient test infrastructure - (like your own runner or base class for all tests) because adding a special action to @After has zero cost. -

- See examples in javadoc for Mockito class -

-

-
-
-
-
- -

-withSettings

-
-public static MockSettings withSettings()
-
-
Allows mock creation with additional mock settings. -

- Don't use it too often. - Consider writing simple tests that use simple mocks. - Repeat after me: simple tests push simple, KISSy, readable & maintainable code. - If you cannot write a test in a simple way - refactor the code under test. -

- Examples of mock settings: -

-   //Creates mock with different default answer & name
-   Foo mock = mock(Foo.class, withSettings()
-       .defaultAnswer(RETURNS_SMART_NULLS)
-       .name("cool mockie"));
-       
-   //Creates mock with different default answer, descriptive name and extra interfaces
-   Foo mock = mock(Foo.class, withSettings()
-       .defaultAnswer(RETURNS_SMART_NULLS)
-       .name("cool mockie")
-       .extraInterfaces(Bar.class));    
- 
- MockSettings has been introduced for two reasons. - Firstly, to make it easy to add another mock settings when the demand comes. - Secondly, to enable combining different mock settings without introducing zillions of overloaded mock() methods. -

- See javadoc for MockSettings to learn about possible mock settings. -

-

-

- -
Returns:
mock settings instance with defaults.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/MockitoAnnotations.Mock.html b/tools/mockito/javadoc/org/mockito/MockitoAnnotations.Mock.html deleted file mode 100644 index a20cd197aa9..00000000000 --- a/tools/mockito/javadoc/org/mockito/MockitoAnnotations.Mock.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - -MockitoAnnotations.Mock (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Annotation Type MockitoAnnotations.Mock

-
-Deprecated. -

-

-
@Target(value=FIELD)
-@Retention(value=RUNTIME)
-@Deprecated
-public static @interface MockitoAnnotations.Mock
- - -

-Use top-level Mock annotation instead -

- When @Mock annotation was implemented as an inner class then users experienced problems with autocomplete features in IDEs. - Hence @Mock was made a top-level class. -

- How to fix deprecation warnings? - Typically, you can just search: import org.mockito.MockitoAnnotations.Mock; and replace with: import org.mockito.Mock; -

- If you're an existing user then sorry for making your code littered with deprecation warnings. - This change was required to make Mockito better. -

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/MockitoAnnotations.html b/tools/mockito/javadoc/org/mockito/MockitoAnnotations.html deleted file mode 100644 index 3ea023518d7..00000000000 --- a/tools/mockito/javadoc/org/mockito/MockitoAnnotations.html +++ /dev/null @@ -1,313 +0,0 @@ - - - - - - -MockitoAnnotations (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Class MockitoAnnotations

-
-java.lang.Object
-  extended by org.mockito.MockitoAnnotations
-
-
-
-
public class MockitoAnnotations
extends java.lang.Object
- - -

-MockitoAnnotations.initMocks(this); initializes fields annotated with Mockito annotations. -

-

    -
  • Allows shorthand creation of objects required for testing.
  • -
  • Minimizes repetitive mock creation code.
  • -
  • Makes the test class more readable.
  • -
  • Makes the verification error easier to read because field name is used to identify the mock.
  • -
- -
-   public class ArticleManagerTest extends SampleBaseTestCase { 
-     
-       @Mock private ArticleCalculator calculator;
-       @Mock private ArticleDatabase database;
-       @Mock private UserProvider userProvider;
-     
-       private ArticleManager manager;
-     
-       @Before public void setup() {
-           manager = new ArticleManager(userProvider, database, calculator);
-       }
-   }
-   
-   public class SampleBaseTestCase {
-   
-       @Before public void initMocks() {
-           MockitoAnnotations.initMocks(this);
-       }
-   }
- 
-

- Read also about other annotations @Spy, @Captor, @InjectMocks -

- MockitoAnnotations.initMocks(this) method has to called to initialize annotated fields. -

- In above example, initMocks() is called in @Before (JUnit4) method of test's base class. - For JUnit3 initMocks() can go to setup() method of a base class. - You can also put initMocks() in your JUnit runner (@RunWith) or use built-in runner: MockitoJUnitRunner -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-static interfaceMockitoAnnotations.Mock - -
-          Deprecated. 
-  - - - - - - - - - - -
-Constructor Summary
MockitoAnnotations() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-static voidinitMocks(java.lang.Object testClass) - -
-          Initializes objects annotated with Mockito annotations for given testClass: - @Mock, @Spy, @Captor, @InjectMocks
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockitoAnnotations

-
-public MockitoAnnotations()
-
-
- - - - - - - - -
-Method Detail
- -

-initMocks

-
-public static void initMocks(java.lang.Object testClass)
-
-
Initializes objects annotated with Mockito annotations for given testClass: - @Mock, @Spy, @Captor, @InjectMocks -

- See examples in javadoc for MockitoAnnotations class. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/MockitoDebugger.html b/tools/mockito/javadoc/org/mockito/MockitoDebugger.html deleted file mode 100644 index 45251e0b746..00000000000 --- a/tools/mockito/javadoc/org/mockito/MockitoDebugger.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -MockitoDebugger (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Interface MockitoDebugger

-
-
All Known Implementing Classes:
MockitoDebuggerImpl
-
-
-
-
public interface MockitoDebugger
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- java.lang.StringprintInvocations(java.lang.Object... mocks) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-printInvocations

-
-java.lang.String printInvocations(java.lang.Object... mocks)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/ReturnValues.html b/tools/mockito/javadoc/org/mockito/ReturnValues.html deleted file mode 100644 index fb539421057..00000000000 --- a/tools/mockito/javadoc/org/mockito/ReturnValues.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -ReturnValues (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Interface ReturnValues

-
-Deprecated. Instead, please use Answer interface -

- In rare cases your code might not compile with recent deprecation & changes. - Very sorry for inconvenience but it had to be done in order to keep framework consistent. -

- Why it is deprecated? ReturnValues is being replaced by Answer - for better consistency & interoperability of the framework. - Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues. - There's no point in mainting exactly the same interfaces. -

- Configures return values for an unstubbed invocation -

- Can be used in Mockito.mock(Class, ReturnValues) -

-

-
@Deprecated
-public interface ReturnValues
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- java.lang.ObjectvalueFor(InvocationOnMock invocation) - -
-          Deprecated. return value for an unstubbed invocation
-  -

- - - - - - - - -
-Method Detail
- -

-valueFor

-
-java.lang.Object valueFor(InvocationOnMock invocation)
-                          throws java.lang.Throwable
-
-
Deprecated. 
return value for an unstubbed invocation -

-

-
Parameters:
invocation - placeholder for mock and a method -
Returns:
the return value -
Throws: -
java.lang.Throwable
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/Spy.html b/tools/mockito/javadoc/org/mockito/Spy.html deleted file mode 100644 index 3ba0a6821e0..00000000000 --- a/tools/mockito/javadoc/org/mockito/Spy.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Spy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito -
-Annotation Type Spy

-
-
-
@Retention(value=RUNTIME)
-@Target(value=FIELD)
-@Documented
-public @interface Spy
- - -

-Allows shorthand wrapping of field instances in an spy object. - -

- Example: - -

- public class Test{
-    @Spy Foo spyOnFoo = new Foo();
-    @Before
-    public void init(){
-       MockitoAnnotations.initMocks(this);
-    }
-    ...
- }
- 
-

- Same as doing: - -

- Foo spyOnFoo = Mockito.spy(new Foo());
- 
- - Warning if you call MockitoAnnotations.initMocks(this) in a - super class constructor then this will not work. It is because fields - in subclass are only instantiated after super class constructor has returned. - It's better to use @Before. -

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/AdditionalMatchers.html b/tools/mockito/javadoc/org/mockito/class-use/AdditionalMatchers.html deleted file mode 100644 index 89d8a90a512..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/AdditionalMatchers.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.AdditionalMatchers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.AdditionalMatchers

-
-No usage of org.mockito.AdditionalMatchers -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/Answers.html b/tools/mockito/javadoc/org/mockito/class-use/Answers.html deleted file mode 100644 index 5b7e93ac323..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/Answers.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - -Uses of Class org.mockito.Answers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.Answers

-
- - - - - - - - - -
-Packages that use Answers
org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
-  -

- - - - - -
-Uses of Answers in org.mockito
-  -

- - - - - - - - - - - - - -
Methods in org.mockito that return Answers
-static AnswersAnswers.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static Answers[]Answers.values() - -
-          Returns an array containing the constants of this enum type, in -the order they're declared.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/ArgumentCaptor.html b/tools/mockito/javadoc/org/mockito/class-use/ArgumentCaptor.html deleted file mode 100644 index c97b03833c8..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/ArgumentCaptor.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - -Uses of Class org.mockito.ArgumentCaptor (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.ArgumentCaptor

-
- - - - - - - - - -
-Packages that use ArgumentCaptor
org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
-  -

- - - - - -
-Uses of ArgumentCaptor in org.mockito
-  -

- - - - - - - - - -
Methods in org.mockito that return ArgumentCaptor
-static - - - - -
-<T> ArgumentCaptor<T>
-
ArgumentCaptor.forClass(java.lang.Class<T> clazz) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/ArgumentMatcher.html b/tools/mockito/javadoc/org/mockito/class-use/ArgumentMatcher.html deleted file mode 100644 index 07463e26572..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/ArgumentMatcher.html +++ /dev/null @@ -1,389 +0,0 @@ - - - - - - -Uses of Class org.mockito.ArgumentMatcher (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.ArgumentMatcher

-
- - - - - - - - - - - - - -
-Packages that use ArgumentMatcher
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
org.mockito.internal.matchers.apachecommonsArgument matchers that use Apache Commons Lang reflection-equality. 
-  -

- - - - - -
-Uses of ArgumentMatcher in org.mockito.internal.matchers
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Subclasses of ArgumentMatcher in org.mockito.internal.matchers
- classAnd - -
-           
- classAny - -
-           
- classAnyVararg - -
-           
- classArrayEquals - -
-           
- classCapturingMatcher<T> - -
-           
- classCompareEqual<T extends Comparable<T>> - -
-           
- classCompareTo<T extends Comparable<T>> - -
-           
- classContains - -
-           
- classEndsWith - -
-           
- classEquals - -
-           
- classEqualsWithDelta - -
-           
- classFind - -
-           
- classGreaterOrEqual<T extends Comparable<T>> - -
-           
- classGreaterThan<T extends Comparable<T>> - -
-           
- classInstanceOf - -
-           
- classLessOrEqual<T extends Comparable<T>> - -
-           
- classLessThan<T extends Comparable<T>> - -
-           
- classMatches - -
-           
- classNot - -
-           
- classNotNull - -
-           
- classNull - -
-           
- classOr - -
-           
- classSame - -
-           
- classStartsWith - -
-           
-  -

- - - - - -
-Uses of ArgumentMatcher in org.mockito.internal.matchers.apachecommons
-  -

- - - - - - - - - -
Subclasses of ArgumentMatcher in org.mockito.internal.matchers.apachecommons
- classReflectionEquals - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.BDDMyOngoingStubbing.html b/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.BDDMyOngoingStubbing.html deleted file mode 100644 index 88dd83a0c2f..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.BDDMyOngoingStubbing.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - -Uses of Interface org.mockito.BDDMockito.BDDMyOngoingStubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.BDDMockito.BDDMyOngoingStubbing

-
- - - - - - - - - -
-Packages that use BDDMockito.BDDMyOngoingStubbing
org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
-  -

- - - - - -
-Uses of BDDMockito.BDDMyOngoingStubbing in org.mockito
-  -

- - - - - - - - - -
Classes in org.mockito that implement BDDMockito.BDDMyOngoingStubbing
-static classBDDMockito.BDDOngoingStubbingImpl<T> - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito that return BDDMockito.BDDMyOngoingStubbing
-static - - - - -
-<T> BDDMockito.BDDMyOngoingStubbing<T>
-
BDDMockito.given(T methodCall) - -
-          see original Mockito.when(Object)
- BDDMockito.BDDMyOngoingStubbing<T>BDDMockito.BDDMyOngoingStubbing.willAnswer(Answer<?> answer) - -
-          See original OngoingStubbing.thenAnswer(Answer)
- BDDMockito.BDDMyOngoingStubbing<T>BDDMockito.BDDOngoingStubbingImpl.willAnswer(Answer<?> answer) - -
-           
- BDDMockito.BDDMyOngoingStubbing<T>BDDMockito.BDDMyOngoingStubbing.willCallRealMethod() - -
-          See original OngoingStubbing.thenCallRealMethod()
- BDDMockito.BDDMyOngoingStubbing<T>BDDMockito.BDDOngoingStubbingImpl.willCallRealMethod() - -
-           
- BDDMockito.BDDMyOngoingStubbing<T>BDDMockito.BDDMyOngoingStubbing.willReturn(T value) - -
-          See original OngoingStubbing.thenReturn(Object)
- BDDMockito.BDDMyOngoingStubbing<T>BDDMockito.BDDOngoingStubbingImpl.willReturn(T value) - -
-           
- BDDMockito.BDDMyOngoingStubbing<T>BDDMockito.BDDMyOngoingStubbing.willReturn(T value, - T... values) - -
-          See original OngoingStubbing.thenReturn(Object, Object...)
- BDDMockito.BDDMyOngoingStubbing<T>BDDMockito.BDDOngoingStubbingImpl.willReturn(T value, - T... values) - -
-           
- BDDMockito.BDDMyOngoingStubbing<T>BDDMockito.BDDMyOngoingStubbing.willThrow(java.lang.Throwable... throwables) - -
-          See original OngoingStubbing.thenThrow(Throwable...)
- BDDMockito.BDDMyOngoingStubbing<T>BDDMockito.BDDOngoingStubbingImpl.willThrow(java.lang.Throwable... throwables) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.BDDOngoingStubbingImpl.html b/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.BDDOngoingStubbingImpl.html deleted file mode 100644 index d68b11cf4e2..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.BDDOngoingStubbingImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.BDDMockito.BDDOngoingStubbingImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.BDDMockito.BDDOngoingStubbingImpl

-
-No usage of org.mockito.BDDMockito.BDDOngoingStubbingImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.BDDStubber.html b/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.BDDStubber.html deleted file mode 100644 index a09eb48d5cc..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.BDDStubber.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - - -Uses of Interface org.mockito.BDDMockito.BDDStubber (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.BDDMockito.BDDStubber

-
- - - - - - - - - -
-Packages that use BDDMockito.BDDStubber
org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
-  -

- - - - - -
-Uses of BDDMockito.BDDStubber in org.mockito
-  -

- - - - - - - - - -
Classes in org.mockito that implement BDDMockito.BDDStubber
-static classBDDMockito.BDDStubberImpl - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito that return BDDMockito.BDDStubber
-static BDDMockito.BDDStubberBDDMockito.willAnswer(Answer answer) - -
-          see original Mockito.doAnswer(Answer)
- BDDMockito.BDDStubberBDDMockito.BDDStubber.willAnswer(Answer answer) - -
-          See original Stubber.doAnswer(Answer)
- BDDMockito.BDDStubberBDDMockito.BDDStubberImpl.willAnswer(Answer answer) - -
-           
-static BDDMockito.BDDStubberBDDMockito.willCallRealMethod() - -
-          see original Mockito.doCallRealMethod()
-static BDDMockito.BDDStubberBDDMockito.willDoNothing() - -
-          see original Mockito.doNothing()
- BDDMockito.BDDStubberBDDMockito.BDDStubber.willNothing() - -
-          See original Stubber.doNothing()
- BDDMockito.BDDStubberBDDMockito.BDDStubberImpl.willNothing() - -
-           
-static BDDMockito.BDDStubberBDDMockito.willReturn(java.lang.Object toBeReturned) - -
-          see original Mockito.doReturn(Object)
- BDDMockito.BDDStubberBDDMockito.BDDStubber.willReturn(java.lang.Object toBeReturned) - -
-          See original Stubber.doReturn(Object)
- BDDMockito.BDDStubberBDDMockito.BDDStubberImpl.willReturn(java.lang.Object toBeReturned) - -
-           
-static BDDMockito.BDDStubberBDDMockito.willThrow(java.lang.Throwable toBeThrown) - -
-          see original Mockito.doThrow(Throwable)
- BDDMockito.BDDStubberBDDMockito.BDDStubber.willThrow(java.lang.Throwable toBeThrown) - -
-          See original Stubber.doThrow(Throwable)
- BDDMockito.BDDStubberBDDMockito.BDDStubberImpl.willThrow(java.lang.Throwable toBeThrown) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.BDDStubberImpl.html b/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.BDDStubberImpl.html deleted file mode 100644 index 4dc1b414b4d..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.BDDStubberImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.BDDMockito.BDDStubberImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.BDDMockito.BDDStubberImpl

-
-No usage of org.mockito.BDDMockito.BDDStubberImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.html b/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.html deleted file mode 100644 index 945b5b52a49..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/BDDMockito.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.BDDMockito (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.BDDMockito

-
-No usage of org.mockito.BDDMockito -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/Captor.html b/tools/mockito/javadoc/org/mockito/class-use/Captor.html deleted file mode 100644 index 483cc04642a..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/Captor.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.Captor (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.Captor

-
-No usage of org.mockito.Captor -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/InOrder.html b/tools/mockito/javadoc/org/mockito/class-use/InOrder.html deleted file mode 100644 index aa2bd99778d..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/InOrder.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - -Uses of Interface org.mockito.InOrder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.InOrder

-
- - - - - - - - - - - - - -
-Packages that use InOrder
org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
org.mockito.internalInternal classes, not to be used by clients. 
-  -

- - - - - -
-Uses of InOrder in org.mockito
-  -

- - - - - - - - - -
Methods in org.mockito that return InOrder
-static InOrderMockito.inOrder(java.lang.Object... mocks) - -
-          Creates InOrder object that allows verifying mocks in order.
-  -

- - - - - -
-Uses of InOrder in org.mockito.internal
-  -

- - - - - - - - - -
Classes in org.mockito.internal that implement InOrder
- classInOrderImpl - -
-          Allows verifying in order.
-  -

- - - - - - - - - -
Methods in org.mockito.internal that return InOrder
- InOrderMockitoCore.inOrder(java.lang.Object... mocks) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/InjectMocks.html b/tools/mockito/javadoc/org/mockito/class-use/InjectMocks.html deleted file mode 100644 index d1fe48114eb..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/InjectMocks.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.InjectMocks (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.InjectMocks

-
-No usage of org.mockito.InjectMocks -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/Matchers.html b/tools/mockito/javadoc/org/mockito/class-use/Matchers.html deleted file mode 100644 index 644f4d87796..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/Matchers.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -Uses of Class org.mockito.Matchers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.Matchers

-
- - - - - - - - - -
-Packages that use Matchers
org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
-  -

- - - - - -
-Uses of Matchers in org.mockito
-  -

- - - - - - - - - - - - - -
Subclasses of Matchers in org.mockito
- classBDDMockito - -
-          Behavior Driven Development style of writing tests uses //given //when //then comments as fundamental parts of your test methods.
- classMockito - -
-          

-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/Mock.html b/tools/mockito/javadoc/org/mockito/class-use/Mock.html deleted file mode 100644 index 7517e7b686f..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/Mock.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.Mock (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.Mock

-
-No usage of org.mockito.Mock -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/MockSettings.html b/tools/mockito/javadoc/org/mockito/class-use/MockSettings.html deleted file mode 100644 index 956ae53c898..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/MockSettings.html +++ /dev/null @@ -1,446 +0,0 @@ - - - - - - -Uses of Interface org.mockito.MockSettings (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.MockSettings

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use MockSettings
org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.creationMock object creation. 
org.mockito.internal.listeners  
org.mockito.internal.progressMocking progress stateful classes. 
-  -

- - - - - -
-Uses of MockSettings in org.mockito
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito that return MockSettings
- MockSettingsMockSettings.defaultAnswer(Answer defaultAnswer) - -
-          Specifies default answers to interactions.
- MockSettingsMockSettings.extraInterfaces(java.lang.Class<?>... interfaces) - -
-          Specifies extra interfaces the mock should implement.
- MockSettingsMockSettings.name(java.lang.String name) - -
-          Specifies mock name.
- MockSettingsMockSettings.serializable() - -
-          Configures the mock to be serializable.
- MockSettingsMockSettings.spiedInstance(java.lang.Object instance) - -
-          Specifies the instance to spy on.
-static MockSettingsMockito.withSettings() - -
-          Allows mock creation with additional mock settings.
-  -

- - - - - - - - - -
Methods in org.mockito with parameters of type MockSettings
-static - - - - -
-<T> T
-
Mockito.mock(java.lang.Class<T> classToMock, - MockSettings mockSettings) - -
-          Creates a mock with some non-standard settings.
-  -

- - - - - -
-Uses of MockSettings in org.mockito.internal
-  -

- - - - - - - - - -
Methods in org.mockito.internal with parameters of type MockSettings
- - - - - -
-<T> T
-
MockitoCore.mock(java.lang.Class<T> classToMock, - MockSettings mockSettings) - -
-           
-  -

- - - - - -
-Uses of MockSettings in org.mockito.internal.creation
-  -

- - - - - - - - - -
Classes in org.mockito.internal.creation that implement MockSettings
- classMockSettingsImpl - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.creation that return MockSettings
- MockSettingsMockSettingsImpl.defaultAnswer(Answer defaultAnswer) - -
-           
- MockSettingsMockSettingsImpl.extraInterfaces(java.lang.Class<?>... extraInterfaces) - -
-           
- MockSettingsMockSettingsImpl.name(java.lang.String name) - -
-           
- MockSettingsMockSettingsImpl.serializable() - -
-           
- MockSettingsMockSettingsImpl.spiedInstance(java.lang.Object spiedInstance) - -
-           
-  -

- - - - - -
-Uses of MockSettings in org.mockito.internal.listeners
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.internal.listeners with parameters of type MockSettings
- voidMockingStartedListener.mockingStarted(java.lang.Object mock, - java.lang.Class classToMock, - MockSettings mockSettings) - -
-           
- voidCollectCreatedMocks.mockingStarted(java.lang.Object mock, - java.lang.Class classToMock, - MockSettings mockSettings) - -
-           
-  -

- - - - - -
-Uses of MockSettings in org.mockito.internal.progress
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.progress with parameters of type MockSettings
- voidThreadSafeMockingProgress.mockingStarted(java.lang.Object mock, - java.lang.Class classToMock, - MockSettings mockSettings) - -
-           
- voidMockingProgressImpl.mockingStarted(java.lang.Object mock, - java.lang.Class classToMock, - MockSettings mockSettings) - -
-           
- voidMockingProgress.mockingStarted(java.lang.Object mock, - java.lang.Class classToMock, - MockSettings mockSettings) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/Mockito.html b/tools/mockito/javadoc/org/mockito/class-use/Mockito.html deleted file mode 100644 index 75938bdc222..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/Mockito.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Class org.mockito.Mockito (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.Mockito

-
- - - - - - - - - -
-Packages that use Mockito
org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
-  -

- - - - - -
-Uses of Mockito in org.mockito
-  -

- - - - - - - - - -
Subclasses of Mockito in org.mockito
- classBDDMockito - -
-          Behavior Driven Development style of writing tests uses //given //when //then comments as fundamental parts of your test methods.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/MockitoAnnotations.Mock.html b/tools/mockito/javadoc/org/mockito/class-use/MockitoAnnotations.Mock.html deleted file mode 100644 index dbaa5541bcf..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/MockitoAnnotations.Mock.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.MockitoAnnotations.Mock (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.MockitoAnnotations.Mock

-
-No usage of org.mockito.MockitoAnnotations.Mock -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/MockitoAnnotations.html b/tools/mockito/javadoc/org/mockito/class-use/MockitoAnnotations.html deleted file mode 100644 index 6bab2e2496a..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/MockitoAnnotations.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.MockitoAnnotations (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.MockitoAnnotations

-
-No usage of org.mockito.MockitoAnnotations -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/MockitoDebugger.html b/tools/mockito/javadoc/org/mockito/class-use/MockitoDebugger.html deleted file mode 100644 index 92639b2210d..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/MockitoDebugger.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Interface org.mockito.MockitoDebugger (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.MockitoDebugger

-
- - - - - - - - - -
-Packages that use MockitoDebugger
org.mockito.internal.debuggingWhatever helps in debugging failed tests 
-  -

- - - - - -
-Uses of MockitoDebugger in org.mockito.internal.debugging
-  -

- - - - - - - - - -
Classes in org.mockito.internal.debugging that implement MockitoDebugger
- classMockitoDebuggerImpl - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/ReturnValues.html b/tools/mockito/javadoc/org/mockito/class-use/ReturnValues.html deleted file mode 100644 index 2350a4173f5..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/ReturnValues.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - -Uses of Interface org.mockito.ReturnValues (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.ReturnValues

-
- - - - - - - - - - - - - - - - - - - - - -
-Packages that use ReturnValues
org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
org.mockito.configurationMockito configuration utilities 
org.mockito.internal.configurationMockito configuration 
org.mockito.internal.stubbing.answersAnswers for stubbed calls 
-  -

- - - - - -
-Uses of ReturnValues in org.mockito
-  -

- - - - - - - - - -
Methods in org.mockito with parameters of type ReturnValues
-static - - - - -
-<T> T
-
Mockito.mock(java.lang.Class<T> classToMock, - ReturnValues returnValues) - -
-          Deprecated. Please use mock(Foo.class, defaultAnswer); -

- See Mockito.mock(Class, Answer) -

- Why it is deprecated? ReturnValues is being replaced by Answer - for better consistency & interoperability of the framework. - Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues. - There's no point in mainting exactly the same interfaces. -

- Creates mock with a specified strategy for its return values. - It's quite advanced feature and typically you don't need it to write decent tests. - However it can be helpful when working with legacy systems. -

- Obviously return values are used only when you don't stub the method call. - -

-   Foo mock = mock(Foo.class, Mockito.RETURNS_SMART_NULLS);
-   Foo mockTwo = mock(Foo.class, new YourOwnReturnValues()); 
- 
- -

See examples in javadoc for Mockito class

-  -

- - - - - -
-Uses of ReturnValues in org.mockito.configuration
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.configuration that return ReturnValues
- ReturnValuesIMockitoConfiguration.getReturnValues() - -
-          Deprecated. Please use IMockitoConfiguration.getDefaultAnswer() -

- Steps: -

- 1. Leave the implementation of getReturnValues() method empty - it's not going to be used anyway. -

- 2. Implement getDefaultAnswer() instead. -

- In rare cases your code might not compile with recent deprecation & changes. - Very sorry for inconvenience but it had to be done in order to keep framework consistent. -

- See javadoc ReturnValues for info why this method was deprecated -

- Allows configuring the default return values of unstubbed invocations -

- See javadoc for IMockitoConfiguration

- ReturnValuesDefaultMockitoConfiguration.getReturnValues() - -
-          Deprecated. 
-  -

- - - - - -
-Uses of ReturnValues in org.mockito.internal.configuration
-  -

- - - - - - - - - -
Methods in org.mockito.internal.configuration that return ReturnValues
- ReturnValuesGlobalConfiguration.getReturnValues() - -
-           
-  -

- - - - - -
-Uses of ReturnValues in org.mockito.internal.stubbing.answers
-  -

- - - - - - - - -
Constructors in org.mockito.internal.stubbing.answers with parameters of type ReturnValues
AnswerReturnValuesAdapter(ReturnValues returnValues) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/class-use/Spy.html b/tools/mockito/javadoc/org/mockito/class-use/Spy.html deleted file mode 100644 index d395eb8f21b..00000000000 --- a/tools/mockito/javadoc/org/mockito/class-use/Spy.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.Spy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.Spy

-
-No usage of org.mockito.Spy -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/configuration/AnnotationEngine.html b/tools/mockito/javadoc/org/mockito/configuration/AnnotationEngine.html deleted file mode 100644 index 427e9775333..00000000000 --- a/tools/mockito/javadoc/org/mockito/configuration/AnnotationEngine.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -AnnotationEngine (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.configuration -
-Interface AnnotationEngine

-
-
All Known Implementing Classes:
DefaultAnnotationEngine, InjectingAnnotationEngine, SpyAnnotationEngine
-
-
-
-
public interface AnnotationEngine
- - -

-Configures mock creation logic behind @Mock, @Captor and @Spy annotations -

- If you are interested then see implementations or source code of MockitoAnnotations.initMocks(Object) -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.ObjectcreateMockFor(java.lang.annotation.Annotation annotation, - java.lang.reflect.Field field) - -
-          Deprecated. Please use AnnotationProcessor 'execute' method instead that is more robust -

- Creates mock, ArgumentCaptor or wraps field instance in spy object. - Only if of correct annotation type.

- voidprocess(java.lang.Class<?> context, - java.lang.Object testClass) - -
-          Allows extending the interface to perform action on specific fields on the test class
-  -

- - - - - - - - -
-Method Detail
- -

-createMockFor

-
-@Deprecated
-java.lang.Object createMockFor(java.lang.annotation.Annotation annotation,
-                                          java.lang.reflect.Field field)
-
-
Deprecated. Please use AnnotationProcessor 'execute' method instead that is more robust -

- Creates mock, ArgumentCaptor or wraps field instance in spy object. - Only if of correct annotation type. -

-

-
Parameters:
annotation -
field -
-
-
-
- -

-process

-
-void process(java.lang.Class<?> context,
-             java.lang.Object testClass)
-
-
Allows extending the interface to perform action on specific fields on the test class -

- See the implementation of this method to figure out what is it for -

-

-
Parameters:
context -
testClass -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/configuration/DefaultMockitoConfiguration.html b/tools/mockito/javadoc/org/mockito/configuration/DefaultMockitoConfiguration.html deleted file mode 100644 index cf0be14fdf0..00000000000 --- a/tools/mockito/javadoc/org/mockito/configuration/DefaultMockitoConfiguration.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -DefaultMockitoConfiguration (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.configuration -
-Class DefaultMockitoConfiguration

-
-java.lang.Object
-  extended by org.mockito.configuration.DefaultMockitoConfiguration
-
-
-
All Implemented Interfaces:
IMockitoConfiguration
-
-
-
-
public class DefaultMockitoConfiguration
extends java.lang.Object
implements IMockitoConfiguration
- - -

-DefaultConfiguration of Mockito framework -

- Currently it doesn't have many configuration options but it will probably change if future. -

- See javadocs for IMockitoConfiguration on info how to configure Mockito -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
DefaultMockitoConfiguration() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancleansStackTrace() - -
-          This should be turned on unless you're a Mockito developer and you wish - to have verbose (read: messy) stack traces that only few understand (eg: - Mockito developers)
- AnnotationEnginegetAnnotationEngine() - -
-          Configures annotations for mocks
- Answer<java.lang.Object>getDefaultAnswer() - -
-          Allows configuring the default answers of unstubbed invocations
- ReturnValuesgetReturnValues() - -
-          Deprecated. 
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-DefaultMockitoConfiguration

-
-public DefaultMockitoConfiguration()
-
-
- - - - - - - - -
-Method Detail
- -

-getReturnValues

-
-@Deprecated
-public ReturnValues getReturnValues()
-
-
Deprecated.  -

-

-
Specified by:
getReturnValues in interface IMockitoConfiguration
-
-
-
-
-
-
- -

-getDefaultAnswer

-
-public Answer<java.lang.Object> getDefaultAnswer()
-
-
Description copied from interface: IMockitoConfiguration
-
Allows configuring the default answers of unstubbed invocations -

- See javadoc for IMockitoConfiguration -

-

-
Specified by:
getDefaultAnswer in interface IMockitoConfiguration
-
-
-
-
-
-
- -

-getAnnotationEngine

-
-public AnnotationEngine getAnnotationEngine()
-
-
Description copied from interface: IMockitoConfiguration
-
Configures annotations for mocks -

- See javadoc for IMockitoConfiguration -

-

-
Specified by:
getAnnotationEngine in interface IMockitoConfiguration
-
-
-
-
-
-
- -

-cleansStackTrace

-
-public boolean cleansStackTrace()
-
-
Description copied from interface: IMockitoConfiguration
-
This should be turned on unless you're a Mockito developer and you wish - to have verbose (read: messy) stack traces that only few understand (eg: - Mockito developers) -

- See javadoc for IMockitoConfiguration -

-

-
Specified by:
cleansStackTrace in interface IMockitoConfiguration
-
-
- -
Returns:
if Mockito should clean stack traces
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/configuration/IMockitoConfiguration.html b/tools/mockito/javadoc/org/mockito/configuration/IMockitoConfiguration.html deleted file mode 100644 index f8142636106..00000000000 --- a/tools/mockito/javadoc/org/mockito/configuration/IMockitoConfiguration.html +++ /dev/null @@ -1,332 +0,0 @@ - - - - - - -IMockitoConfiguration (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.configuration -
-Interface IMockitoConfiguration

-
-
All Known Implementing Classes:
DefaultMockitoConfiguration, GlobalConfiguration
-
-
-
-
public interface IMockitoConfiguration
- - -

-Use it to configure Mockito. For now there are not many configuration options but it may change in future. -

- In most cases you don't really need to configure Mockito. For example in case of working with legacy code, - when you might want to have different 'mocking style' this interface might be helpful. - A reason of configuring Mockito might be if you disagree with the ReturnsEmptyValues unstubbed mocks return. -

- To configure Mockito create exactly org.mockito.configuration.MockitoConfiguration class that implements this interface. -

- Configuring Mockito is completely optional - nothing happens if there isn't any org.mockito.configuration.MockitoConfiguration on the classpath. -

- org.mockito.configuration.MockitoConfiguration must implement IMockitoConfiguration or extend DefaultMockitoConfiguration -

- Mockito will store single instance of org.mockito.configuration.MockitoConfiguration per thread (using ThreadLocal). - For sanity of your tests, don't make the implementation stateful. -

- If you have comments on Mockito configuration feature don't hesitate to write to mockito@googlegroups.com -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancleansStackTrace() - -
-          This should be turned on unless you're a Mockito developer and you wish - to have verbose (read: messy) stack traces that only few understand (eg: - Mockito developers)
- AnnotationEnginegetAnnotationEngine() - -
-          Configures annotations for mocks
- Answer<java.lang.Object>getDefaultAnswer() - -
-          Allows configuring the default answers of unstubbed invocations
- ReturnValuesgetReturnValues() - -
-          Deprecated. Please use getDefaultAnswer() -

- Steps: -

- 1. Leave the implementation of getReturnValues() method empty - it's not going to be used anyway. -

- 2. Implement getDefaultAnswer() instead. -

- In rare cases your code might not compile with recent deprecation & changes. - Very sorry for inconvenience but it had to be done in order to keep framework consistent. -

- See javadoc ReturnValues for info why this method was deprecated -

- Allows configuring the default return values of unstubbed invocations -

- See javadoc for IMockitoConfiguration

-  -

- - - - - - - - -
-Method Detail
- -

-getReturnValues

-
-@Deprecated
-ReturnValues getReturnValues()
-
-
Deprecated. Please use getDefaultAnswer() -

- Steps: -

- 1. Leave the implementation of getReturnValues() method empty - it's not going to be used anyway. -

- 2. Implement getDefaultAnswer() instead. -

- In rare cases your code might not compile with recent deprecation & changes. - Very sorry for inconvenience but it had to be done in order to keep framework consistent. -

- See javadoc ReturnValues for info why this method was deprecated -

- Allows configuring the default return values of unstubbed invocations -

- See javadoc for IMockitoConfiguration -

-

-
-
-
-
- -

-getDefaultAnswer

-
-Answer<java.lang.Object> getDefaultAnswer()
-
-
Allows configuring the default answers of unstubbed invocations -

- See javadoc for IMockitoConfiguration -

-

-
-
-
-
- -

-getAnnotationEngine

-
-AnnotationEngine getAnnotationEngine()
-
-
Configures annotations for mocks -

- See javadoc for IMockitoConfiguration -

-

-
-
-
-
- -

-cleansStackTrace

-
-boolean cleansStackTrace()
-
-
This should be turned on unless you're a Mockito developer and you wish - to have verbose (read: messy) stack traces that only few understand (eg: - Mockito developers) -

- See javadoc for IMockitoConfiguration -

-

- -
Returns:
if Mockito should clean stack traces
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/configuration/class-use/AnnotationEngine.html b/tools/mockito/javadoc/org/mockito/configuration/class-use/AnnotationEngine.html deleted file mode 100644 index 8d2c054f36d..00000000000 --- a/tools/mockito/javadoc/org/mockito/configuration/class-use/AnnotationEngine.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - -Uses of Interface org.mockito.configuration.AnnotationEngine (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.configuration.AnnotationEngine

-
- - - - - - - - - - - - - -
-Packages that use AnnotationEngine
org.mockito.configurationMockito configuration utilities 
org.mockito.internal.configurationMockito configuration 
-  -

- - - - - -
-Uses of AnnotationEngine in org.mockito.configuration
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.configuration that return AnnotationEngine
- AnnotationEngineIMockitoConfiguration.getAnnotationEngine() - -
-          Configures annotations for mocks
- AnnotationEngineDefaultMockitoConfiguration.getAnnotationEngine() - -
-           
-  -

- - - - - -
-Uses of AnnotationEngine in org.mockito.internal.configuration
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.mockito.internal.configuration that implement AnnotationEngine
- classDefaultAnnotationEngine - -
-          Initializes fields annotated with @Mock or @Captor.
- classInjectingAnnotationEngine - -
-          See MockitoAnnotations
- classSpyAnnotationEngine - -
-           
-  -

- - - - - - - - - -
Methods in org.mockito.internal.configuration that return AnnotationEngine
- AnnotationEngineGlobalConfiguration.getAnnotationEngine() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/configuration/class-use/DefaultMockitoConfiguration.html b/tools/mockito/javadoc/org/mockito/configuration/class-use/DefaultMockitoConfiguration.html deleted file mode 100644 index 3e6d381c53f..00000000000 --- a/tools/mockito/javadoc/org/mockito/configuration/class-use/DefaultMockitoConfiguration.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.configuration.DefaultMockitoConfiguration (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.configuration.DefaultMockitoConfiguration

-
-No usage of org.mockito.configuration.DefaultMockitoConfiguration -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/configuration/class-use/IMockitoConfiguration.html b/tools/mockito/javadoc/org/mockito/configuration/class-use/IMockitoConfiguration.html deleted file mode 100644 index 0ddc5869cf6..00000000000 --- a/tools/mockito/javadoc/org/mockito/configuration/class-use/IMockitoConfiguration.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - -Uses of Interface org.mockito.configuration.IMockitoConfiguration (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.configuration.IMockitoConfiguration

-
- - - - - - - - - - - - - -
-Packages that use IMockitoConfiguration
org.mockito.configurationMockito configuration utilities 
org.mockito.internal.configurationMockito configuration 
-  -

- - - - - -
-Uses of IMockitoConfiguration in org.mockito.configuration
-  -

- - - - - - - - - -
Classes in org.mockito.configuration that implement IMockitoConfiguration
- classDefaultMockitoConfiguration - -
-          DefaultConfiguration of Mockito framework
-  -

- - - - - -
-Uses of IMockitoConfiguration in org.mockito.internal.configuration
-  -

- - - - - - - - - -
Classes in org.mockito.internal.configuration that implement IMockitoConfiguration
- classGlobalConfiguration - -
-          Thread-safe wrapper on user-defined org.mockito.configuration.MockitoConfiguration implementation
-  -

- - - - - - - - - -
Methods in org.mockito.internal.configuration that return IMockitoConfiguration
- IMockitoConfigurationClassPathLoader.loadConfiguration() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/configuration/package-frame.html b/tools/mockito/javadoc/org/mockito/configuration/package-frame.html deleted file mode 100644 index 34a11b3e8cf..00000000000 --- a/tools/mockito/javadoc/org/mockito/configuration/package-frame.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - -org.mockito.configuration (Mockito API) - - - - - - - - - - - -org.mockito.configuration - - - - -
-Interfaces  - -
-AnnotationEngine -
-IMockitoConfiguration
- - - - - - -
-Classes  - -
-DefaultMockitoConfiguration
- - - - diff --git a/tools/mockito/javadoc/org/mockito/configuration/package-summary.html b/tools/mockito/javadoc/org/mockito/configuration/package-summary.html deleted file mode 100644 index c2517d2a476..00000000000 --- a/tools/mockito/javadoc/org/mockito/configuration/package-summary.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -org.mockito.configuration (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.configuration -

-Mockito configuration utilities -

-See: -
-          Description -

- - - - - - - - - - - - - -
-Interface Summary
AnnotationEngineConfigures mock creation logic behind @Mock, @Captor and @Spy annotations
IMockitoConfigurationUse it to configure Mockito.
-  - -

- - - - - - - - - -
-Class Summary
DefaultMockitoConfigurationDefaultConfiguration of Mockito framework
-  - -

-

-Package org.mockito.configuration Description -

- -

-Mockito configuration utilities -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/configuration/package-tree.html b/tools/mockito/javadoc/org/mockito/configuration/package-tree.html deleted file mode 100644 index 9431e61d270..00000000000 --- a/tools/mockito/javadoc/org/mockito/configuration/package-tree.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - -org.mockito.configuration Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.configuration -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/configuration/package-use.html b/tools/mockito/javadoc/org/mockito/configuration/package-use.html deleted file mode 100644 index 9c35b647fa6..00000000000 --- a/tools/mockito/javadoc/org/mockito/configuration/package-use.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - -Uses of Package org.mockito.configuration (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.configuration

-
- - - - - - - - - - - - - -
-Packages that use org.mockito.configuration
org.mockito.configurationMockito configuration utilities 
org.mockito.internal.configurationMockito configuration 
-  -

- - - - - - - - - - - -
-Classes in org.mockito.configuration used by org.mockito.configuration
AnnotationEngine - -
-          Configures mock creation logic behind @Mock, @Captor and @Spy annotations
IMockitoConfiguration - -
-          Use it to configure Mockito.
-  -

- - - - - - - - - - - -
-Classes in org.mockito.configuration used by org.mockito.internal.configuration
AnnotationEngine - -
-          Configures mock creation logic behind @Mock, @Captor and @Spy annotations
IMockitoConfiguration - -
-          Use it to configure Mockito.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/Discrepancy.html b/tools/mockito/javadoc/org/mockito/exceptions/Discrepancy.html deleted file mode 100644 index ec2bd7a9878..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/Discrepancy.html +++ /dev/null @@ -1,311 +0,0 @@ - - - - - - -Discrepancy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions -
-Class Discrepancy

-
-java.lang.Object
-  extended by org.mockito.exceptions.Discrepancy
-
-
-
Direct Known Subclasses:
AtLeastDiscrepancy
-
-
-
-
public class Discrepancy
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Discrepancy(int wantedCount, - int actualCount) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intgetActualCount() - -
-           
- java.lang.StringgetPluralizedActualCount() - -
-           
- java.lang.StringgetPluralizedWantedCount() - -
-           
- intgetWantedCount() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Discrepancy

-
-public Discrepancy(int wantedCount,
-                   int actualCount)
-
-
- - - - - - - - -
-Method Detail
- -

-getWantedCount

-
-public int getWantedCount()
-
-
-
-
-
-
- -

-getPluralizedWantedCount

-
-public java.lang.String getPluralizedWantedCount()
-
-
-
-
-
-
- -

-getActualCount

-
-public int getActualCount()
-
-
-
-
-
-
- -

-getPluralizedActualCount

-
-public java.lang.String getPluralizedActualCount()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/Pluralizer.html b/tools/mockito/javadoc/org/mockito/exceptions/Pluralizer.html deleted file mode 100644 index ad1724c3dae..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/Pluralizer.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -Pluralizer (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions -
-Class Pluralizer

-
-java.lang.Object
-  extended by org.mockito.exceptions.Pluralizer
-
-
-
-
public class Pluralizer
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Pluralizer() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-static java.lang.Stringpluralize(int number) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Pluralizer

-
-public Pluralizer()
-
-
- - - - - - - - -
-Method Detail
- -

-pluralize

-
-public static java.lang.String pluralize(int number)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/PrintableInvocation.html b/tools/mockito/javadoc/org/mockito/exceptions/PrintableInvocation.html deleted file mode 100644 index d17b8bbda47..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/PrintableInvocation.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - -PrintableInvocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions -
-Interface PrintableInvocation

-
-
All Known Subinterfaces:
VerificationAwareInvocation
-
-
-
All Known Implementing Classes:
Invocation, InvocationMatcher, StubbedInvocationMatcher
-
-
-
-
public interface PrintableInvocation
- - -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- LocationgetLocation() - -
-           
- java.lang.StringtoString() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-toString

-
-java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
-
- -

-getLocation

-
-Location getLocation()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/Reporter.html b/tools/mockito/javadoc/org/mockito/exceptions/Reporter.html deleted file mode 100644 index 5ab75c7e883..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/Reporter.html +++ /dev/null @@ -1,1160 +0,0 @@ - - - - - - -Reporter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions -
-Class Reporter

-
-java.lang.Object
-  extended by org.mockito.exceptions.Reporter
-
-
-
-
public class Reporter
extends java.lang.Object
- - -

-Reports verification and misusing errors. -

- One of the key points of mocking library is proper verification/exception - messages. All messages in one place makes it easier to tune and amend them. -

- Reporter can be injected and therefore is easily testable. -

- Generally, exception messages are full of line breaks to make them easy to - read (xunit plugins take only fraction of screen on modern IDEs). -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Reporter() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidargumentsAreDifferent(java.lang.String wanted, - java.lang.String actual, - Location actualLocation) - -
-           
- voidcannotCallRealMethodOnInterface() - -
-           
- voidcannotMockFinalClass(java.lang.Class<?> clazz) - -
-           
- voidcannotStubVoidMethodWithAReturnValue(java.lang.String methodName) - -
-           
- voidcannotStubWithNullThrowable() - -
-           
- voidcannotVerifyToString() - -
-           
- voidcheckedExceptionInvalid(java.lang.Throwable t) - -
-           
- voidextraInterfacesAcceptsOnlyInterfaces(java.lang.Class<?> wrongType) - -
-           
- voidextraInterfacesCannotContainMockedType(java.lang.Class<?> wrongType) - -
-           
- voidextraInterfacesDoesNotAcceptNullParameters() - -
-           
- voidextraInterfacesRequiresAtLeastOneInterface() - -
-           
- voidinjectMockAnnotationFieldIsNull(java.lang.String field) - -
-           
- voidinOrderRequiresFamiliarMock() - -
-           
- voidinvalidUseOfMatchers(int expectedMatchersCount, - int recordedMatchersCount) - -
-           
- voidmisplacedArgumentMatcher(Location location) - -
-           
- voidmissingMethodInvocation() - -
-           
- voidmockedTypeIsInconsistentWithSpiedInstanceType(java.lang.Class<?> mockedType, - java.lang.Object spiedInstance) - -
-           
- voidmocksHaveToBePassedToVerifyNoMoreInteractions() - -
-           
- voidmocksHaveToBePassedWhenCreatingInOrder() - -
-           
- voidmoreThanOneAnnotationNotAllowed(java.lang.String fieldName) - -
-           
- voidneverWantedButInvoked(PrintableInvocation wanted, - Location firstUndesired) - -
-           
- voidnoArgumentValueWasCaptured() - -
-           
- voidnoMoreInteractionsWanted(Invocation undesired, - java.util.List<VerificationAwareInvocation> invocations) - -
-           
- voidnoMoreInteractionsWantedInOrder(Invocation undesired) - -
-           
- voidnotAMockPassedToVerify() - -
-           
- voidnotAMockPassedToVerifyNoMoreInteractions() - -
-           
- voidnotAMockPassedToWhenMethod() - -
-           
- voidnotAMockPassedWhenCreatingInOrder() - -
-           
- voidnullPassedToVerify() - -
-           
- voidnullPassedToVerifyNoMoreInteractions() - -
-           
- voidnullPassedToWhenMethod() - -
-           
- voidnullPassedWhenCreatingInOrder() - -
-           
- voidonlyVoidMethodsCanBeSetToDoNothing() - -
-           
- voidsmartNullPointerException(Location location) - -
-           
- voidtooLittleActualInvocations(Discrepancy discrepancy, - PrintableInvocation wanted, - Location lastActualLocation) - -
-           
- voidtooLittleActualInvocationsInOrder(Discrepancy discrepancy, - PrintableInvocation wanted, - Location lastActualLocation) - -
-           
- voidtooManyActualInvocations(int wantedCount, - int actualCount, - PrintableInvocation wanted, - Location firstUndesired) - -
-           
- voidtooManyActualInvocationsInOrder(int wantedCount, - int actualCount, - PrintableInvocation wanted, - Location firstUndesired) - -
-           
- voidunfinishedStubbing(Location location) - -
-           
- voidunfinishedVerificationException(Location location) - -
-           
- voidunsupportedCombinationOfAnnotations(java.lang.String undesiredAnnotationOne, - java.lang.String undesiredAnnotationTwo) - -
-           
- voidwantedAtMostX(int maxNumberOfInvocations, - int foundSize) - -
-           
- voidwantedButNotInvoked(PrintableInvocation wanted) - -
-           
- voidwantedButNotInvoked(PrintableInvocation wanted, - java.util.List<? extends PrintableInvocation> invocations) - -
-           
- voidwantedButNotInvokedInOrder(PrintableInvocation wanted, - PrintableInvocation previous) - -
-           
- voidwrongTypeOfReturnValue(java.lang.String expectedType, - java.lang.String actualType, - java.lang.String methodName) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Reporter

-
-public Reporter()
-
-
- - - - - - - - -
-Method Detail
- -

-checkedExceptionInvalid

-
-public void checkedExceptionInvalid(java.lang.Throwable t)
-
-
-
-
-
-
- -

-cannotStubWithNullThrowable

-
-public void cannotStubWithNullThrowable()
-
-
-
-
-
-
- -

-unfinishedStubbing

-
-public void unfinishedStubbing(Location location)
-
-
-
-
-
-
- -

-missingMethodInvocation

-
-public void missingMethodInvocation()
-
-
-
-
-
-
- -

-unfinishedVerificationException

-
-public void unfinishedVerificationException(Location location)
-
-
-
-
-
-
- -

-notAMockPassedToVerify

-
-public void notAMockPassedToVerify()
-
-
-
-
-
-
- -

-nullPassedToVerify

-
-public void nullPassedToVerify()
-
-
-
-
-
-
- -

-notAMockPassedToWhenMethod

-
-public void notAMockPassedToWhenMethod()
-
-
-
-
-
-
- -

-nullPassedToWhenMethod

-
-public void nullPassedToWhenMethod()
-
-
-
-
-
-
- -

-mocksHaveToBePassedToVerifyNoMoreInteractions

-
-public void mocksHaveToBePassedToVerifyNoMoreInteractions()
-
-
-
-
-
-
- -

-notAMockPassedToVerifyNoMoreInteractions

-
-public void notAMockPassedToVerifyNoMoreInteractions()
-
-
-
-
-
-
- -

-nullPassedToVerifyNoMoreInteractions

-
-public void nullPassedToVerifyNoMoreInteractions()
-
-
-
-
-
-
- -

-notAMockPassedWhenCreatingInOrder

-
-public void notAMockPassedWhenCreatingInOrder()
-
-
-
-
-
-
- -

-nullPassedWhenCreatingInOrder

-
-public void nullPassedWhenCreatingInOrder()
-
-
-
-
-
-
- -

-mocksHaveToBePassedWhenCreatingInOrder

-
-public void mocksHaveToBePassedWhenCreatingInOrder()
-
-
-
-
-
-
- -

-inOrderRequiresFamiliarMock

-
-public void inOrderRequiresFamiliarMock()
-
-
-
-
-
-
- -

-invalidUseOfMatchers

-
-public void invalidUseOfMatchers(int expectedMatchersCount,
-                                 int recordedMatchersCount)
-
-
-
-
-
-
- -

-argumentsAreDifferent

-
-public void argumentsAreDifferent(java.lang.String wanted,
-                                  java.lang.String actual,
-                                  Location actualLocation)
-
-
-
-
-
-
- -

-wantedButNotInvoked

-
-public void wantedButNotInvoked(PrintableInvocation wanted)
-
-
-
-
-
-
- -

-wantedButNotInvoked

-
-public void wantedButNotInvoked(PrintableInvocation wanted,
-                                java.util.List<? extends PrintableInvocation> invocations)
-
-
-
-
-
-
- -

-wantedButNotInvokedInOrder

-
-public void wantedButNotInvokedInOrder(PrintableInvocation wanted,
-                                       PrintableInvocation previous)
-
-
-
-
-
-
- -

-tooManyActualInvocations

-
-public void tooManyActualInvocations(int wantedCount,
-                                     int actualCount,
-                                     PrintableInvocation wanted,
-                                     Location firstUndesired)
-
-
-
-
-
-
- -

-neverWantedButInvoked

-
-public void neverWantedButInvoked(PrintableInvocation wanted,
-                                  Location firstUndesired)
-
-
-
-
-
-
- -

-tooManyActualInvocationsInOrder

-
-public void tooManyActualInvocationsInOrder(int wantedCount,
-                                            int actualCount,
-                                            PrintableInvocation wanted,
-                                            Location firstUndesired)
-
-
-
-
-
-
- -

-tooLittleActualInvocations

-
-public void tooLittleActualInvocations(Discrepancy discrepancy,
-                                       PrintableInvocation wanted,
-                                       Location lastActualLocation)
-
-
-
-
-
-
- -

-tooLittleActualInvocationsInOrder

-
-public void tooLittleActualInvocationsInOrder(Discrepancy discrepancy,
-                                              PrintableInvocation wanted,
-                                              Location lastActualLocation)
-
-
-
-
-
-
- -

-noMoreInteractionsWanted

-
-public void noMoreInteractionsWanted(Invocation undesired,
-                                     java.util.List<VerificationAwareInvocation> invocations)
-
-
-
-
-
-
- -

-noMoreInteractionsWantedInOrder

-
-public void noMoreInteractionsWantedInOrder(Invocation undesired)
-
-
-
-
-
-
- -

-cannotMockFinalClass

-
-public void cannotMockFinalClass(java.lang.Class<?> clazz)
-
-
-
-
-
-
- -

-cannotStubVoidMethodWithAReturnValue

-
-public void cannotStubVoidMethodWithAReturnValue(java.lang.String methodName)
-
-
-
-
-
-
- -

-onlyVoidMethodsCanBeSetToDoNothing

-
-public void onlyVoidMethodsCanBeSetToDoNothing()
-
-
-
-
-
-
- -

-wrongTypeOfReturnValue

-
-public void wrongTypeOfReturnValue(java.lang.String expectedType,
-                                   java.lang.String actualType,
-                                   java.lang.String methodName)
-
-
-
-
-
-
- -

-wantedAtMostX

-
-public void wantedAtMostX(int maxNumberOfInvocations,
-                          int foundSize)
-
-
-
-
-
-
- -

-misplacedArgumentMatcher

-
-public void misplacedArgumentMatcher(Location location)
-
-
-
-
-
-
- -

-smartNullPointerException

-
-public void smartNullPointerException(Location location)
-
-
-
-
-
-
- -

-noArgumentValueWasCaptured

-
-public void noArgumentValueWasCaptured()
-
-
-
-
-
-
- -

-extraInterfacesDoesNotAcceptNullParameters

-
-public void extraInterfacesDoesNotAcceptNullParameters()
-
-
-
-
-
-
- -

-extraInterfacesAcceptsOnlyInterfaces

-
-public void extraInterfacesAcceptsOnlyInterfaces(java.lang.Class<?> wrongType)
-
-
-
-
-
-
- -

-extraInterfacesCannotContainMockedType

-
-public void extraInterfacesCannotContainMockedType(java.lang.Class<?> wrongType)
-
-
-
-
-
-
- -

-extraInterfacesRequiresAtLeastOneInterface

-
-public void extraInterfacesRequiresAtLeastOneInterface()
-
-
-
-
-
-
- -

-mockedTypeIsInconsistentWithSpiedInstanceType

-
-public void mockedTypeIsInconsistentWithSpiedInstanceType(java.lang.Class<?> mockedType,
-                                                          java.lang.Object spiedInstance)
-
-
-
-
-
-
- -

-cannotCallRealMethodOnInterface

-
-public void cannotCallRealMethodOnInterface()
-
-
-
-
-
-
- -

-cannotVerifyToString

-
-public void cannotVerifyToString()
-
-
-
-
-
-
- -

-moreThanOneAnnotationNotAllowed

-
-public void moreThanOneAnnotationNotAllowed(java.lang.String fieldName)
-
-
-
-
-
-
- -

-unsupportedCombinationOfAnnotations

-
-public void unsupportedCombinationOfAnnotations(java.lang.String undesiredAnnotationOne,
-                                                java.lang.String undesiredAnnotationTwo)
-
-
-
-
-
-
- -

-injectMockAnnotationFieldIsNull

-
-public void injectMockAnnotationFieldIsNull(java.lang.String field)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/base/MockitoAssertionError.html b/tools/mockito/javadoc/org/mockito/exceptions/base/MockitoAssertionError.html deleted file mode 100644 index 1d90af01a87..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/base/MockitoAssertionError.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - - -MockitoAssertionError (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.base -
-Class MockitoAssertionError

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Error
-          extended by java.lang.AssertionError
-              extended by org.mockito.exceptions.base.MockitoAssertionError
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
ArgumentsAreDifferent, NeverWantedButInvoked, NoInteractionsWanted, TooLittleActualInvocations, TooManyActualInvocations, VerificationInOrderFailure, WantedButNotInvoked
-
-
-
-
public class MockitoAssertionError
extends java.lang.AssertionError
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
MockitoAssertionError(java.lang.String message) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.StackTraceElement[]getUnfilteredStackTrace() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockitoAssertionError

-
-public MockitoAssertionError(java.lang.String message)
-
-
- - - - - - - - -
-Method Detail
- -

-getUnfilteredStackTrace

-
-public java.lang.StackTraceElement[] getUnfilteredStackTrace()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/base/MockitoException.html b/tools/mockito/javadoc/org/mockito/exceptions/base/MockitoException.html deleted file mode 100644 index ac1697cc1cb..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/base/MockitoException.html +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - -MockitoException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.base -
-Class MockitoException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by org.mockito.exceptions.base.MockitoException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvalidUseOfMatchersException, MissingMethodInvocationException, MockitoConfigurationException, NotAMockException, NullInsteadOfMockException, SmartNullPointerException, UnfinishedStubbingException, UnfinishedVerificationException, WrongTypeOfReturnValue
-
-
-
-
public class MockitoException
extends java.lang.RuntimeException
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
MockitoException(java.lang.String message) - -
-           
MockitoException(java.lang.String message, - java.lang.Throwable t) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.StackTraceElement[]getUnfilteredStackTrace() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockitoException

-
-public MockitoException(java.lang.String message,
-                        java.lang.Throwable t)
-
-
-
- -

-MockitoException

-
-public MockitoException(java.lang.String message)
-
-
- - - - - - - - -
-Method Detail
- -

-getUnfilteredStackTrace

-
-public java.lang.StackTraceElement[] getUnfilteredStackTrace()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/base/class-use/MockitoAssertionError.html b/tools/mockito/javadoc/org/mockito/exceptions/base/class-use/MockitoAssertionError.html deleted file mode 100644 index adb4df9d792..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/base/class-use/MockitoAssertionError.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.base.MockitoAssertionError (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.base.MockitoAssertionError

-
- - - - - - - - - -
-Packages that use MockitoAssertionError
org.mockito.exceptions.verificationVerification errors. 
-  -

- - - - - -
-Uses of MockitoAssertionError in org.mockito.exceptions.verification
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Subclasses of MockitoAssertionError in org.mockito.exceptions.verification
- classArgumentsAreDifferent - -
-           
- classNeverWantedButInvoked - -
-           
- classNoInteractionsWanted - -
-          No interactions wanted.
- classTooLittleActualInvocations - -
-           
- classTooManyActualInvocations - -
-           
- classVerificationInOrderFailure - -
-           
- classWantedButNotInvoked - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/base/class-use/MockitoException.html b/tools/mockito/javadoc/org/mockito/exceptions/base/class-use/MockitoException.html deleted file mode 100644 index c14fc11b64e..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/base/class-use/MockitoException.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.base.MockitoException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.base.MockitoException

-
- - - - - - - - - - - - - -
-Packages that use MockitoException
org.mockito.exceptions.misusingExceptions thrown when Mockito is misused. 
org.mockito.exceptions.verificationVerification errors. 
-  -

- - - - - -
-Uses of MockitoException in org.mockito.exceptions.misusing
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Subclasses of MockitoException in org.mockito.exceptions.misusing
- classInvalidUseOfMatchersException - -
-           
- classMissingMethodInvocationException - -
-           
- classMockitoConfigurationException - -
-           
- classNotAMockException - -
-           
- classNullInsteadOfMockException - -
-           
- classUnfinishedStubbingException - -
-           
- classUnfinishedVerificationException - -
-           
- classWrongTypeOfReturnValue - -
-           
-  -

- - - - - -
-Uses of MockitoException in org.mockito.exceptions.verification
-  -

- - - - - - - - - -
Subclasses of MockitoException in org.mockito.exceptions.verification
- classSmartNullPointerException - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/base/package-frame.html b/tools/mockito/javadoc/org/mockito/exceptions/base/package-frame.html deleted file mode 100644 index 1c0d79337f5..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/base/package-frame.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - -org.mockito.exceptions.base (Mockito API) - - - - - - - - - - - -org.mockito.exceptions.base - - - - -
-Exceptions  - -
-MockitoException
- - - - - - -
-Errors  - -
-MockitoAssertionError
- - - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/base/package-summary.html b/tools/mockito/javadoc/org/mockito/exceptions/base/package-summary.html deleted file mode 100644 index 392369311da..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/base/package-summary.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - -org.mockito.exceptions.base (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.exceptions.base -

-Base classes for exceptions and errors, stack trace filtering/removing logic. -

-See: -
-          Description -

- - - - - - - - - -
-Exception Summary
MockitoException 
-  - -

- - - - - - - - - -
-Error Summary
MockitoAssertionError 
-  - -

-

-Package org.mockito.exceptions.base Description -

- -

-Base classes for exceptions and errors, stack trace filtering/removing logic. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/base/package-tree.html b/tools/mockito/javadoc/org/mockito/exceptions/base/package-tree.html deleted file mode 100644 index e780736eeb2..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/base/package-tree.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - -org.mockito.exceptions.base Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.exceptions.base -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

-
    -
  • java.lang.Object
      -
    • java.lang.Throwable (implements java.io.Serializable) -
        -
      • java.lang.Error -
      • java.lang.Exception -
      -
    -
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/base/package-use.html b/tools/mockito/javadoc/org/mockito/exceptions/base/package-use.html deleted file mode 100644 index 223b0777e6f..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/base/package-use.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -Uses of Package org.mockito.exceptions.base (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.exceptions.base

-
- - - - - - - - - - - - - -
-Packages that use org.mockito.exceptions.base
org.mockito.exceptions.misusingExceptions thrown when Mockito is misused. 
org.mockito.exceptions.verificationVerification errors. 
-  -

- - - - - - - - -
-Classes in org.mockito.exceptions.base used by org.mockito.exceptions.misusing
MockitoException - -
-           
-  -

- - - - - - - - - - - -
-Classes in org.mockito.exceptions.base used by org.mockito.exceptions.verification
MockitoAssertionError - -
-           
MockitoException - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/class-use/Discrepancy.html b/tools/mockito/javadoc/org/mockito/exceptions/class-use/Discrepancy.html deleted file mode 100644 index 32d9bdda99a..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/class-use/Discrepancy.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.Discrepancy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.Discrepancy

-
- - - - - - - - - - - - - -
-Packages that use Discrepancy
org.mockito.exceptionsException messages, exception hierarchies. 
org.mockito.internal.verification.checkersverification checkers 
-  -

- - - - - -
-Uses of Discrepancy in org.mockito.exceptions
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.exceptions with parameters of type Discrepancy
- voidReporter.tooLittleActualInvocations(Discrepancy discrepancy, - PrintableInvocation wanted, - Location lastActualLocation) - -
-           
- voidReporter.tooLittleActualInvocationsInOrder(Discrepancy discrepancy, - PrintableInvocation wanted, - Location lastActualLocation) - -
-           
-  -

- - - - - -
-Uses of Discrepancy in org.mockito.internal.verification.checkers
-  -

- - - - - - - - - -
Subclasses of Discrepancy in org.mockito.internal.verification.checkers
- classAtLeastDiscrepancy - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/class-use/Pluralizer.html b/tools/mockito/javadoc/org/mockito/exceptions/class-use/Pluralizer.html deleted file mode 100644 index f0c39c68166..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/class-use/Pluralizer.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.Pluralizer (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.Pluralizer

-
-No usage of org.mockito.exceptions.Pluralizer -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/class-use/PrintableInvocation.html b/tools/mockito/javadoc/org/mockito/exceptions/class-use/PrintableInvocation.html deleted file mode 100644 index 2c753f11307..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/class-use/PrintableInvocation.html +++ /dev/null @@ -1,387 +0,0 @@ - - - - - - -Uses of Interface org.mockito.exceptions.PrintableInvocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.exceptions.PrintableInvocation

-
- - - - - - - - - - - - - - - - - - - - - -
-Packages that use PrintableInvocation
org.mockito.exceptionsException messages, exception hierarchies. 
org.mockito.internal.exceptions  
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.stubbingStubbing logic. 
-  -

- - - - - -
-Uses of PrintableInvocation in org.mockito.exceptions
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.exceptions with parameters of type PrintableInvocation
- voidReporter.neverWantedButInvoked(PrintableInvocation wanted, - Location firstUndesired) - -
-           
- voidReporter.tooLittleActualInvocations(Discrepancy discrepancy, - PrintableInvocation wanted, - Location lastActualLocation) - -
-           
- voidReporter.tooLittleActualInvocationsInOrder(Discrepancy discrepancy, - PrintableInvocation wanted, - Location lastActualLocation) - -
-           
- voidReporter.tooManyActualInvocations(int wantedCount, - int actualCount, - PrintableInvocation wanted, - Location firstUndesired) - -
-           
- voidReporter.tooManyActualInvocationsInOrder(int wantedCount, - int actualCount, - PrintableInvocation wanted, - Location firstUndesired) - -
-           
- voidReporter.wantedButNotInvoked(PrintableInvocation wanted) - -
-           
- voidReporter.wantedButNotInvoked(PrintableInvocation wanted, - java.util.List<? extends PrintableInvocation> invocations) - -
-           
- voidReporter.wantedButNotInvokedInOrder(PrintableInvocation wanted, - PrintableInvocation previous) - -
-           
-  -

- - - - - - - - - -
Method parameters in org.mockito.exceptions with type arguments of type PrintableInvocation
- voidReporter.wantedButNotInvoked(PrintableInvocation wanted, - java.util.List<? extends PrintableInvocation> invocations) - -
-           
-  -

- - - - - -
-Uses of PrintableInvocation in org.mockito.internal.exceptions
-  -

- - - - - - - - - -
Subinterfaces of PrintableInvocation in org.mockito.internal.exceptions
- interfaceVerificationAwareInvocation - -
-           
-  -

- - - - - -
-Uses of PrintableInvocation in org.mockito.internal.invocation
-  -

- - - - - - - - - - - - - -
Classes in org.mockito.internal.invocation that implement PrintableInvocation
- classInvocation - -
-          Method call on a mock object.
- classInvocationMatcher - -
-           
-  -

- - - - - - - - -
Constructors in org.mockito.internal.invocation with parameters of type PrintableInvocation
StubInfo(PrintableInvocation stubbedAt) - -
-           
-  -

- - - - - -
-Uses of PrintableInvocation in org.mockito.internal.stubbing
-  -

- - - - - - - - - -
Classes in org.mockito.internal.stubbing that implement PrintableInvocation
- classStubbedInvocationMatcher - -
-           
-  -

- - - - - - - - - -
Methods in org.mockito.internal.stubbing with parameters of type PrintableInvocation
- voidStubbedInvocationMatcher.markStubUsed(PrintableInvocation usedAt) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/class-use/Reporter.html b/tools/mockito/javadoc/org/mockito/exceptions/class-use/Reporter.html deleted file mode 100644 index 78a449a6c43..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/class-use/Reporter.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.Reporter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.Reporter

-
-No usage of org.mockito.exceptions.Reporter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/InvalidUseOfMatchersException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/InvalidUseOfMatchersException.html deleted file mode 100644 index 07e85312dee..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/InvalidUseOfMatchersException.html +++ /dev/null @@ -1,262 +0,0 @@ - - - - - - -InvalidUseOfMatchersException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.misusing -
-Class InvalidUseOfMatchersException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by org.mockito.exceptions.base.MockitoException
-                  extended by org.mockito.exceptions.misusing.InvalidUseOfMatchersException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class InvalidUseOfMatchersException
extends MockitoException
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
InvalidUseOfMatchersException() - -
-           
InvalidUseOfMatchersException(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoException
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvalidUseOfMatchersException

-
-public InvalidUseOfMatchersException(java.lang.String message)
-
-
-
- -

-InvalidUseOfMatchersException

-
-public InvalidUseOfMatchersException()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/MissingMethodInvocationException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/MissingMethodInvocationException.html deleted file mode 100644 index aaf7c87be1e..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/MissingMethodInvocationException.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -MissingMethodInvocationException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.misusing -
-Class MissingMethodInvocationException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by org.mockito.exceptions.base.MockitoException
-                  extended by org.mockito.exceptions.misusing.MissingMethodInvocationException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class MissingMethodInvocationException
extends MockitoException
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
MissingMethodInvocationException(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoException
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MissingMethodInvocationException

-
-public MissingMethodInvocationException(java.lang.String message)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/MockitoConfigurationException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/MockitoConfigurationException.html deleted file mode 100644 index a249522c1fa..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/MockitoConfigurationException.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - -MockitoConfigurationException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.misusing -
-Class MockitoConfigurationException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by org.mockito.exceptions.base.MockitoException
-                  extended by org.mockito.exceptions.misusing.MockitoConfigurationException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class MockitoConfigurationException
extends MockitoException
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
MockitoConfigurationException(java.lang.String message) - -
-           
MockitoConfigurationException(java.lang.String message, - java.lang.Exception cause) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoException
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockitoConfigurationException

-
-public MockitoConfigurationException(java.lang.String message)
-
-
-
- -

-MockitoConfigurationException

-
-public MockitoConfigurationException(java.lang.String message,
-                                     java.lang.Exception cause)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/NotAMockException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/NotAMockException.html deleted file mode 100644 index 40f241584e5..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/NotAMockException.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -NotAMockException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.misusing -
-Class NotAMockException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by org.mockito.exceptions.base.MockitoException
-                  extended by org.mockito.exceptions.misusing.NotAMockException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class NotAMockException
extends MockitoException
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
NotAMockException(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoException
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-NotAMockException

-
-public NotAMockException(java.lang.String message)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/NullInsteadOfMockException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/NullInsteadOfMockException.html deleted file mode 100644 index 61c6f4ea9b4..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/NullInsteadOfMockException.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -NullInsteadOfMockException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.misusing -
-Class NullInsteadOfMockException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by org.mockito.exceptions.base.MockitoException
-                  extended by org.mockito.exceptions.misusing.NullInsteadOfMockException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class NullInsteadOfMockException
extends MockitoException
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
NullInsteadOfMockException(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoException
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-NullInsteadOfMockException

-
-public NullInsteadOfMockException(java.lang.String message)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/UnfinishedStubbingException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/UnfinishedStubbingException.html deleted file mode 100644 index 8e44383b342..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/UnfinishedStubbingException.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -UnfinishedStubbingException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.misusing -
-Class UnfinishedStubbingException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by org.mockito.exceptions.base.MockitoException
-                  extended by org.mockito.exceptions.misusing.UnfinishedStubbingException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class UnfinishedStubbingException
extends MockitoException
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
UnfinishedStubbingException(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoException
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-UnfinishedStubbingException

-
-public UnfinishedStubbingException(java.lang.String message)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/UnfinishedVerificationException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/UnfinishedVerificationException.html deleted file mode 100644 index bc093406ade..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/UnfinishedVerificationException.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -UnfinishedVerificationException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.misusing -
-Class UnfinishedVerificationException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by org.mockito.exceptions.base.MockitoException
-                  extended by org.mockito.exceptions.misusing.UnfinishedVerificationException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class UnfinishedVerificationException
extends MockitoException
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
UnfinishedVerificationException(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoException
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-UnfinishedVerificationException

-
-public UnfinishedVerificationException(java.lang.String message)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/WrongTypeOfReturnValue.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/WrongTypeOfReturnValue.html deleted file mode 100644 index fd62a7a983b..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/WrongTypeOfReturnValue.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -WrongTypeOfReturnValue (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.misusing -
-Class WrongTypeOfReturnValue

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by org.mockito.exceptions.base.MockitoException
-                  extended by org.mockito.exceptions.misusing.WrongTypeOfReturnValue
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class WrongTypeOfReturnValue
extends MockitoException
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
WrongTypeOfReturnValue(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoException
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-WrongTypeOfReturnValue

-
-public WrongTypeOfReturnValue(java.lang.String message)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/InvalidUseOfMatchersException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/InvalidUseOfMatchersException.html deleted file mode 100644 index 86ce2797080..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/InvalidUseOfMatchersException.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.misusing.InvalidUseOfMatchersException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.misusing.InvalidUseOfMatchersException

-
-No usage of org.mockito.exceptions.misusing.InvalidUseOfMatchersException -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/MissingMethodInvocationException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/MissingMethodInvocationException.html deleted file mode 100644 index 35e378d2f12..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/MissingMethodInvocationException.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.misusing.MissingMethodInvocationException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.misusing.MissingMethodInvocationException

-
-No usage of org.mockito.exceptions.misusing.MissingMethodInvocationException -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/MockitoConfigurationException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/MockitoConfigurationException.html deleted file mode 100644 index dbc278caa9f..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/MockitoConfigurationException.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.misusing.MockitoConfigurationException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.misusing.MockitoConfigurationException

-
-No usage of org.mockito.exceptions.misusing.MockitoConfigurationException -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/NotAMockException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/NotAMockException.html deleted file mode 100644 index b39ffe200c8..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/NotAMockException.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.misusing.NotAMockException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.misusing.NotAMockException

-
-No usage of org.mockito.exceptions.misusing.NotAMockException -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/NullInsteadOfMockException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/NullInsteadOfMockException.html deleted file mode 100644 index 2b8f6301223..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/NullInsteadOfMockException.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.misusing.NullInsteadOfMockException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.misusing.NullInsteadOfMockException

-
-No usage of org.mockito.exceptions.misusing.NullInsteadOfMockException -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/UnfinishedStubbingException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/UnfinishedStubbingException.html deleted file mode 100644 index c7cee46a039..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/UnfinishedStubbingException.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.misusing.UnfinishedStubbingException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.misusing.UnfinishedStubbingException

-
-No usage of org.mockito.exceptions.misusing.UnfinishedStubbingException -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/UnfinishedVerificationException.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/UnfinishedVerificationException.html deleted file mode 100644 index 0d2b8ecff69..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/UnfinishedVerificationException.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.misusing.UnfinishedVerificationException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.misusing.UnfinishedVerificationException

-
-No usage of org.mockito.exceptions.misusing.UnfinishedVerificationException -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/WrongTypeOfReturnValue.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/WrongTypeOfReturnValue.html deleted file mode 100644 index b3f6b78cc8b..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/class-use/WrongTypeOfReturnValue.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.misusing.WrongTypeOfReturnValue (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.misusing.WrongTypeOfReturnValue

-
-No usage of org.mockito.exceptions.misusing.WrongTypeOfReturnValue -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/package-frame.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/package-frame.html deleted file mode 100644 index c8614c55fbd..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/package-frame.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - -org.mockito.exceptions.misusing (Mockito API) - - - - - - - - - - - -org.mockito.exceptions.misusing - - - - -
-Exceptions  - -
-InvalidUseOfMatchersException -
-MissingMethodInvocationException -
-MockitoConfigurationException -
-NotAMockException -
-NullInsteadOfMockException -
-UnfinishedStubbingException -
-UnfinishedVerificationException -
-WrongTypeOfReturnValue
- - - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/package-summary.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/package-summary.html deleted file mode 100644 index 1b4bd193e43..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/package-summary.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - -org.mockito.exceptions.misusing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.exceptions.misusing -

-Exceptions thrown when Mockito is misused. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Exception Summary
InvalidUseOfMatchersException 
MissingMethodInvocationException 
MockitoConfigurationException 
NotAMockException 
NullInsteadOfMockException 
UnfinishedStubbingException 
UnfinishedVerificationException 
WrongTypeOfReturnValue 
-  - -

-

-Package org.mockito.exceptions.misusing Description -

- -

-Exceptions thrown when Mockito is misused. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/package-tree.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/package-tree.html deleted file mode 100644 index 9cfdeeb1a3a..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/package-tree.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - -org.mockito.exceptions.misusing Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.exceptions.misusing -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/misusing/package-use.html b/tools/mockito/javadoc/org/mockito/exceptions/misusing/package-use.html deleted file mode 100644 index a3459fcb5d0..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/misusing/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.exceptions.misusing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.exceptions.misusing

-
-No usage of org.mockito.exceptions.misusing -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/package-frame.html b/tools/mockito/javadoc/org/mockito/exceptions/package-frame.html deleted file mode 100644 index 832435014f8..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/package-frame.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -org.mockito.exceptions (Mockito API) - - - - - - - - - - - -org.mockito.exceptions - - - - -
-Interfaces  - -
-PrintableInvocation
- - - - - - -
-Classes  - -
-Discrepancy -
-Pluralizer -
-Reporter
- - - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/package-summary.html b/tools/mockito/javadoc/org/mockito/exceptions/package-summary.html deleted file mode 100644 index f25da8655c6..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/package-summary.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -org.mockito.exceptions (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.exceptions -

-Exception messages, exception hierarchies. -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
PrintableInvocation 
-  - -

- - - - - - - - - - - - - - - - - -
-Class Summary
Discrepancy 
Pluralizer 
ReporterReports verification and misusing errors.
-  - -

-

-Package org.mockito.exceptions Description -

- -

-Exception messages, exception hierarchies. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/package-tree.html b/tools/mockito/javadoc/org/mockito/exceptions/package-tree.html deleted file mode 100644 index 9d438aaf819..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/package-tree.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - -org.mockito.exceptions Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.exceptions -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/package-use.html b/tools/mockito/javadoc/org/mockito/exceptions/package-use.html deleted file mode 100644 index b7b1428d588..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/package-use.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -Uses of Package org.mockito.exceptions (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.exceptions

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.mockito.exceptions
org.mockito.exceptionsException messages, exception hierarchies. 
org.mockito.internal.exceptions  
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.stubbingStubbing logic. 
org.mockito.internal.verification.checkersverification checkers 
-  -

- - - - - - - - - - - -
-Classes in org.mockito.exceptions used by org.mockito.exceptions
Discrepancy - -
-           
PrintableInvocation - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.exceptions used by org.mockito.internal.exceptions
PrintableInvocation - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.exceptions used by org.mockito.internal.invocation
PrintableInvocation - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.exceptions used by org.mockito.internal.stubbing
PrintableInvocation - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.exceptions used by org.mockito.internal.verification.checkers
Discrepancy - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/ArgumentsAreDifferent.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/ArgumentsAreDifferent.html deleted file mode 100644 index 5d80a29c00f..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/ArgumentsAreDifferent.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - -ArgumentsAreDifferent (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.verification -
-Class ArgumentsAreDifferent

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Error
-          extended by java.lang.AssertionError
-              extended by org.mockito.exceptions.base.MockitoAssertionError
-                  extended by org.mockito.exceptions.verification.ArgumentsAreDifferent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class ArgumentsAreDifferent
extends MockitoAssertionError
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ArgumentsAreDifferent(java.lang.String message) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoAssertionError
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ArgumentsAreDifferent

-
-public ArgumentsAreDifferent(java.lang.String message)
-
-
- - - - - - - - -
-Method Detail
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Throwable
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/NeverWantedButInvoked.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/NeverWantedButInvoked.html deleted file mode 100644 index 86aee6cbd9f..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/NeverWantedButInvoked.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -NeverWantedButInvoked (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.verification -
-Class NeverWantedButInvoked

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Error
-          extended by java.lang.AssertionError
-              extended by org.mockito.exceptions.base.MockitoAssertionError
-                  extended by org.mockito.exceptions.verification.NeverWantedButInvoked
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class NeverWantedButInvoked
extends MockitoAssertionError
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
NeverWantedButInvoked(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoAssertionError
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-NeverWantedButInvoked

-
-public NeverWantedButInvoked(java.lang.String message)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/NoInteractionsWanted.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/NoInteractionsWanted.html deleted file mode 100644 index 1cec1170373..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/NoInteractionsWanted.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -NoInteractionsWanted (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.verification -
-Class NoInteractionsWanted

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Error
-          extended by java.lang.AssertionError
-              extended by org.mockito.exceptions.base.MockitoAssertionError
-                  extended by org.mockito.exceptions.verification.NoInteractionsWanted
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class NoInteractionsWanted
extends MockitoAssertionError
- - -

-No interactions wanted. See exception's cause for location of undesired invocation. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
NoInteractionsWanted(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoAssertionError
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-NoInteractionsWanted

-
-public NoInteractionsWanted(java.lang.String message)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/SmartNullPointerException.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/SmartNullPointerException.html deleted file mode 100644 index 6e4dbc97d47..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/SmartNullPointerException.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -SmartNullPointerException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.verification -
-Class SmartNullPointerException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by org.mockito.exceptions.base.MockitoException
-                  extended by org.mockito.exceptions.verification.SmartNullPointerException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class SmartNullPointerException
extends MockitoException
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
SmartNullPointerException(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoException
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SmartNullPointerException

-
-public SmartNullPointerException(java.lang.String message)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/TooLittleActualInvocations.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/TooLittleActualInvocations.html deleted file mode 100644 index f31df058644..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/TooLittleActualInvocations.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -TooLittleActualInvocations (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.verification -
-Class TooLittleActualInvocations

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Error
-          extended by java.lang.AssertionError
-              extended by org.mockito.exceptions.base.MockitoAssertionError
-                  extended by org.mockito.exceptions.verification.TooLittleActualInvocations
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class TooLittleActualInvocations
extends MockitoAssertionError
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
TooLittleActualInvocations(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoAssertionError
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-TooLittleActualInvocations

-
-public TooLittleActualInvocations(java.lang.String message)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/TooManyActualInvocations.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/TooManyActualInvocations.html deleted file mode 100644 index 6249232e003..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/TooManyActualInvocations.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -TooManyActualInvocations (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.verification -
-Class TooManyActualInvocations

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Error
-          extended by java.lang.AssertionError
-              extended by org.mockito.exceptions.base.MockitoAssertionError
-                  extended by org.mockito.exceptions.verification.TooManyActualInvocations
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class TooManyActualInvocations
extends MockitoAssertionError
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
TooManyActualInvocations(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoAssertionError
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-TooManyActualInvocations

-
-public TooManyActualInvocations(java.lang.String message)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/VerificationInOrderFailure.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/VerificationInOrderFailure.html deleted file mode 100644 index c12411c2dc4..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/VerificationInOrderFailure.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -VerificationInOrderFailure (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.verification -
-Class VerificationInOrderFailure

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Error
-          extended by java.lang.AssertionError
-              extended by org.mockito.exceptions.base.MockitoAssertionError
-                  extended by org.mockito.exceptions.verification.VerificationInOrderFailure
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class VerificationInOrderFailure
extends MockitoAssertionError
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
VerificationInOrderFailure(java.lang.String message) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoAssertionError
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-VerificationInOrderFailure

-
-public VerificationInOrderFailure(java.lang.String message)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/WantedButNotInvoked.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/WantedButNotInvoked.html deleted file mode 100644 index 495be37907c..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/WantedButNotInvoked.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - -WantedButNotInvoked (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.verification -
-Class WantedButNotInvoked

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Error
-          extended by java.lang.AssertionError
-              extended by org.mockito.exceptions.base.MockitoAssertionError
-                  extended by org.mockito.exceptions.verification.WantedButNotInvoked
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class WantedButNotInvoked
extends MockitoAssertionError
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
WantedButNotInvoked(java.lang.String message) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class org.mockito.exceptions.base.MockitoAssertionError
getUnfilteredStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-WantedButNotInvoked

-
-public WantedButNotInvoked(java.lang.String message)
-
-
- - - - - - - - -
-Method Detail
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Throwable
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/ArgumentsAreDifferent.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/ArgumentsAreDifferent.html deleted file mode 100644 index 0a7edfdc207..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/ArgumentsAreDifferent.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.verification.ArgumentsAreDifferent (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.verification.ArgumentsAreDifferent

-
-No usage of org.mockito.exceptions.verification.ArgumentsAreDifferent -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/NeverWantedButInvoked.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/NeverWantedButInvoked.html deleted file mode 100644 index 2f32abb6ecb..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/NeverWantedButInvoked.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.verification.NeverWantedButInvoked (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.verification.NeverWantedButInvoked

-
-No usage of org.mockito.exceptions.verification.NeverWantedButInvoked -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/NoInteractionsWanted.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/NoInteractionsWanted.html deleted file mode 100644 index 676cc233865..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/NoInteractionsWanted.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.verification.NoInteractionsWanted (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.verification.NoInteractionsWanted

-
-No usage of org.mockito.exceptions.verification.NoInteractionsWanted -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/SmartNullPointerException.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/SmartNullPointerException.html deleted file mode 100644 index 26f69a62980..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/SmartNullPointerException.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.verification.SmartNullPointerException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.verification.SmartNullPointerException

-
-No usage of org.mockito.exceptions.verification.SmartNullPointerException -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/TooLittleActualInvocations.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/TooLittleActualInvocations.html deleted file mode 100644 index 18bdc617a3d..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/TooLittleActualInvocations.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.verification.TooLittleActualInvocations (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.verification.TooLittleActualInvocations

-
-No usage of org.mockito.exceptions.verification.TooLittleActualInvocations -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/TooManyActualInvocations.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/TooManyActualInvocations.html deleted file mode 100644 index bf2cd21c58d..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/TooManyActualInvocations.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.verification.TooManyActualInvocations (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.verification.TooManyActualInvocations

-
-No usage of org.mockito.exceptions.verification.TooManyActualInvocations -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/VerificationInOrderFailure.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/VerificationInOrderFailure.html deleted file mode 100644 index 269f401867d..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/VerificationInOrderFailure.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.verification.VerificationInOrderFailure (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.verification.VerificationInOrderFailure

-
-No usage of org.mockito.exceptions.verification.VerificationInOrderFailure -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/WantedButNotInvoked.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/WantedButNotInvoked.html deleted file mode 100644 index 848bdc1f302..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/class-use/WantedButNotInvoked.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.verification.WantedButNotInvoked (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.verification.WantedButNotInvoked

-
-No usage of org.mockito.exceptions.verification.WantedButNotInvoked -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/ArgumentsAreDifferent.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/ArgumentsAreDifferent.html deleted file mode 100644 index d52fe398350..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/ArgumentsAreDifferent.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - -ArgumentsAreDifferent (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.verification.junit -
-Class ArgumentsAreDifferent

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Error
-          extended by java.lang.AssertionError
-              extended by junit.framework.AssertionFailedError
-                  extended by junit.framework.ComparisonFailure
-                      extended by org.mockito.exceptions.verification.junit.ArgumentsAreDifferent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class ArgumentsAreDifferent
extends junit.framework.ComparisonFailure
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ArgumentsAreDifferent(java.lang.String message, - java.lang.String wanted, - java.lang.String actual) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetMessage() - -
-           
- java.lang.StackTraceElement[]getUnfilteredStackTrace() - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class junit.framework.ComparisonFailure
getActual, getExpected
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ArgumentsAreDifferent

-
-public ArgumentsAreDifferent(java.lang.String message,
-                             java.lang.String wanted,
-                             java.lang.String actual)
-
-
- - - - - - - - -
-Method Detail
- -

-getMessage

-
-public java.lang.String getMessage()
-
-
-
Overrides:
getMessage in class junit.framework.ComparisonFailure
-
-
-
-
-
-
- -

-getUnfilteredStackTrace

-
-public java.lang.StackTraceElement[] getUnfilteredStackTrace()
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Throwable
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/JUnitTool.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/JUnitTool.html deleted file mode 100644 index ee454f38cb8..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/JUnitTool.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -JUnitTool (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.exceptions.verification.junit -
-Class JUnitTool

-
-java.lang.Object
-  extended by org.mockito.exceptions.verification.junit.JUnitTool
-
-
-
-
public class JUnitTool
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
JUnitTool() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-static java.lang.AssertionErrorcreateArgumentsAreDifferentException(java.lang.String message, - java.lang.String wanted, - java.lang.String actual) - -
-           
-static booleanhasJUnit() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-JUnitTool

-
-public JUnitTool()
-
-
- - - - - - - - -
-Method Detail
- -

-hasJUnit

-
-public static boolean hasJUnit()
-
-
-
-
-
-
- -

-createArgumentsAreDifferentException

-
-public static java.lang.AssertionError createArgumentsAreDifferentException(java.lang.String message,
-                                                                            java.lang.String wanted,
-                                                                            java.lang.String actual)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/class-use/ArgumentsAreDifferent.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/class-use/ArgumentsAreDifferent.html deleted file mode 100644 index 5fb79867fbf..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/class-use/ArgumentsAreDifferent.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.verification.junit.ArgumentsAreDifferent (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent

-
-No usage of org.mockito.exceptions.verification.junit.ArgumentsAreDifferent -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/class-use/JUnitTool.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/class-use/JUnitTool.html deleted file mode 100644 index b0b7f59132e..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/class-use/JUnitTool.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.exceptions.verification.junit.JUnitTool (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.exceptions.verification.junit.JUnitTool

-
-No usage of org.mockito.exceptions.verification.junit.JUnitTool -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/package-frame.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/package-frame.html deleted file mode 100644 index 585d06a99f1..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/package-frame.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - -org.mockito.exceptions.verification.junit (Mockito API) - - - - - - - - - - - -org.mockito.exceptions.verification.junit - - - - -
-Classes  - -
-JUnitTool
- - - - - - -
-Errors  - -
-ArgumentsAreDifferent
- - - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/package-summary.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/package-summary.html deleted file mode 100644 index 148169582e4..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/package-summary.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - -org.mockito.exceptions.verification.junit (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.exceptions.verification.junit -

-JUnit integration to provide better support for junit runners in IDEs. -

-See: -
-          Description -

- - - - - - - - - -
-Class Summary
JUnitTool 
-  - -

- - - - - - - - - -
-Error Summary
ArgumentsAreDifferent 
-  - -

-

-Package org.mockito.exceptions.verification.junit Description -

- -

-JUnit integration to provide better support for junit runners in IDEs. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/package-tree.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/package-tree.html deleted file mode 100644 index bd1facf87a1..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/package-tree.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - -org.mockito.exceptions.verification.junit Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.exceptions.verification.junit -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

-
    -
  • java.lang.Object
      -
    • org.mockito.exceptions.verification.junit.JUnitTool
    • java.lang.Throwable (implements java.io.Serializable) -
        -
      • java.lang.Error
          -
        • java.lang.AssertionError
            -
          • junit.framework.AssertionFailedError -
          -
        -
      -
    -
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/package-use.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/package-use.html deleted file mode 100644 index 3ed80bbb501..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/junit/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.exceptions.verification.junit (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.exceptions.verification.junit

-
-No usage of org.mockito.exceptions.verification.junit -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/package-frame.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/package-frame.html deleted file mode 100644 index 71c6d4febc9..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/package-frame.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - -org.mockito.exceptions.verification (Mockito API) - - - - - - - - - - - -org.mockito.exceptions.verification - - - - -
-Exceptions  - -
-SmartNullPointerException
- - - - - - -
-Errors  - -
-ArgumentsAreDifferent -
-NeverWantedButInvoked -
-NoInteractionsWanted -
-TooLittleActualInvocations -
-TooManyActualInvocations -
-VerificationInOrderFailure -
-WantedButNotInvoked
- - - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/package-summary.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/package-summary.html deleted file mode 100644 index 1065838c40b..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/package-summary.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - -org.mockito.exceptions.verification (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.exceptions.verification -

-Verification errors. -

-See: -
-          Description -

- - - - - - - - - -
-Exception Summary
SmartNullPointerException 
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Error Summary
ArgumentsAreDifferent 
NeverWantedButInvoked 
NoInteractionsWantedNo interactions wanted.
TooLittleActualInvocations 
TooManyActualInvocations 
VerificationInOrderFailure 
WantedButNotInvoked 
-  - -

-

-Package org.mockito.exceptions.verification Description -

- -

-Verification errors. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/package-tree.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/package-tree.html deleted file mode 100644 index 2ae5a8393a6..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/package-tree.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - -org.mockito.exceptions.verification Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.exceptions.verification -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/exceptions/verification/package-use.html b/tools/mockito/javadoc/org/mockito/exceptions/verification/package-use.html deleted file mode 100644 index 8c3afd5226c..00000000000 --- a/tools/mockito/javadoc/org/mockito/exceptions/verification/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.exceptions.verification (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.exceptions.verification

-
-No usage of org.mockito.exceptions.verification -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/InOrderImpl.html b/tools/mockito/javadoc/org/mockito/internal/InOrderImpl.html deleted file mode 100644 index 5f423de561f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/InOrderImpl.html +++ /dev/null @@ -1,436 +0,0 @@ - - - - - - -InOrderImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal -
-Class InOrderImpl

-
-java.lang.Object
-  extended by org.mockito.internal.InOrderImpl
-
-
-
All Implemented Interfaces:
InOrder, InOrderContext
-
-
-
-
public class InOrderImpl
extends java.lang.Object
implements InOrder, InOrderContext
- - -

-Allows verifying in order. This class should not be exposed, hence default access. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
InOrderImpl(java.util.List<java.lang.Object> mocksToBeVerifiedInOrder) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.util.List<java.lang.Object>getMocksToBeVerifiedInOrder() - -
-           
- booleanisVerified(Invocation i) - -
-           
- voidmarkVerified(Invocation i) - -
-           
- - - - - -
-<T> T
-
verify(T mock) - -
-          Verifies interaction happened once in order.
- - - - - -
-<T> T
-
verify(T mock, - VerificationMode mode) - -
-          Verifies interaction in order.
- voidverifyNoMoreInteractions() - -
-          Verifies that no more interactions happened in order.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InOrderImpl

-
-public InOrderImpl(java.util.List<java.lang.Object> mocksToBeVerifiedInOrder)
-
-
- - - - - - - - -
-Method Detail
- -

-getMocksToBeVerifiedInOrder

-
-public java.util.List<java.lang.Object> getMocksToBeVerifiedInOrder()
-
-
-
-
-
-
-
-
-
- -

-verify

-
-public <T> T verify(T mock)
-
-
Description copied from interface: InOrder
-
Verifies interaction happened once in order. -

- Alias to inOrder.verify(mock, times(1)) -

- Example: -

- InOrder inOrder = inOrder(firstMock, secondMock);
- 
- inOrder.verify(firstMock).someMethod("was called first");
- inOrder.verify(secondMock).someMethod("was called second");
- 
- - See examples in javadoc for Mockito class -

-

-
Specified by:
verify in interface InOrder
-
-
-
Parameters:
mock - to be verified -
Returns:
mock object itself
-
-
-
- -

-verify

-
-public <T> T verify(T mock,
-                    VerificationMode mode)
-
-
Description copied from interface: InOrder
-
Verifies interaction in order. E.g: - -
- InOrder inOrder = inOrder(firstMock, secondMock);
- 
- inOrder.verify(firstMock, times(2)).someMethod("was called first two times");
- inOrder.verify(secondMock, atLeastOnce()).someMethod("was called second at least once");
- 
- - See examples in javadoc for Mockito class -

-

-
Specified by:
verify in interface InOrder
-
-
-
Parameters:
mock - to be verified
mode - for example times(x) or atLeastOnce() -
Returns:
mock object itself
-
-
-
- -

-isVerified

-
-public boolean isVerified(Invocation i)
-
-
-
Specified by:
isVerified in interface InOrderContext
-
-
-
-
-
-
- -

-markVerified

-
-public void markVerified(Invocation i)
-
-
-
Specified by:
markVerified in interface InOrderContext
-
-
-
-
-
-
- -

-verifyNoMoreInteractions

-
-public void verifyNoMoreInteractions()
-
-
Description copied from interface: InOrder
-
Verifies that no more interactions happened in order. - Different from Mockito.verifyNoMoreInteractions(Object...) because the order of verification matters. -

- Example: -

- mock.foo(); //1st
- mock.bar(); //2nd
- mock.baz(); //3rd
- 
- InOrder inOrder = inOrder(mock);
- 
- inOrder.verify(mock).bar(); //2n
- inOrder.verify(mock).baz(); //3rd (last method)
- 
- //passes because there are no more interactions after last method:
- inOrder.verifyNoMoreInteractions();
- 
- //however this fails because 1st method was not verified:
- Mockito.verifyNoMoreInteractions(mock);
- 
-

-

-
Specified by:
verifyNoMoreInteractions in interface InOrder
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/MockHandler.html b/tools/mockito/javadoc/org/mockito/internal/MockHandler.html deleted file mode 100644 index 66b99897bb6..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/MockHandler.html +++ /dev/null @@ -1,368 +0,0 @@ - - - - - - -MockHandler (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal -
-Class MockHandler<T>

-
-java.lang.Object
-  extended by org.mockito.internal.MockHandler<T>
-
-
-
Type Parameters:
T - type of mock object to handle
-
-
All Implemented Interfaces:
java.io.Serializable, MockHandlerInterface<T>, MockitoInvocationHandler
-
-
-
-
public class MockHandler<T>
extends java.lang.Object
implements MockitoInvocationHandler, MockHandlerInterface<T>
- - -

-Invocation handler set on mock objects. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
MockHandler(MockHandlerInterface<T> oldMockHandler) - -
-           
MockHandler(MockSettingsImpl mockSettings) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- InvocationContainergetInvocationContainer() - -
-           
- MockSettingsImplgetMockSettings() - -
-           
- java.lang.Objecthandle(Invocation invocation) - -
-           
- voidsetAnswersForStubbing(java.util.List<Answer> answers) - -
-           
- VoidMethodStubbable<T>voidMethodStubbable(T mock) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockHandler

-
-public MockHandler(MockSettingsImpl mockSettings)
-
-
-
- -

-MockHandler

-
-public MockHandler(MockHandlerInterface<T> oldMockHandler)
-
-
- - - - - - - - -
-Method Detail
- -

-handle

-
-public java.lang.Object handle(Invocation invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
handle in interface MockitoInvocationHandler
-
-
- -
Throws: -
java.lang.Throwable
-
-
-
- -

-voidMethodStubbable

-
-public VoidMethodStubbable<T> voidMethodStubbable(T mock)
-
-
-
Specified by:
voidMethodStubbable in interface MockHandlerInterface<T>
-
-
-
-
-
-
- -

-getMockSettings

-
-public MockSettingsImpl getMockSettings()
-
-
-
Specified by:
getMockSettings in interface MockHandlerInterface<T>
-
-
-
-
-
-
- -

-setAnswersForStubbing

-
-public void setAnswersForStubbing(java.util.List<Answer> answers)
-
-
-
Specified by:
setAnswersForStubbing in interface MockHandlerInterface<T>
-
-
-
-
-
-
- -

-getInvocationContainer

-
-public InvocationContainer getInvocationContainer()
-
-
-
Specified by:
getInvocationContainer in interface MockHandlerInterface<T>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/MockHandlerInterface.html b/tools/mockito/javadoc/org/mockito/internal/MockHandlerInterface.html deleted file mode 100644 index 44481675b07..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/MockHandlerInterface.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - -MockHandlerInterface (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal -
-Interface MockHandlerInterface<T>

-
-
All Known Implementing Classes:
MockHandler
-
-
-
-
public interface MockHandlerInterface<T>
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- InvocationContainergetInvocationContainer() - -
-           
- MockSettingsImplgetMockSettings() - -
-           
- voidsetAnswersForStubbing(java.util.List<Answer> answers) - -
-           
- VoidMethodStubbable<T>voidMethodStubbable(T mock) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-getMockSettings

-
-MockSettingsImpl getMockSettings()
-
-
-
-
-
-
- -

-voidMethodStubbable

-
-VoidMethodStubbable<T> voidMethodStubbable(T mock)
-
-
-
-
-
-
- -

-setAnswersForStubbing

-
-void setAnswersForStubbing(java.util.List<Answer> answers)
-
-
-
-
-
-
- -

-getInvocationContainer

-
-InvocationContainer getInvocationContainer()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/MockitoCore.html b/tools/mockito/javadoc/org/mockito/internal/MockitoCore.html deleted file mode 100644 index 193221d6281..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/MockitoCore.html +++ /dev/null @@ -1,528 +0,0 @@ - - - - - - -MockitoCore (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal -
-Class MockitoCore

-
-java.lang.Object
-  extended by org.mockito.internal.MockitoCore
-
-
-
-
public class MockitoCore
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
MockitoCore() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StubberdoAnswer(Answer answer) - -
-           
- InvocationgetLastInvocation() - -
-          For testing purposes only.
- InOrderinOrder(java.lang.Object... mocks) - -
-           
- - - - - -
-<T> T
-
mock(java.lang.Class<T> classToMock, - MockSettings mockSettings) - -
-           
- - - - - -
-<T> void
-
reset(T... mocks) - -
-           
- IOngoingStubbingstub() - -
-           
- - - - - -
-<T> DeprecatedOngoingStubbing<T>
-
stub(T methodCall) - -
-           
- - - - - -
-<T> VoidMethodStubbable<T>
-
stubVoid(T mock) - -
-           
- voidvalidateMockitoUsage() - -
-           
- - - - - -
-<T> T
-
verify(T mock, - VerificationMode mode) - -
-           
- voidverifyNoMoreInteractions(java.lang.Object... mocks) - -
-           
- voidverifyNoMoreInteractionsInOrder(java.util.List<java.lang.Object> mocks, - InOrderContext inOrderContext) - -
-           
- - - - - -
-<T> OngoingStubbing<T>
-
when(T methodCall) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockitoCore

-
-public MockitoCore()
-
-
- - - - - - - - -
-Method Detail
- -

-mock

-
-public <T> T mock(java.lang.Class<T> classToMock,
-                  MockSettings mockSettings)
-
-
-
-
-
-
- -

-stub

-
-public IOngoingStubbing stub()
-
-
-
-
-
-
- -

-stub

-
-public <T> DeprecatedOngoingStubbing<T> stub(T methodCall)
-
-
-
-
-
-
- -

-when

-
-public <T> OngoingStubbing<T> when(T methodCall)
-
-
-
-
-
-
- -

-verify

-
-public <T> T verify(T mock,
-                    VerificationMode mode)
-
-
-
-
-
-
- -

-reset

-
-public <T> void reset(T... mocks)
-
-
-
-
-
-
- -

-verifyNoMoreInteractions

-
-public void verifyNoMoreInteractions(java.lang.Object... mocks)
-
-
-
-
-
-
- -

-verifyNoMoreInteractionsInOrder

-
-public void verifyNoMoreInteractionsInOrder(java.util.List<java.lang.Object> mocks,
-                                            InOrderContext inOrderContext)
-
-
-
-
-
-
- -

-inOrder

-
-public InOrder inOrder(java.lang.Object... mocks)
-
-
-
-
-
-
- -

-doAnswer

-
-public Stubber doAnswer(Answer answer)
-
-
-
-
-
-
- -

-stubVoid

-
-public <T> VoidMethodStubbable<T> stubVoid(T mock)
-
-
-
-
-
-
- -

-validateMockitoUsage

-
-public void validateMockitoUsage()
-
-
-
-
-
-
- -

-getLastInvocation

-
-public Invocation getLastInvocation()
-
-
For testing purposes only. Is not the part of main API. -

-

- -
Returns:
last invocation
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/MockitoInvocationHandler.html b/tools/mockito/javadoc/org/mockito/internal/MockitoInvocationHandler.html deleted file mode 100644 index ab7b7457cbc..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/MockitoInvocationHandler.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - -MockitoInvocationHandler (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal -
-Interface MockitoInvocationHandler

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
All Known Implementing Classes:
MockHandler
-
-
-
-
public interface MockitoInvocationHandler
extends java.io.Serializable
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- java.lang.Objecthandle(Invocation invocation) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-handle

-
-java.lang.Object handle(Invocation invocation)
-                        throws java.lang.Throwable
-
-
-
-
-
- -
Throws: -
java.lang.Throwable
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/class-use/InOrderImpl.html b/tools/mockito/javadoc/org/mockito/internal/class-use/InOrderImpl.html deleted file mode 100644 index d294f23424a..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/class-use/InOrderImpl.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.InOrderImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.InOrderImpl

-
- - - - - - - - - -
-Packages that use InOrderImpl
org.mockito.internal.verificationVerification logic. 
-  -

- - - - - -
-Uses of InOrderImpl in org.mockito.internal.verification
-  -

- - - - - - - - -
Constructors in org.mockito.internal.verification with parameters of type InOrderImpl
InOrderWrapper(VerificationInOrderMode mode, - InOrderImpl inOrder) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/class-use/MockHandler.html b/tools/mockito/javadoc/org/mockito/internal/class-use/MockHandler.html deleted file mode 100644 index 594e8bc9593..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/class-use/MockHandler.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.MockHandler (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.MockHandler

-
-No usage of org.mockito.internal.MockHandler -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/class-use/MockHandlerInterface.html b/tools/mockito/javadoc/org/mockito/internal/class-use/MockHandlerInterface.html deleted file mode 100644 index e82e32ef798..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/class-use/MockHandlerInterface.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.MockHandlerInterface (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.MockHandlerInterface

-
- - - - - - - - - - - - - -
-Packages that use MockHandlerInterface
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.utilStatic utils 
-  -

- - - - - -
-Uses of MockHandlerInterface in org.mockito.internal
-  -

- - - - - - - - - -
Classes in org.mockito.internal that implement MockHandlerInterface
- classMockHandler<T> - -
-          Invocation handler set on mock objects.
-  -

- - - - - - - - -
Constructors in org.mockito.internal with parameters of type MockHandlerInterface
MockHandler(MockHandlerInterface<T> oldMockHandler) - -
-           
-  -

- - - - - -
-Uses of MockHandlerInterface in org.mockito.internal.util
-  -

- - - - - - - - - -
Methods in org.mockito.internal.util that return MockHandlerInterface
- - - - - -
-<T> MockHandlerInterface<T>
-
MockUtil.getMockHandler(T mock) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/class-use/MockitoCore.html b/tools/mockito/javadoc/org/mockito/internal/class-use/MockitoCore.html deleted file mode 100644 index 846c0885765..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/class-use/MockitoCore.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.MockitoCore (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.MockitoCore

-
-No usage of org.mockito.internal.MockitoCore -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/class-use/MockitoInvocationHandler.html b/tools/mockito/javadoc/org/mockito/internal/class-use/MockitoInvocationHandler.html deleted file mode 100644 index 10e84a1dc0b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/class-use/MockitoInvocationHandler.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.MockitoInvocationHandler (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.MockitoInvocationHandler

-
- - - - - - - - - - - - - -
-Packages that use MockitoInvocationHandler
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.creationMock object creation. 
-  -

- - - - - -
-Uses of MockitoInvocationHandler in org.mockito.internal
-  -

- - - - - - - - - -
Classes in org.mockito.internal that implement MockitoInvocationHandler
- classMockHandler<T> - -
-          Invocation handler set on mock objects.
-  -

- - - - - -
-Uses of MockitoInvocationHandler in org.mockito.internal.creation
-  -

- - - - - - - - - -
Methods in org.mockito.internal.creation that return MockitoInvocationHandler
- MockitoInvocationHandlerMethodInterceptorFilter.getHandler() - -
-           
-  -

- - - - - - - - -
Constructors in org.mockito.internal.creation with parameters of type MockitoInvocationHandler
MethodInterceptorFilter(MockitoInvocationHandler handler, - MockSettingsImpl mockSettings) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/ClassPathLoader.html b/tools/mockito/javadoc/org/mockito/internal/configuration/ClassPathLoader.html deleted file mode 100644 index c6633f5ae94..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/ClassPathLoader.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - -ClassPathLoader (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.configuration -
-Class ClassPathLoader

-
-java.lang.Object
-  extended by org.mockito.internal.configuration.ClassPathLoader
-
-
-
-
public class ClassPathLoader
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ClassPathLoader() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- IMockitoConfigurationloadConfiguration() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ClassPathLoader

-
-public ClassPathLoader()
-
-
- - - - - - - - -
-Method Detail
- -

-loadConfiguration

-
-public IMockitoConfiguration loadConfiguration()
-
-
- -
Returns:
configuration loaded from classpath or null
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/DefaultAnnotationEngine.html b/tools/mockito/javadoc/org/mockito/internal/configuration/DefaultAnnotationEngine.html deleted file mode 100644 index 97e25a6321f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/DefaultAnnotationEngine.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - -DefaultAnnotationEngine (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.configuration -
-Class DefaultAnnotationEngine

-
-java.lang.Object
-  extended by org.mockito.internal.configuration.DefaultAnnotationEngine
-
-
-
All Implemented Interfaces:
AnnotationEngine
-
-
-
-
public class DefaultAnnotationEngine
extends java.lang.Object
implements AnnotationEngine
- - -

-Initializes fields annotated with @Mock or @Captor. -

- See MockitoAnnotations -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
DefaultAnnotationEngine() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.ObjectcreateMockFor(java.lang.annotation.Annotation annotation, - java.lang.reflect.Field field) - -
-           
- voidprocess(java.lang.Class<?> clazz, - java.lang.Object testClass) - -
-          Allows extending the interface to perform action on specific fields on the test class
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-DefaultAnnotationEngine

-
-public DefaultAnnotationEngine()
-
-
- - - - - - - - -
-Method Detail
- -

-createMockFor

-
-public java.lang.Object createMockFor(java.lang.annotation.Annotation annotation,
-                                      java.lang.reflect.Field field)
-
-
-
Specified by:
createMockFor in interface AnnotationEngine
-
-
-
-
-
-
- -

-process

-
-public void process(java.lang.Class<?> clazz,
-                    java.lang.Object testClass)
-
-
Description copied from interface: AnnotationEngine
-
Allows extending the interface to perform action on specific fields on the test class -

- See the implementation of this method to figure out what is it for -

-

-
Specified by:
process in interface AnnotationEngine
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/DefaultInjectionEngine.html b/tools/mockito/javadoc/org/mockito/internal/configuration/DefaultInjectionEngine.html deleted file mode 100644 index 0d2343ae649..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/DefaultInjectionEngine.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -DefaultInjectionEngine (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.configuration -
-Class DefaultInjectionEngine

-
-java.lang.Object
-  extended by org.mockito.internal.configuration.DefaultInjectionEngine
-
-
-
-
public class DefaultInjectionEngine
extends java.lang.Object
- - -

-Initializes mock/spies dependencies for fields annotated with @InjectMocks -

- See MockitoAnnotations -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
DefaultInjectionEngine() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidinjectMocksOnFields(java.util.Set<java.lang.reflect.Field> testClassFields, - java.util.Set<java.lang.Object> mocks, - java.lang.Object testClass) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-DefaultInjectionEngine

-
-public DefaultInjectionEngine()
-
-
- - - - - - - - -
-Method Detail
- -

-injectMocksOnFields

-
-public void injectMocksOnFields(java.util.Set<java.lang.reflect.Field> testClassFields,
-                                java.util.Set<java.lang.Object> mocks,
-                                java.lang.Object testClass)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/GlobalConfiguration.html b/tools/mockito/javadoc/org/mockito/internal/configuration/GlobalConfiguration.html deleted file mode 100644 index df935f188ac..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/GlobalConfiguration.html +++ /dev/null @@ -1,369 +0,0 @@ - - - - - - -GlobalConfiguration (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.configuration -
-Class GlobalConfiguration

-
-java.lang.Object
-  extended by org.mockito.internal.configuration.GlobalConfiguration
-
-
-
All Implemented Interfaces:
java.io.Serializable, IMockitoConfiguration
-
-
-
-
public class GlobalConfiguration
extends java.lang.Object
implements IMockitoConfiguration, java.io.Serializable
- - -

-Thread-safe wrapper on user-defined org.mockito.configuration.MockitoConfiguration implementation -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
GlobalConfiguration() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancleansStackTrace() - -
-          This should be turned on unless you're a Mockito developer and you wish - to have verbose (read: messy) stack traces that only few understand (eg: - Mockito developers)
- AnnotationEnginegetAnnotationEngine() - -
-          Configures annotations for mocks
- Answer<java.lang.Object>getDefaultAnswer() - -
-          Allows configuring the default answers of unstubbed invocations
- ReturnValuesgetReturnValues() - -
-           
-static voidvalidate() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-GlobalConfiguration

-
-public GlobalConfiguration()
-
-
- - - - - - - - -
-Method Detail
- -

-validate

-
-public static void validate()
-
-
-
-
-
-
-
-
-
- -

-getReturnValues

-
-public ReturnValues getReturnValues()
-
-
-
Specified by:
getReturnValues in interface IMockitoConfiguration
-
-
-
-
-
-
- -

-getAnnotationEngine

-
-public AnnotationEngine getAnnotationEngine()
-
-
Description copied from interface: IMockitoConfiguration
-
Configures annotations for mocks -

- See javadoc for IMockitoConfiguration -

-

-
Specified by:
getAnnotationEngine in interface IMockitoConfiguration
-
-
-
-
-
-
- -

-cleansStackTrace

-
-public boolean cleansStackTrace()
-
-
Description copied from interface: IMockitoConfiguration
-
This should be turned on unless you're a Mockito developer and you wish - to have verbose (read: messy) stack traces that only few understand (eg: - Mockito developers) -

- See javadoc for IMockitoConfiguration -

-

-
Specified by:
cleansStackTrace in interface IMockitoConfiguration
-
-
- -
Returns:
if Mockito should clean stack traces
-
-
-
- -

-getDefaultAnswer

-
-public Answer<java.lang.Object> getDefaultAnswer()
-
-
Description copied from interface: IMockitoConfiguration
-
Allows configuring the default answers of unstubbed invocations -

- See javadoc for IMockitoConfiguration -

-

-
Specified by:
getDefaultAnswer in interface IMockitoConfiguration
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/InjectingAnnotationEngine.html b/tools/mockito/javadoc/org/mockito/internal/configuration/InjectingAnnotationEngine.html deleted file mode 100644 index 6ef32b98dfc..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/InjectingAnnotationEngine.html +++ /dev/null @@ -1,318 +0,0 @@ - - - - - - -InjectingAnnotationEngine (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.configuration -
-Class InjectingAnnotationEngine

-
-java.lang.Object
-  extended by org.mockito.internal.configuration.InjectingAnnotationEngine
-
-
-
All Implemented Interfaces:
AnnotationEngine
-
-
-
-
public class InjectingAnnotationEngine
extends java.lang.Object
implements AnnotationEngine
- - -

-See MockitoAnnotations -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
InjectingAnnotationEngine() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.ObjectcreateMockFor(java.lang.annotation.Annotation annotation, - java.lang.reflect.Field field) - -
-           
- voidinjectMocks(java.lang.Object testClass) - -
-          Initializes mock/spies dependencies for objects annotated with - @InjectMocks for given testClass.
- voidprocess(java.lang.Class<?> context, - java.lang.Object testClass) - -
-          Allows extending the interface to perform action on specific fields on the test class
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InjectingAnnotationEngine

-
-public InjectingAnnotationEngine()
-
-
- - - - - - - - -
-Method Detail
- -

-createMockFor

-
-public java.lang.Object createMockFor(java.lang.annotation.Annotation annotation,
-                                      java.lang.reflect.Field field)
-
-
-
Specified by:
createMockFor in interface AnnotationEngine
-
-
-
-
-
-
- -

-process

-
-public void process(java.lang.Class<?> context,
-                    java.lang.Object testClass)
-
-
Description copied from interface: AnnotationEngine
-
Allows extending the interface to perform action on specific fields on the test class -

- See the implementation of this method to figure out what is it for -

-

-
Specified by:
process in interface AnnotationEngine
-
-
-
-
-
-
- -

-injectMocks

-
-public void injectMocks(java.lang.Object testClass)
-
-
Initializes mock/spies dependencies for objects annotated with - @InjectMocks for given testClass. -

- See examples in javadoc for MockitoAnnotations class. -

-

-
-
-
-
Parameters:
testClass - Test class, usually this
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/SpyAnnotationEngine.html b/tools/mockito/javadoc/org/mockito/internal/configuration/SpyAnnotationEngine.html deleted file mode 100644 index d9876e8c08d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/SpyAnnotationEngine.html +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - -SpyAnnotationEngine (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.configuration -
-Class SpyAnnotationEngine

-
-java.lang.Object
-  extended by org.mockito.internal.configuration.SpyAnnotationEngine
-
-
-
All Implemented Interfaces:
AnnotationEngine
-
-
-
-
public class SpyAnnotationEngine
extends java.lang.Object
implements AnnotationEngine
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
SpyAnnotationEngine() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.ObjectcreateMockFor(java.lang.annotation.Annotation annotation, - java.lang.reflect.Field field) - -
-           
- voidprocess(java.lang.Class<?> context, - java.lang.Object testClass) - -
-          Allows extending the interface to perform action on specific fields on the test class
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SpyAnnotationEngine

-
-public SpyAnnotationEngine()
-
-
- - - - - - - - -
-Method Detail
- -

-createMockFor

-
-public java.lang.Object createMockFor(java.lang.annotation.Annotation annotation,
-                                      java.lang.reflect.Field field)
-
-
-
Specified by:
createMockFor in interface AnnotationEngine
-
-
-
-
-
-
- -

-process

-
-public void process(java.lang.Class<?> context,
-                    java.lang.Object testClass)
-
-
Description copied from interface: AnnotationEngine
-
Allows extending the interface to perform action on specific fields on the test class -

- See the implementation of this method to figure out what is it for -

-

-
Specified by:
process in interface AnnotationEngine
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/ClassPathLoader.html b/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/ClassPathLoader.html deleted file mode 100644 index f5b14c113a0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/ClassPathLoader.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.configuration.ClassPathLoader (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.configuration.ClassPathLoader

-
-No usage of org.mockito.internal.configuration.ClassPathLoader -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/DefaultAnnotationEngine.html b/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/DefaultAnnotationEngine.html deleted file mode 100644 index d67f185ccdc..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/DefaultAnnotationEngine.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.configuration.DefaultAnnotationEngine (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.configuration.DefaultAnnotationEngine

-
-No usage of org.mockito.internal.configuration.DefaultAnnotationEngine -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/DefaultInjectionEngine.html b/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/DefaultInjectionEngine.html deleted file mode 100644 index 5a1560a8f02..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/DefaultInjectionEngine.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.configuration.DefaultInjectionEngine (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.configuration.DefaultInjectionEngine

-
-No usage of org.mockito.internal.configuration.DefaultInjectionEngine -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/GlobalConfiguration.html b/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/GlobalConfiguration.html deleted file mode 100644 index fe590c33be2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/GlobalConfiguration.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.configuration.GlobalConfiguration (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.configuration.GlobalConfiguration

-
-No usage of org.mockito.internal.configuration.GlobalConfiguration -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/InjectingAnnotationEngine.html b/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/InjectingAnnotationEngine.html deleted file mode 100644 index bf1f8730d59..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/InjectingAnnotationEngine.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.configuration.InjectingAnnotationEngine (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.configuration.InjectingAnnotationEngine

-
-No usage of org.mockito.internal.configuration.InjectingAnnotationEngine -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/SpyAnnotationEngine.html b/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/SpyAnnotationEngine.html deleted file mode 100644 index 2931c760690..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/class-use/SpyAnnotationEngine.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.configuration.SpyAnnotationEngine (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.configuration.SpyAnnotationEngine

-
-No usage of org.mockito.internal.configuration.SpyAnnotationEngine -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/configuration/package-frame.html deleted file mode 100644 index 8e1a1d8ac13..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/package-frame.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - -org.mockito.internal.configuration (Mockito API) - - - - - - - - - - - -org.mockito.internal.configuration - - - - -
-Classes  - -
-ClassPathLoader -
-DefaultAnnotationEngine -
-DefaultInjectionEngine -
-GlobalConfiguration -
-InjectingAnnotationEngine -
-SpyAnnotationEngine
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/configuration/package-summary.html deleted file mode 100644 index c66a300d3e3..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/package-summary.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -org.mockito.internal.configuration (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.configuration -

-Mockito configuration -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
ClassPathLoader 
DefaultAnnotationEngineInitializes fields annotated with @Mock or @Captor.
DefaultInjectionEngineInitializes mock/spies dependencies for fields annotated with @InjectMocks -

- See MockitoAnnotations

GlobalConfigurationThread-safe wrapper on user-defined org.mockito.configuration.MockitoConfiguration implementation
InjectingAnnotationEngineSee MockitoAnnotations
SpyAnnotationEngine 
-  - -

-

-Package org.mockito.internal.configuration Description -

- -

-Mockito configuration -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/configuration/package-tree.html deleted file mode 100644 index 4e179b905d2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/package-tree.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - -org.mockito.internal.configuration Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.configuration -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/configuration/package-use.html b/tools/mockito/javadoc/org/mockito/internal/configuration/package-use.html deleted file mode 100644 index c0bd175deb3..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/configuration/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.configuration (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.configuration

-
-No usage of org.mockito.internal.configuration -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/AbstractMockitoMethodProxy.html b/tools/mockito/javadoc/org/mockito/internal/creation/AbstractMockitoMethodProxy.html deleted file mode 100644 index 88ec999bb45..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/AbstractMockitoMethodProxy.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -AbstractMockitoMethodProxy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation -
-Class AbstractMockitoMethodProxy

-
-java.lang.Object
-  extended by org.mockito.internal.creation.AbstractMockitoMethodProxy
-
-
-
All Implemented Interfaces:
MockitoMethodProxy
-
-
-
Direct Known Subclasses:
DelegatingMockitoMethodProxy, SerializableMockitoMethodProxy
-
-
-
-
public abstract class AbstractMockitoMethodProxy
extends java.lang.Object
implements MockitoMethodProxy
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
AbstractMockitoMethodProxy() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.ObjectinvokeSuper(java.lang.Object target, - java.lang.Object[] arguments) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.mockito.internal.creation.MockitoMethodProxy
getMethodProxy
-  -

- - - - - - - - -
-Constructor Detail
- -

-AbstractMockitoMethodProxy

-
-public AbstractMockitoMethodProxy()
-
-
- - - - - - - - -
-Method Detail
- -

-invokeSuper

-
-public java.lang.Object invokeSuper(java.lang.Object target,
-                                    java.lang.Object[] arguments)
-                             throws java.lang.Throwable
-
-
-
Specified by:
invokeSuper in interface MockitoMethodProxy
-
-
- -
Throws: -
java.lang.Throwable
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/ClassNameFinder.html b/tools/mockito/javadoc/org/mockito/internal/creation/ClassNameFinder.html deleted file mode 100644 index b19368c660f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/ClassNameFinder.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -ClassNameFinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation -
-Class ClassNameFinder

-
-java.lang.Object
-  extended by org.mockito.internal.creation.ClassNameFinder
-
-
-
-
public class ClassNameFinder
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ClassNameFinder() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-static java.lang.StringclassNameForMock(java.lang.Object mock) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ClassNameFinder

-
-public ClassNameFinder()
-
-
- - - - - - - - -
-Method Detail
- -

-classNameForMock

-
-public static java.lang.String classNameForMock(java.lang.Object mock)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/DelegatingMethod.html b/tools/mockito/javadoc/org/mockito/internal/creation/DelegatingMethod.html deleted file mode 100644 index 820e320013d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/DelegatingMethod.html +++ /dev/null @@ -1,409 +0,0 @@ - - - - - - -DelegatingMethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation -
-Class DelegatingMethod

-
-java.lang.Object
-  extended by org.mockito.internal.creation.DelegatingMethod
-
-
-
All Implemented Interfaces:
MockitoMethod
-
-
-
-
public class DelegatingMethod
extends java.lang.Object
implements MockitoMethod
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
DelegatingMethod(java.lang.reflect.Method method) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(java.lang.Object obj) - -
-           
- java.lang.Class<?>[]getExceptionTypes() - -
-           
- java.lang.reflect.MethodgetJavaMethod() - -
-           
- java.lang.StringgetName() - -
-           
- java.lang.Class<?>[]getParameterTypes() - -
-           
- java.lang.Class<?>getReturnType() - -
-           
- inthashCode() - -
-           
- booleanisVarArgs() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-DelegatingMethod

-
-public DelegatingMethod(java.lang.reflect.Method method)
-
-
- - - - - - - - -
-Method Detail
- -

-getExceptionTypes

-
-public java.lang.Class<?>[] getExceptionTypes()
-
-
-
Specified by:
getExceptionTypes in interface MockitoMethod
-
-
-
-
-
-
- -

-getJavaMethod

-
-public java.lang.reflect.Method getJavaMethod()
-
-
-
Specified by:
getJavaMethod in interface MockitoMethod
-
-
-
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
Specified by:
getName in interface MockitoMethod
-
-
-
-
-
-
- -

-getParameterTypes

-
-public java.lang.Class<?>[] getParameterTypes()
-
-
-
Specified by:
getParameterTypes in interface MockitoMethod
-
-
-
-
-
-
- -

-getReturnType

-
-public java.lang.Class<?> getReturnType()
-
-
-
Specified by:
getReturnType in interface MockitoMethod
-
-
-
-
-
-
- -

-isVarArgs

-
-public boolean isVarArgs()
-
-
-
Specified by:
isVarArgs in interface MockitoMethod
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class java.lang.Object
-
-
-
-
-
-
- -

-equals

-
-public boolean equals(java.lang.Object obj)
-
-
-
Overrides:
equals in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/DelegatingMockitoMethodProxy.html b/tools/mockito/javadoc/org/mockito/internal/creation/DelegatingMockitoMethodProxy.html deleted file mode 100644 index 80e3ad28ca9..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/DelegatingMockitoMethodProxy.html +++ /dev/null @@ -1,262 +0,0 @@ - - - - - - -DelegatingMockitoMethodProxy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation -
-Class DelegatingMockitoMethodProxy

-
-java.lang.Object
-  extended by org.mockito.internal.creation.AbstractMockitoMethodProxy
-      extended by org.mockito.internal.creation.DelegatingMockitoMethodProxy
-
-
-
All Implemented Interfaces:
MockitoMethodProxy
-
-
-
-
public class DelegatingMockitoMethodProxy
extends AbstractMockitoMethodProxy
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
DelegatingMockitoMethodProxy(org.mockito.cglib.proxy.MethodProxy methodProxy) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- org.mockito.cglib.proxy.MethodProxygetMethodProxy() - -
-           
- - - - - - - -
Methods inherited from class org.mockito.internal.creation.AbstractMockitoMethodProxy
invokeSuper
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-DelegatingMockitoMethodProxy

-
-public DelegatingMockitoMethodProxy(org.mockito.cglib.proxy.MethodProxy methodProxy)
-
-
- - - - - - - - -
-Method Detail
- -

-getMethodProxy

-
-public org.mockito.cglib.proxy.MethodProxy getMethodProxy()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/MethodInterceptorFilter.html b/tools/mockito/javadoc/org/mockito/internal/creation/MethodInterceptorFilter.html deleted file mode 100644 index c9111e06253..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/MethodInterceptorFilter.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - -MethodInterceptorFilter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation -
-Class MethodInterceptorFilter

-
-java.lang.Object
-  extended by org.mockito.internal.creation.MethodInterceptorFilter
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.mockito.cglib.proxy.Callback, org.mockito.cglib.proxy.MethodInterceptor
-
-
-
-
public class MethodInterceptorFilter
extends java.lang.Object
implements org.mockito.cglib.proxy.MethodInterceptor, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
MethodInterceptorFilter(MockitoInvocationHandler handler, - MockSettingsImpl mockSettings) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- MockitoMethodcreateMockitoMethod(java.lang.reflect.Method method) - -
-           
- MockitoMethodProxycreateMockitoMethodProxy(org.mockito.cglib.proxy.MethodProxy methodProxy) - -
-           
- MockitoInvocationHandlergetHandler() - -
-           
- java.lang.Objectintercept(java.lang.Object proxy, - java.lang.reflect.Method method, - java.lang.Object[] args, - org.mockito.cglib.proxy.MethodProxy methodProxy) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MethodInterceptorFilter

-
-public MethodInterceptorFilter(MockitoInvocationHandler handler,
-                               MockSettingsImpl mockSettings)
-
-
- - - - - - - - -
-Method Detail
- -

-intercept

-
-public java.lang.Object intercept(java.lang.Object proxy,
-                                  java.lang.reflect.Method method,
-                                  java.lang.Object[] args,
-                                  org.mockito.cglib.proxy.MethodProxy methodProxy)
-                           throws java.lang.Throwable
-
-
-
Specified by:
intercept in interface org.mockito.cglib.proxy.MethodInterceptor
-
-
- -
Throws: -
java.lang.Throwable
-
-
-
- -

-getHandler

-
-public MockitoInvocationHandler getHandler()
-
-
-
-
-
-
-
-
-
- -

-createMockitoMethodProxy

-
-public MockitoMethodProxy createMockitoMethodProxy(org.mockito.cglib.proxy.MethodProxy methodProxy)
-
-
-
-
-
-
-
-
-
- -

-createMockitoMethod

-
-public MockitoMethod createMockitoMethod(java.lang.reflect.Method method)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/MockSettingsImpl.html b/tools/mockito/javadoc/org/mockito/internal/creation/MockSettingsImpl.html deleted file mode 100644 index 7ca41bf605e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/MockSettingsImpl.html +++ /dev/null @@ -1,565 +0,0 @@ - - - - - - -MockSettingsImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation -
-Class MockSettingsImpl

-
-java.lang.Object
-  extended by org.mockito.internal.creation.MockSettingsImpl
-
-
-
All Implemented Interfaces:
java.io.Serializable, MockSettings
-
-
-
-
public class MockSettingsImpl
extends java.lang.Object
implements MockSettings
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
MockSettingsImpl() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- MockSettingsdefaultAnswer(Answer defaultAnswer) - -
-          Specifies default answers to interactions.
- MockSettingsextraInterfaces(java.lang.Class<?>... extraInterfaces) - -
-          Specifies extra interfaces the mock should implement.
- Answer<java.lang.Object>getDefaultAnswer() - -
-           
- java.lang.Class<?>[]getExtraInterfaces() - -
-           
- MockNamegetMockName() - -
-           
- java.lang.ObjectgetSpiedInstance() - -
-           
- voidinitiateMockName(java.lang.Class classToMock) - -
-           
- booleanisSerializable() - -
-           
- MockSettingsname(java.lang.String name) - -
-          Specifies mock name.
- MockSettingsserializable() - -
-          Configures the mock to be serializable.
- MockSettingsspiedInstance(java.lang.Object spiedInstance) - -
-          Specifies the instance to spy on.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockSettingsImpl

-
-public MockSettingsImpl()
-
-
- - - - - - - - -
-Method Detail
- -

-serializable

-
-public MockSettings serializable()
-
-
Description copied from interface: MockSettings
-
Configures the mock to be serializable. With this feature you can use a mock in a place that requires dependencies to be serializable. -

- WARNING: This should be rarely used in unit testing. -

- The behaviour was implemented for a specific use case of a BDD spec that had an unreliable external dependency. This - was in a web environment and the objects from the external dependency were being serialized to pass between layers. -

- Example: -

-   List serializableMock = mock(List.class, withSettings().serializable());
- 
-

-

-
Specified by:
serializable in interface MockSettings
-
-
- -
Returns:
settings instance so that you can fluently specify other settings
-
-
-
- -

-extraInterfaces

-
-public MockSettings extraInterfaces(java.lang.Class<?>... extraInterfaces)
-
-
Description copied from interface: MockSettings
-
Specifies extra interfaces the mock should implement. Might be useful for legacy code or some corner cases. - For background, see issue 51 here -

- This mysterious feature should be used very occasionally. - The object under test should know exactly its collaborators & dependencies. - If you happen to use it often than please make sure you are really producing simple, clean & readable code. -

- Examples: -

-   Foo foo = mock(Foo.class, withSettings().extraInterfaces(Bar.class, Baz.class));
-   
-   //now, the mock implements extra interfaces, so following casting is possible:
-   Bar bar = (Bar) foo;
-   Baz baz = (Baz) foo;
- 
-

-

-
Specified by:
extraInterfaces in interface MockSettings
-
-
-
Parameters:
extraInterfaces - extra interfaces the should implement. -
Returns:
settings instance so that you can fluently specify other settings
-
-
-
- -

-getMockName

-
-public MockName getMockName()
-
-
-
-
-
-
-
-
-
- -

-getExtraInterfaces

-
-public java.lang.Class<?>[] getExtraInterfaces()
-
-
-
-
-
-
-
-
-
- -

-getSpiedInstance

-
-public java.lang.Object getSpiedInstance()
-
-
-
-
-
-
-
-
-
- -

-name

-
-public MockSettings name(java.lang.String name)
-
-
Description copied from interface: MockSettings
-
Specifies mock name. Naming mocks can be helpful for debugging - the name is used in all verification errors. -

- Beware that naming mocks is not a solution for complex code which uses too many mocks or collaborators. - If you have too many mocks then refactor the code so that it's easy to test/debug without necessity of naming mocks. -

- If you use @Mock annotation then you've got naming mocks for free! @Mock uses field name as mock name. Read more. -

- Examples: -

-   Foo foo = mock(Foo.class, withSettings().name("foo"));
-   
-   //Below does exactly the same:
-   Foo foo = mock(Foo.class, "foo");
- 
-

-

-
Specified by:
name in interface MockSettings
-
-
-
Parameters:
name - the name of the mock, later used in all verification errors -
Returns:
settings instance so that you can fluently specify other settings
-
-
-
- -

-spiedInstance

-
-public MockSettings spiedInstance(java.lang.Object spiedInstance)
-
-
Description copied from interface: MockSettings
-
Specifies the instance to spy on. Makes sense only for spies/partial mocks. - Sets the real implementation to be called when the method is called on a mock object. -

- As usual you are going to read the partial mock warning: - Object oriented programming is more less tackling complexity by dividing the complexity into separate, specific, SRPy objects. - How does partial mock fit into this paradigm? Well, it just doesn't... - Partial mock usually means that the complexity has been moved to a different method on the same object. - In most cases, this is not the way you want to design your application. -

- However, there are rare cases when partial mocks come handy: - dealing with code you cannot change easily (3rd party interfaces, interim refactoring of legacy code etc.) - However, I wouldn't use partial mocks for new, test-driven & well-designed code. -

- Enough warnings about partial mocks, see an example how spiedInstance() works: -

-   Foo foo = mock(Foo.class, spiedInstance(fooInstance));
-   
-   //Below does exactly the same:
-   Foo foo = spy(fooInstance);
- 
-

-

-
Specified by:
spiedInstance in interface MockSettings
-
-
-
Parameters:
spiedInstance - to spy on -
Returns:
settings instance so that you can fluently specify other settings
-
-
-
- -

-defaultAnswer

-
-public MockSettings defaultAnswer(Answer defaultAnswer)
-
-
Description copied from interface: MockSettings
-
Specifies default answers to interactions. - It's quite advanced feature and typically you don't need it to write decent tests. - However it can be helpful when working with legacy systems. -

- It is the default answer so it will be used only when you don't stub the method call. - -

-   Foo mock = mock(Foo.class, withSettings().defaultAnswer(RETURNS_SMART_NULLS));
-   Foo mockTwo = mock(Foo.class, withSettings().defaultAnswer(new YourOwnAnswer()));
-   
-   //Below does exactly the same:
-   Foo mockTwo = mock(Foo.class, new YourOwnAnswer());
- 
-

-

-
Specified by:
defaultAnswer in interface MockSettings
-
-
-
Parameters:
defaultAnswer - default answer to be used by mock when not stubbed -
Returns:
settings instance so that you can fluently specify other settings
-
-
-
- -

-getDefaultAnswer

-
-public Answer<java.lang.Object> getDefaultAnswer()
-
-
-
-
-
-
-
-
-
- -

-isSerializable

-
-public boolean isSerializable()
-
-
-
-
-
-
-
-
-
- -

-initiateMockName

-
-public void initiateMockName(java.lang.Class classToMock)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/MockitoMethodProxy.html b/tools/mockito/javadoc/org/mockito/internal/creation/MockitoMethodProxy.html deleted file mode 100644 index 810ffc1c2c9..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/MockitoMethodProxy.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - -MockitoMethodProxy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation -
-Interface MockitoMethodProxy

-
-
All Known Implementing Classes:
AbstractMockitoMethodProxy, DelegatingMockitoMethodProxy, SerializableMockitoMethodProxy
-
-
-
-
public interface MockitoMethodProxy
- - -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- org.mockito.cglib.proxy.MethodProxygetMethodProxy() - -
-           
- java.lang.ObjectinvokeSuper(java.lang.Object target, - java.lang.Object[] arguments) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-invokeSuper

-
-java.lang.Object invokeSuper(java.lang.Object target,
-                             java.lang.Object[] arguments)
-                             throws java.lang.Throwable
-
-
- -
Throws: -
java.lang.Throwable
-
-
-
- -

-getMethodProxy

-
-org.mockito.cglib.proxy.MethodProxy getMethodProxy()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/SerializableMockitoMethodProxy.html b/tools/mockito/javadoc/org/mockito/internal/creation/SerializableMockitoMethodProxy.html deleted file mode 100644 index 892a93f1dc2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/SerializableMockitoMethodProxy.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - - - -SerializableMockitoMethodProxy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation -
-Class SerializableMockitoMethodProxy

-
-java.lang.Object
-  extended by org.mockito.internal.creation.AbstractMockitoMethodProxy
-      extended by org.mockito.internal.creation.SerializableMockitoMethodProxy
-
-
-
All Implemented Interfaces:
java.io.Serializable, MockitoMethodProxy
-
-
-
-
public class SerializableMockitoMethodProxy
extends AbstractMockitoMethodProxy
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
SerializableMockitoMethodProxy(org.mockito.cglib.proxy.MethodProxy methodProxy) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- org.mockito.cglib.proxy.MethodProxygetMethodProxy() - -
-           
- - - - - - - -
Methods inherited from class org.mockito.internal.creation.AbstractMockitoMethodProxy
invokeSuper
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SerializableMockitoMethodProxy

-
-public SerializableMockitoMethodProxy(org.mockito.cglib.proxy.MethodProxy methodProxy)
-
-
- - - - - - - - -
-Method Detail
- -

-getMethodProxy

-
-public org.mockito.cglib.proxy.MethodProxy getMethodProxy()
-
-
-
Specified by:
getMethodProxy in interface MockitoMethodProxy
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/CGLIBHacker.html b/tools/mockito/javadoc/org/mockito/internal/creation/cglib/CGLIBHacker.html deleted file mode 100644 index 4b645fd399b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/CGLIBHacker.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - -CGLIBHacker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation.cglib -
-Class CGLIBHacker

-
-java.lang.Object
-  extended by org.mockito.internal.creation.cglib.CGLIBHacker
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class CGLIBHacker
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
CGLIBHacker() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidsetMockitoNamingPolicy(MockitoMethodProxy mockitoMethodProxy) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-CGLIBHacker

-
-public CGLIBHacker()
-
-
- - - - - - - - -
-Method Detail
- -

-setMockitoNamingPolicy

-
-public void setMockitoNamingPolicy(MockitoMethodProxy mockitoMethodProxy)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/MockitoNamingPolicy.html b/tools/mockito/javadoc/org/mockito/internal/creation/cglib/MockitoNamingPolicy.html deleted file mode 100644 index b1b3153b418..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/MockitoNamingPolicy.html +++ /dev/null @@ -1,310 +0,0 @@ - - - - - - -MockitoNamingPolicy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation.cglib -
-Class MockitoNamingPolicy

-
-java.lang.Object
-  extended by org.mockito.cglib.core.DefaultNamingPolicy
-      extended by org.mockito.internal.creation.cglib.MockitoNamingPolicy
-
-
-
All Implemented Interfaces:
org.mockito.cglib.core.NamingPolicy
-
-
-
-
public class MockitoNamingPolicy
extends org.mockito.cglib.core.DefaultNamingPolicy
- - -

-


- -

- - - - - - - - - - - -
-Field Summary
-static MockitoNamingPolicyINSTANCE - -
-           
-  - - - - - - - - - - -
-Constructor Summary
MockitoNamingPolicy() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-protected  java.lang.StringgetTag() - -
-           
- - - - - - - -
Methods inherited from class org.mockito.cglib.core.DefaultNamingPolicy
getClassName
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.mockito.cglib.core.NamingPolicy
equals
-  -

- - - - - - - - -
-Field Detail
- -

-INSTANCE

-
-public static final MockitoNamingPolicy INSTANCE
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-MockitoNamingPolicy

-
-public MockitoNamingPolicy()
-
-
- - - - - - - - -
-Method Detail
- -

-getTag

-
-protected java.lang.String getTag()
-
-
-
Overrides:
getTag in class org.mockito.cglib.core.DefaultNamingPolicy
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/class-use/CGLIBHacker.html b/tools/mockito/javadoc/org/mockito/internal/creation/cglib/class-use/CGLIBHacker.html deleted file mode 100644 index fde6af04877..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/class-use/CGLIBHacker.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.cglib.CGLIBHacker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.cglib.CGLIBHacker

-
-No usage of org.mockito.internal.creation.cglib.CGLIBHacker -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/class-use/MockitoNamingPolicy.html b/tools/mockito/javadoc/org/mockito/internal/creation/cglib/class-use/MockitoNamingPolicy.html deleted file mode 100644 index a6766bb2024..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/class-use/MockitoNamingPolicy.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.cglib.MockitoNamingPolicy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.cglib.MockitoNamingPolicy

-
- - - - - - - - - -
-Packages that use MockitoNamingPolicy
org.mockito.internal.creation.cglibCGLIB related stuff 
-  -

- - - - - -
-Uses of MockitoNamingPolicy in org.mockito.internal.creation.cglib
-  -

- - - - - - - - - -
Fields in org.mockito.internal.creation.cglib declared as MockitoNamingPolicy
-static MockitoNamingPolicyMockitoNamingPolicy.INSTANCE - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/creation/cglib/package-frame.html deleted file mode 100644 index b176a18db22..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/package-frame.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -org.mockito.internal.creation.cglib (Mockito API) - - - - - - - - - - - -org.mockito.internal.creation.cglib - - - - -
-Classes  - -
-CGLIBHacker -
-MockitoNamingPolicy
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/creation/cglib/package-summary.html deleted file mode 100644 index 9efd3a44f21..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/package-summary.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -org.mockito.internal.creation.cglib (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.creation.cglib -

-CGLIB related stuff -

-See: -
-          Description -

- - - - - - - - - - - - - -
-Class Summary
CGLIBHacker 
MockitoNamingPolicy 
-  - -

-

-Package org.mockito.internal.creation.cglib Description -

- -

-CGLIB related stuff -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/creation/cglib/package-tree.html deleted file mode 100644 index d0aa84d29a4..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/package-tree.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - -org.mockito.internal.creation.cglib Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.creation.cglib -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

-
    -
  • java.lang.Object
      -
    • org.mockito.internal.creation.cglib.CGLIBHacker (implements java.io.Serializable) -
    • org.mockito.cglib.core.DefaultNamingPolicy (implements org.mockito.cglib.core.NamingPolicy) - -
    -
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/package-use.html b/tools/mockito/javadoc/org/mockito/internal/creation/cglib/package-use.html deleted file mode 100644 index b9002864473..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/cglib/package-use.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.creation.cglib (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.creation.cglib

-
- - - - - - - - - -
-Packages that use org.mockito.internal.creation.cglib
org.mockito.internal.creation.cglibCGLIB related stuff 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.creation.cglib used by org.mockito.internal.creation.cglib
MockitoNamingPolicy - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/AbstractMockitoMethodProxy.html b/tools/mockito/javadoc/org/mockito/internal/creation/class-use/AbstractMockitoMethodProxy.html deleted file mode 100644 index 5ccb9061c0f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/AbstractMockitoMethodProxy.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.AbstractMockitoMethodProxy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.AbstractMockitoMethodProxy

-
- - - - - - - - - -
-Packages that use AbstractMockitoMethodProxy
org.mockito.internal.creationMock object creation. 
-  -

- - - - - -
-Uses of AbstractMockitoMethodProxy in org.mockito.internal.creation
-  -

- - - - - - - - - - - - - -
Subclasses of AbstractMockitoMethodProxy in org.mockito.internal.creation
- classDelegatingMockitoMethodProxy - -
-           
- classSerializableMockitoMethodProxy - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/ClassNameFinder.html b/tools/mockito/javadoc/org/mockito/internal/creation/class-use/ClassNameFinder.html deleted file mode 100644 index b5d4ec3aaa7..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/ClassNameFinder.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.ClassNameFinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.ClassNameFinder

-
-No usage of org.mockito.internal.creation.ClassNameFinder -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/DelegatingMethod.html b/tools/mockito/javadoc/org/mockito/internal/creation/class-use/DelegatingMethod.html deleted file mode 100644 index 73e549dacba..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/DelegatingMethod.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.DelegatingMethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.DelegatingMethod

-
-No usage of org.mockito.internal.creation.DelegatingMethod -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/DelegatingMockitoMethodProxy.html b/tools/mockito/javadoc/org/mockito/internal/creation/class-use/DelegatingMockitoMethodProxy.html deleted file mode 100644 index 5442c297326..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/DelegatingMockitoMethodProxy.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.DelegatingMockitoMethodProxy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.DelegatingMockitoMethodProxy

-
-No usage of org.mockito.internal.creation.DelegatingMockitoMethodProxy -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/MethodInterceptorFilter.html b/tools/mockito/javadoc/org/mockito/internal/creation/class-use/MethodInterceptorFilter.html deleted file mode 100644 index c2527244238..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/MethodInterceptorFilter.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.MethodInterceptorFilter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.MethodInterceptorFilter

-
-No usage of org.mockito.internal.creation.MethodInterceptorFilter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/MockSettingsImpl.html b/tools/mockito/javadoc/org/mockito/internal/creation/class-use/MockSettingsImpl.html deleted file mode 100644 index 55eff054407..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/MockSettingsImpl.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.MockSettingsImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.MockSettingsImpl

-
- - - - - - - - - - - - - - - - - -
-Packages that use MockSettingsImpl
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.creationMock object creation. 
org.mockito.internal.utilStatic utils 
-  -

- - - - - -
-Uses of MockSettingsImpl in org.mockito.internal
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.internal that return MockSettingsImpl
- MockSettingsImplMockHandlerInterface.getMockSettings() - -
-           
- MockSettingsImplMockHandler.getMockSettings() - -
-           
-  -

- - - - - - - - -
Constructors in org.mockito.internal with parameters of type MockSettingsImpl
MockHandler(MockSettingsImpl mockSettings) - -
-           
-  -

- - - - - -
-Uses of MockSettingsImpl in org.mockito.internal.creation
-  -

- - - - - - - - -
Constructors in org.mockito.internal.creation with parameters of type MockSettingsImpl
MethodInterceptorFilter(MockitoInvocationHandler handler, - MockSettingsImpl mockSettings) - -
-           
-  -

- - - - - -
-Uses of MockSettingsImpl in org.mockito.internal.util
-  -

- - - - - - - - - -
Methods in org.mockito.internal.util with parameters of type MockSettingsImpl
- - - - - -
-<T> T
-
MockUtil.createMock(java.lang.Class<T> classToMock, - MockSettingsImpl settings) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/MockitoMethodProxy.html b/tools/mockito/javadoc/org/mockito/internal/creation/class-use/MockitoMethodProxy.html deleted file mode 100644 index bda1e10a63d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/MockitoMethodProxy.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.creation.MockitoMethodProxy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.creation.MockitoMethodProxy

-
- - - - - - - - - - - - - - - - - -
-Packages that use MockitoMethodProxy
org.mockito.internal.creationMock object creation. 
org.mockito.internal.creation.cglibCGLIB related stuff 
org.mockito.internal.invocation.realmethodimplementations of real method calls 
-  -

- - - - - -
-Uses of MockitoMethodProxy in org.mockito.internal.creation
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.mockito.internal.creation that implement MockitoMethodProxy
- classAbstractMockitoMethodProxy - -
-           
- classDelegatingMockitoMethodProxy - -
-           
- classSerializableMockitoMethodProxy - -
-           
-  -

- - - - - - - - - -
Methods in org.mockito.internal.creation that return MockitoMethodProxy
- MockitoMethodProxyMethodInterceptorFilter.createMockitoMethodProxy(org.mockito.cglib.proxy.MethodProxy methodProxy) - -
-           
-  -

- - - - - -
-Uses of MockitoMethodProxy in org.mockito.internal.creation.cglib
-  -

- - - - - - - - - -
Methods in org.mockito.internal.creation.cglib with parameters of type MockitoMethodProxy
- voidCGLIBHacker.setMockitoNamingPolicy(MockitoMethodProxy mockitoMethodProxy) - -
-           
-  -

- - - - - -
-Uses of MockitoMethodProxy in org.mockito.internal.invocation.realmethod
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.invocation.realmethod that return MockitoMethodProxy
- MockitoMethodProxyHasCGLIBMethodProxy.getMethodProxy() - -
-           
- MockitoMethodProxyFilteredCGLIBProxyRealMethod.getMethodProxy() - -
-           
- MockitoMethodProxyCGLIBProxyRealMethod.getMethodProxy() - -
-           
-  -

- - - - - - - - - - - -
Constructors in org.mockito.internal.invocation.realmethod with parameters of type MockitoMethodProxy
CGLIBProxyRealMethod(MockitoMethodProxy methodProxy) - -
-           
FilteredCGLIBProxyRealMethod(MockitoMethodProxy methodProxy) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/SerializableMockitoMethodProxy.html b/tools/mockito/javadoc/org/mockito/internal/creation/class-use/SerializableMockitoMethodProxy.html deleted file mode 100644 index c219d46a397..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/class-use/SerializableMockitoMethodProxy.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.SerializableMockitoMethodProxy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.SerializableMockitoMethodProxy

-
-No usage of org.mockito.internal.creation.SerializableMockitoMethodProxy -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug.html b/tools/mockito/javadoc/org/mockito/internal/creation/jmock/ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug.html deleted file mode 100644 index 406922a93ef..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation.jmock -
-Class ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug

-
-java.lang.Object
-  extended by org.mockito.internal.creation.jmock.ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug
-
-
-
Enclosing class:
ClassImposterizer
-
-
-
-
public static class ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug

-
-public ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/ClassImposterizer.html b/tools/mockito/javadoc/org/mockito/internal/creation/jmock/ClassImposterizer.html deleted file mode 100644 index e58cfdbacc5..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/ClassImposterizer.html +++ /dev/null @@ -1,303 +0,0 @@ - - - - - - -ClassImposterizer (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation.jmock -
-Class ClassImposterizer

-
-java.lang.Object
-  extended by org.mockito.internal.creation.jmock.ClassImposterizer
-
-
-
-
public class ClassImposterizer
extends java.lang.Object
- - -

-Thanks to jMock guys for this handy class that wraps all the cglib magic. -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-static classClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug - -
-           
- - - - - - - - - - -
-Field Summary
-static ClassImposterizerINSTANCE - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- booleancanImposterise(java.lang.Class<?> type) - -
-           
- - - - - -
-<T> T
-
imposterise(org.mockito.cglib.proxy.MethodInterceptor interceptor, - java.lang.Class<T> mockedType, - java.lang.Class<?>... ancillaryTypes) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-INSTANCE

-
-public static final ClassImposterizer INSTANCE
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-canImposterise

-
-public boolean canImposterise(java.lang.Class<?> type)
-
-
-
-
-
-
- -

-imposterise

-
-public <T> T imposterise(org.mockito.cglib.proxy.MethodInterceptor interceptor,
-                         java.lang.Class<T> mockedType,
-                         java.lang.Class<?>... ancillaryTypes)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/SearchingClassLoader.html b/tools/mockito/javadoc/org/mockito/internal/creation/jmock/SearchingClassLoader.html deleted file mode 100644 index ac4e7f07e65..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/SearchingClassLoader.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - -SearchingClassLoader (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation.jmock -
-Class SearchingClassLoader

-
-java.lang.Object
-  extended by java.lang.ClassLoader
-      extended by org.mockito.internal.creation.jmock.SearchingClassLoader
-
-
-
-
public class SearchingClassLoader
extends java.lang.ClassLoader
- - -

-Thanks to jMock guys for this ClassLoader. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
SearchingClassLoader(java.lang.ClassLoader parent, - java.lang.ClassLoader nextToSearch) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-static java.lang.ClassLoadercombineLoadersOf(java.lang.Class<?>... classes) - -
-           
-protected  java.lang.Class<?>findClass(java.lang.String name) - -
-           
- - - - - - - -
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SearchingClassLoader

-
-public SearchingClassLoader(java.lang.ClassLoader parent,
-                            java.lang.ClassLoader nextToSearch)
-
-
- - - - - - - - -
-Method Detail
- -

-combineLoadersOf

-
-public static java.lang.ClassLoader combineLoadersOf(java.lang.Class<?>... classes)
-
-
-
-
-
-
- -

-findClass

-
-protected java.lang.Class<?> findClass(java.lang.String name)
-                                throws java.lang.ClassNotFoundException
-
-
-
Overrides:
findClass in class java.lang.ClassLoader
-
-
- -
Throws: -
java.lang.ClassNotFoundException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/SerializableNoOp.html b/tools/mockito/javadoc/org/mockito/internal/creation/jmock/SerializableNoOp.html deleted file mode 100644 index 51e95223965..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/SerializableNoOp.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - -SerializableNoOp (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.creation.jmock -
-Class SerializableNoOp

-
-java.lang.Object
-  extended by org.mockito.internal.creation.jmock.SerializableNoOp
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.mockito.cglib.proxy.Callback, org.mockito.cglib.proxy.NoOp
-
-
-
-
public class SerializableNoOp
extends java.lang.Object
implements org.mockito.cglib.proxy.NoOp, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Field Summary
-static org.mockito.cglib.proxy.CallbackSERIALIZABLE_INSTANCE - -
-           
- - - - - - - -
Fields inherited from interface org.mockito.cglib.proxy.NoOp
INSTANCE
-  - - - - - - - - - - -
-Constructor Summary
SerializableNoOp() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-SERIALIZABLE_INSTANCE

-
-public static final org.mockito.cglib.proxy.Callback SERIALIZABLE_INSTANCE
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-SerializableNoOp

-
-public SerializableNoOp()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/class-use/ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug.html b/tools/mockito/javadoc/org/mockito/internal/creation/jmock/class-use/ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug.html deleted file mode 100644 index 1b7d142f8cb..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/class-use/ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.jmock.ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.jmock.ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug

-
-No usage of org.mockito.internal.creation.jmock.ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/class-use/ClassImposterizer.html b/tools/mockito/javadoc/org/mockito/internal/creation/jmock/class-use/ClassImposterizer.html deleted file mode 100644 index a69e69b1451..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/class-use/ClassImposterizer.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.jmock.ClassImposterizer (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.jmock.ClassImposterizer

-
- - - - - - - - - -
-Packages that use ClassImposterizer
org.mockito.internal.creation.jmockBorrowed from jmock codebase 
-  -

- - - - - -
-Uses of ClassImposterizer in org.mockito.internal.creation.jmock
-  -

- - - - - - - - - -
Fields in org.mockito.internal.creation.jmock declared as ClassImposterizer
-static ClassImposterizerClassImposterizer.INSTANCE - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/class-use/SearchingClassLoader.html b/tools/mockito/javadoc/org/mockito/internal/creation/jmock/class-use/SearchingClassLoader.html deleted file mode 100644 index 86ef8c9cd07..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/class-use/SearchingClassLoader.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.jmock.SearchingClassLoader (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.jmock.SearchingClassLoader

-
-No usage of org.mockito.internal.creation.jmock.SearchingClassLoader -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/class-use/SerializableNoOp.html b/tools/mockito/javadoc/org/mockito/internal/creation/jmock/class-use/SerializableNoOp.html deleted file mode 100644 index 1fc7f5e90fe..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/class-use/SerializableNoOp.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.creation.jmock.SerializableNoOp (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.creation.jmock.SerializableNoOp

-
-No usage of org.mockito.internal.creation.jmock.SerializableNoOp -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/creation/jmock/package-frame.html deleted file mode 100644 index 0c675333999..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/package-frame.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - -org.mockito.internal.creation.jmock (Mockito API) - - - - - - - - - - - -org.mockito.internal.creation.jmock - - - - -
-Classes  - -
-ClassImposterizer -
-ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug -
-SearchingClassLoader -
-SerializableNoOp
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/creation/jmock/package-summary.html deleted file mode 100644 index c6fa83d3666..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/package-summary.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - -org.mockito.internal.creation.jmock (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.creation.jmock -

-Borrowed from jmock codebase -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - -
-Class Summary
ClassImposterizerThanks to jMock guys for this handy class that wraps all the cglib magic.
ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug 
SearchingClassLoaderThanks to jMock guys for this ClassLoader.
SerializableNoOp 
-  - -

-

-Package org.mockito.internal.creation.jmock Description -

- -

-Borrowed from jmock codebase -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/creation/jmock/package-tree.html deleted file mode 100644 index e11b6ef3dbd..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/package-tree.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -org.mockito.internal.creation.jmock Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.creation.jmock -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/package-use.html b/tools/mockito/javadoc/org/mockito/internal/creation/jmock/package-use.html deleted file mode 100644 index b930304f354..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/jmock/package-use.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.creation.jmock (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.creation.jmock

-
- - - - - - - - - -
-Packages that use org.mockito.internal.creation.jmock
org.mockito.internal.creation.jmockBorrowed from jmock codebase 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.creation.jmock used by org.mockito.internal.creation.jmock
ClassImposterizer - -
-          Thanks to jMock guys for this handy class that wraps all the cglib magic.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/creation/package-frame.html deleted file mode 100644 index 0b3fa3c4624..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/package-frame.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - -org.mockito.internal.creation (Mockito API) - - - - - - - - - - - -org.mockito.internal.creation - - - - -
-Interfaces  - -
-MockitoMethodProxy
- - - - - - -
-Classes  - -
-AbstractMockitoMethodProxy -
-ClassNameFinder -
-DelegatingMethod -
-DelegatingMockitoMethodProxy -
-MethodInterceptorFilter -
-MockSettingsImpl -
-SerializableMockitoMethodProxy
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/creation/package-summary.html deleted file mode 100644 index 2d36a6964e4..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/package-summary.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - -org.mockito.internal.creation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.creation -

-Mock object creation. -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
MockitoMethodProxy 
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AbstractMockitoMethodProxy 
ClassNameFinder 
DelegatingMethod 
DelegatingMockitoMethodProxy 
MethodInterceptorFilter 
MockSettingsImpl 
SerializableMockitoMethodProxy 
-  - -

-

-Package org.mockito.internal.creation Description -

- -

-Mock object creation. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/creation/package-tree.html deleted file mode 100644 index aeecc069b3c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/package-tree.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - -org.mockito.internal.creation Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.creation -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/creation/package-use.html b/tools/mockito/javadoc/org/mockito/internal/creation/package-use.html deleted file mode 100644 index 0373d51de7f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/creation/package-use.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.creation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.creation

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.mockito.internal.creation
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.creationMock object creation. 
org.mockito.internal.creation.cglibCGLIB related stuff 
org.mockito.internal.invocation.realmethodimplementations of real method calls 
org.mockito.internal.utilStatic utils 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.creation used by org.mockito.internal
MockSettingsImpl - -
-           
-  -

- - - - - - - - - - - - - - -
-Classes in org.mockito.internal.creation used by org.mockito.internal.creation
AbstractMockitoMethodProxy - -
-           
MockitoMethodProxy - -
-           
MockSettingsImpl - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.creation used by org.mockito.internal.creation.cglib
MockitoMethodProxy - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.creation used by org.mockito.internal.invocation.realmethod
MockitoMethodProxy - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.creation used by org.mockito.internal.util
MockSettingsImpl - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/FindingsListener.html b/tools/mockito/javadoc/org/mockito/internal/debugging/FindingsListener.html deleted file mode 100644 index 7ba9cf72c12..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/FindingsListener.html +++ /dev/null @@ -1,246 +0,0 @@ - - - - - - -FindingsListener (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.debugging -
-Interface FindingsListener

-
-
All Known Implementing Classes:
LoggingListener
-
-
-
-
public interface FindingsListener
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidfoundStubCalledWithDifferentArgs(Invocation unused, - InvocationMatcher unstubbed) - -
-           
- voidfoundUnstubbed(InvocationMatcher unstubbed) - -
-           
- voidfoundUnusedStub(Invocation unused) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-foundStubCalledWithDifferentArgs

-
-void foundStubCalledWithDifferentArgs(Invocation unused,
-                                      InvocationMatcher unstubbed)
-
-
-
-
-
-
- -

-foundUnusedStub

-
-void foundUnusedStub(Invocation unused)
-
-
-
-
-
-
- -

-foundUnstubbed

-
-void foundUnstubbed(InvocationMatcher unstubbed)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/Localized.html b/tools/mockito/javadoc/org/mockito/internal/debugging/Localized.html deleted file mode 100644 index 6d0a3799a5f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/Localized.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -Localized (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.debugging -
-Class Localized<T>

-
-java.lang.Object
-  extended by org.mockito.internal.debugging.Localized<T>
-
-
-
-
public class Localized<T>
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Localized(T object) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- LocationgetLocation() - -
-           
- TgetObject() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Localized

-
-public Localized(T object)
-
-
- - - - - - - - -
-Method Detail
- -

-getObject

-
-public T getObject()
-
-
-
-
-
-
- -

-getLocation

-
-public Location getLocation()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/Location.html b/tools/mockito/javadoc/org/mockito/internal/debugging/Location.html deleted file mode 100644 index df49fd74359..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/Location.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - -Location (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.debugging -
-Class Location

-
-java.lang.Object
-  extended by org.mockito.internal.debugging.Location
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class Location
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
Location() - -
-           
Location(StackTraceFilter filter) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Location

-
-public Location()
-
-
-
- -

-Location

-
-public Location(StackTraceFilter filter)
-
-
- - - - - - - - -
-Method Detail
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/LoggingListener.html b/tools/mockito/javadoc/org/mockito/internal/debugging/LoggingListener.html deleted file mode 100644 index 68a36814f3d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/LoggingListener.html +++ /dev/null @@ -1,347 +0,0 @@ - - - - - - -LoggingListener (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.debugging -
-Class LoggingListener

-
-java.lang.Object
-  extended by org.mockito.internal.debugging.LoggingListener
-
-
-
All Implemented Interfaces:
FindingsListener
-
-
-
-
public class LoggingListener
extends java.lang.Object
implements FindingsListener
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
LoggingListener(boolean warnAboutUnstubbed, - MockitoLogger logger) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidfoundStubCalledWithDifferentArgs(Invocation unused, - InvocationMatcher unstubbed) - -
-           
- voidfoundUnstubbed(InvocationMatcher unstubbed) - -
-           
- voidfoundUnusedStub(Invocation unused) - -
-           
- MockitoLoggergetLogger() - -
-           
- booleanisWarnAboutUnstubbed() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-LoggingListener

-
-public LoggingListener(boolean warnAboutUnstubbed,
-                       MockitoLogger logger)
-
-
- - - - - - - - -
-Method Detail
- -

-foundStubCalledWithDifferentArgs

-
-public void foundStubCalledWithDifferentArgs(Invocation unused,
-                                             InvocationMatcher unstubbed)
-
-
-
Specified by:
foundStubCalledWithDifferentArgs in interface FindingsListener
-
-
-
-
-
-
- -

-foundUnusedStub

-
-public void foundUnusedStub(Invocation unused)
-
-
-
Specified by:
foundUnusedStub in interface FindingsListener
-
-
-
-
-
-
- -

-foundUnstubbed

-
-public void foundUnstubbed(InvocationMatcher unstubbed)
-
-
-
Specified by:
foundUnstubbed in interface FindingsListener
-
-
-
-
-
-
- -

-isWarnAboutUnstubbed

-
-public boolean isWarnAboutUnstubbed()
-
-
-
-
-
-
-
-
-
- -

-getLogger

-
-public MockitoLogger getLogger()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/MockitoDebuggerImpl.html b/tools/mockito/javadoc/org/mockito/internal/debugging/MockitoDebuggerImpl.html deleted file mode 100644 index 9f94642e40f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/MockitoDebuggerImpl.html +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - -MockitoDebuggerImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.debugging -
-Class MockitoDebuggerImpl

-
-java.lang.Object
-  extended by org.mockito.internal.debugging.MockitoDebuggerImpl
-
-
-
All Implemented Interfaces:
MockitoDebugger
-
-
-
-
public class MockitoDebuggerImpl
extends java.lang.Object
implements MockitoDebugger
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
MockitoDebuggerImpl() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.StringprintInvocations(java.lang.Object... mocks) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockitoDebuggerImpl

-
-public MockitoDebuggerImpl()
-
-
- - - - - - - - -
-Method Detail
- -

-printInvocations

-
-public java.lang.String printInvocations(java.lang.Object... mocks)
-
-
-
Specified by:
printInvocations in interface MockitoDebugger
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/WarningsCollector.html b/tools/mockito/javadoc/org/mockito/internal/debugging/WarningsCollector.html deleted file mode 100644 index a78223d0068..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/WarningsCollector.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -WarningsCollector (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.debugging -
-Class WarningsCollector

-
-java.lang.Object
-  extended by org.mockito.internal.debugging.WarningsCollector
-
-
-
-
public class WarningsCollector
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
WarningsCollector() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetWarnings() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-WarningsCollector

-
-public WarningsCollector()
-
-
- - - - - - - - -
-Method Detail
- -

-getWarnings

-
-public java.lang.String getWarnings()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/WarningsFinder.html b/tools/mockito/javadoc/org/mockito/internal/debugging/WarningsFinder.html deleted file mode 100644 index 91cad695fb2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/WarningsFinder.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -WarningsFinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.debugging -
-Class WarningsFinder

-
-java.lang.Object
-  extended by org.mockito.internal.debugging.WarningsFinder
-
-
-
-
public class WarningsFinder
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
WarningsFinder(java.util.List<Invocation> unusedStubs, - java.util.List<InvocationMatcher> allInvocations) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidfind(FindingsListener findingsListener) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-WarningsFinder

-
-public WarningsFinder(java.util.List<Invocation> unusedStubs,
-                      java.util.List<InvocationMatcher> allInvocations)
-
-
- - - - - - - - -
-Method Detail
- -

-find

-
-public void find(FindingsListener findingsListener)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/WarningsPrinterImpl.html b/tools/mockito/javadoc/org/mockito/internal/debugging/WarningsPrinterImpl.html deleted file mode 100644 index 70e0e9a7cd2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/WarningsPrinterImpl.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - - -WarningsPrinterImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.debugging -
-Class WarningsPrinterImpl

-
-java.lang.Object
-  extended by org.mockito.internal.debugging.WarningsPrinterImpl
-
-
-
-
public class WarningsPrinterImpl
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - - - - -
-Constructor Summary
WarningsPrinterImpl(java.util.List<Invocation> unusedStubs, - java.util.List<InvocationMatcher> unstubbedInvocations) - -
-           
WarningsPrinterImpl(java.util.List<Invocation> unusedStubs, - java.util.List<InvocationMatcher> allInvocations, - boolean warnAboutUnstubbed) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprint() - -
-           
- voidprint(MockitoLogger logger) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-WarningsPrinterImpl

-
-public WarningsPrinterImpl(java.util.List<Invocation> unusedStubs,
-                           java.util.List<InvocationMatcher> unstubbedInvocations)
-
-
-
- -

-WarningsPrinterImpl

-
-public WarningsPrinterImpl(java.util.List<Invocation> unusedStubs,
-                           java.util.List<InvocationMatcher> allInvocations,
-                           boolean warnAboutUnstubbed)
-
-
- - - - - - - - -
-Method Detail
- -

-print

-
-public void print(MockitoLogger logger)
-
-
-
-
-
-
- -

-print

-
-public java.lang.String print()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/FindingsListener.html b/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/FindingsListener.html deleted file mode 100644 index 698867a69a3..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/FindingsListener.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.debugging.FindingsListener (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.debugging.FindingsListener

-
- - - - - - - - - -
-Packages that use FindingsListener
org.mockito.internal.debuggingWhatever helps in debugging failed tests 
-  -

- - - - - -
-Uses of FindingsListener in org.mockito.internal.debugging
-  -

- - - - - - - - - -
Classes in org.mockito.internal.debugging that implement FindingsListener
- classLoggingListener - -
-           
-  -

- - - - - - - - - -
Methods in org.mockito.internal.debugging with parameters of type FindingsListener
- voidWarningsFinder.find(FindingsListener findingsListener) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/Localized.html b/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/Localized.html deleted file mode 100644 index 97cd7822568..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/Localized.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.debugging.Localized (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.debugging.Localized

-
-No usage of org.mockito.internal.debugging.Localized -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/Location.html b/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/Location.html deleted file mode 100644 index 5d502c89143..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/Location.html +++ /dev/null @@ -1,380 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.debugging.Location (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.debugging.Location

-
- - - - - - - - - - - - - - - - - - - - - -
-Packages that use Location
org.mockito.exceptionsException messages, exception hierarchies. 
org.mockito.internal.debuggingWhatever helps in debugging failed tests 
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
-  -

- - - - - -
-Uses of Location in org.mockito.exceptions
-  -

- - - - - - - - - -
Methods in org.mockito.exceptions that return Location
- LocationPrintableInvocation.getLocation() - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.exceptions with parameters of type Location
- voidReporter.argumentsAreDifferent(java.lang.String wanted, - java.lang.String actual, - Location actualLocation) - -
-           
- voidReporter.misplacedArgumentMatcher(Location location) - -
-           
- voidReporter.neverWantedButInvoked(PrintableInvocation wanted, - Location firstUndesired) - -
-           
- voidReporter.smartNullPointerException(Location location) - -
-           
- voidReporter.tooLittleActualInvocations(Discrepancy discrepancy, - PrintableInvocation wanted, - Location lastActualLocation) - -
-           
- voidReporter.tooLittleActualInvocationsInOrder(Discrepancy discrepancy, - PrintableInvocation wanted, - Location lastActualLocation) - -
-           
- voidReporter.tooManyActualInvocations(int wantedCount, - int actualCount, - PrintableInvocation wanted, - Location firstUndesired) - -
-           
- voidReporter.tooManyActualInvocationsInOrder(int wantedCount, - int actualCount, - PrintableInvocation wanted, - Location firstUndesired) - -
-           
- voidReporter.unfinishedStubbing(Location location) - -
-           
- voidReporter.unfinishedVerificationException(Location location) - -
-           
-  -

- - - - - -
-Uses of Location in org.mockito.internal.debugging
-  -

- - - - - - - - - -
Methods in org.mockito.internal.debugging that return Location
- LocationLocalized.getLocation() - -
-           
-  -

- - - - - -
-Uses of Location in org.mockito.internal.invocation
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.invocation that return Location
- LocationInvocationsFinder.getLastLocation(java.util.List<Invocation> invocations) - -
-           
- LocationInvocationMatcher.getLocation() - -
-           
- LocationInvocation.getLocation() - -
-           
-  -

- - - - - -
-Uses of Location in org.mockito.internal.matchers
-  -

- - - - - - - - - -
Methods in org.mockito.internal.matchers that return Location
- LocationLocalizedMatcher.getLocation() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/LoggingListener.html b/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/LoggingListener.html deleted file mode 100644 index fcda8a2d0d3..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/LoggingListener.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.debugging.LoggingListener (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.debugging.LoggingListener

-
-No usage of org.mockito.internal.debugging.LoggingListener -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/MockitoDebuggerImpl.html b/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/MockitoDebuggerImpl.html deleted file mode 100644 index 5fd25bd50ca..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/MockitoDebuggerImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.debugging.MockitoDebuggerImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.debugging.MockitoDebuggerImpl

-
-No usage of org.mockito.internal.debugging.MockitoDebuggerImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/WarningsCollector.html b/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/WarningsCollector.html deleted file mode 100644 index f212920f060..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/WarningsCollector.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.debugging.WarningsCollector (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.debugging.WarningsCollector

-
-No usage of org.mockito.internal.debugging.WarningsCollector -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/WarningsFinder.html b/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/WarningsFinder.html deleted file mode 100644 index 83972a0361a..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/WarningsFinder.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.debugging.WarningsFinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.debugging.WarningsFinder

-
-No usage of org.mockito.internal.debugging.WarningsFinder -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/WarningsPrinterImpl.html b/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/WarningsPrinterImpl.html deleted file mode 100644 index d34308b1893..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/class-use/WarningsPrinterImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.debugging.WarningsPrinterImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.debugging.WarningsPrinterImpl

-
-No usage of org.mockito.internal.debugging.WarningsPrinterImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/debugging/package-frame.html deleted file mode 100644 index 745d1079f66..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/package-frame.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - -org.mockito.internal.debugging (Mockito API) - - - - - - - - - - - -org.mockito.internal.debugging - - - - -
-Interfaces  - -
-FindingsListener
- - - - - - -
-Classes  - -
-Localized -
-Location -
-LoggingListener -
-MockitoDebuggerImpl -
-WarningsCollector -
-WarningsFinder -
-WarningsPrinterImpl
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/debugging/package-summary.html deleted file mode 100644 index fe7f7e96aa3..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/package-summary.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - -org.mockito.internal.debugging (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.debugging -

-Whatever helps in debugging failed tests -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
FindingsListener 
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
Localized<T> 
Location 
LoggingListener 
MockitoDebuggerImpl 
WarningsCollector 
WarningsFinder 
WarningsPrinterImpl 
-  - -

-

-Package org.mockito.internal.debugging Description -

- -

-Whatever helps in debugging failed tests -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/debugging/package-tree.html deleted file mode 100644 index 9e3059ae452..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/package-tree.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -org.mockito.internal.debugging Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.debugging -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/debugging/package-use.html b/tools/mockito/javadoc/org/mockito/internal/debugging/package-use.html deleted file mode 100644 index 511627d96bc..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/debugging/package-use.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.debugging (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.debugging

-
- - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.mockito.internal.debugging
org.mockito.exceptionsException messages, exception hierarchies. 
org.mockito.internal.debuggingWhatever helps in debugging failed tests 
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.debugging used by org.mockito.exceptions
Location - -
-           
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal.debugging used by org.mockito.internal.debugging
FindingsListener - -
-           
Location - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.debugging used by org.mockito.internal.invocation
Location - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.debugging used by org.mockito.internal.matchers
Location - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/ExceptionIncludingMockitoWarnings.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/ExceptionIncludingMockitoWarnings.html deleted file mode 100644 index b037f62d225..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/ExceptionIncludingMockitoWarnings.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - -ExceptionIncludingMockitoWarnings (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.exceptions -
-Class ExceptionIncludingMockitoWarnings

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by org.mockito.internal.exceptions.ExceptionIncludingMockitoWarnings
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class ExceptionIncludingMockitoWarnings
extends java.lang.RuntimeException
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ExceptionIncludingMockitoWarnings(java.lang.String message, - java.lang.Throwable throwable) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ExceptionIncludingMockitoWarnings

-
-public ExceptionIncludingMockitoWarnings(java.lang.String message,
-                                         java.lang.Throwable throwable)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/VerificationAwareInvocation.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/VerificationAwareInvocation.html deleted file mode 100644 index 661426fdc6d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/VerificationAwareInvocation.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - -VerificationAwareInvocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.exceptions -
-Interface VerificationAwareInvocation

-
-
All Superinterfaces:
PrintableInvocation
-
-
-
All Known Implementing Classes:
Invocation
-
-
-
-
public interface VerificationAwareInvocation
extends PrintableInvocation
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- booleanisVerified() - -
-           
- - - - - - - -
Methods inherited from interface org.mockito.exceptions.PrintableInvocation
getLocation, toString
-  -

- - - - - - - - -
-Method Detail
- -

-isVerified

-
-boolean isVerified()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/ConditionalStackTraceFilter.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/base/ConditionalStackTraceFilter.html deleted file mode 100644 index 0d93f1616df..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/ConditionalStackTraceFilter.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - -ConditionalStackTraceFilter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.exceptions.base -
-Class ConditionalStackTraceFilter

-
-java.lang.Object
-  extended by org.mockito.internal.exceptions.base.ConditionalStackTraceFilter
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class ConditionalStackTraceFilter
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ConditionalStackTraceFilter() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidfilter(java.lang.Throwable throwable) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ConditionalStackTraceFilter

-
-public ConditionalStackTraceFilter()
-
-
- - - - - - - - -
-Method Detail
- -

-filter

-
-public void filter(java.lang.Throwable throwable)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/StackTraceFilter.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/base/StackTraceFilter.html deleted file mode 100644 index b961cf80674..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/StackTraceFilter.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - -StackTraceFilter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.exceptions.base -
-Class StackTraceFilter

-
-java.lang.Object
-  extended by org.mockito.internal.exceptions.base.StackTraceFilter
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class StackTraceFilter
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
StackTraceFilter() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StackTraceElement[]filter(java.lang.StackTraceElement[] target, - boolean keepTop) - -
-          Example how the filter works (+/- means good/bad): - [a+, b+, c-, d+, e+, f-, g+] -> [a+, b+, g+] - Basically removes all bad from the middle.
- booleanisBad(java.lang.StackTraceElement e) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-StackTraceFilter

-
-public StackTraceFilter()
-
-
- - - - - - - - -
-Method Detail
- -

-isBad

-
-public boolean isBad(java.lang.StackTraceElement e)
-
-
-
-
-
-
-
-
-
- -

-filter

-
-public java.lang.StackTraceElement[] filter(java.lang.StackTraceElement[] target,
-                                            boolean keepTop)
-
-
Example how the filter works (+/- means good/bad): - [a+, b+, c-, d+, e+, f-, g+] -> [a+, b+, g+] - Basically removes all bad from the middle. If any good are in the middle of bad those are also removed. -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/class-use/ConditionalStackTraceFilter.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/base/class-use/ConditionalStackTraceFilter.html deleted file mode 100644 index cd3a2bb2ade..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/class-use/ConditionalStackTraceFilter.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.exceptions.base.ConditionalStackTraceFilter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.exceptions.base.ConditionalStackTraceFilter

-
-No usage of org.mockito.internal.exceptions.base.ConditionalStackTraceFilter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/class-use/StackTraceFilter.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/base/class-use/StackTraceFilter.html deleted file mode 100644 index b8204d75918..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/class-use/StackTraceFilter.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.exceptions.base.StackTraceFilter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.exceptions.base.StackTraceFilter

-
- - - - - - - - - -
-Packages that use StackTraceFilter
org.mockito.internal.debuggingWhatever helps in debugging failed tests 
-  -

- - - - - -
-Uses of StackTraceFilter in org.mockito.internal.debugging
-  -

- - - - - - - - -
Constructors in org.mockito.internal.debugging with parameters of type StackTraceFilter
Location(StackTraceFilter filter) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/base/package-frame.html deleted file mode 100644 index 86383dc8aa7..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/package-frame.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -org.mockito.internal.exceptions.base (Mockito API) - - - - - - - - - - - -org.mockito.internal.exceptions.base - - - - -
-Classes  - -
-ConditionalStackTraceFilter -
-StackTraceFilter
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/base/package-summary.html deleted file mode 100644 index 300e4774729..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/package-summary.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -org.mockito.internal.exceptions.base (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.exceptions.base -

-internal implementations of exceptions stuff -

-See: -
-          Description -

- - - - - - - - - - - - - -
-Class Summary
ConditionalStackTraceFilter 
StackTraceFilter 
-  - -

-

-Package org.mockito.internal.exceptions.base Description -

- -

-internal implementations of exceptions stuff -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/base/package-tree.html deleted file mode 100644 index 6fef46fd953..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/package-tree.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -org.mockito.internal.exceptions.base Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.exceptions.base -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/package-use.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/base/package-use.html deleted file mode 100644 index 9908ebe0770..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/base/package-use.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.exceptions.base (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.exceptions.base

-
- - - - - - - - - -
-Packages that use org.mockito.internal.exceptions.base
org.mockito.internal.debuggingWhatever helps in debugging failed tests 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.exceptions.base used by org.mockito.internal.debugging
StackTraceFilter - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/class-use/ExceptionIncludingMockitoWarnings.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/class-use/ExceptionIncludingMockitoWarnings.html deleted file mode 100644 index 3c5d6e218e5..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/class-use/ExceptionIncludingMockitoWarnings.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.exceptions.ExceptionIncludingMockitoWarnings (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.exceptions.ExceptionIncludingMockitoWarnings

-
-No usage of org.mockito.internal.exceptions.ExceptionIncludingMockitoWarnings -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/class-use/VerificationAwareInvocation.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/class-use/VerificationAwareInvocation.html deleted file mode 100644 index 6d5392faf1e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/class-use/VerificationAwareInvocation.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.exceptions.VerificationAwareInvocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.exceptions.VerificationAwareInvocation

-
- - - - - - - - - - - - - - - - - -
-Packages that use VerificationAwareInvocation
org.mockito.exceptionsException messages, exception hierarchies. 
org.mockito.internal.exceptions.util  
org.mockito.internal.invocationInvocation and related classes. 
-  -

- - - - - -
-Uses of VerificationAwareInvocation in org.mockito.exceptions
-  -

- - - - - - - - - -
Method parameters in org.mockito.exceptions with type arguments of type VerificationAwareInvocation
- voidReporter.noMoreInteractionsWanted(Invocation undesired, - java.util.List<VerificationAwareInvocation> invocations) - -
-           
-  -

- - - - - -
-Uses of VerificationAwareInvocation in org.mockito.internal.exceptions.util
-  -

- - - - - - - - - -
Method parameters in org.mockito.internal.exceptions.util with type arguments of type VerificationAwareInvocation
- java.lang.StringScenarioPrinter.print(java.util.List<VerificationAwareInvocation> invocations) - -
-           
-  -

- - - - - -
-Uses of VerificationAwareInvocation in org.mockito.internal.invocation
-  -

- - - - - - - - - -
Classes in org.mockito.internal.invocation that implement VerificationAwareInvocation
- classInvocation - -
-          Method call on a mock object.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/package-frame.html deleted file mode 100644 index 60e91f095e8..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/package-frame.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - -org.mockito.internal.exceptions (Mockito API) - - - - - - - - - - - -org.mockito.internal.exceptions - - - - -
-Interfaces  - -
-VerificationAwareInvocation
- - - - - - -
-Exceptions  - -
-ExceptionIncludingMockitoWarnings
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/package-summary.html deleted file mode 100644 index 0d5e45847f8..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/package-summary.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - -org.mockito.internal.exceptions (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.exceptions -

- - - - - - - - - -
-Interface Summary
VerificationAwareInvocation 
-  - -

- - - - - - - - - -
-Exception Summary
ExceptionIncludingMockitoWarnings 
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/package-tree.html deleted file mode 100644 index 4e1cf7e07f7..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/package-tree.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -org.mockito.internal.exceptions Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.exceptions -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

-
    -
  • java.lang.Object
      -
    • java.lang.Throwable (implements java.io.Serializable) - -
    -
-

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/package-use.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/package-use.html deleted file mode 100644 index fb4d0270838..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/package-use.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.exceptions (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.exceptions

-
- - - - - - - - - - - - - - - - - -
-Packages that use org.mockito.internal.exceptions
org.mockito.exceptionsException messages, exception hierarchies. 
org.mockito.internal.exceptions.util  
org.mockito.internal.invocationInvocation and related classes. 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.exceptions used by org.mockito.exceptions
VerificationAwareInvocation - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.exceptions used by org.mockito.internal.exceptions.util
VerificationAwareInvocation - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.exceptions used by org.mockito.internal.invocation
VerificationAwareInvocation - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/util/ScenarioPrinter.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/util/ScenarioPrinter.html deleted file mode 100644 index 5e975ff1154..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/util/ScenarioPrinter.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -ScenarioPrinter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.exceptions.util -
-Class ScenarioPrinter

-
-java.lang.Object
-  extended by org.mockito.internal.exceptions.util.ScenarioPrinter
-
-
-
-
public class ScenarioPrinter
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ScenarioPrinter() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprint(java.util.List<VerificationAwareInvocation> invocations) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ScenarioPrinter

-
-public ScenarioPrinter()
-
-
- - - - - - - - -
-Method Detail
- -

-print

-
-public java.lang.String print(java.util.List<VerificationAwareInvocation> invocations)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/util/class-use/ScenarioPrinter.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/util/class-use/ScenarioPrinter.html deleted file mode 100644 index 2bef1772c53..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/util/class-use/ScenarioPrinter.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.exceptions.util.ScenarioPrinter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.exceptions.util.ScenarioPrinter

-
-No usage of org.mockito.internal.exceptions.util.ScenarioPrinter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/util/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/util/package-frame.html deleted file mode 100644 index 9f2f328cc85..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/util/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -org.mockito.internal.exceptions.util (Mockito API) - - - - - - - - - - - -org.mockito.internal.exceptions.util - - - - -
-Classes  - -
-ScenarioPrinter
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/util/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/util/package-summary.html deleted file mode 100644 index a2c0511565f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/util/package-summary.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - -org.mockito.internal.exceptions.util (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.exceptions.util -

- - - - - - - - - -
-Class Summary
ScenarioPrinter 
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/util/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/util/package-tree.html deleted file mode 100644 index bf1465700be..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/util/package-tree.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -org.mockito.internal.exceptions.util Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.exceptions.util -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/exceptions/util/package-use.html b/tools/mockito/javadoc/org/mockito/internal/exceptions/util/package-use.html deleted file mode 100644 index ec7fd44c5a3..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/exceptions/util/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.exceptions.util (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.exceptions.util

-
-No usage of org.mockito.internal.exceptions.util -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/AllInvocationsFinder.html b/tools/mockito/javadoc/org/mockito/internal/invocation/AllInvocationsFinder.html deleted file mode 100644 index 532ffbd274e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/AllInvocationsFinder.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -AllInvocationsFinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation -
-Class AllInvocationsFinder

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.AllInvocationsFinder
-
-
-
-
public class AllInvocationsFinder
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
AllInvocationsFinder() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.util.List<Invocation>find(java.util.List<?> mocks) - -
-          gets all invocations from mocks.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-AllInvocationsFinder

-
-public AllInvocationsFinder()
-
-
- - - - - - - - -
-Method Detail
- -

-find

-
-public java.util.List<Invocation> find(java.util.List<?> mocks)
-
-
gets all invocations from mocks. Invocations are ordered earlier first. -

-

-
Parameters:
mocks - mocks -
Returns:
invocations
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/ArgumentsComparator.html b/tools/mockito/javadoc/org/mockito/internal/invocation/ArgumentsComparator.html deleted file mode 100644 index 290eaf01803..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/ArgumentsComparator.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -ArgumentsComparator (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation -
-Class ArgumentsComparator

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.ArgumentsComparator
-
-
-
-
public class ArgumentsComparator
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ArgumentsComparator() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- booleanargumentsMatch(InvocationMatcher invocationMatcher, - Invocation actual) - -
-           
- booleanargumentsMatch(InvocationMatcher invocationMatcher, - java.lang.Object[] actualArgs) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ArgumentsComparator

-
-public ArgumentsComparator()
-
-
- - - - - - - - -
-Method Detail
- -

-argumentsMatch

-
-public boolean argumentsMatch(InvocationMatcher invocationMatcher,
-                              Invocation actual)
-
-
-
-
-
-
- -

-argumentsMatch

-
-public boolean argumentsMatch(InvocationMatcher invocationMatcher,
-                              java.lang.Object[] actualArgs)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/CapturesArgumensFromInvocation.html b/tools/mockito/javadoc/org/mockito/internal/invocation/CapturesArgumensFromInvocation.html deleted file mode 100644 index 36569856921..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/CapturesArgumensFromInvocation.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -CapturesArgumensFromInvocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation -
-Interface CapturesArgumensFromInvocation

-
-
All Known Implementing Classes:
InvocationMatcher, StubbedInvocationMatcher
-
-
-
-
public interface CapturesArgumensFromInvocation
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- voidcaptureArgumentsFrom(Invocation i) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-captureArgumentsFrom

-
-void captureArgumentsFrom(Invocation i)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/Invocation.html b/tools/mockito/javadoc/org/mockito/internal/invocation/Invocation.html deleted file mode 100644 index f1bd51cf611..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/Invocation.html +++ /dev/null @@ -1,825 +0,0 @@ - - - - - - -Invocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation -
-Class Invocation

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.Invocation
-
-
-
All Implemented Interfaces:
java.io.Serializable, PrintableInvocation, VerificationAwareInvocation, PrintingFriendlyInvocation, InvocationOnMock
-
-
-
-
public class Invocation
extends java.lang.Object
implements PrintableInvocation, InvocationOnMock, PrintingFriendlyInvocation, VerificationAwareInvocation
- - -

-Method call on a mock object. -

- Contains sequence number which should be globally unique and is used for - verification in order. -

- Contains stack trace of invocation -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
Invocation(java.lang.Object mock, - MockitoMethod mockitoMethod, - java.lang.Object[] args, - int sequenceNumber, - RealMethod realMethod) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  java.util.List<org.hamcrest.Matcher>argumentsToMatchers() - -
-           
- java.lang.ObjectcallRealMethod() - -
-          calls real method
- booleanequals(java.lang.Object o) - -
-           
- java.lang.Object[]getArguments() - -
-          returns arguments passed to the method
- intgetArgumentsCount() - -
-           
- LocationgetLocation() - -
-           
- java.lang.reflect.MethodgetMethod() - -
-          returns the method
- java.lang.StringgetMethodName() - -
-           
- java.lang.ObjectgetMock() - -
-          returns the mock object
- java.lang.Object[]getRawArguments() - -
-           
- java.lang.IntegergetSequenceNumber() - -
-           
- inthashCode() - -
-           
- booleanisDeclaredOnInterface() - -
-           
-static booleanisToString(InvocationOnMock invocation) - -
-           
- booleanisValidException(java.lang.Throwable throwable) - -
-           
- booleanisValidReturnType(java.lang.Class clazz) - -
-           
- booleanisVerified() - -
-           
- booleanisVoid() - -
-           
- voidmarkStubbed(StubInfo stubInfo) - -
-           
- java.lang.StringprintMethodReturnType() - -
-           
- booleanreturnsPrimitive() - -
-           
- StubInfostubInfo() - -
-           
- java.lang.StringtoString() - -
-           
-protected  java.lang.StringtoString(java.util.List<org.hamcrest.Matcher> matchers, - PrintSettings printSettings) - -
-           
- java.lang.StringtoString(PrintSettings printSettings) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Invocation

-
-public Invocation(java.lang.Object mock,
-                  MockitoMethod mockitoMethod,
-                  java.lang.Object[] args,
-                  int sequenceNumber,
-                  RealMethod realMethod)
-
-
- - - - - - - - -
-Method Detail
- -

-getMock

-
-public java.lang.Object getMock()
-
-
Description copied from interface: InvocationOnMock
-
returns the mock object -

-

-
Specified by:
getMock in interface InvocationOnMock
-
-
- -
Returns:
mock object
-
-
-
- -

-getMethod

-
-public java.lang.reflect.Method getMethod()
-
-
Description copied from interface: InvocationOnMock
-
returns the method -

-

-
Specified by:
getMethod in interface InvocationOnMock
-
-
- -
Returns:
method
-
-
-
- -

-getArguments

-
-public java.lang.Object[] getArguments()
-
-
Description copied from interface: InvocationOnMock
-
returns arguments passed to the method -

-

-
Specified by:
getArguments in interface InvocationOnMock
-
-
- -
Returns:
arguments
-
-
-
- -

-isVerified

-
-public boolean isVerified()
-
-
-
Specified by:
isVerified in interface VerificationAwareInvocation
-
-
-
-
-
-
- -

-getSequenceNumber

-
-public java.lang.Integer getSequenceNumber()
-
-
-
-
-
-
-
-
-
- -

-equals

-
-public boolean equals(java.lang.Object o)
-
-
-
Overrides:
equals in class java.lang.Object
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class java.lang.Object
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Specified by:
toString in interface PrintableInvocation
Overrides:
toString in class java.lang.Object
-
-
-
-
-
-
- -

-toString

-
-protected java.lang.String toString(java.util.List<org.hamcrest.Matcher> matchers,
-                                    PrintSettings printSettings)
-
-
-
-
-
-
-
-
-
- -

-argumentsToMatchers

-
-protected java.util.List<org.hamcrest.Matcher> argumentsToMatchers()
-
-
-
-
-
-
-
-
-
- -

-isToString

-
-public static boolean isToString(InvocationOnMock invocation)
-
-
-
-
-
-
-
-
-
- -

-isValidException

-
-public boolean isValidException(java.lang.Throwable throwable)
-
-
-
-
-
-
-
-
-
- -

-isValidReturnType

-
-public boolean isValidReturnType(java.lang.Class clazz)
-
-
-
-
-
-
-
-
-
- -

-isVoid

-
-public boolean isVoid()
-
-
-
-
-
-
-
-
-
- -

-printMethodReturnType

-
-public java.lang.String printMethodReturnType()
-
-
-
-
-
-
-
-
-
- -

-getMethodName

-
-public java.lang.String getMethodName()
-
-
-
-
-
-
-
-
-
- -

-returnsPrimitive

-
-public boolean returnsPrimitive()
-
-
-
-
-
-
-
-
-
- -

-getLocation

-
-public Location getLocation()
-
-
-
Specified by:
getLocation in interface PrintableInvocation
-
-
-
-
-
-
- -

-getArgumentsCount

-
-public int getArgumentsCount()
-
-
-
-
-
-
-
-
-
- -

-getRawArguments

-
-public java.lang.Object[] getRawArguments()
-
-
-
-
-
-
-
-
-
- -

-callRealMethod

-
-public java.lang.Object callRealMethod()
-                                throws java.lang.Throwable
-
-
Description copied from interface: InvocationOnMock
-
calls real method -

- Warning: depending on the real implementation it might throw exceptions -

-

-
Specified by:
callRealMethod in interface InvocationOnMock
-
-
- -
Returns:
whatever the real method returns / throws -
Throws: -
java.lang.Throwable - in case real method throws
-
-
-
- -

-isDeclaredOnInterface

-
-public boolean isDeclaredOnInterface()
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString(PrintSettings printSettings)
-
-
-
Specified by:
toString in interface PrintingFriendlyInvocation
-
-
-
-
-
-
- -

-stubInfo

-
-public StubInfo stubInfo()
-
-
-
-
-
-
-
-
-
- -

-markStubbed

-
-public void markStubbed(StubInfo stubInfo)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/InvocationMarker.html b/tools/mockito/javadoc/org/mockito/internal/invocation/InvocationMarker.html deleted file mode 100644 index 82e24942431..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/InvocationMarker.html +++ /dev/null @@ -1,295 +0,0 @@ - - - - - - -InvocationMarker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation -
-Class InvocationMarker

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.InvocationMarker
-
-
-
-
public class InvocationMarker
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
InvocationMarker() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidmarkVerified(Invocation invocation, - CapturesArgumensFromInvocation wanted) - -
-           
- voidmarkVerified(java.util.List<Invocation> invocations, - CapturesArgumensFromInvocation wanted) - -
-           
- voidmarkVerifiedInOrder(java.util.List<Invocation> chunk, - CapturesArgumensFromInvocation wanted, - InOrderContext context) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvocationMarker

-
-public InvocationMarker()
-
-
- - - - - - - - -
-Method Detail
- -

-markVerified

-
-public void markVerified(java.util.List<Invocation> invocations,
-                         CapturesArgumensFromInvocation wanted)
-
-
-
-
-
-
- -

-markVerified

-
-public void markVerified(Invocation invocation,
-                         CapturesArgumensFromInvocation wanted)
-
-
-
-
-
-
- -

-markVerifiedInOrder

-
-public void markVerifiedInOrder(java.util.List<Invocation> chunk,
-                                CapturesArgumensFromInvocation wanted,
-                                InOrderContext context)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/InvocationMatcher.html b/tools/mockito/javadoc/org/mockito/internal/invocation/InvocationMatcher.html deleted file mode 100644 index 5af13333050..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/InvocationMatcher.html +++ /dev/null @@ -1,500 +0,0 @@ - - - - - - -InvocationMatcher (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation -
-Class InvocationMatcher

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.InvocationMatcher
-
-
-
All Implemented Interfaces:
java.io.Serializable, PrintableInvocation, CapturesArgumensFromInvocation, PrintingFriendlyInvocation
-
-
-
Direct Known Subclasses:
StubbedInvocationMatcher
-
-
-
-
public class InvocationMatcher
extends java.lang.Object
implements PrintableInvocation, PrintingFriendlyInvocation, CapturesArgumensFromInvocation, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
InvocationMatcher(Invocation invocation) - -
-           
InvocationMatcher(Invocation invocation, - java.util.List<org.hamcrest.Matcher> matchers) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcaptureArgumentsFrom(Invocation i) - -
-           
-static java.util.List<InvocationMatcher>createFrom(java.util.List<Invocation> invocations) - -
-           
- InvocationgetInvocation() - -
-           
- LocationgetLocation() - -
-           
- java.util.List<org.hamcrest.Matcher>getMatchers() - -
-           
- java.lang.reflect.MethodgetMethod() - -
-           
- booleanhasSameMethod(Invocation candidate) - -
-           
- booleanhasSimilarMethod(Invocation candidate) - -
-          similar means the same method name, same mock, unverified - and: if arguments are the same cannot be overloaded
- booleanmatches(Invocation actual) - -
-           
- java.lang.StringtoString() - -
-           
- java.lang.StringtoString(PrintSettings printSettings) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvocationMatcher

-
-public InvocationMatcher(Invocation invocation,
-                         java.util.List<org.hamcrest.Matcher> matchers)
-
-
-
- -

-InvocationMatcher

-
-public InvocationMatcher(Invocation invocation)
-
-
- - - - - - - - -
-Method Detail
- -

-getMethod

-
-public java.lang.reflect.Method getMethod()
-
-
-
-
-
-
-
-
-
- -

-getInvocation

-
-public Invocation getInvocation()
-
-
-
-
-
-
-
-
-
- -

-getMatchers

-
-public java.util.List<org.hamcrest.Matcher> getMatchers()
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Specified by:
toString in interface PrintableInvocation
Overrides:
toString in class java.lang.Object
-
-
-
-
-
-
- -

-matches

-
-public boolean matches(Invocation actual)
-
-
-
-
-
-
-
-
-
- -

-hasSimilarMethod

-
-public boolean hasSimilarMethod(Invocation candidate)
-
-
similar means the same method name, same mock, unverified - and: if arguments are the same cannot be overloaded -

-

-
-
-
-
-
-
-
- -

-hasSameMethod

-
-public boolean hasSameMethod(Invocation candidate)
-
-
-
-
-
-
-
-
-
- -

-getLocation

-
-public Location getLocation()
-
-
-
Specified by:
getLocation in interface PrintableInvocation
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString(PrintSettings printSettings)
-
-
-
Specified by:
toString in interface PrintingFriendlyInvocation
-
-
-
-
-
-
- -

-captureArgumentsFrom

-
-public void captureArgumentsFrom(Invocation i)
-
-
-
Specified by:
captureArgumentsFrom in interface CapturesArgumensFromInvocation
-
-
-
-
-
-
- -

-createFrom

-
-public static java.util.List<InvocationMatcher> createFrom(java.util.List<Invocation> invocations)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/InvocationsFinder.html b/tools/mockito/javadoc/org/mockito/internal/invocation/InvocationsFinder.html deleted file mode 100644 index 3155eaf2588..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/InvocationsFinder.html +++ /dev/null @@ -1,444 +0,0 @@ - - - - - - -InvocationsFinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation -
-Class InvocationsFinder

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.InvocationsFinder
-
-
-
-
public class InvocationsFinder
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
InvocationsFinder() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.util.List<Invocation>findAllMatchingUnverifiedChunks(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - InOrderContext orderingContext) - -
-           
- InvocationfindFirstUnverified(java.util.List<Invocation> invocations) - -
-           
- InvocationfindFirstUnverifiedInOrder(InOrderContext context, - java.util.List<Invocation> orderedInvocations) - -
-          i3 is unverified here: - - i1, i2, i3 - v - - all good here: - - i1, i2, i3 - v v
- java.util.List<Invocation>findInvocations(java.util.List<Invocation> invocations, - InvocationMatcher wanted) - -
-           
- java.util.List<Invocation>findMatchingChunk(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount, - InOrderContext context) - -
-          some examples how it works: - - Given invocations sequence: - 1,1,2,1 - - if wanted is 1 and mode is times(2) then returns - 1,1 - - if wanted is 1 and mode is atLeast() then returns - 1,1,1 - - if wanted is 1 and mode is times(x), where x != 2 then returns - 1,1,1
- InvocationfindPreviousVerifiedInOrder(java.util.List<Invocation> invocations, - InOrderContext context) - -
-           
- InvocationfindSimilarInvocation(java.util.List<Invocation> invocations, - InvocationMatcher wanted) - -
-           
- LocationgetLastLocation(java.util.List<Invocation> invocations) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvocationsFinder

-
-public InvocationsFinder()
-
-
- - - - - - - - -
-Method Detail
- -

-findInvocations

-
-public java.util.List<Invocation> findInvocations(java.util.List<Invocation> invocations,
-                                                  InvocationMatcher wanted)
-
-
-
-
-
-
- -

-findAllMatchingUnverifiedChunks

-
-public java.util.List<Invocation> findAllMatchingUnverifiedChunks(java.util.List<Invocation> invocations,
-                                                                  InvocationMatcher wanted,
-                                                                  InOrderContext orderingContext)
-
-
-
-
-
-
- -

-findMatchingChunk

-
-public java.util.List<Invocation> findMatchingChunk(java.util.List<Invocation> invocations,
-                                                    InvocationMatcher wanted,
-                                                    int wantedCount,
-                                                    InOrderContext context)
-
-
some examples how it works: - - Given invocations sequence: - 1,1,2,1 - - if wanted is 1 and mode is times(2) then returns - 1,1 - - if wanted is 1 and mode is atLeast() then returns - 1,1,1 - - if wanted is 1 and mode is times(x), where x != 2 then returns - 1,1,1 -

-

-
-
-
-
- -

-findSimilarInvocation

-
-public Invocation findSimilarInvocation(java.util.List<Invocation> invocations,
-                                        InvocationMatcher wanted)
-
-
-
-
-
-
- -

-findFirstUnverified

-
-public Invocation findFirstUnverified(java.util.List<Invocation> invocations)
-
-
-
-
-
-
- -

-getLastLocation

-
-public Location getLastLocation(java.util.List<Invocation> invocations)
-
-
-
-
-
-
- -

-findPreviousVerifiedInOrder

-
-public Invocation findPreviousVerifiedInOrder(java.util.List<Invocation> invocations,
-                                              InOrderContext context)
-
-
-
-
-
-
- -

-findFirstUnverifiedInOrder

-
-public Invocation findFirstUnverifiedInOrder(InOrderContext context,
-                                             java.util.List<Invocation> orderedInvocations)
-
-
i3 is unverified here: - - i1, i2, i3 - v - - all good here: - - i1, i2, i3 - v v -

-

-
Parameters:
context -
orderedInvocations -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/MatchersBinder.html b/tools/mockito/javadoc/org/mockito/internal/invocation/MatchersBinder.html deleted file mode 100644 index ddd102b29cb..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/MatchersBinder.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -MatchersBinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation -
-Class MatchersBinder

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.MatchersBinder
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class MatchersBinder
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
MatchersBinder() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- InvocationMatcherbindMatchers(ArgumentMatcherStorage argumentMatcherStorage, - Invocation invocation) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MatchersBinder

-
-public MatchersBinder()
-
-
- - - - - - - - -
-Method Detail
- -

-bindMatchers

-
-public InvocationMatcher bindMatchers(ArgumentMatcherStorage argumentMatcherStorage,
-                                      Invocation invocation)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/MockitoMethod.html b/tools/mockito/javadoc/org/mockito/internal/invocation/MockitoMethod.html deleted file mode 100644 index 368b5e8b304..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/MockitoMethod.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -MockitoMethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation -
-Interface MockitoMethod

-
-
All Known Implementing Classes:
DelegatingMethod, SerializableMethod
-
-
-
-
public interface MockitoMethod
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.Class<?>[]getExceptionTypes() - -
-           
- java.lang.reflect.MethodgetJavaMethod() - -
-           
- java.lang.StringgetName() - -
-           
- java.lang.Class<?>[]getParameterTypes() - -
-           
- java.lang.Class<?>getReturnType() - -
-           
- booleanisVarArgs() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-getName

-
-java.lang.String getName()
-
-
-
-
-
-
- -

-getReturnType

-
-java.lang.Class<?> getReturnType()
-
-
-
-
-
-
- -

-getParameterTypes

-
-java.lang.Class<?>[] getParameterTypes()
-
-
-
-
-
-
- -

-getExceptionTypes

-
-java.lang.Class<?>[] getExceptionTypes()
-
-
-
-
-
-
- -

-isVarArgs

-
-boolean isVarArgs()
-
-
-
-
-
-
- -

-getJavaMethod

-
-java.lang.reflect.Method getJavaMethod()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/SerializableMethod.html b/tools/mockito/javadoc/org/mockito/internal/invocation/SerializableMethod.html deleted file mode 100644 index 6788ae45d9d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/SerializableMethod.html +++ /dev/null @@ -1,411 +0,0 @@ - - - - - - -SerializableMethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation -
-Class SerializableMethod

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.SerializableMethod
-
-
-
All Implemented Interfaces:
java.io.Serializable, MockitoMethod
-
-
-
-
public class SerializableMethod
extends java.lang.Object
implements java.io.Serializable, MockitoMethod
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
SerializableMethod(java.lang.reflect.Method method) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(java.lang.Object obj) - -
-           
- java.lang.Class<?>[]getExceptionTypes() - -
-           
- java.lang.reflect.MethodgetJavaMethod() - -
-           
- java.lang.StringgetName() - -
-           
- java.lang.Class<?>[]getParameterTypes() - -
-           
- java.lang.Class<?>getReturnType() - -
-           
- inthashCode() - -
-           
- booleanisVarArgs() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SerializableMethod

-
-public SerializableMethod(java.lang.reflect.Method method)
-
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-public java.lang.String getName()
-
-
-
Specified by:
getName in interface MockitoMethod
-
-
-
-
-
-
- -

-getReturnType

-
-public java.lang.Class<?> getReturnType()
-
-
-
Specified by:
getReturnType in interface MockitoMethod
-
-
-
-
-
-
- -

-getParameterTypes

-
-public java.lang.Class<?>[] getParameterTypes()
-
-
-
Specified by:
getParameterTypes in interface MockitoMethod
-
-
-
-
-
-
- -

-getExceptionTypes

-
-public java.lang.Class<?>[] getExceptionTypes()
-
-
-
Specified by:
getExceptionTypes in interface MockitoMethod
-
-
-
-
-
-
- -

-isVarArgs

-
-public boolean isVarArgs()
-
-
-
Specified by:
isVarArgs in interface MockitoMethod
-
-
-
-
-
-
- -

-getJavaMethod

-
-public java.lang.reflect.Method getJavaMethod()
-
-
-
Specified by:
getJavaMethod in interface MockitoMethod
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class java.lang.Object
-
-
-
-
-
-
- -

-equals

-
-public boolean equals(java.lang.Object obj)
-
-
-
Overrides:
equals in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/StubInfo.html b/tools/mockito/javadoc/org/mockito/internal/invocation/StubInfo.html deleted file mode 100644 index ede0a6de6fe..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/StubInfo.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - -StubInfo (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation -
-Class StubInfo

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.StubInfo
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class StubInfo
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
StubInfo(PrintableInvocation stubbedAt) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.StringstubbedAt() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-StubInfo

-
-public StubInfo(PrintableInvocation stubbedAt)
-
-
- - - - - - - - -
-Method Detail
- -

-stubbedAt

-
-public java.lang.String stubbedAt()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/UnusedStubsFinder.html b/tools/mockito/javadoc/org/mockito/internal/invocation/UnusedStubsFinder.html deleted file mode 100644 index 67096dd31ca..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/UnusedStubsFinder.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -UnusedStubsFinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation -
-Class UnusedStubsFinder

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.UnusedStubsFinder
-
-
-
-
public class UnusedStubsFinder
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
UnusedStubsFinder() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.util.List<Invocation>find(java.util.List<?> mocks) - -
-          Finds all unused stubs for given mocks
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-UnusedStubsFinder

-
-public UnusedStubsFinder()
-
-
- - - - - - - - -
-Method Detail
- -

-find

-
-public java.util.List<Invocation> find(java.util.List<?> mocks)
-
-
Finds all unused stubs for given mocks -

-

-
Parameters:
mocks -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/AllInvocationsFinder.html b/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/AllInvocationsFinder.html deleted file mode 100644 index 3a828986b15..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/AllInvocationsFinder.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.invocation.AllInvocationsFinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.invocation.AllInvocationsFinder

-
-No usage of org.mockito.internal.invocation.AllInvocationsFinder -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/ArgumentsComparator.html b/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/ArgumentsComparator.html deleted file mode 100644 index 14116cbe0ab..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/ArgumentsComparator.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.invocation.ArgumentsComparator (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.invocation.ArgumentsComparator

-
-No usage of org.mockito.internal.invocation.ArgumentsComparator -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/CapturesArgumensFromInvocation.html b/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/CapturesArgumensFromInvocation.html deleted file mode 100644 index b2a30da80d7..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/CapturesArgumensFromInvocation.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.invocation.CapturesArgumensFromInvocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.invocation.CapturesArgumensFromInvocation

-
- - - - - - - - - - - - - -
-Packages that use CapturesArgumensFromInvocation
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.stubbingStubbing logic. 
-  -

- - - - - -
-Uses of CapturesArgumensFromInvocation in org.mockito.internal.invocation
-  -

- - - - - - - - - -
Classes in org.mockito.internal.invocation that implement CapturesArgumensFromInvocation
- classInvocationMatcher - -
-           
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.invocation with parameters of type CapturesArgumensFromInvocation
- voidInvocationMarker.markVerified(Invocation invocation, - CapturesArgumensFromInvocation wanted) - -
-           
- voidInvocationMarker.markVerified(java.util.List<Invocation> invocations, - CapturesArgumensFromInvocation wanted) - -
-           
- voidInvocationMarker.markVerifiedInOrder(java.util.List<Invocation> chunk, - CapturesArgumensFromInvocation wanted, - InOrderContext context) - -
-           
-  -

- - - - - -
-Uses of CapturesArgumensFromInvocation in org.mockito.internal.stubbing
-  -

- - - - - - - - - -
Classes in org.mockito.internal.stubbing that implement CapturesArgumensFromInvocation
- classStubbedInvocationMatcher - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/Invocation.html b/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/Invocation.html deleted file mode 100644 index 0c7ce101312..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/Invocation.html +++ /dev/null @@ -1,1074 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.invocation.Invocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.invocation.Invocation

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use Invocation
org.mockito.exceptionsException messages, exception hierarchies. 
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.debuggingWhatever helps in debugging failed tests 
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.progressMocking progress stateful classes. 
org.mockito.internal.stubbingStubbing logic. 
org.mockito.internal.stubbing.answersAnswers for stubbed calls 
org.mockito.internal.verificationVerification logic. 
org.mockito.internal.verification.apiThis package should be open to public once verification API is fully finished 
org.mockito.internal.verification.checkersverification checkers 
-  -

- - - - - -
-Uses of Invocation in org.mockito.exceptions
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.exceptions with parameters of type Invocation
- voidReporter.noMoreInteractionsWanted(Invocation undesired, - java.util.List<VerificationAwareInvocation> invocations) - -
-           
- voidReporter.noMoreInteractionsWantedInOrder(Invocation undesired) - -
-           
-  -

- - - - - -
-Uses of Invocation in org.mockito.internal
-  -

- - - - - - - - - -
Methods in org.mockito.internal that return Invocation
- InvocationMockitoCore.getLastInvocation() - -
-          For testing purposes only.
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal with parameters of type Invocation
- java.lang.ObjectMockitoInvocationHandler.handle(Invocation invocation) - -
-           
- java.lang.ObjectMockHandler.handle(Invocation invocation) - -
-           
- booleanInOrderImpl.isVerified(Invocation i) - -
-           
- voidInOrderImpl.markVerified(Invocation i) - -
-           
-  -

- - - - - -
-Uses of Invocation in org.mockito.internal.debugging
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.debugging with parameters of type Invocation
- voidLoggingListener.foundStubCalledWithDifferentArgs(Invocation unused, - InvocationMatcher unstubbed) - -
-           
- voidFindingsListener.foundStubCalledWithDifferentArgs(Invocation unused, - InvocationMatcher unstubbed) - -
-           
- voidLoggingListener.foundUnusedStub(Invocation unused) - -
-           
- voidFindingsListener.foundUnusedStub(Invocation unused) - -
-           
-  -

- - - - - - - - - - - - - - -
Constructor parameters in org.mockito.internal.debugging with type arguments of type Invocation
WarningsFinder(java.util.List<Invocation> unusedStubs, - java.util.List<InvocationMatcher> allInvocations) - -
-           
WarningsPrinterImpl(java.util.List<Invocation> unusedStubs, - java.util.List<InvocationMatcher> unstubbedInvocations) - -
-           
WarningsPrinterImpl(java.util.List<Invocation> unusedStubs, - java.util.List<InvocationMatcher> allInvocations, - boolean warnAboutUnstubbed) - -
-           
-  -

- - - - - -
-Uses of Invocation in org.mockito.internal.invocation
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.invocation that return Invocation
- InvocationInvocationsFinder.findFirstUnverified(java.util.List<Invocation> invocations) - -
-           
- InvocationInvocationsFinder.findFirstUnverifiedInOrder(InOrderContext context, - java.util.List<Invocation> orderedInvocations) - -
-          i3 is unverified here: - - i1, i2, i3 - v - - all good here: - - i1, i2, i3 - v v
- InvocationInvocationsFinder.findPreviousVerifiedInOrder(java.util.List<Invocation> invocations, - InOrderContext context) - -
-           
- InvocationInvocationsFinder.findSimilarInvocation(java.util.List<Invocation> invocations, - InvocationMatcher wanted) - -
-           
- InvocationInvocationMatcher.getInvocation() - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.invocation that return types with arguments of type Invocation
- java.util.List<Invocation>UnusedStubsFinder.find(java.util.List<?> mocks) - -
-          Finds all unused stubs for given mocks
- java.util.List<Invocation>AllInvocationsFinder.find(java.util.List<?> mocks) - -
-          gets all invocations from mocks.
- java.util.List<Invocation>InvocationsFinder.findAllMatchingUnverifiedChunks(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - InOrderContext orderingContext) - -
-           
- java.util.List<Invocation>InvocationsFinder.findInvocations(java.util.List<Invocation> invocations, - InvocationMatcher wanted) - -
-           
- java.util.List<Invocation>InvocationsFinder.findMatchingChunk(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount, - InOrderContext context) - -
-          some examples how it works: - - Given invocations sequence: - 1,1,2,1 - - if wanted is 1 and mode is times(2) then returns - 1,1 - - if wanted is 1 and mode is atLeast() then returns - 1,1,1 - - if wanted is 1 and mode is times(x), where x != 2 then returns - 1,1,1
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.invocation with parameters of type Invocation
- booleanArgumentsComparator.argumentsMatch(InvocationMatcher invocationMatcher, - Invocation actual) - -
-           
- InvocationMatcherMatchersBinder.bindMatchers(ArgumentMatcherStorage argumentMatcherStorage, - Invocation invocation) - -
-           
- voidInvocationMatcher.captureArgumentsFrom(Invocation i) - -
-           
- voidCapturesArgumensFromInvocation.captureArgumentsFrom(Invocation i) - -
-           
- booleanInvocationMatcher.hasSameMethod(Invocation candidate) - -
-           
- booleanInvocationMatcher.hasSimilarMethod(Invocation candidate) - -
-          similar means the same method name, same mock, unverified - and: if arguments are the same cannot be overloaded
- voidInvocationMarker.markVerified(Invocation invocation, - CapturesArgumensFromInvocation wanted) - -
-           
- booleanInvocationMatcher.matches(Invocation actual) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Method parameters in org.mockito.internal.invocation with type arguments of type Invocation
-static java.util.List<InvocationMatcher>InvocationMatcher.createFrom(java.util.List<Invocation> invocations) - -
-           
- java.util.List<Invocation>InvocationsFinder.findAllMatchingUnverifiedChunks(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - InOrderContext orderingContext) - -
-           
- InvocationInvocationsFinder.findFirstUnverified(java.util.List<Invocation> invocations) - -
-           
- InvocationInvocationsFinder.findFirstUnverifiedInOrder(InOrderContext context, - java.util.List<Invocation> orderedInvocations) - -
-          i3 is unverified here: - - i1, i2, i3 - v - - all good here: - - i1, i2, i3 - v v
- java.util.List<Invocation>InvocationsFinder.findInvocations(java.util.List<Invocation> invocations, - InvocationMatcher wanted) - -
-           
- java.util.List<Invocation>InvocationsFinder.findMatchingChunk(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount, - InOrderContext context) - -
-          some examples how it works: - - Given invocations sequence: - 1,1,2,1 - - if wanted is 1 and mode is times(2) then returns - 1,1 - - if wanted is 1 and mode is atLeast() then returns - 1,1,1 - - if wanted is 1 and mode is times(x), where x != 2 then returns - 1,1,1
- InvocationInvocationsFinder.findPreviousVerifiedInOrder(java.util.List<Invocation> invocations, - InOrderContext context) - -
-           
- InvocationInvocationsFinder.findSimilarInvocation(java.util.List<Invocation> invocations, - InvocationMatcher wanted) - -
-           
- LocationInvocationsFinder.getLastLocation(java.util.List<Invocation> invocations) - -
-           
- voidInvocationMarker.markVerified(java.util.List<Invocation> invocations, - CapturesArgumensFromInvocation wanted) - -
-           
- voidInvocationMarker.markVerifiedInOrder(java.util.List<Invocation> chunk, - CapturesArgumensFromInvocation wanted, - InOrderContext context) - -
-           
-  -

- - - - - - - - - - - -
Constructors in org.mockito.internal.invocation with parameters of type Invocation
InvocationMatcher(Invocation invocation) - -
-           
InvocationMatcher(Invocation invocation, - java.util.List<org.hamcrest.Matcher> matchers) - -
-           
-  -

- - - - - -
-Uses of Invocation in org.mockito.internal.progress
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.progress with parameters of type Invocation
- voidThreadSafeMockingProgress.stubbingCompleted(Invocation invocation) - -
-           
- voidMockingProgressImpl.stubbingCompleted(Invocation invocation) - -
-           
- voidMockingProgress.stubbingCompleted(Invocation invocation) - -
-           
-  -

- - - - - -
-Uses of Invocation in org.mockito.internal.stubbing
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.stubbing that return types with arguments of type Invocation
- java.util.List<Invocation>InvocationContainerImpl.getInvocations() - -
-           
- java.util.List<Invocation>InvocationContainer.getInvocations() - -
-           
- java.util.List<Invocation>OngoingStubbingImpl.getRegisteredInvocations() - -
-           
-  -

- - - - - - - - - -
Methods in org.mockito.internal.stubbing with parameters of type Invocation
- StubbedInvocationMatcherInvocationContainerImpl.findAnswerFor(Invocation invocation) - -
-           
-  -

- - - - - -
-Uses of Invocation in org.mockito.internal.stubbing.answers
-  -

- - - - - - - - - -
Methods in org.mockito.internal.stubbing.answers with parameters of type Invocation
- voidAnswersValidator.validate(Answer<?> answer, - Invocation invocation) - -
-           
-  -

- - - - - -
-Uses of Invocation in org.mockito.internal.verification
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.internal.verification that return types with arguments of type Invocation
- java.util.List<Invocation>RegisteredInvocations.getAll() - -
-           
- java.util.List<Invocation>VerificationDataImpl.getAllInvocations() - -
-           
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.verification with parameters of type Invocation
- voidRegisteredInvocations.add(Invocation invocation) - -
-           
- booleanInOrderContextImpl.isVerified(Invocation invocation) - -
-           
- voidInOrderContextImpl.markVerified(Invocation i) - -
-           
-  -

- - - - - -
-Uses of Invocation in org.mockito.internal.verification.api
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.verification.api that return types with arguments of type Invocation
- java.util.List<Invocation>VerificationDataInOrderImpl.getAllInvocations() - -
-           
- java.util.List<Invocation>VerificationDataInOrder.getAllInvocations() - -
-           
- java.util.List<Invocation>VerificationData.getAllInvocations() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.internal.verification.api with parameters of type Invocation
- booleanInOrderContext.isVerified(Invocation invocation) - -
-           
- voidInOrderContext.markVerified(Invocation i) - -
-           
-  -

- - - - - - - - -
Constructor parameters in org.mockito.internal.verification.api with type arguments of type Invocation
VerificationDataInOrderImpl(InOrderContext inOrder, - java.util.List<Invocation> allInvocations, - InvocationMatcher wanted) - -
-           
-  -

- - - - - -
-Uses of Invocation in org.mockito.internal.verification.checkers
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Method parameters in org.mockito.internal.verification.checkers with type arguments of type Invocation
- voidMissingInvocationChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted) - -
-           
- voidNumberOfInvocationsChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount) - -
-           
- voidAtLeastXNumberOfInvocationsInOrderChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount) - -
-           
- voidAtLeastXNumberOfInvocationsChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount) - -
-           
- voidNumberOfInvocationsInOrderChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount, - InOrderContext context) - -
-           
- voidMissingInvocationInOrderChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - VerificationMode mode, - InOrderContext context) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/InvocationMarker.html b/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/InvocationMarker.html deleted file mode 100644 index bb814495952..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/InvocationMarker.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.invocation.InvocationMarker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.invocation.InvocationMarker

-
-No usage of org.mockito.internal.invocation.InvocationMarker -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/InvocationMatcher.html b/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/InvocationMatcher.html deleted file mode 100644 index 3992f9d627d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/InvocationMatcher.html +++ /dev/null @@ -1,618 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.invocation.InvocationMatcher (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.invocation.InvocationMatcher

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use InvocationMatcher
org.mockito.internal.debuggingWhatever helps in debugging failed tests 
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.stubbingStubbing logic. 
org.mockito.internal.verificationVerification logic. 
org.mockito.internal.verification.apiThis package should be open to public once verification API is fully finished 
org.mockito.internal.verification.checkersverification checkers 
-  -

- - - - - -
-Uses of InvocationMatcher in org.mockito.internal.debugging
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.debugging with parameters of type InvocationMatcher
- voidLoggingListener.foundStubCalledWithDifferentArgs(Invocation unused, - InvocationMatcher unstubbed) - -
-           
- voidFindingsListener.foundStubCalledWithDifferentArgs(Invocation unused, - InvocationMatcher unstubbed) - -
-           
- voidLoggingListener.foundUnstubbed(InvocationMatcher unstubbed) - -
-           
- voidFindingsListener.foundUnstubbed(InvocationMatcher unstubbed) - -
-           
-  -

- - - - - - - - - - - - - - -
Constructor parameters in org.mockito.internal.debugging with type arguments of type InvocationMatcher
WarningsFinder(java.util.List<Invocation> unusedStubs, - java.util.List<InvocationMatcher> allInvocations) - -
-           
WarningsPrinterImpl(java.util.List<Invocation> unusedStubs, - java.util.List<InvocationMatcher> unstubbedInvocations) - -
-           
WarningsPrinterImpl(java.util.List<Invocation> unusedStubs, - java.util.List<InvocationMatcher> allInvocations, - boolean warnAboutUnstubbed) - -
-           
-  -

- - - - - -
-Uses of InvocationMatcher in org.mockito.internal.invocation
-  -

- - - - - - - - - -
Methods in org.mockito.internal.invocation that return InvocationMatcher
- InvocationMatcherMatchersBinder.bindMatchers(ArgumentMatcherStorage argumentMatcherStorage, - Invocation invocation) - -
-           
-  -

- - - - - - - - - -
Methods in org.mockito.internal.invocation that return types with arguments of type InvocationMatcher
-static java.util.List<InvocationMatcher>InvocationMatcher.createFrom(java.util.List<Invocation> invocations) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.invocation with parameters of type InvocationMatcher
- booleanArgumentsComparator.argumentsMatch(InvocationMatcher invocationMatcher, - Invocation actual) - -
-           
- booleanArgumentsComparator.argumentsMatch(InvocationMatcher invocationMatcher, - java.lang.Object[] actualArgs) - -
-           
- java.util.List<Invocation>InvocationsFinder.findAllMatchingUnverifiedChunks(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - InOrderContext orderingContext) - -
-           
- java.util.List<Invocation>InvocationsFinder.findInvocations(java.util.List<Invocation> invocations, - InvocationMatcher wanted) - -
-           
- java.util.List<Invocation>InvocationsFinder.findMatchingChunk(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount, - InOrderContext context) - -
-          some examples how it works: - - Given invocations sequence: - 1,1,2,1 - - if wanted is 1 and mode is times(2) then returns - 1,1 - - if wanted is 1 and mode is atLeast() then returns - 1,1,1 - - if wanted is 1 and mode is times(x), where x != 2 then returns - 1,1,1
- InvocationInvocationsFinder.findSimilarInvocation(java.util.List<Invocation> invocations, - InvocationMatcher wanted) - -
-           
-  -

- - - - - -
-Uses of InvocationMatcher in org.mockito.internal.stubbing
-  -

- - - - - - - - - -
Subclasses of InvocationMatcher in org.mockito.internal.stubbing
- classStubbedInvocationMatcher - -
-           
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.stubbing with parameters of type InvocationMatcher
- voidInvocationContainerImpl.resetInvocationForPotentialStubbing(InvocationMatcher invocationMatcher) - -
-           
- voidInvocationContainerImpl.setInvocationForPotentialStubbing(InvocationMatcher invocation) - -
-           
- voidInvocationContainerImpl.setMethodForStubbing(InvocationMatcher invocation) - -
-           
-  -

- - - - - - - - -
Constructors in org.mockito.internal.stubbing with parameters of type InvocationMatcher
StubbedInvocationMatcher(InvocationMatcher invocation, - Answer answer) - -
-           
-  -

- - - - - -
-Uses of InvocationMatcher in org.mockito.internal.verification
-  -

- - - - - - - - - -
Methods in org.mockito.internal.verification that return InvocationMatcher
- InvocationMatcherVerificationDataImpl.getWanted() - -
-           
-  -

- - - - - - - - -
Constructors in org.mockito.internal.verification with parameters of type InvocationMatcher
VerificationDataImpl(InvocationContainer invocations, - InvocationMatcher wanted) - -
-           
-  -

- - - - - -
-Uses of InvocationMatcher in org.mockito.internal.verification.api
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.verification.api that return InvocationMatcher
- InvocationMatcherVerificationDataInOrderImpl.getWanted() - -
-           
- InvocationMatcherVerificationDataInOrder.getWanted() - -
-           
- InvocationMatcherVerificationData.getWanted() - -
-           
-  -

- - - - - - - - -
Constructors in org.mockito.internal.verification.api with parameters of type InvocationMatcher
VerificationDataInOrderImpl(InOrderContext inOrder, - java.util.List<Invocation> allInvocations, - InvocationMatcher wanted) - -
-           
-  -

- - - - - -
-Uses of InvocationMatcher in org.mockito.internal.verification.checkers
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.verification.checkers with parameters of type InvocationMatcher
- voidMissingInvocationChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted) - -
-           
- voidNumberOfInvocationsChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount) - -
-           
- voidAtLeastXNumberOfInvocationsInOrderChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount) - -
-           
- voidAtLeastXNumberOfInvocationsChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount) - -
-           
- voidNumberOfInvocationsInOrderChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount, - InOrderContext context) - -
-           
- voidMissingInvocationInOrderChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - VerificationMode mode, - InOrderContext context) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/InvocationsFinder.html b/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/InvocationsFinder.html deleted file mode 100644 index 46e6106218c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/InvocationsFinder.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.invocation.InvocationsFinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.invocation.InvocationsFinder

-
-No usage of org.mockito.internal.invocation.InvocationsFinder -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/MatchersBinder.html b/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/MatchersBinder.html deleted file mode 100644 index 9548d960443..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/MatchersBinder.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.invocation.MatchersBinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.invocation.MatchersBinder

-
-No usage of org.mockito.internal.invocation.MatchersBinder -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/MockitoMethod.html b/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/MockitoMethod.html deleted file mode 100644 index b969912189d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/MockitoMethod.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.invocation.MockitoMethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.invocation.MockitoMethod

-
- - - - - - - - - - - - - - - - - -
-Packages that use MockitoMethod
org.mockito.internal.creationMock object creation. 
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.utilStatic utils 
-  -

- - - - - -
-Uses of MockitoMethod in org.mockito.internal.creation
-  -

- - - - - - - - - -
Classes in org.mockito.internal.creation that implement MockitoMethod
- classDelegatingMethod - -
-           
-  -

- - - - - - - - - -
Methods in org.mockito.internal.creation that return MockitoMethod
- MockitoMethodMethodInterceptorFilter.createMockitoMethod(java.lang.reflect.Method method) - -
-           
-  -

- - - - - -
-Uses of MockitoMethod in org.mockito.internal.invocation
-  -

- - - - - - - - - -
Classes in org.mockito.internal.invocation that implement MockitoMethod
- classSerializableMethod - -
-           
-  -

- - - - - - - - -
Constructors in org.mockito.internal.invocation with parameters of type MockitoMethod
Invocation(java.lang.Object mock, - MockitoMethod mockitoMethod, - java.lang.Object[] args, - int sequenceNumber, - RealMethod realMethod) - -
-           
-  -

- - - - - -
-Uses of MockitoMethod in org.mockito.internal.util
-  -

- - - - - - - - - -
Methods in org.mockito.internal.util with parameters of type MockitoMethod
- booleanObjectMethodsGuru.isToString(MockitoMethod method) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/SerializableMethod.html b/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/SerializableMethod.html deleted file mode 100644 index 9eeb4706dbb..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/SerializableMethod.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.invocation.SerializableMethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.invocation.SerializableMethod

-
-No usage of org.mockito.internal.invocation.SerializableMethod -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/StubInfo.html b/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/StubInfo.html deleted file mode 100644 index 659eb928d3f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/StubInfo.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.invocation.StubInfo (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.invocation.StubInfo

-
- - - - - - - - - -
-Packages that use StubInfo
org.mockito.internal.invocationInvocation and related classes. 
-  -

- - - - - -
-Uses of StubInfo in org.mockito.internal.invocation
-  -

- - - - - - - - - -
Methods in org.mockito.internal.invocation that return StubInfo
- StubInfoInvocation.stubInfo() - -
-           
-  -

- - - - - - - - - -
Methods in org.mockito.internal.invocation with parameters of type StubInfo
- voidInvocation.markStubbed(StubInfo stubInfo) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/UnusedStubsFinder.html b/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/UnusedStubsFinder.html deleted file mode 100644 index 04537a6c10d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/class-use/UnusedStubsFinder.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.invocation.UnusedStubsFinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.invocation.UnusedStubsFinder

-
-No usage of org.mockito.internal.invocation.UnusedStubsFinder -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/invocation/package-frame.html deleted file mode 100644 index 50d6a83e5a5..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/package-frame.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - -org.mockito.internal.invocation (Mockito API) - - - - - - - - - - - -org.mockito.internal.invocation - - - - -
-Interfaces  - -
-CapturesArgumensFromInvocation -
-MockitoMethod
- - - - - - -
-Classes  - -
-AllInvocationsFinder -
-ArgumentsComparator -
-Invocation -
-InvocationMarker -
-InvocationMatcher -
-InvocationsFinder -
-MatchersBinder -
-SerializableMethod -
-StubInfo -
-UnusedStubsFinder
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/invocation/package-summary.html deleted file mode 100644 index 1f30655cbfe..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/package-summary.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - -org.mockito.internal.invocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.invocation -

-Invocation and related classes. -

-See: -
-          Description -

- - - - - - - - - - - - - -
-Interface Summary
CapturesArgumensFromInvocation 
MockitoMethod 
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AllInvocationsFinder 
ArgumentsComparator 
InvocationMethod call on a mock object.
InvocationMarker 
InvocationMatcher 
InvocationsFinder 
MatchersBinder 
SerializableMethod 
StubInfo 
UnusedStubsFinder 
-  - -

-

-Package org.mockito.internal.invocation Description -

- -

-Invocation and related classes. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/invocation/package-tree.html deleted file mode 100644 index 51f27e74490..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/package-tree.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -org.mockito.internal.invocation Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.invocation -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/package-use.html b/tools/mockito/javadoc/org/mockito/internal/invocation/package-use.html deleted file mode 100644 index 5d4a5f9a25e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/package-use.html +++ /dev/null @@ -1,435 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.invocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.invocation

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.mockito.internal.invocation
org.mockito.exceptionsException messages, exception hierarchies. 
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.creationMock object creation. 
org.mockito.internal.debuggingWhatever helps in debugging failed tests 
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.progressMocking progress stateful classes. 
org.mockito.internal.stubbingStubbing logic. 
org.mockito.internal.stubbing.answersAnswers for stubbed calls 
org.mockito.internal.utilStatic utils 
org.mockito.internal.verificationVerification logic. 
org.mockito.internal.verification.apiThis package should be open to public once verification API is fully finished 
org.mockito.internal.verification.checkersverification checkers 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.invocation used by org.mockito.exceptions
Invocation - -
-          Method call on a mock object.
-  -

- - - - - - - - -
-Classes in org.mockito.internal.invocation used by org.mockito.internal
Invocation - -
-          Method call on a mock object.
-  -

- - - - - - - - -
-Classes in org.mockito.internal.invocation used by org.mockito.internal.creation
MockitoMethod - -
-           
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal.invocation used by org.mockito.internal.debugging
Invocation - -
-          Method call on a mock object.
InvocationMatcher - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - -
-Classes in org.mockito.internal.invocation used by org.mockito.internal.invocation
CapturesArgumensFromInvocation - -
-           
Invocation - -
-          Method call on a mock object.
InvocationMatcher - -
-           
MockitoMethod - -
-           
StubInfo - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.invocation used by org.mockito.internal.progress
Invocation - -
-          Method call on a mock object.
-  -

- - - - - - - - - - - - - - -
-Classes in org.mockito.internal.invocation used by org.mockito.internal.stubbing
CapturesArgumensFromInvocation - -
-           
Invocation - -
-          Method call on a mock object.
InvocationMatcher - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.invocation used by org.mockito.internal.stubbing.answers
Invocation - -
-          Method call on a mock object.
-  -

- - - - - - - - -
-Classes in org.mockito.internal.invocation used by org.mockito.internal.util
MockitoMethod - -
-           
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal.invocation used by org.mockito.internal.verification
Invocation - -
-          Method call on a mock object.
InvocationMatcher - -
-           
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal.invocation used by org.mockito.internal.verification.api
Invocation - -
-          Method call on a mock object.
InvocationMatcher - -
-           
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal.invocation used by org.mockito.internal.verification.checkers
Invocation - -
-          Method call on a mock object.
InvocationMatcher - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/CGLIBProxyRealMethod.html b/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/CGLIBProxyRealMethod.html deleted file mode 100644 index f8c59d4ce3c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/CGLIBProxyRealMethod.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - -CGLIBProxyRealMethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation.realmethod -
-Class CGLIBProxyRealMethod

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.realmethod.CGLIBProxyRealMethod
-
-
-
All Implemented Interfaces:
java.io.Serializable, HasCGLIBMethodProxy, RealMethod
-
-
-
-
public class CGLIBProxyRealMethod
extends java.lang.Object
implements RealMethod, HasCGLIBMethodProxy, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
CGLIBProxyRealMethod(MockitoMethodProxy methodProxy) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- MockitoMethodProxygetMethodProxy() - -
-           
- java.lang.Objectinvoke(java.lang.Object target, - java.lang.Object[] arguments) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-CGLIBProxyRealMethod

-
-public CGLIBProxyRealMethod(MockitoMethodProxy methodProxy)
-
-
- - - - - - - - -
-Method Detail
- -

-invoke

-
-public java.lang.Object invoke(java.lang.Object target,
-                               java.lang.Object[] arguments)
-                        throws java.lang.Throwable
-
-
-
Specified by:
invoke in interface RealMethod
-
-
- -
Throws: -
java.lang.Throwable
-
-
-
- -

-getMethodProxy

-
-public MockitoMethodProxy getMethodProxy()
-
-
-
Specified by:
getMethodProxy in interface HasCGLIBMethodProxy
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/FilteredCGLIBProxyRealMethod.html b/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/FilteredCGLIBProxyRealMethod.html deleted file mode 100644 index aee5d54352c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/FilteredCGLIBProxyRealMethod.html +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - -FilteredCGLIBProxyRealMethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation.realmethod -
-Class FilteredCGLIBProxyRealMethod

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.realmethod.FilteredCGLIBProxyRealMethod
-
-
-
All Implemented Interfaces:
java.io.Serializable, HasCGLIBMethodProxy, RealMethod
-
-
-
-
public class FilteredCGLIBProxyRealMethod
extends java.lang.Object
implements RealMethod, HasCGLIBMethodProxy, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
FilteredCGLIBProxyRealMethod(MockitoMethodProxy methodProxy) - -
-           
FilteredCGLIBProxyRealMethod(RealMethod realMethod) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- MockitoMethodProxygetMethodProxy() - -
-           
- java.lang.Objectinvoke(java.lang.Object target, - java.lang.Object[] arguments) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-FilteredCGLIBProxyRealMethod

-
-public FilteredCGLIBProxyRealMethod(MockitoMethodProxy methodProxy)
-
-
-
- -

-FilteredCGLIBProxyRealMethod

-
-public FilteredCGLIBProxyRealMethod(RealMethod realMethod)
-
-
- - - - - - - - -
-Method Detail
- -

-invoke

-
-public java.lang.Object invoke(java.lang.Object target,
-                               java.lang.Object[] arguments)
-                        throws java.lang.Throwable
-
-
-
Specified by:
invoke in interface RealMethod
-
-
- -
Throws: -
java.lang.Throwable
-
-
-
- -

-getMethodProxy

-
-public MockitoMethodProxy getMethodProxy()
-
-
-
Specified by:
getMethodProxy in interface HasCGLIBMethodProxy
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/HasCGLIBMethodProxy.html b/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/HasCGLIBMethodProxy.html deleted file mode 100644 index d18b8c505a3..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/HasCGLIBMethodProxy.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - -HasCGLIBMethodProxy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation.realmethod -
-Interface HasCGLIBMethodProxy

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
All Known Implementing Classes:
CGLIBProxyRealMethod, FilteredCGLIBProxyRealMethod
-
-
-
-
public interface HasCGLIBMethodProxy
extends java.io.Serializable
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- MockitoMethodProxygetMethodProxy() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-getMethodProxy

-
-MockitoMethodProxy getMethodProxy()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/RealMethod.html b/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/RealMethod.html deleted file mode 100644 index c33304ea3c0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/RealMethod.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - -RealMethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.invocation.realmethod -
-Interface RealMethod

-
-
All Known Implementing Classes:
CGLIBProxyRealMethod, FilteredCGLIBProxyRealMethod
-
-
-
-
public interface RealMethod
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- java.lang.Objectinvoke(java.lang.Object target, - java.lang.Object[] arguments) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-invoke

-
-java.lang.Object invoke(java.lang.Object target,
-                        java.lang.Object[] arguments)
-                        throws java.lang.Throwable
-
-
- -
Throws: -
java.lang.Throwable
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/class-use/CGLIBProxyRealMethod.html b/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/class-use/CGLIBProxyRealMethod.html deleted file mode 100644 index 455875dfba7..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/class-use/CGLIBProxyRealMethod.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.invocation.realmethod.CGLIBProxyRealMethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.invocation.realmethod.CGLIBProxyRealMethod

-
-No usage of org.mockito.internal.invocation.realmethod.CGLIBProxyRealMethod -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/class-use/FilteredCGLIBProxyRealMethod.html b/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/class-use/FilteredCGLIBProxyRealMethod.html deleted file mode 100644 index 34e8d6edfcd..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/class-use/FilteredCGLIBProxyRealMethod.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.invocation.realmethod.FilteredCGLIBProxyRealMethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.invocation.realmethod.FilteredCGLIBProxyRealMethod

-
-No usage of org.mockito.internal.invocation.realmethod.FilteredCGLIBProxyRealMethod -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/class-use/HasCGLIBMethodProxy.html b/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/class-use/HasCGLIBMethodProxy.html deleted file mode 100644 index eabc33f3b18..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/class-use/HasCGLIBMethodProxy.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.invocation.realmethod.HasCGLIBMethodProxy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.invocation.realmethod.HasCGLIBMethodProxy

-
- - - - - - - - - -
-Packages that use HasCGLIBMethodProxy
org.mockito.internal.invocation.realmethodimplementations of real method calls 
-  -

- - - - - -
-Uses of HasCGLIBMethodProxy in org.mockito.internal.invocation.realmethod
-  -

- - - - - - - - - - - - - -
Classes in org.mockito.internal.invocation.realmethod that implement HasCGLIBMethodProxy
- classCGLIBProxyRealMethod - -
-           
- classFilteredCGLIBProxyRealMethod - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/class-use/RealMethod.html b/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/class-use/RealMethod.html deleted file mode 100644 index 39839ed8219..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/class-use/RealMethod.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.invocation.realmethod.RealMethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.invocation.realmethod.RealMethod

-
- - - - - - - - - - - - - -
-Packages that use RealMethod
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.invocation.realmethodimplementations of real method calls 
-  -

- - - - - -
-Uses of RealMethod in org.mockito.internal.invocation
-  -

- - - - - - - - -
Constructors in org.mockito.internal.invocation with parameters of type RealMethod
Invocation(java.lang.Object mock, - MockitoMethod mockitoMethod, - java.lang.Object[] args, - int sequenceNumber, - RealMethod realMethod) - -
-           
-  -

- - - - - -
-Uses of RealMethod in org.mockito.internal.invocation.realmethod
-  -

- - - - - - - - - - - - - -
Classes in org.mockito.internal.invocation.realmethod that implement RealMethod
- classCGLIBProxyRealMethod - -
-           
- classFilteredCGLIBProxyRealMethod - -
-           
-  -

- - - - - - - - -
Constructors in org.mockito.internal.invocation.realmethod with parameters of type RealMethod
FilteredCGLIBProxyRealMethod(RealMethod realMethod) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/package-frame.html deleted file mode 100644 index 5c04d8f156d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/package-frame.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -org.mockito.internal.invocation.realmethod (Mockito API) - - - - - - - - - - - -org.mockito.internal.invocation.realmethod - - - - -
-Interfaces  - -
-HasCGLIBMethodProxy -
-RealMethod
- - - - - - -
-Classes  - -
-CGLIBProxyRealMethod -
-FilteredCGLIBProxyRealMethod
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/package-summary.html deleted file mode 100644 index b96b4f23ee2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/package-summary.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -org.mockito.internal.invocation.realmethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.invocation.realmethod -

-implementations of real method calls -

-See: -
-          Description -

- - - - - - - - - - - - - -
-Interface Summary
HasCGLIBMethodProxy 
RealMethod 
-  - -

- - - - - - - - - - - - - -
-Class Summary
CGLIBProxyRealMethod 
FilteredCGLIBProxyRealMethod 
-  - -

-

-Package org.mockito.internal.invocation.realmethod Description -

- -

-implementations of real method calls -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/package-tree.html deleted file mode 100644 index 15c43a70933..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/package-tree.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - -org.mockito.internal.invocation.realmethod Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.invocation.realmethod -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/package-use.html b/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/package-use.html deleted file mode 100644 index 1ab99e3fb0b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/invocation/realmethod/package-use.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.invocation.realmethod (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.invocation.realmethod

-
- - - - - - - - - - - - - -
-Packages that use org.mockito.internal.invocation.realmethod
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.invocation.realmethodimplementations of real method calls 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.invocation.realmethod used by org.mockito.internal.invocation
RealMethod - -
-           
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal.invocation.realmethod used by org.mockito.internal.invocation.realmethod
HasCGLIBMethodProxy - -
-           
RealMethod - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/listeners/CollectCreatedMocks.html b/tools/mockito/javadoc/org/mockito/internal/listeners/CollectCreatedMocks.html deleted file mode 100644 index 97cd8ff879f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/listeners/CollectCreatedMocks.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -CollectCreatedMocks (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.listeners -
-Class CollectCreatedMocks

-
-java.lang.Object
-  extended by org.mockito.internal.listeners.CollectCreatedMocks
-
-
-
All Implemented Interfaces:
MockingProgressListener, MockingStartedListener
-
-
-
-
public class CollectCreatedMocks
extends java.lang.Object
implements MockingStartedListener
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
CollectCreatedMocks(java.util.List toBeFilled) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidmockingStarted(java.lang.Object mock, - java.lang.Class classToMock, - MockSettings mockSettings) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-CollectCreatedMocks

-
-public CollectCreatedMocks(java.util.List toBeFilled)
-
-
- - - - - - - - -
-Method Detail
- -

-mockingStarted

-
-public void mockingStarted(java.lang.Object mock,
-                           java.lang.Class classToMock,
-                           MockSettings mockSettings)
-
-
-
Specified by:
mockingStarted in interface MockingStartedListener
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/listeners/MockingProgressListener.html b/tools/mockito/javadoc/org/mockito/internal/listeners/MockingProgressListener.html deleted file mode 100644 index fd44e2a9cad..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/listeners/MockingProgressListener.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -MockingProgressListener (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.listeners -
-Interface MockingProgressListener

-
-
All Known Subinterfaces:
MockingStartedListener
-
-
-
All Known Implementing Classes:
CollectCreatedMocks
-
-
-
-
public interface MockingProgressListener
- - -

-


- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/listeners/MockingStartedListener.html b/tools/mockito/javadoc/org/mockito/internal/listeners/MockingStartedListener.html deleted file mode 100644 index ca6ef08f2c6..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/listeners/MockingStartedListener.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - -MockingStartedListener (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.listeners -
-Interface MockingStartedListener

-
-
All Superinterfaces:
MockingProgressListener
-
-
-
All Known Implementing Classes:
CollectCreatedMocks
-
-
-
-
public interface MockingStartedListener
extends MockingProgressListener
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- voidmockingStarted(java.lang.Object mock, - java.lang.Class classToMock, - MockSettings mockSettings) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-mockingStarted

-
-void mockingStarted(java.lang.Object mock,
-                    java.lang.Class classToMock,
-                    MockSettings mockSettings)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/listeners/class-use/CollectCreatedMocks.html b/tools/mockito/javadoc/org/mockito/internal/listeners/class-use/CollectCreatedMocks.html deleted file mode 100644 index c40005383e7..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/listeners/class-use/CollectCreatedMocks.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.listeners.CollectCreatedMocks (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.listeners.CollectCreatedMocks

-
-No usage of org.mockito.internal.listeners.CollectCreatedMocks -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/listeners/class-use/MockingProgressListener.html b/tools/mockito/javadoc/org/mockito/internal/listeners/class-use/MockingProgressListener.html deleted file mode 100644 index 042c8b4ce1f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/listeners/class-use/MockingProgressListener.html +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.listeners.MockingProgressListener (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.listeners.MockingProgressListener

-
- - - - - - - - - - - - - -
-Packages that use MockingProgressListener
org.mockito.internal.listeners  
org.mockito.internal.progressMocking progress stateful classes. 
-  -

- - - - - -
-Uses of MockingProgressListener in org.mockito.internal.listeners
-  -

- - - - - - - - - -
Subinterfaces of MockingProgressListener in org.mockito.internal.listeners
- interfaceMockingStartedListener - -
-           
-  -

- - - - - - - - - -
Classes in org.mockito.internal.listeners that implement MockingProgressListener
- classCollectCreatedMocks - -
-           
-  -

- - - - - -
-Uses of MockingProgressListener in org.mockito.internal.progress
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.progress with parameters of type MockingProgressListener
- voidThreadSafeMockingProgress.setListener(MockingProgressListener listener) - -
-           
- voidMockingProgressImpl.setListener(MockingProgressListener listener) - -
-           
- voidMockingProgress.setListener(MockingProgressListener listener) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/listeners/class-use/MockingStartedListener.html b/tools/mockito/javadoc/org/mockito/internal/listeners/class-use/MockingStartedListener.html deleted file mode 100644 index 2fee0588ec0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/listeners/class-use/MockingStartedListener.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.listeners.MockingStartedListener (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.listeners.MockingStartedListener

-
- - - - - - - - - -
-Packages that use MockingStartedListener
org.mockito.internal.listeners  
-  -

- - - - - -
-Uses of MockingStartedListener in org.mockito.internal.listeners
-  -

- - - - - - - - - -
Classes in org.mockito.internal.listeners that implement MockingStartedListener
- classCollectCreatedMocks - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/listeners/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/listeners/package-frame.html deleted file mode 100644 index f3a3f459b3e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/listeners/package-frame.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - -org.mockito.internal.listeners (Mockito API) - - - - - - - - - - - -org.mockito.internal.listeners - - - - -
-Interfaces  - -
-MockingProgressListener -
-MockingStartedListener
- - - - - - -
-Classes  - -
-CollectCreatedMocks
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/listeners/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/listeners/package-summary.html deleted file mode 100644 index c7b0ed230e4..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/listeners/package-summary.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - -org.mockito.internal.listeners (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.listeners -

- - - - - - - - - - - - - -
-Interface Summary
MockingProgressListener 
MockingStartedListener 
-  - -

- - - - - - - - - -
-Class Summary
CollectCreatedMocks 
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/listeners/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/listeners/package-tree.html deleted file mode 100644 index cc169ffa80d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/listeners/package-tree.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -org.mockito.internal.listeners Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.listeners -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/listeners/package-use.html b/tools/mockito/javadoc/org/mockito/internal/listeners/package-use.html deleted file mode 100644 index c4a332e1bbe..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/listeners/package-use.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.listeners (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.listeners

-
- - - - - - - - - - - - - -
-Packages that use org.mockito.internal.listeners
org.mockito.internal.listeners  
org.mockito.internal.progressMocking progress stateful classes. 
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal.listeners used by org.mockito.internal.listeners
MockingProgressListener - -
-           
MockingStartedListener - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.listeners used by org.mockito.internal.progress
MockingProgressListener - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/And.html b/tools/mockito/javadoc/org/mockito/internal/matchers/And.html deleted file mode 100644 index 2d0f31f158c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/And.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -And (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class And

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher
-          extended by org.mockito.internal.matchers.And
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher, org.hamcrest.SelfDescribing
-
-
-
-
public class And
extends ArgumentMatcher
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
And(java.util.List<org.hamcrest.Matcher> matchers) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-And

-
-public And(java.util.List<org.hamcrest.Matcher> matchers)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher
Specified by:
matches in class ArgumentMatcher
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/Any.html b/tools/mockito/javadoc/org/mockito/internal/matchers/Any.html deleted file mode 100644 index e8fe0003279..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/Any.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -Any (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class Any

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher
-          extended by org.mockito.internal.matchers.Any
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher, org.hamcrest.SelfDescribing
-
-
-
-
public class Any
extends ArgumentMatcher
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Field Summary
-static AnyANY - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-ANY

-
-public static final Any ANY
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher
Specified by:
matches in class ArgumentMatcher
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/AnyVararg.html b/tools/mockito/javadoc/org/mockito/internal/matchers/AnyVararg.html deleted file mode 100644 index 1d8fbe9bb34..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/AnyVararg.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - -AnyVararg (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class AnyVararg

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher
-          extended by org.mockito.internal.matchers.AnyVararg
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher, org.hamcrest.SelfDescribing, VarargMatcher
-
-
-
-
public class AnyVararg
extends ArgumentMatcher
implements VarargMatcher, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Field Summary
-static org.hamcrest.MatcherANY_VARARG - -
-           
-  - - - - - - - - - - -
-Constructor Summary
AnyVararg() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- booleanmatches(java.lang.Object arg) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.mockito.ArgumentMatcher
describeTo
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-ANY_VARARG

-
-public static final org.hamcrest.Matcher ANY_VARARG
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-AnyVararg

-
-public AnyVararg()
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object arg)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher
Specified by:
matches in class ArgumentMatcher
-
-
-
Parameters:
arg - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/ArrayEquals.html b/tools/mockito/javadoc/org/mockito/internal/matchers/ArrayEquals.html deleted file mode 100644 index e00bd55cd3c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/ArrayEquals.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - - -ArrayEquals (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class ArrayEquals

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.Object>
-          extended by org.mockito.internal.matchers.Equals
-              extended by org.mockito.internal.matchers.ArrayEquals
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.Object>, org.hamcrest.SelfDescribing, ContainsExtraTypeInformation
-
-
-
-
public class ArrayEquals
extends Equals
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ArrayEquals(java.lang.Object wanted) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static java.lang.Object[]createObjectArray(java.lang.Object array) - -
-           
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.mockito.internal.matchers.Equals
describe, equals, getWanted, hashCode, typeMatches, withExtraTypeInfo
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ArrayEquals

-
-public ArrayEquals(java.lang.Object wanted)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.Object>
Overrides:
matches in class Equals
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class Equals
-
-
-
-
-
-
- -

-createObjectArray

-
-public static java.lang.Object[] createObjectArray(java.lang.Object array)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/CapturesArguments.html b/tools/mockito/javadoc/org/mockito/internal/matchers/CapturesArguments.html deleted file mode 100644 index aaf7ee8d3e2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/CapturesArguments.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -CapturesArguments (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Interface CapturesArguments

-
-
All Known Implementing Classes:
CapturingMatcher, LocalizedMatcher
-
-
-
-
public interface CapturesArguments
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- voidcaptureFrom(java.lang.Object argument) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-captureFrom

-
-void captureFrom(java.lang.Object argument)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/CapturingMatcher.html b/tools/mockito/javadoc/org/mockito/internal/matchers/CapturingMatcher.html deleted file mode 100644 index bc8d38e3b7e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/CapturingMatcher.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - -CapturingMatcher (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class CapturingMatcher<T>

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<T>
-          extended by org.mockito.internal.matchers.CapturingMatcher<T>
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing, CapturesArguments
-
-
-
-
public class CapturingMatcher<T>
extends ArgumentMatcher<T>
implements CapturesArguments, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
CapturingMatcher() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcaptureFrom(java.lang.Object argument) - -
-           
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- java.util.List<T>getAllValues() - -
-           
- TgetLastValue() - -
-           
- booleanmatches(java.lang.Object argument) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-CapturingMatcher

-
-public CapturingMatcher()
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object argument)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<T>
Specified by:
matches in class ArgumentMatcher<T>
-
-
-
Parameters:
argument - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<T>
-
-
-
-
-
-
- -

-getLastValue

-
-public T getLastValue()
-
-
-
-
-
-
-
-
-
- -

-getAllValues

-
-public java.util.List<T> getAllValues()
-
-
-
-
-
-
-
-
-
- -

-captureFrom

-
-public void captureFrom(java.lang.Object argument)
-
-
-
Specified by:
captureFrom in interface CapturesArguments
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/CompareEqual.html b/tools/mockito/javadoc/org/mockito/internal/matchers/CompareEqual.html deleted file mode 100644 index 4965d484d34..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/CompareEqual.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -CompareEqual (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class CompareEqual<T extends java.lang.Comparable<T>>

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<T>
-          extended by org.mockito.internal.matchers.CompareTo<T>
-              extended by org.mockito.internal.matchers.CompareEqual<T>
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
-
-
-
-
public class CompareEqual<T extends java.lang.Comparable<T>>
extends CompareTo<T>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
CompareEqual(java.lang.Comparable<T> value) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-protected  java.lang.StringgetName() - -
-           
-protected  booleanmatchResult(int result) - -
-           
- - - - - - - -
Methods inherited from class org.mockito.internal.matchers.CompareTo
describeTo, matches
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-CompareEqual

-
-public CompareEqual(java.lang.Comparable<T> value)
-
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-protected java.lang.String getName()
-
-
-
Specified by:
getName in class CompareTo<T extends java.lang.Comparable<T>>
-
-
-
-
-
-
- -

-matchResult

-
-protected boolean matchResult(int result)
-
-
-
Specified by:
matchResult in class CompareTo<T extends java.lang.Comparable<T>>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/CompareTo.html b/tools/mockito/javadoc/org/mockito/internal/matchers/CompareTo.html deleted file mode 100644 index 326870781a2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/CompareTo.html +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - -CompareTo (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class CompareTo<T extends java.lang.Comparable<T>>

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<T>
-          extended by org.mockito.internal.matchers.CompareTo<T>
-
-
-
All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
-
-
-
Direct Known Subclasses:
CompareEqual, GreaterOrEqual, GreaterThan, LessOrEqual, LessThan
-
-
-
-
public abstract class CompareTo<T extends java.lang.Comparable<T>>
extends ArgumentMatcher<T>
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
CompareTo(java.lang.Comparable<T> value) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
-protected abstract  java.lang.StringgetName() - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
-protected abstract  booleanmatchResult(int result) - -
-           
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-CompareTo

-
-public CompareTo(java.lang.Comparable<T> value)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<T extends java.lang.Comparable<T>>
Specified by:
matches in class ArgumentMatcher<T extends java.lang.Comparable<T>>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<T extends java.lang.Comparable<T>>
-
-
-
-
-
-
- -

-getName

-
-protected abstract java.lang.String getName()
-
-
-
-
-
-
- -

-matchResult

-
-protected abstract boolean matchResult(int result)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/Contains.html b/tools/mockito/javadoc/org/mockito/internal/matchers/Contains.html deleted file mode 100644 index 16e01d5eb58..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/Contains.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -Contains (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class Contains

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.String>
-          extended by org.mockito.internal.matchers.Contains
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.String>, org.hamcrest.SelfDescribing
-
-
-
-
public class Contains
extends ArgumentMatcher<java.lang.String>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
Contains(java.lang.String substring) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Contains

-
-public Contains(java.lang.String substring)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.String>
Specified by:
matches in class ArgumentMatcher<java.lang.String>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<java.lang.String>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/ContainsExtraTypeInformation.html b/tools/mockito/javadoc/org/mockito/internal/matchers/ContainsExtraTypeInformation.html deleted file mode 100644 index e5e2bfe5cf5..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/ContainsExtraTypeInformation.html +++ /dev/null @@ -1,234 +0,0 @@ - - - - - - -ContainsExtraTypeInformation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Interface ContainsExtraTypeInformation

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
All Known Implementing Classes:
ArrayEquals, Equals, LocalizedMatcher
-
-
-
-
public interface ContainsExtraTypeInformation
extends java.io.Serializable
- - -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- booleantypeMatches(java.lang.Object object) - -
-           
- org.hamcrest.SelfDescribingwithExtraTypeInfo() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-withExtraTypeInfo

-
-org.hamcrest.SelfDescribing withExtraTypeInfo()
-
-
-
-
-
-
-
-
-
- -

-typeMatches

-
-boolean typeMatches(java.lang.Object object)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/EndsWith.html b/tools/mockito/javadoc/org/mockito/internal/matchers/EndsWith.html deleted file mode 100644 index 2d9d6ca9c7f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/EndsWith.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -EndsWith (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class EndsWith

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.String>
-          extended by org.mockito.internal.matchers.EndsWith
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.String>, org.hamcrest.SelfDescribing
-
-
-
-
public class EndsWith
extends ArgumentMatcher<java.lang.String>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
EndsWith(java.lang.String suffix) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-EndsWith

-
-public EndsWith(java.lang.String suffix)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.String>
Specified by:
matches in class ArgumentMatcher<java.lang.String>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<java.lang.String>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/Equality.html b/tools/mockito/javadoc/org/mockito/internal/matchers/Equality.html deleted file mode 100644 index 4a18984897c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/Equality.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -Equality (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class Equality

-
-java.lang.Object
-  extended by org.mockito.internal.matchers.Equality
-
-
-
-
public class Equality
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Equality() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-static booleanareEqual(java.lang.Object o1, - java.lang.Object o2) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Equality

-
-public Equality()
-
-
- - - - - - - - -
-Method Detail
- -

-areEqual

-
-public static boolean areEqual(java.lang.Object o1,
-                               java.lang.Object o2)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/Equals.html b/tools/mockito/javadoc/org/mockito/internal/matchers/Equals.html deleted file mode 100644 index fb6a76a0d5e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/Equals.html +++ /dev/null @@ -1,432 +0,0 @@ - - - - - - -Equals (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class Equals

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.Object>
-          extended by org.mockito.internal.matchers.Equals
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.Object>, org.hamcrest.SelfDescribing, ContainsExtraTypeInformation
-
-
-
Direct Known Subclasses:
ArrayEquals
-
-
-
-
public class Equals
extends ArgumentMatcher<java.lang.Object>
implements ContainsExtraTypeInformation, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
Equals(java.lang.Object wanted) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.Stringdescribe(java.lang.Object object) - -
-           
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanequals(java.lang.Object o) - -
-           
-protected  java.lang.ObjectgetWanted() - -
-           
- inthashCode() - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- booleantypeMatches(java.lang.Object object) - -
-           
- org.hamcrest.SelfDescribingwithExtraTypeInfo() - -
-           
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Equals

-
-public Equals(java.lang.Object wanted)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.Object>
Specified by:
matches in class ArgumentMatcher<java.lang.Object>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<java.lang.Object>
-
-
-
-
-
-
- -

-describe

-
-public java.lang.String describe(java.lang.Object object)
-
-
-
-
-
-
-
-
-
- -

-getWanted

-
-protected final java.lang.Object getWanted()
-
-
-
-
-
-
-
-
-
- -

-equals

-
-public boolean equals(java.lang.Object o)
-
-
-
Overrides:
equals in class java.lang.Object
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class java.lang.Object
-
-
-
-
-
-
- -

-withExtraTypeInfo

-
-public org.hamcrest.SelfDescribing withExtraTypeInfo()
-
-
-
Specified by:
withExtraTypeInfo in interface ContainsExtraTypeInformation
-
-
-
-
-
-
- -

-typeMatches

-
-public boolean typeMatches(java.lang.Object object)
-
-
-
Specified by:
typeMatches in interface ContainsExtraTypeInformation
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/EqualsWithDelta.html b/tools/mockito/javadoc/org/mockito/internal/matchers/EqualsWithDelta.html deleted file mode 100644 index b97cf64d6a1..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/EqualsWithDelta.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - - - -EqualsWithDelta (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class EqualsWithDelta

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.Number>
-          extended by org.mockito.internal.matchers.EqualsWithDelta
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.Number>, org.hamcrest.SelfDescribing
-
-
-
-
public class EqualsWithDelta
extends ArgumentMatcher<java.lang.Number>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
EqualsWithDelta(java.lang.Number value, - java.lang.Number delta) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-EqualsWithDelta

-
-public EqualsWithDelta(java.lang.Number value,
-                       java.lang.Number delta)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.Number>
Specified by:
matches in class ArgumentMatcher<java.lang.Number>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<java.lang.Number>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/Find.html b/tools/mockito/javadoc/org/mockito/internal/matchers/Find.html deleted file mode 100644 index a57cf212383..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/Find.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -Find (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class Find

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.String>
-          extended by org.mockito.internal.matchers.Find
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.String>, org.hamcrest.SelfDescribing
-
-
-
-
public class Find
extends ArgumentMatcher<java.lang.String>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
Find(java.lang.String regex) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Find

-
-public Find(java.lang.String regex)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.String>
Specified by:
matches in class ArgumentMatcher<java.lang.String>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<java.lang.String>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/GreaterOrEqual.html b/tools/mockito/javadoc/org/mockito/internal/matchers/GreaterOrEqual.html deleted file mode 100644 index 0f0763cd7e7..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/GreaterOrEqual.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -GreaterOrEqual (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class GreaterOrEqual<T extends java.lang.Comparable<T>>

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<T>
-          extended by org.mockito.internal.matchers.CompareTo<T>
-              extended by org.mockito.internal.matchers.GreaterOrEqual<T>
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
-
-
-
-
public class GreaterOrEqual<T extends java.lang.Comparable<T>>
extends CompareTo<T>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
GreaterOrEqual(java.lang.Comparable<T> value) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-protected  java.lang.StringgetName() - -
-           
-protected  booleanmatchResult(int result) - -
-           
- - - - - - - -
Methods inherited from class org.mockito.internal.matchers.CompareTo
describeTo, matches
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-GreaterOrEqual

-
-public GreaterOrEqual(java.lang.Comparable<T> value)
-
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-protected java.lang.String getName()
-
-
-
Specified by:
getName in class CompareTo<T extends java.lang.Comparable<T>>
-
-
-
-
-
-
- -

-matchResult

-
-protected boolean matchResult(int result)
-
-
-
Specified by:
matchResult in class CompareTo<T extends java.lang.Comparable<T>>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/GreaterThan.html b/tools/mockito/javadoc/org/mockito/internal/matchers/GreaterThan.html deleted file mode 100644 index e9788e3cf53..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/GreaterThan.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -GreaterThan (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class GreaterThan<T extends java.lang.Comparable<T>>

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<T>
-          extended by org.mockito.internal.matchers.CompareTo<T>
-              extended by org.mockito.internal.matchers.GreaterThan<T>
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
-
-
-
-
public class GreaterThan<T extends java.lang.Comparable<T>>
extends CompareTo<T>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
GreaterThan(java.lang.Comparable<T> value) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-protected  java.lang.StringgetName() - -
-           
-protected  booleanmatchResult(int result) - -
-           
- - - - - - - -
Methods inherited from class org.mockito.internal.matchers.CompareTo
describeTo, matches
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-GreaterThan

-
-public GreaterThan(java.lang.Comparable<T> value)
-
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-protected java.lang.String getName()
-
-
-
Specified by:
getName in class CompareTo<T extends java.lang.Comparable<T>>
-
-
-
-
-
-
- -

-matchResult

-
-protected boolean matchResult(int result)
-
-
-
Specified by:
matchResult in class CompareTo<T extends java.lang.Comparable<T>>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/InstanceOf.html b/tools/mockito/javadoc/org/mockito/internal/matchers/InstanceOf.html deleted file mode 100644 index 5d8bbdb2d5b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/InstanceOf.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -InstanceOf (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class InstanceOf

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.Object>
-          extended by org.mockito.internal.matchers.InstanceOf
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.Object>, org.hamcrest.SelfDescribing
-
-
-
-
public class InstanceOf
extends ArgumentMatcher<java.lang.Object>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InstanceOf(java.lang.Class<?> clazz) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InstanceOf

-
-public InstanceOf(java.lang.Class<?> clazz)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.Object>
Specified by:
matches in class ArgumentMatcher<java.lang.Object>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<java.lang.Object>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/LessOrEqual.html b/tools/mockito/javadoc/org/mockito/internal/matchers/LessOrEqual.html deleted file mode 100644 index b4aa20ff586..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/LessOrEqual.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -LessOrEqual (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class LessOrEqual<T extends java.lang.Comparable<T>>

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<T>
-          extended by org.mockito.internal.matchers.CompareTo<T>
-              extended by org.mockito.internal.matchers.LessOrEqual<T>
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
-
-
-
-
public class LessOrEqual<T extends java.lang.Comparable<T>>
extends CompareTo<T>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
LessOrEqual(java.lang.Comparable<T> value) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-protected  java.lang.StringgetName() - -
-           
-protected  booleanmatchResult(int result) - -
-           
- - - - - - - -
Methods inherited from class org.mockito.internal.matchers.CompareTo
describeTo, matches
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-LessOrEqual

-
-public LessOrEqual(java.lang.Comparable<T> value)
-
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-protected java.lang.String getName()
-
-
-
Specified by:
getName in class CompareTo<T extends java.lang.Comparable<T>>
-
-
-
-
-
-
- -

-matchResult

-
-protected boolean matchResult(int result)
-
-
-
Specified by:
matchResult in class CompareTo<T extends java.lang.Comparable<T>>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/LessThan.html b/tools/mockito/javadoc/org/mockito/internal/matchers/LessThan.html deleted file mode 100644 index 0ebd9ad4203..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/LessThan.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -LessThan (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class LessThan<T extends java.lang.Comparable<T>>

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<T>
-          extended by org.mockito.internal.matchers.CompareTo<T>
-              extended by org.mockito.internal.matchers.LessThan<T>
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
-
-
-
-
public class LessThan<T extends java.lang.Comparable<T>>
extends CompareTo<T>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
LessThan(java.lang.Comparable<T> value) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-protected  java.lang.StringgetName() - -
-           
-protected  booleanmatchResult(int result) - -
-           
- - - - - - - -
Methods inherited from class org.mockito.internal.matchers.CompareTo
describeTo, matches
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-LessThan

-
-public LessThan(java.lang.Comparable<T> value)
-
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-protected java.lang.String getName()
-
-
-
Specified by:
getName in class CompareTo<T extends java.lang.Comparable<T>>
-
-
-
-
-
-
- -

-matchResult

-
-protected boolean matchResult(int result)
-
-
-
Specified by:
matchResult in class CompareTo<T extends java.lang.Comparable<T>>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/LocalizedMatcher.html b/tools/mockito/javadoc/org/mockito/internal/matchers/LocalizedMatcher.html deleted file mode 100644 index 9550ddcff9e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/LocalizedMatcher.html +++ /dev/null @@ -1,433 +0,0 @@ - - - - - - -LocalizedMatcher (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class LocalizedMatcher

-
-java.lang.Object
-  extended by org.mockito.internal.matchers.LocalizedMatcher
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher, org.hamcrest.SelfDescribing, CapturesArguments, ContainsExtraTypeInformation, MatcherDecorator
-
-
-
-
public class LocalizedMatcher
extends java.lang.Object
implements org.hamcrest.Matcher, ContainsExtraTypeInformation, CapturesArguments, MatcherDecorator, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
LocalizedMatcher(org.hamcrest.Matcher actualMatcher) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- void_dont_implement_Matcher___instead_extend_BaseMatcher_() - -
-           
- voidcaptureFrom(java.lang.Object argument) - -
-           
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- org.hamcrest.MatchergetActualMatcher() - -
-           
- LocationgetLocation() - -
-           
- booleanmatches(java.lang.Object item) - -
-           
- java.lang.StringtoString() - -
-           
- booleantypeMatches(java.lang.Object object) - -
-           
- org.hamcrest.SelfDescribingwithExtraTypeInfo() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-LocalizedMatcher

-
-public LocalizedMatcher(org.hamcrest.Matcher actualMatcher)
-
-
- - - - - - - - -
-Method Detail
- -

-_dont_implement_Matcher___instead_extend_BaseMatcher_

-
-public void _dont_implement_Matcher___instead_extend_BaseMatcher_()
-
-
-
Specified by:
_dont_implement_Matcher___instead_extend_BaseMatcher_ in interface org.hamcrest.Matcher
-
-
-
-
-
-
- -

-matches

-
-public boolean matches(java.lang.Object item)
-
-
-
Specified by:
matches in interface org.hamcrest.Matcher
-
-
-
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
-
-
-
-
-
-
- -

-getLocation

-
-public Location getLocation()
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
-
- -

-withExtraTypeInfo

-
-public org.hamcrest.SelfDescribing withExtraTypeInfo()
-
-
-
Specified by:
withExtraTypeInfo in interface ContainsExtraTypeInformation
-
-
-
-
-
-
- -

-typeMatches

-
-public boolean typeMatches(java.lang.Object object)
-
-
-
Specified by:
typeMatches in interface ContainsExtraTypeInformation
-
-
-
-
-
-
- -

-captureFrom

-
-public void captureFrom(java.lang.Object argument)
-
-
-
Specified by:
captureFrom in interface CapturesArguments
-
-
-
-
-
-
- -

-getActualMatcher

-
-public org.hamcrest.Matcher getActualMatcher()
-
-
-
Specified by:
getActualMatcher in interface MatcherDecorator
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/MatcherDecorator.html b/tools/mockito/javadoc/org/mockito/internal/matchers/MatcherDecorator.html deleted file mode 100644 index 7664cd24a5a..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/MatcherDecorator.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - -MatcherDecorator (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Interface MatcherDecorator

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
All Known Implementing Classes:
LocalizedMatcher
-
-
-
-
public interface MatcherDecorator
extends java.io.Serializable
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- org.hamcrest.MatchergetActualMatcher() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-getActualMatcher

-
-org.hamcrest.Matcher getActualMatcher()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/MatchersPrinter.html b/tools/mockito/javadoc/org/mockito/internal/matchers/MatchersPrinter.html deleted file mode 100644 index ac952d7e6c9..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/MatchersPrinter.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -MatchersPrinter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class MatchersPrinter

-
-java.lang.Object
-  extended by org.mockito.internal.matchers.MatchersPrinter
-
-
-
-
public class MatchersPrinter
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
MatchersPrinter() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetArgumentsBlock(java.util.List<org.hamcrest.Matcher> matchers, - PrintSettings printSettings) - -
-           
- java.lang.StringgetArgumentsLine(java.util.List<org.hamcrest.Matcher> matchers, - PrintSettings printSettings) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MatchersPrinter

-
-public MatchersPrinter()
-
-
- - - - - - - - -
-Method Detail
- -

-getArgumentsLine

-
-public java.lang.String getArgumentsLine(java.util.List<org.hamcrest.Matcher> matchers,
-                                         PrintSettings printSettings)
-
-
-
-
-
-
- -

-getArgumentsBlock

-
-public java.lang.String getArgumentsBlock(java.util.List<org.hamcrest.Matcher> matchers,
-                                          PrintSettings printSettings)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/Matches.html b/tools/mockito/javadoc/org/mockito/internal/matchers/Matches.html deleted file mode 100644 index a5b996f825e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/Matches.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -Matches (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class Matches

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.Object>
-          extended by org.mockito.internal.matchers.Matches
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.Object>, org.hamcrest.SelfDescribing
-
-
-
-
public class Matches
extends ArgumentMatcher<java.lang.Object>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
Matches(java.lang.String regex) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Matches

-
-public Matches(java.lang.String regex)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.Object>
Specified by:
matches in class ArgumentMatcher<java.lang.Object>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<java.lang.Object>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/Not.html b/tools/mockito/javadoc/org/mockito/internal/matchers/Not.html deleted file mode 100644 index f256efef3a3..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/Not.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -Not (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class Not

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher
-          extended by org.mockito.internal.matchers.Not
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher, org.hamcrest.SelfDescribing
-
-
-
-
public class Not
extends ArgumentMatcher
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
Not(org.hamcrest.Matcher first) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Not

-
-public Not(org.hamcrest.Matcher first)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher
Specified by:
matches in class ArgumentMatcher
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/NotNull.html b/tools/mockito/javadoc/org/mockito/internal/matchers/NotNull.html deleted file mode 100644 index bab8928a3ab..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/NotNull.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -NotNull (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class NotNull

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.Object>
-          extended by org.mockito.internal.matchers.NotNull
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.Object>, org.hamcrest.SelfDescribing
-
-
-
-
public class NotNull
extends ArgumentMatcher<java.lang.Object>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Field Summary
-static NotNullNOT_NULL - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-NOT_NULL

-
-public static final NotNull NOT_NULL
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.Object>
Specified by:
matches in class ArgumentMatcher<java.lang.Object>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<java.lang.Object>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/Null.html b/tools/mockito/javadoc/org/mockito/internal/matchers/Null.html deleted file mode 100644 index a2ee026db66..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/Null.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -Null (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class Null

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.Object>
-          extended by org.mockito.internal.matchers.Null
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.Object>, org.hamcrest.SelfDescribing
-
-
-
-
public class Null
extends ArgumentMatcher<java.lang.Object>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Field Summary
-static NullNULL - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-NULL

-
-public static final Null NULL
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.Object>
Specified by:
matches in class ArgumentMatcher<java.lang.Object>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<java.lang.Object>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/Or.html b/tools/mockito/javadoc/org/mockito/internal/matchers/Or.html deleted file mode 100644 index 930344f2357..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/Or.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -Or (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class Or

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher
-          extended by org.mockito.internal.matchers.Or
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher, org.hamcrest.SelfDescribing
-
-
-
-
public class Or
extends ArgumentMatcher
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
Or(java.util.List<org.hamcrest.Matcher> matchers) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Or

-
-public Or(java.util.List<org.hamcrest.Matcher> matchers)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher
Specified by:
matches in class ArgumentMatcher
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/Same.html b/tools/mockito/javadoc/org/mockito/internal/matchers/Same.html deleted file mode 100644 index 228c20e3a32..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/Same.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -Same (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class Same

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.Object>
-          extended by org.mockito.internal.matchers.Same
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.Object>, org.hamcrest.SelfDescribing
-
-
-
-
public class Same
extends ArgumentMatcher<java.lang.Object>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
Same(java.lang.Object wanted) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Same

-
-public Same(java.lang.Object wanted)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.Object>
Specified by:
matches in class ArgumentMatcher<java.lang.Object>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<java.lang.Object>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/StartsWith.html b/tools/mockito/javadoc/org/mockito/internal/matchers/StartsWith.html deleted file mode 100644 index 5651f390953..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/StartsWith.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -StartsWith (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Class StartsWith

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.String>
-          extended by org.mockito.internal.matchers.StartsWith
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.String>, org.hamcrest.SelfDescribing
-
-
-
-
public class StartsWith
extends ArgumentMatcher<java.lang.String>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
StartsWith(java.lang.String prefix) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-StartsWith

-
-public StartsWith(java.lang.String prefix)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.String>
Specified by:
matches in class ArgumentMatcher<java.lang.String>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<java.lang.String>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/VarargMatcher.html b/tools/mockito/javadoc/org/mockito/internal/matchers/VarargMatcher.html deleted file mode 100644 index 2f0fbe27bf0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/VarargMatcher.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -VarargMatcher (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers -
-Interface VarargMatcher

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
All Known Implementing Classes:
AnyVararg
-
-
-
-
public interface VarargMatcher
extends java.io.Serializable
- - -

-


- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/ReflectionEquals.html b/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/ReflectionEquals.html deleted file mode 100644 index 38b74ec440b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/ReflectionEquals.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - - - -ReflectionEquals (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.matchers.apachecommons -
-Class ReflectionEquals

-
-java.lang.Object
-  extended by org.hamcrest.BaseMatcher<T>
-      extended by org.mockito.ArgumentMatcher<java.lang.Object>
-          extended by org.mockito.internal.matchers.apachecommons.ReflectionEquals
-
-
-
All Implemented Interfaces:
java.io.Serializable, org.hamcrest.Matcher<java.lang.Object>, org.hamcrest.SelfDescribing
-
-
-
-
public class ReflectionEquals
extends ArgumentMatcher<java.lang.Object>
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ReflectionEquals(java.lang.Object wanted, - java.lang.String... excludeFields) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voiddescribeTo(org.hamcrest.Description description) - -
-           
- booleanmatches(java.lang.Object actual) - -
-          Returns whether this matcher accepts the given argument.
- - - - - - - -
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ReflectionEquals

-
-public ReflectionEquals(java.lang.Object wanted,
-                        java.lang.String... excludeFields)
-
-
- - - - - - - - -
-Method Detail
- -

-matches

-
-public boolean matches(java.lang.Object actual)
-
-
Description copied from class: ArgumentMatcher
-
Returns whether this matcher accepts the given argument. -

- The method should never assert if the argument doesn't match. It - should only return false. -

-

-
Specified by:
matches in interface org.hamcrest.Matcher<java.lang.Object>
Specified by:
matches in class ArgumentMatcher<java.lang.Object>
-
-
-
Parameters:
actual - the argument -
Returns:
whether this matcher accepts the given argument.
-
-
-
- -

-describeTo

-
-public void describeTo(org.hamcrest.Description description)
-
-
-
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class ArgumentMatcher<java.lang.Object>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/class-use/ReflectionEquals.html b/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/class-use/ReflectionEquals.html deleted file mode 100644 index 628413444e5..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/class-use/ReflectionEquals.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.apachecommons.ReflectionEquals (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.apachecommons.ReflectionEquals

-
-No usage of org.mockito.internal.matchers.apachecommons.ReflectionEquals -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/package-frame.html deleted file mode 100644 index b611c94ad53..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -org.mockito.internal.matchers.apachecommons (Mockito API) - - - - - - - - - - - -org.mockito.internal.matchers.apachecommons - - - - -
-Classes  - -
-ReflectionEquals
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/package-summary.html deleted file mode 100644 index 3fc1caa7ba5..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/package-summary.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - -org.mockito.internal.matchers.apachecommons (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.matchers.apachecommons -

-Argument matchers that use Apache Commons Lang reflection-equality. -

-See: -
-          Description -

- - - - - - - - - -
-Class Summary
ReflectionEquals 
-  - -

-

-Package org.mockito.internal.matchers.apachecommons Description -

- -

-Argument matchers that use Apache Commons Lang reflection-equality. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/package-tree.html deleted file mode 100644 index 0d7cf0a0e50..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/package-tree.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - -org.mockito.internal.matchers.apachecommons Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.matchers.apachecommons -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

-
    -
  • java.lang.Object
      -
    • org.hamcrest.BaseMatcher<T> (implements org.hamcrest.Matcher<T>) - -
    -
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/package-use.html b/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/package-use.html deleted file mode 100644 index 61737305730..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/apachecommons/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.matchers.apachecommons (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.matchers.apachecommons

-
-No usage of org.mockito.internal.matchers.apachecommons -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/And.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/And.html deleted file mode 100644 index 2adce7812a5..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/And.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.And (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.And

-
-No usage of org.mockito.internal.matchers.And -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Any.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Any.html deleted file mode 100644 index f01c62bbad3..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Any.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.Any (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.Any

-
- - - - - - - - - -
-Packages that use Any
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
-  -

- - - - - -
-Uses of Any in org.mockito.internal.matchers
-  -

- - - - - - - - - -
Fields in org.mockito.internal.matchers declared as Any
-static AnyAny.ANY - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/AnyVararg.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/AnyVararg.html deleted file mode 100644 index 08b57843b13..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/AnyVararg.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.AnyVararg (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.AnyVararg

-
-No usage of org.mockito.internal.matchers.AnyVararg -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/ArrayEquals.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/ArrayEquals.html deleted file mode 100644 index 82e26dcf792..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/ArrayEquals.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.ArrayEquals (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.ArrayEquals

-
-No usage of org.mockito.internal.matchers.ArrayEquals -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/CapturesArguments.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/CapturesArguments.html deleted file mode 100644 index 8ffde13f141..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/CapturesArguments.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.matchers.CapturesArguments (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.matchers.CapturesArguments

-
- - - - - - - - - -
-Packages that use CapturesArguments
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
-  -

- - - - - -
-Uses of CapturesArguments in org.mockito.internal.matchers
-  -

- - - - - - - - - - - - - -
Classes in org.mockito.internal.matchers that implement CapturesArguments
- classCapturingMatcher<T> - -
-           
- classLocalizedMatcher - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/CapturingMatcher.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/CapturingMatcher.html deleted file mode 100644 index c50dff5214b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/CapturingMatcher.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.CapturingMatcher (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.CapturingMatcher

-
-No usage of org.mockito.internal.matchers.CapturingMatcher -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/CompareEqual.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/CompareEqual.html deleted file mode 100644 index 779c72a4169..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/CompareEqual.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.CompareEqual (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.CompareEqual

-
-No usage of org.mockito.internal.matchers.CompareEqual -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/CompareTo.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/CompareTo.html deleted file mode 100644 index e0f2ed90a93..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/CompareTo.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.CompareTo (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.CompareTo

-
- - - - - - - - - -
-Packages that use CompareTo
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
-  -

- - - - - -
-Uses of CompareTo in org.mockito.internal.matchers
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Subclasses of CompareTo in org.mockito.internal.matchers
- classCompareEqual<T extends Comparable<T>> - -
-           
- classGreaterOrEqual<T extends Comparable<T>> - -
-           
- classGreaterThan<T extends Comparable<T>> - -
-           
- classLessOrEqual<T extends Comparable<T>> - -
-           
- classLessThan<T extends Comparable<T>> - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Contains.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Contains.html deleted file mode 100644 index dc49f54b140..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Contains.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.Contains (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.Contains

-
-No usage of org.mockito.internal.matchers.Contains -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/ContainsExtraTypeInformation.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/ContainsExtraTypeInformation.html deleted file mode 100644 index 11e4bcd6fe0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/ContainsExtraTypeInformation.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.matchers.ContainsExtraTypeInformation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.matchers.ContainsExtraTypeInformation

-
- - - - - - - - - -
-Packages that use ContainsExtraTypeInformation
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
-  -

- - - - - -
-Uses of ContainsExtraTypeInformation in org.mockito.internal.matchers
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.mockito.internal.matchers that implement ContainsExtraTypeInformation
- classArrayEquals - -
-           
- classEquals - -
-           
- classLocalizedMatcher - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/EndsWith.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/EndsWith.html deleted file mode 100644 index 6a1a7b132cc..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/EndsWith.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.EndsWith (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.EndsWith

-
-No usage of org.mockito.internal.matchers.EndsWith -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Equality.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Equality.html deleted file mode 100644 index f3a7f1b7031..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Equality.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.Equality (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.Equality

-
-No usage of org.mockito.internal.matchers.Equality -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Equals.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Equals.html deleted file mode 100644 index 1330552ef04..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Equals.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.Equals (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.Equals

-
- - - - - - - - - -
-Packages that use Equals
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
-  -

- - - - - -
-Uses of Equals in org.mockito.internal.matchers
-  -

- - - - - - - - - -
Subclasses of Equals in org.mockito.internal.matchers
- classArrayEquals - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/EqualsWithDelta.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/EqualsWithDelta.html deleted file mode 100644 index 14bf9ddbbb2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/EqualsWithDelta.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.EqualsWithDelta (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.EqualsWithDelta

-
-No usage of org.mockito.internal.matchers.EqualsWithDelta -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Find.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Find.html deleted file mode 100644 index 8659d5c8b9f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Find.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.Find (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.Find

-
-No usage of org.mockito.internal.matchers.Find -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/GreaterOrEqual.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/GreaterOrEqual.html deleted file mode 100644 index 0b7a73d7518..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/GreaterOrEqual.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.GreaterOrEqual (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.GreaterOrEqual

-
-No usage of org.mockito.internal.matchers.GreaterOrEqual -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/GreaterThan.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/GreaterThan.html deleted file mode 100644 index e3266488265..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/GreaterThan.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.GreaterThan (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.GreaterThan

-
-No usage of org.mockito.internal.matchers.GreaterThan -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/InstanceOf.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/InstanceOf.html deleted file mode 100644 index 7057f753e49..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/InstanceOf.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.InstanceOf (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.InstanceOf

-
-No usage of org.mockito.internal.matchers.InstanceOf -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/LessOrEqual.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/LessOrEqual.html deleted file mode 100644 index 9962376e16f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/LessOrEqual.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.LessOrEqual (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.LessOrEqual

-
-No usage of org.mockito.internal.matchers.LessOrEqual -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/LessThan.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/LessThan.html deleted file mode 100644 index 93de9d36988..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/LessThan.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.LessThan (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.LessThan

-
-No usage of org.mockito.internal.matchers.LessThan -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/LocalizedMatcher.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/LocalizedMatcher.html deleted file mode 100644 index ae1e3ada8ef..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/LocalizedMatcher.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.LocalizedMatcher (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.LocalizedMatcher

-
-No usage of org.mockito.internal.matchers.LocalizedMatcher -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/MatcherDecorator.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/MatcherDecorator.html deleted file mode 100644 index 2855d2941a2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/MatcherDecorator.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.matchers.MatcherDecorator (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.matchers.MatcherDecorator

-
- - - - - - - - - -
-Packages that use MatcherDecorator
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
-  -

- - - - - -
-Uses of MatcherDecorator in org.mockito.internal.matchers
-  -

- - - - - - - - - -
Classes in org.mockito.internal.matchers that implement MatcherDecorator
- classLocalizedMatcher - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/MatchersPrinter.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/MatchersPrinter.html deleted file mode 100644 index 74ceedae7a6..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/MatchersPrinter.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.MatchersPrinter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.MatchersPrinter

-
-No usage of org.mockito.internal.matchers.MatchersPrinter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Matches.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Matches.html deleted file mode 100644 index cefb039447d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Matches.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.Matches (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.Matches

-
-No usage of org.mockito.internal.matchers.Matches -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Not.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Not.html deleted file mode 100644 index 651111dddaf..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Not.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.Not (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.Not

-
-No usage of org.mockito.internal.matchers.Not -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/NotNull.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/NotNull.html deleted file mode 100644 index 0ac8c02e820..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/NotNull.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.NotNull (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.NotNull

-
- - - - - - - - - -
-Packages that use NotNull
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
-  -

- - - - - -
-Uses of NotNull in org.mockito.internal.matchers
-  -

- - - - - - - - - -
Fields in org.mockito.internal.matchers declared as NotNull
-static NotNullNotNull.NOT_NULL - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Null.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Null.html deleted file mode 100644 index 8f4bd4ed417..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Null.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.Null (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.Null

-
- - - - - - - - - -
-Packages that use Null
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
-  -

- - - - - -
-Uses of Null in org.mockito.internal.matchers
-  -

- - - - - - - - - -
Fields in org.mockito.internal.matchers declared as Null
-static NullNull.NULL - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Or.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Or.html deleted file mode 100644 index 7245e24548b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Or.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.Or (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.Or

-
-No usage of org.mockito.internal.matchers.Or -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Same.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Same.html deleted file mode 100644 index 44d4b4cdda1..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/Same.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.Same (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.Same

-
-No usage of org.mockito.internal.matchers.Same -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/StartsWith.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/StartsWith.html deleted file mode 100644 index 4bab0be3181..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/StartsWith.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.matchers.StartsWith (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.matchers.StartsWith

-
-No usage of org.mockito.internal.matchers.StartsWith -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/VarargMatcher.html b/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/VarargMatcher.html deleted file mode 100644 index c81ee16317d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/class-use/VarargMatcher.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.matchers.VarargMatcher (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.matchers.VarargMatcher

-
- - - - - - - - - -
-Packages that use VarargMatcher
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
-  -

- - - - - -
-Uses of VarargMatcher in org.mockito.internal.matchers
-  -

- - - - - - - - - -
Classes in org.mockito.internal.matchers that implement VarargMatcher
- classAnyVararg - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/matchers/package-frame.html deleted file mode 100644 index defaa72db19..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/package-frame.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - -org.mockito.internal.matchers (Mockito API) - - - - - - - - - - - -org.mockito.internal.matchers - - - - -
-Interfaces  - -
-CapturesArguments -
-ContainsExtraTypeInformation -
-MatcherDecorator -
-VarargMatcher
- - - - - - -
-Classes  - -
-And -
-Any -
-AnyVararg -
-ArrayEquals -
-CapturingMatcher -
-CompareEqual -
-CompareTo -
-Contains -
-EndsWith -
-Equality -
-Equals -
-EqualsWithDelta -
-Find -
-GreaterOrEqual -
-GreaterThan -
-InstanceOf -
-LessOrEqual -
-LessThan -
-LocalizedMatcher -
-MatchersPrinter -
-Matches -
-Not -
-NotNull -
-Null -
-Or -
-Same -
-StartsWith
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/matchers/package-summary.html deleted file mode 100644 index 8826b4c0bf5..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/package-summary.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - - - -org.mockito.internal.matchers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.matchers -

-Argument matchers for verification and stubbing. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
CapturesArguments 
ContainsExtraTypeInformation 
MatcherDecorator 
VarargMatcher 
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
And 
Any 
AnyVararg 
ArrayEquals 
CapturingMatcher<T> 
CompareEqual<T extends Comparable<T>> 
CompareTo<T extends Comparable<T>> 
Contains 
EndsWith 
Equality 
Equals 
EqualsWithDelta 
Find 
GreaterOrEqual<T extends Comparable<T>> 
GreaterThan<T extends Comparable<T>> 
InstanceOf 
LessOrEqual<T extends Comparable<T>> 
LessThan<T extends Comparable<T>> 
LocalizedMatcher 
MatchersPrinter 
Matches 
Not 
NotNull 
Null 
Or 
Same 
StartsWith 
-  - -

-

-Package org.mockito.internal.matchers Description -

- -

-Argument matchers for verification and stubbing. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/matchers/package-tree.html deleted file mode 100644 index 8ddbf865f64..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/package-tree.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -org.mockito.internal.matchers Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.matchers -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

-
    -
  • java.lang.Object
      -
    • org.hamcrest.BaseMatcher<T> (implements org.hamcrest.Matcher<T>) -
        -
      • org.mockito.ArgumentMatcher<T>
          -
        • org.mockito.internal.matchers.And (implements java.io.Serializable) -
        • org.mockito.internal.matchers.Any (implements java.io.Serializable) -
        • org.mockito.internal.matchers.AnyVararg (implements java.io.Serializable, org.mockito.internal.matchers.VarargMatcher) -
        • org.mockito.internal.matchers.CapturingMatcher<T> (implements org.mockito.internal.matchers.CapturesArguments, java.io.Serializable) -
        • org.mockito.internal.matchers.CompareTo<T>
            -
          • org.mockito.internal.matchers.CompareEqual<T> (implements java.io.Serializable) -
          • org.mockito.internal.matchers.GreaterOrEqual<T> (implements java.io.Serializable) -
          • org.mockito.internal.matchers.GreaterThan<T> (implements java.io.Serializable) -
          • org.mockito.internal.matchers.LessOrEqual<T> (implements java.io.Serializable) -
          • org.mockito.internal.matchers.LessThan<T> (implements java.io.Serializable) -
          -
        • org.mockito.internal.matchers.Contains (implements java.io.Serializable) -
        • org.mockito.internal.matchers.EndsWith (implements java.io.Serializable) -
        • org.mockito.internal.matchers.Equals (implements org.mockito.internal.matchers.ContainsExtraTypeInformation, java.io.Serializable) - -
        • org.mockito.internal.matchers.EqualsWithDelta (implements java.io.Serializable) -
        • org.mockito.internal.matchers.Find (implements java.io.Serializable) -
        • org.mockito.internal.matchers.InstanceOf (implements java.io.Serializable) -
        • org.mockito.internal.matchers.Matches (implements java.io.Serializable) -
        • org.mockito.internal.matchers.Not (implements java.io.Serializable) -
        • org.mockito.internal.matchers.NotNull (implements java.io.Serializable) -
        • org.mockito.internal.matchers.Null (implements java.io.Serializable) -
        • org.mockito.internal.matchers.Or (implements java.io.Serializable) -
        • org.mockito.internal.matchers.Same (implements java.io.Serializable) -
        • org.mockito.internal.matchers.StartsWith (implements java.io.Serializable) -
        -
      -
    • org.mockito.internal.matchers.Equality
    • org.mockito.internal.matchers.LocalizedMatcher (implements org.mockito.internal.matchers.CapturesArguments, org.mockito.internal.matchers.ContainsExtraTypeInformation, org.hamcrest.Matcher<T>, org.mockito.internal.matchers.MatcherDecorator, java.io.Serializable) -
    • org.mockito.internal.matchers.MatchersPrinter
    -
-

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/matchers/package-use.html b/tools/mockito/javadoc/org/mockito/internal/matchers/package-use.html deleted file mode 100644 index 503a756a519..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/matchers/package-use.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.matchers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.matchers

-
- - - - - - - - - -
-Packages that use org.mockito.internal.matchers
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.mockito.internal.matchers used by org.mockito.internal.matchers
Any - -
-           
CapturesArguments - -
-           
CompareTo - -
-           
ContainsExtraTypeInformation - -
-           
Equals - -
-           
MatcherDecorator - -
-           
NotNull - -
-           
Null - -
-           
VarargMatcher - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/package-frame.html deleted file mode 100644 index d78d6b536f2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/package-frame.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -org.mockito.internal (Mockito API) - - - - - - - - - - - -org.mockito.internal - - - - -
-Interfaces  - -
-MockHandlerInterface -
-MockitoInvocationHandler
- - - - - - -
-Classes  - -
-InOrderImpl -
-MockHandler -
-MockitoCore
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/package-summary.html deleted file mode 100644 index a94d7d12fd7..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/package-summary.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - -org.mockito.internal (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal -

-Internal classes, not to be used by clients. -

-See: -
-          Description -

- - - - - - - - - - - - - -
-Interface Summary
MockHandlerInterface<T> 
MockitoInvocationHandler 
-  - -

- - - - - - - - - - - - - - - - - -
-Class Summary
InOrderImplAllows verifying in order.
MockHandler<T>Invocation handler set on mock objects.
MockitoCore 
-  - -

-

-Package org.mockito.internal Description -

- -

-Internal classes, not to be used by clients. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/package-tree.html deleted file mode 100644 index d831b295180..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/package-tree.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - -org.mockito.internal Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/package-use.html b/tools/mockito/javadoc/org/mockito/internal/package-use.html deleted file mode 100644 index e93e6cbe65f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/package-use.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal

-
- - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.mockito.internal
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.creationMock object creation. 
org.mockito.internal.utilStatic utils 
org.mockito.internal.verificationVerification logic. 
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal used by org.mockito.internal
MockHandlerInterface - -
-           
MockitoInvocationHandler - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal used by org.mockito.internal.creation
MockitoInvocationHandler - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal used by org.mockito.internal.util
MockHandlerInterface - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal used by org.mockito.internal.verification
InOrderImpl - -
-          Allows verifying in order.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/ArgumentMatcherStorage.html b/tools/mockito/javadoc/org/mockito/internal/progress/ArgumentMatcherStorage.html deleted file mode 100644 index 395f72538dc..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/ArgumentMatcherStorage.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - -ArgumentMatcherStorage (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.progress -
-Interface ArgumentMatcherStorage

-
-
All Known Implementing Classes:
ArgumentMatcherStorageImpl
-
-
-
-
public interface ArgumentMatcherStorage
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.util.List<org.hamcrest.Matcher>pullMatchers() - -
-           
- HandyReturnValuesreportAnd() - -
-           
- HandyReturnValuesreportMatcher(org.hamcrest.Matcher matcher) - -
-           
- HandyReturnValuesreportNot() - -
-           
- HandyReturnValuesreportOr() - -
-           
- voidreset() - -
-           
- voidvalidateState() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-reportMatcher

-
-HandyReturnValues reportMatcher(org.hamcrest.Matcher matcher)
-
-
-
-
-
-
- -

-pullMatchers

-
-java.util.List<org.hamcrest.Matcher> pullMatchers()
-
-
-
-
-
-
- -

-reportAnd

-
-HandyReturnValues reportAnd()
-
-
-
-
-
-
- -

-reportNot

-
-HandyReturnValues reportNot()
-
-
-
-
-
-
- -

-reportOr

-
-HandyReturnValues reportOr()
-
-
-
-
-
-
- -

-validateState

-
-void validateState()
-
-
-
-
-
-
- -

-reset

-
-void reset()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/ArgumentMatcherStorageImpl.html b/tools/mockito/javadoc/org/mockito/internal/progress/ArgumentMatcherStorageImpl.html deleted file mode 100644 index 64568e01b98..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/ArgumentMatcherStorageImpl.html +++ /dev/null @@ -1,387 +0,0 @@ - - - - - - -ArgumentMatcherStorageImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.progress -
-Class ArgumentMatcherStorageImpl

-
-java.lang.Object
-  extended by org.mockito.internal.progress.ArgumentMatcherStorageImpl
-
-
-
All Implemented Interfaces:
ArgumentMatcherStorage
-
-
-
-
public class ArgumentMatcherStorageImpl
extends java.lang.Object
implements ArgumentMatcherStorage
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ArgumentMatcherStorageImpl() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.util.List<org.hamcrest.Matcher>pullMatchers() - -
-           
- HandyReturnValuesreportAnd() - -
-           
- HandyReturnValuesreportMatcher(org.hamcrest.Matcher matcher) - -
-           
- HandyReturnValuesreportNot() - -
-           
- HandyReturnValuesreportOr() - -
-           
- voidreset() - -
-           
- voidvalidateState() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ArgumentMatcherStorageImpl

-
-public ArgumentMatcherStorageImpl()
-
-
- - - - - - - - -
-Method Detail
- -

-reportMatcher

-
-public HandyReturnValues reportMatcher(org.hamcrest.Matcher matcher)
-
-
-
Specified by:
reportMatcher in interface ArgumentMatcherStorage
-
-
-
-
-
-
- -

-pullMatchers

-
-public java.util.List<org.hamcrest.Matcher> pullMatchers()
-
-
-
Specified by:
pullMatchers in interface ArgumentMatcherStorage
-
-
-
-
-
-
- -

-reportAnd

-
-public HandyReturnValues reportAnd()
-
-
-
Specified by:
reportAnd in interface ArgumentMatcherStorage
-
-
-
-
-
-
- -

-reportNot

-
-public HandyReturnValues reportNot()
-
-
-
Specified by:
reportNot in interface ArgumentMatcherStorage
-
-
-
-
-
-
- -

-reportOr

-
-public HandyReturnValues reportOr()
-
-
-
Specified by:
reportOr in interface ArgumentMatcherStorage
-
-
-
-
-
-
- -

-validateState

-
-public void validateState()
-
-
-
Specified by:
validateState in interface ArgumentMatcherStorage
-
-
-
-
-
-
- -

-reset

-
-public void reset()
-
-
-
Specified by:
reset in interface ArgumentMatcherStorage
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/HandyReturnValues.html b/tools/mockito/javadoc/org/mockito/internal/progress/HandyReturnValues.html deleted file mode 100644 index 52e4257d897..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/HandyReturnValues.html +++ /dev/null @@ -1,441 +0,0 @@ - - - - - - -HandyReturnValues (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.progress -
-Class HandyReturnValues

-
-java.lang.Object
-  extended by org.mockito.internal.progress.HandyReturnValues
-
-
-
-
public class HandyReturnValues
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
HandyReturnValues() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- charreturnChar() - -
-           
- booleanreturnFalse() - -
-           
- - - - - -
-<T> T
-
returnFor(java.lang.Class<T> clazz) - -
-           
- - - - - -
-<T> T
-
returnFor(T instance) - -
-           
- java.util.ListreturnList() - -
-           
- java.util.MapreturnMap() - -
-           
- - - - - -
-<T> T
-
returnNull() - -
-           
- java.util.SetreturnSet() - -
-           
- java.lang.StringreturnString() - -
-           
- bytereturnZero() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-HandyReturnValues

-
-public HandyReturnValues()
-
-
- - - - - - - - -
-Method Detail
- -

-returnZero

-
-public byte returnZero()
-
-
-
-
-
-
- -

-returnChar

-
-public char returnChar()
-
-
-
-
-
-
- -

-returnNull

-
-public <T> T returnNull()
-
-
-
-
-
-
- -

-returnFalse

-
-public boolean returnFalse()
-
-
-
-
-
-
- -

-returnString

-
-public java.lang.String returnString()
-
-
-
-
-
-
- -

-returnFor

-
-public <T> T returnFor(java.lang.Class<T> clazz)
-
-
-
-
-
-
- -

-returnMap

-
-public java.util.Map returnMap()
-
-
-
-
-
-
- -

-returnList

-
-public java.util.List returnList()
-
-
-
-
-
-
- -

-returnSet

-
-public java.util.Set returnSet()
-
-
-
-
-
-
- -

-returnFor

-
-public <T> T returnFor(T instance)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/IOngoingStubbing.html b/tools/mockito/javadoc/org/mockito/internal/progress/IOngoingStubbing.html deleted file mode 100644 index 8dd4e291d3e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/IOngoingStubbing.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - -IOngoingStubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.progress -
-Interface IOngoingStubbing

-
-
All Known Subinterfaces:
DeprecatedOngoingStubbing<T>, OngoingStubbing<T>
-
-
-
All Known Implementing Classes:
BaseStubbing, ConsecutiveStubbing, OngoingStubbingImpl
-
-
-
-
public interface IOngoingStubbing
- - -

-Marking interface to be removed when DeprecatedOngoingStubbing gets deleted -

- -

-


- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/MockingProgress.html b/tools/mockito/javadoc/org/mockito/internal/progress/MockingProgress.html deleted file mode 100644 index 45c4491f4ed..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/MockingProgress.html +++ /dev/null @@ -1,423 +0,0 @@ - - - - - - -MockingProgress (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.progress -
-Interface MockingProgress

-
-
All Known Implementing Classes:
MockingProgressImpl, ThreadSafeMockingProgress
-
-
-
-
public interface MockingProgress
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ArgumentMatcherStoragegetArgumentMatcherStorage() - -
-           
- voidmockingStarted(java.lang.Object mock, - java.lang.Class classToMock, - MockSettings mockSettings) - -
-           
- IOngoingStubbingpullOngoingStubbing() - -
-           
- VerificationModepullVerificationMode() - -
-           
- voidreportOngoingStubbing(IOngoingStubbing iOngoingStubbing) - -
-           
- voidreset() - -
-           
- voidresetOngoingStubbing() - -
-          Removes ongoing stubbing so that in case the framework is misused - state validation errors are more accurate
- voidsetListener(MockingProgressListener listener) - -
-           
- voidstubbingCompleted(Invocation invocation) - -
-           
- voidstubbingStarted() - -
-           
- voidvalidateState() - -
-           
- voidverificationStarted(VerificationMode verificationMode) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-reportOngoingStubbing

-
-void reportOngoingStubbing(IOngoingStubbing iOngoingStubbing)
-
-
-
-
-
-
- -

-pullOngoingStubbing

-
-IOngoingStubbing pullOngoingStubbing()
-
-
-
-
-
-
- -

-verificationStarted

-
-void verificationStarted(VerificationMode verificationMode)
-
-
-
-
-
-
- -

-pullVerificationMode

-
-VerificationMode pullVerificationMode()
-
-
-
-
-
-
- -

-stubbingStarted

-
-void stubbingStarted()
-
-
-
-
-
-
- -

-stubbingCompleted

-
-void stubbingCompleted(Invocation invocation)
-
-
-
-
-
-
- -

-validateState

-
-void validateState()
-
-
-
-
-
-
- -

-reset

-
-void reset()
-
-
-
-
-
-
- -

-resetOngoingStubbing

-
-void resetOngoingStubbing()
-
-
Removes ongoing stubbing so that in case the framework is misused - state validation errors are more accurate -

-

-
-
-
-
- -

-getArgumentMatcherStorage

-
-ArgumentMatcherStorage getArgumentMatcherStorage()
-
-
-
-
-
-
- -

-mockingStarted

-
-void mockingStarted(java.lang.Object mock,
-                    java.lang.Class classToMock,
-                    MockSettings mockSettings)
-
-
-
-
-
-
- -

-setListener

-
-void setListener(MockingProgressListener listener)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/MockingProgressImpl.html b/tools/mockito/javadoc/org/mockito/internal/progress/MockingProgressImpl.html deleted file mode 100644 index 53894af4b11..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/MockingProgressImpl.html +++ /dev/null @@ -1,528 +0,0 @@ - - - - - - -MockingProgressImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.progress -
-Class MockingProgressImpl

-
-java.lang.Object
-  extended by org.mockito.internal.progress.MockingProgressImpl
-
-
-
All Implemented Interfaces:
MockingProgress
-
-
-
-
public class MockingProgressImpl
extends java.lang.Object
implements MockingProgress
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
MockingProgressImpl() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ArgumentMatcherStoragegetArgumentMatcherStorage() - -
-           
- voidmockingStarted(java.lang.Object mock, - java.lang.Class classToMock, - MockSettings mockSettings) - -
-           
- IOngoingStubbingpullOngoingStubbing() - -
-           
- VerificationModepullVerificationMode() - -
-           
- voidreportOngoingStubbing(IOngoingStubbing iOngoingStubbing) - -
-           
- voidreset() - -
-           
- voidresetOngoingStubbing() - -
-          Removes ongoing stubbing so that in case the framework is misused - state validation errors are more accurate
- voidsetListener(MockingProgressListener listener) - -
-           
- voidstubbingCompleted(Invocation invocation) - -
-           
- voidstubbingStarted() - -
-           
- java.lang.StringtoString() - -
-           
- voidvalidateState() - -
-           
- voidverificationStarted(VerificationMode verify) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockingProgressImpl

-
-public MockingProgressImpl()
-
-
- - - - - - - - -
-Method Detail
- -

-reportOngoingStubbing

-
-public void reportOngoingStubbing(IOngoingStubbing iOngoingStubbing)
-
-
-
Specified by:
reportOngoingStubbing in interface MockingProgress
-
-
-
-
-
-
- -

-pullOngoingStubbing

-
-public IOngoingStubbing pullOngoingStubbing()
-
-
-
Specified by:
pullOngoingStubbing in interface MockingProgress
-
-
-
-
-
-
- -

-verificationStarted

-
-public void verificationStarted(VerificationMode verify)
-
-
-
Specified by:
verificationStarted in interface MockingProgress
-
-
-
-
-
-
- -

-resetOngoingStubbing

-
-public void resetOngoingStubbing()
-
-
Description copied from interface: MockingProgress
-
Removes ongoing stubbing so that in case the framework is misused - state validation errors are more accurate -

-

-
Specified by:
resetOngoingStubbing in interface MockingProgress
-
-
-
-
-
-
- -

-pullVerificationMode

-
-public VerificationMode pullVerificationMode()
-
-
-
Specified by:
pullVerificationMode in interface MockingProgress
-
-
-
-
-
-
- -

-stubbingStarted

-
-public void stubbingStarted()
-
-
-
Specified by:
stubbingStarted in interface MockingProgress
-
-
-
-
-
-
- -

-validateState

-
-public void validateState()
-
-
-
Specified by:
validateState in interface MockingProgress
-
-
-
-
-
-
- -

-stubbingCompleted

-
-public void stubbingCompleted(Invocation invocation)
-
-
-
Specified by:
stubbingCompleted in interface MockingProgress
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
-
- -

-reset

-
-public void reset()
-
-
-
Specified by:
reset in interface MockingProgress
-
-
-
-
-
-
- -

-getArgumentMatcherStorage

-
-public ArgumentMatcherStorage getArgumentMatcherStorage()
-
-
-
Specified by:
getArgumentMatcherStorage in interface MockingProgress
-
-
-
-
-
-
- -

-mockingStarted

-
-public void mockingStarted(java.lang.Object mock,
-                           java.lang.Class classToMock,
-                           MockSettings mockSettings)
-
-
-
Specified by:
mockingStarted in interface MockingProgress
-
-
-
-
-
-
- -

-setListener

-
-public void setListener(MockingProgressListener listener)
-
-
-
Specified by:
setListener in interface MockingProgress
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/SequenceNumber.html b/tools/mockito/javadoc/org/mockito/internal/progress/SequenceNumber.html deleted file mode 100644 index a46b6d9a224..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/SequenceNumber.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -SequenceNumber (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.progress -
-Class SequenceNumber

-
-java.lang.Object
-  extended by org.mockito.internal.progress.SequenceNumber
-
-
-
-
public class SequenceNumber
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
SequenceNumber() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-static intnext() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SequenceNumber

-
-public SequenceNumber()
-
-
- - - - - - - - -
-Method Detail
- -

-next

-
-public static int next()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/ThreadSafeMockingProgress.html b/tools/mockito/javadoc/org/mockito/internal/progress/ThreadSafeMockingProgress.html deleted file mode 100644 index 841256c24e6..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/ThreadSafeMockingProgress.html +++ /dev/null @@ -1,530 +0,0 @@ - - - - - - -ThreadSafeMockingProgress (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.progress -
-Class ThreadSafeMockingProgress

-
-java.lang.Object
-  extended by org.mockito.internal.progress.ThreadSafeMockingProgress
-
-
-
All Implemented Interfaces:
java.io.Serializable, MockingProgress
-
-
-
-
public class ThreadSafeMockingProgress
extends java.lang.Object
implements MockingProgress, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ThreadSafeMockingProgress() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ArgumentMatcherStoragegetArgumentMatcherStorage() - -
-           
- voidmockingStarted(java.lang.Object mock, - java.lang.Class classToMock, - MockSettings mockSettings) - -
-           
- IOngoingStubbingpullOngoingStubbing() - -
-           
- VerificationModepullVerificationMode() - -
-           
- voidreportOngoingStubbing(IOngoingStubbing iOngoingStubbing) - -
-           
- voidreset() - -
-           
- voidresetOngoingStubbing() - -
-          Removes ongoing stubbing so that in case the framework is misused - state validation errors are more accurate
- voidsetListener(MockingProgressListener listener) - -
-           
- voidstubbingCompleted(Invocation invocation) - -
-           
- voidstubbingStarted() - -
-           
- java.lang.StringtoString() - -
-           
- voidvalidateState() - -
-           
- voidverificationStarted(VerificationMode verify) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ThreadSafeMockingProgress

-
-public ThreadSafeMockingProgress()
-
-
- - - - - - - - -
-Method Detail
- -

-reportOngoingStubbing

-
-public void reportOngoingStubbing(IOngoingStubbing iOngoingStubbing)
-
-
-
Specified by:
reportOngoingStubbing in interface MockingProgress
-
-
-
-
-
-
- -

-pullOngoingStubbing

-
-public IOngoingStubbing pullOngoingStubbing()
-
-
-
Specified by:
pullOngoingStubbing in interface MockingProgress
-
-
-
-
-
-
- -

-verificationStarted

-
-public void verificationStarted(VerificationMode verify)
-
-
-
Specified by:
verificationStarted in interface MockingProgress
-
-
-
-
-
-
- -

-pullVerificationMode

-
-public VerificationMode pullVerificationMode()
-
-
-
Specified by:
pullVerificationMode in interface MockingProgress
-
-
-
-
-
-
- -

-stubbingStarted

-
-public void stubbingStarted()
-
-
-
Specified by:
stubbingStarted in interface MockingProgress
-
-
-
-
-
-
- -

-validateState

-
-public void validateState()
-
-
-
Specified by:
validateState in interface MockingProgress
-
-
-
-
-
-
- -

-stubbingCompleted

-
-public void stubbingCompleted(Invocation invocation)
-
-
-
Specified by:
stubbingCompleted in interface MockingProgress
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
-
- -

-reset

-
-public void reset()
-
-
-
Specified by:
reset in interface MockingProgress
-
-
-
-
-
-
- -

-resetOngoingStubbing

-
-public void resetOngoingStubbing()
-
-
Description copied from interface: MockingProgress
-
Removes ongoing stubbing so that in case the framework is misused - state validation errors are more accurate -

-

-
Specified by:
resetOngoingStubbing in interface MockingProgress
-
-
-
-
-
-
- -

-getArgumentMatcherStorage

-
-public ArgumentMatcherStorage getArgumentMatcherStorage()
-
-
-
Specified by:
getArgumentMatcherStorage in interface MockingProgress
-
-
-
-
-
-
- -

-mockingStarted

-
-public void mockingStarted(java.lang.Object mock,
-                           java.lang.Class classToMock,
-                           MockSettings mockSettings)
-
-
-
Specified by:
mockingStarted in interface MockingProgress
-
-
-
-
-
-
- -

-setListener

-
-public void setListener(MockingProgressListener listener)
-
-
-
Specified by:
setListener in interface MockingProgress
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/ArgumentMatcherStorage.html b/tools/mockito/javadoc/org/mockito/internal/progress/class-use/ArgumentMatcherStorage.html deleted file mode 100644 index c38bfeea519..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/ArgumentMatcherStorage.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.progress.ArgumentMatcherStorage (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.progress.ArgumentMatcherStorage

-
- - - - - - - - - - - - - -
-Packages that use ArgumentMatcherStorage
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.progressMocking progress stateful classes. 
-  -

- - - - - -
-Uses of ArgumentMatcherStorage in org.mockito.internal.invocation
-  -

- - - - - - - - - -
Methods in org.mockito.internal.invocation with parameters of type ArgumentMatcherStorage
- InvocationMatcherMatchersBinder.bindMatchers(ArgumentMatcherStorage argumentMatcherStorage, - Invocation invocation) - -
-           
-  -

- - - - - -
-Uses of ArgumentMatcherStorage in org.mockito.internal.progress
-  -

- - - - - - - - - -
Classes in org.mockito.internal.progress that implement ArgumentMatcherStorage
- classArgumentMatcherStorageImpl - -
-           
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.progress that return ArgumentMatcherStorage
- ArgumentMatcherStorageThreadSafeMockingProgress.getArgumentMatcherStorage() - -
-           
- ArgumentMatcherStorageMockingProgressImpl.getArgumentMatcherStorage() - -
-           
- ArgumentMatcherStorageMockingProgress.getArgumentMatcherStorage() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/ArgumentMatcherStorageImpl.html b/tools/mockito/javadoc/org/mockito/internal/progress/class-use/ArgumentMatcherStorageImpl.html deleted file mode 100644 index 156e7aec6a0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/ArgumentMatcherStorageImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.progress.ArgumentMatcherStorageImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.progress.ArgumentMatcherStorageImpl

-
-No usage of org.mockito.internal.progress.ArgumentMatcherStorageImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/HandyReturnValues.html b/tools/mockito/javadoc/org/mockito/internal/progress/class-use/HandyReturnValues.html deleted file mode 100644 index 43a044be0d6..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/HandyReturnValues.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.progress.HandyReturnValues (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.progress.HandyReturnValues

-
- - - - - - - - - -
-Packages that use HandyReturnValues
org.mockito.internal.progressMocking progress stateful classes. 
-  -

- - - - - -
-Uses of HandyReturnValues in org.mockito.internal.progress
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.progress that return HandyReturnValues
- HandyReturnValuesArgumentMatcherStorageImpl.reportAnd() - -
-           
- HandyReturnValuesArgumentMatcherStorage.reportAnd() - -
-           
- HandyReturnValuesArgumentMatcherStorageImpl.reportMatcher(org.hamcrest.Matcher matcher) - -
-           
- HandyReturnValuesArgumentMatcherStorage.reportMatcher(org.hamcrest.Matcher matcher) - -
-           
- HandyReturnValuesArgumentMatcherStorageImpl.reportNot() - -
-           
- HandyReturnValuesArgumentMatcherStorage.reportNot() - -
-           
- HandyReturnValuesArgumentMatcherStorageImpl.reportOr() - -
-           
- HandyReturnValuesArgumentMatcherStorage.reportOr() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/IOngoingStubbing.html b/tools/mockito/javadoc/org/mockito/internal/progress/class-use/IOngoingStubbing.html deleted file mode 100644 index d02606defb2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/IOngoingStubbing.html +++ /dev/null @@ -1,335 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.progress.IOngoingStubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.progress.IOngoingStubbing

-
- - - - - - - - - - - - - - - - - - - - - -
-Packages that use IOngoingStubbing
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.progressMocking progress stateful classes. 
org.mockito.internal.stubbingStubbing logic. 
org.mockito.stubbingExternal stubbing related classes 
-  -

- - - - - -
-Uses of IOngoingStubbing in org.mockito.internal
-  -

- - - - - - - - - -
Methods in org.mockito.internal that return IOngoingStubbing
- IOngoingStubbingMockitoCore.stub() - -
-           
-  -

- - - - - -
-Uses of IOngoingStubbing in org.mockito.internal.progress
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.progress that return IOngoingStubbing
- IOngoingStubbingThreadSafeMockingProgress.pullOngoingStubbing() - -
-           
- IOngoingStubbingMockingProgressImpl.pullOngoingStubbing() - -
-           
- IOngoingStubbingMockingProgress.pullOngoingStubbing() - -
-           
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.progress with parameters of type IOngoingStubbing
- voidThreadSafeMockingProgress.reportOngoingStubbing(IOngoingStubbing iOngoingStubbing) - -
-           
- voidMockingProgressImpl.reportOngoingStubbing(IOngoingStubbing iOngoingStubbing) - -
-           
- voidMockingProgress.reportOngoingStubbing(IOngoingStubbing iOngoingStubbing) - -
-           
-  -

- - - - - -
-Uses of IOngoingStubbing in org.mockito.internal.stubbing
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.mockito.internal.stubbing that implement IOngoingStubbing
- classBaseStubbing<T> - -
-           
- classConsecutiveStubbing<T> - -
-           
- classOngoingStubbingImpl<T> - -
-           
-  -

- - - - - -
-Uses of IOngoingStubbing in org.mockito.stubbing
-  -

- - - - - - - - - - - - - -
Subinterfaces of IOngoingStubbing in org.mockito.stubbing
- interfaceDeprecatedOngoingStubbing<T> - -
-          Stubs a method call with return value or an exception.
- interfaceOngoingStubbing<T> - -
-          Simply put: "When the x method is called then return y".
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/MockingProgress.html b/tools/mockito/javadoc/org/mockito/internal/progress/class-use/MockingProgress.html deleted file mode 100644 index 811055a480b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/MockingProgress.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.progress.MockingProgress (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.progress.MockingProgress

-
- - - - - - - - - - - - - -
-Packages that use MockingProgress
org.mockito.internal.progressMocking progress stateful classes. 
org.mockito.internal.stubbingStubbing logic. 
-  -

- - - - - -
-Uses of MockingProgress in org.mockito.internal.progress
-  -

- - - - - - - - - - - - - -
Classes in org.mockito.internal.progress that implement MockingProgress
- classMockingProgressImpl - -
-           
- classThreadSafeMockingProgress - -
-           
-  -

- - - - - -
-Uses of MockingProgress in org.mockito.internal.stubbing
-  -

- - - - - - - - -
Constructors in org.mockito.internal.stubbing with parameters of type MockingProgress
InvocationContainerImpl(MockingProgress mockingProgress) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/MockingProgressImpl.html b/tools/mockito/javadoc/org/mockito/internal/progress/class-use/MockingProgressImpl.html deleted file mode 100644 index c4321dacb1a..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/MockingProgressImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.progress.MockingProgressImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.progress.MockingProgressImpl

-
-No usage of org.mockito.internal.progress.MockingProgressImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/SequenceNumber.html b/tools/mockito/javadoc/org/mockito/internal/progress/class-use/SequenceNumber.html deleted file mode 100644 index 45197b21bdc..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/SequenceNumber.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.progress.SequenceNumber (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.progress.SequenceNumber

-
-No usage of org.mockito.internal.progress.SequenceNumber -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/ThreadSafeMockingProgress.html b/tools/mockito/javadoc/org/mockito/internal/progress/class-use/ThreadSafeMockingProgress.html deleted file mode 100644 index aeae0f50ce7..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/class-use/ThreadSafeMockingProgress.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.progress.ThreadSafeMockingProgress (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.progress.ThreadSafeMockingProgress

-
-No usage of org.mockito.internal.progress.ThreadSafeMockingProgress -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/progress/package-frame.html deleted file mode 100644 index c5e2566469e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/package-frame.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - -org.mockito.internal.progress (Mockito API) - - - - - - - - - - - -org.mockito.internal.progress - - - - -
-Interfaces  - -
-ArgumentMatcherStorage -
-IOngoingStubbing -
-MockingProgress
- - - - - - -
-Classes  - -
-ArgumentMatcherStorageImpl -
-HandyReturnValues -
-MockingProgressImpl -
-SequenceNumber -
-ThreadSafeMockingProgress
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/progress/package-summary.html deleted file mode 100644 index edf5aeaa160..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/package-summary.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - -org.mockito.internal.progress (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.progress -

-Mocking progress stateful classes. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - -
-Interface Summary
ArgumentMatcherStorage 
IOngoingStubbingMarking interface to be removed when DeprecatedOngoingStubbing gets deleted
MockingProgress 
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
ArgumentMatcherStorageImpl 
HandyReturnValues 
MockingProgressImpl 
SequenceNumber 
ThreadSafeMockingProgress 
-  - -

-

-Package org.mockito.internal.progress Description -

- -

-Mocking progress stateful classes. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/progress/package-tree.html deleted file mode 100644 index 31b3d216523..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/package-tree.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -org.mockito.internal.progress Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.progress -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/progress/package-use.html b/tools/mockito/javadoc/org/mockito/internal/progress/package-use.html deleted file mode 100644 index a001bf711b2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/progress/package-use.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.progress (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.progress

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.mockito.internal.progress
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.progressMocking progress stateful classes. 
org.mockito.internal.stubbingStubbing logic. 
org.mockito.stubbingExternal stubbing related classes 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.progress used by org.mockito.internal
IOngoingStubbing - -
-          Marking interface to be removed when DeprecatedOngoingStubbing gets deleted
-  -

- - - - - - - - -
-Classes in org.mockito.internal.progress used by org.mockito.internal.invocation
ArgumentMatcherStorage - -
-           
-  -

- - - - - - - - - - - - - - - - - -
-Classes in org.mockito.internal.progress used by org.mockito.internal.progress
ArgumentMatcherStorage - -
-           
HandyReturnValues - -
-           
IOngoingStubbing - -
-          Marking interface to be removed when DeprecatedOngoingStubbing gets deleted
MockingProgress - -
-           
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal.progress used by org.mockito.internal.stubbing
IOngoingStubbing - -
-          Marking interface to be removed when DeprecatedOngoingStubbing gets deleted
MockingProgress - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.progress used by org.mockito.stubbing
IOngoingStubbing - -
-          Marking interface to be removed when DeprecatedOngoingStubbing gets deleted
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/reporting/PrintSettings.html b/tools/mockito/javadoc/org/mockito/internal/reporting/PrintSettings.html deleted file mode 100644 index 95d69de7966..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/reporting/PrintSettings.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - -PrintSettings (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.reporting -
-Class PrintSettings

-
-java.lang.Object
-  extended by org.mockito.internal.reporting.PrintSettings
-
-
-
-
public class PrintSettings
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
PrintSettings() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanextraTypeInfoFor(int argumentIndex) - -
-           
- booleanisMultiline() - -
-           
- voidsetMatchersToBeDescribedWithExtraTypeInfo(java.lang.Integer[] indexesOfMatchers) - -
-           
- voidsetMultiline(boolean multiline) - -
-           
-static PrintSettingsverboseMatchers(java.lang.Integer... indexesOfMatchers) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-PrintSettings

-
-public PrintSettings()
-
-
- - - - - - - - -
-Method Detail
- -

-setMultiline

-
-public void setMultiline(boolean multiline)
-
-
-
-
-
-
- -

-isMultiline

-
-public boolean isMultiline()
-
-
-
-
-
-
- -

-verboseMatchers

-
-public static PrintSettings verboseMatchers(java.lang.Integer... indexesOfMatchers)
-
-
-
-
-
-
- -

-extraTypeInfoFor

-
-public boolean extraTypeInfoFor(int argumentIndex)
-
-
-
-
-
-
- -

-setMatchersToBeDescribedWithExtraTypeInfo

-
-public void setMatchersToBeDescribedWithExtraTypeInfo(java.lang.Integer[] indexesOfMatchers)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/reporting/PrintingFriendlyInvocation.html b/tools/mockito/javadoc/org/mockito/internal/reporting/PrintingFriendlyInvocation.html deleted file mode 100644 index 9c7bf1cfde0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/reporting/PrintingFriendlyInvocation.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -PrintingFriendlyInvocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.reporting -
-Interface PrintingFriendlyInvocation

-
-
All Known Implementing Classes:
Invocation, InvocationMatcher, StubbedInvocationMatcher
-
-
-
-
public interface PrintingFriendlyInvocation
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- java.lang.StringtoString(PrintSettings printSettings) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-toString

-
-java.lang.String toString(PrintSettings printSettings)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/reporting/SmartPrinter.html b/tools/mockito/javadoc/org/mockito/internal/reporting/SmartPrinter.html deleted file mode 100644 index 8ab770d6036..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/reporting/SmartPrinter.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - -SmartPrinter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.reporting -
-Class SmartPrinter

-
-java.lang.Object
-  extended by org.mockito.internal.reporting.SmartPrinter
-
-
-
-
public class SmartPrinter
extends java.lang.Object
- - -

-Makes sure both wanted and actual are printed consistently (single line or multiline) -

- Makes arguments printed with types if necessary -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
SmartPrinter(PrintingFriendlyInvocation wanted, - PrintingFriendlyInvocation actual, - java.lang.Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetActual() - -
-           
- java.lang.StringgetWanted() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SmartPrinter

-
-public SmartPrinter(PrintingFriendlyInvocation wanted,
-                    PrintingFriendlyInvocation actual,
-                    java.lang.Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo)
-
-
- - - - - - - - -
-Method Detail
- -

-getWanted

-
-public java.lang.String getWanted()
-
-
-
-
-
-
- -

-getActual

-
-public java.lang.String getActual()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/reporting/class-use/PrintSettings.html b/tools/mockito/javadoc/org/mockito/internal/reporting/class-use/PrintSettings.html deleted file mode 100644 index 5f5a6362582..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/reporting/class-use/PrintSettings.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.reporting.PrintSettings (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.reporting.PrintSettings

-
- - - - - - - - - - - - - - - - - -
-Packages that use PrintSettings
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
org.mockito.internal.reportingDeals with nicely printing verification errors 
-  -

- - - - - -
-Uses of PrintSettings in org.mockito.internal.invocation
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.invocation with parameters of type PrintSettings
-protected  java.lang.StringInvocation.toString(java.util.List<org.hamcrest.Matcher> matchers, - PrintSettings printSettings) - -
-           
- java.lang.StringInvocationMatcher.toString(PrintSettings printSettings) - -
-           
- java.lang.StringInvocation.toString(PrintSettings printSettings) - -
-           
-  -

- - - - - -
-Uses of PrintSettings in org.mockito.internal.matchers
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.internal.matchers with parameters of type PrintSettings
- java.lang.StringMatchersPrinter.getArgumentsBlock(java.util.List<org.hamcrest.Matcher> matchers, - PrintSettings printSettings) - -
-           
- java.lang.StringMatchersPrinter.getArgumentsLine(java.util.List<org.hamcrest.Matcher> matchers, - PrintSettings printSettings) - -
-           
-  -

- - - - - -
-Uses of PrintSettings in org.mockito.internal.reporting
-  -

- - - - - - - - - -
Methods in org.mockito.internal.reporting that return PrintSettings
-static PrintSettingsPrintSettings.verboseMatchers(java.lang.Integer... indexesOfMatchers) - -
-           
-  -

- - - - - - - - - -
Methods in org.mockito.internal.reporting with parameters of type PrintSettings
- java.lang.StringPrintingFriendlyInvocation.toString(PrintSettings printSettings) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/reporting/class-use/PrintingFriendlyInvocation.html b/tools/mockito/javadoc/org/mockito/internal/reporting/class-use/PrintingFriendlyInvocation.html deleted file mode 100644 index 864b6337c25..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/reporting/class-use/PrintingFriendlyInvocation.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.reporting.PrintingFriendlyInvocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.reporting.PrintingFriendlyInvocation

-
- - - - - - - - - - - - - - - - - -
-Packages that use PrintingFriendlyInvocation
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.reportingDeals with nicely printing verification errors 
org.mockito.internal.stubbingStubbing logic. 
-  -

- - - - - -
-Uses of PrintingFriendlyInvocation in org.mockito.internal.invocation
-  -

- - - - - - - - - - - - - -
Classes in org.mockito.internal.invocation that implement PrintingFriendlyInvocation
- classInvocation - -
-          Method call on a mock object.
- classInvocationMatcher - -
-           
-  -

- - - - - -
-Uses of PrintingFriendlyInvocation in org.mockito.internal.reporting
-  -

- - - - - - - - -
Constructors in org.mockito.internal.reporting with parameters of type PrintingFriendlyInvocation
SmartPrinter(PrintingFriendlyInvocation wanted, - PrintingFriendlyInvocation actual, - java.lang.Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo) - -
-           
-  -

- - - - - -
-Uses of PrintingFriendlyInvocation in org.mockito.internal.stubbing
-  -

- - - - - - - - - -
Classes in org.mockito.internal.stubbing that implement PrintingFriendlyInvocation
- classStubbedInvocationMatcher - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/reporting/class-use/SmartPrinter.html b/tools/mockito/javadoc/org/mockito/internal/reporting/class-use/SmartPrinter.html deleted file mode 100644 index 4d54e97d925..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/reporting/class-use/SmartPrinter.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.reporting.SmartPrinter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.reporting.SmartPrinter

-
-No usage of org.mockito.internal.reporting.SmartPrinter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/reporting/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/reporting/package-frame.html deleted file mode 100644 index fafa5ad2236..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/reporting/package-frame.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - -org.mockito.internal.reporting (Mockito API) - - - - - - - - - - - -org.mockito.internal.reporting - - - - -
-Interfaces  - -
-PrintingFriendlyInvocation
- - - - - - -
-Classes  - -
-PrintSettings -
-SmartPrinter
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/reporting/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/reporting/package-summary.html deleted file mode 100644 index f5fe668c3a0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/reporting/package-summary.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -org.mockito.internal.reporting (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.reporting -

-Deals with nicely printing verification errors -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
PrintingFriendlyInvocation 
-  - -

- - - - - - - - - - - - - -
-Class Summary
PrintSettings 
SmartPrinterMakes sure both wanted and actual are printed consistently (single line or multiline)
-  - -

-

-Package org.mockito.internal.reporting Description -

- -

-Deals with nicely printing verification errors -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/reporting/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/reporting/package-tree.html deleted file mode 100644 index c7100a8433d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/reporting/package-tree.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - -org.mockito.internal.reporting Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.reporting -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/reporting/package-use.html b/tools/mockito/javadoc/org/mockito/internal/reporting/package-use.html deleted file mode 100644 index 8cb92808f9a..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/reporting/package-use.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.reporting (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.reporting

-
- - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.mockito.internal.reporting
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
org.mockito.internal.reportingDeals with nicely printing verification errors 
org.mockito.internal.stubbingStubbing logic. 
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal.reporting used by org.mockito.internal.invocation
PrintingFriendlyInvocation - -
-           
PrintSettings - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.reporting used by org.mockito.internal.matchers
PrintSettings - -
-           
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal.reporting used by org.mockito.internal.reporting
PrintingFriendlyInvocation - -
-           
PrintSettings - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.reporting used by org.mockito.internal.stubbing
PrintingFriendlyInvocation - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/JUnit44RunnerImpl.html b/tools/mockito/javadoc/org/mockito/internal/runners/JUnit44RunnerImpl.html deleted file mode 100644 index 46a5e4401f8..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/JUnit44RunnerImpl.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - -JUnit44RunnerImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.runners -
-Class JUnit44RunnerImpl

-
-java.lang.Object
-  extended by org.mockito.internal.runners.JUnit44RunnerImpl
-
-
-
All Implemented Interfaces:
org.junit.runner.manipulation.Filterable, RunnerImpl
-
-
-
-
public class JUnit44RunnerImpl
extends java.lang.Object
implements RunnerImpl
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
JUnit44RunnerImpl(java.lang.Class<?> klass) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidfilter(org.junit.runner.manipulation.Filter filter) - -
-           
- org.junit.runner.DescriptiongetDescription() - -
-           
- voidrun(org.junit.runner.notification.RunNotifier notifier) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-JUnit44RunnerImpl

-
-public JUnit44RunnerImpl(java.lang.Class<?> klass)
-                  throws org.junit.internal.runners.InitializationError
-
-
- -
Throws: -
org.junit.internal.runners.InitializationError
-
- - - - - - - - -
-Method Detail
- -

-run

-
-public void run(org.junit.runner.notification.RunNotifier notifier)
-
-
-
Specified by:
run in interface RunnerImpl
-
-
-
-
-
-
- -

-getDescription

-
-public org.junit.runner.Description getDescription()
-
-
-
Specified by:
getDescription in interface RunnerImpl
-
-
-
-
-
-
- -

-filter

-
-public void filter(org.junit.runner.manipulation.Filter filter)
-            throws org.junit.runner.manipulation.NoTestsRemainException
-
-
-
Specified by:
filter in interface org.junit.runner.manipulation.Filterable
-
-
- -
Throws: -
org.junit.runner.manipulation.NoTestsRemainException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/JUnit45AndHigherRunnerImpl.html b/tools/mockito/javadoc/org/mockito/internal/runners/JUnit45AndHigherRunnerImpl.html deleted file mode 100644 index 54f722d89db..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/JUnit45AndHigherRunnerImpl.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - -JUnit45AndHigherRunnerImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.runners -
-Class JUnit45AndHigherRunnerImpl

-
-java.lang.Object
-  extended by org.mockito.internal.runners.JUnit45AndHigherRunnerImpl
-
-
-
All Implemented Interfaces:
org.junit.runner.manipulation.Filterable, RunnerImpl
-
-
-
-
public class JUnit45AndHigherRunnerImpl
extends java.lang.Object
implements RunnerImpl
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
JUnit45AndHigherRunnerImpl(java.lang.Class<?> klass) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidfilter(org.junit.runner.manipulation.Filter filter) - -
-           
- org.junit.runner.DescriptiongetDescription() - -
-           
- voidrun(org.junit.runner.notification.RunNotifier notifier) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-JUnit45AndHigherRunnerImpl

-
-public JUnit45AndHigherRunnerImpl(java.lang.Class<?> klass)
-                           throws org.junit.runners.model.InitializationError
-
-
- -
Throws: -
org.junit.runners.model.InitializationError
-
- - - - - - - - -
-Method Detail
- -

-run

-
-public void run(org.junit.runner.notification.RunNotifier notifier)
-
-
-
Specified by:
run in interface RunnerImpl
-
-
-
-
-
-
- -

-getDescription

-
-public org.junit.runner.Description getDescription()
-
-
-
Specified by:
getDescription in interface RunnerImpl
-
-
-
-
-
-
- -

-filter

-
-public void filter(org.junit.runner.manipulation.Filter filter)
-            throws org.junit.runner.manipulation.NoTestsRemainException
-
-
-
Specified by:
filter in interface org.junit.runner.manipulation.Filterable
-
-
- -
Throws: -
org.junit.runner.manipulation.NoTestsRemainException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/RunnerFactory.html b/tools/mockito/javadoc/org/mockito/internal/runners/RunnerFactory.html deleted file mode 100644 index 3e1e9919403..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/RunnerFactory.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -RunnerFactory (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.runners -
-Class RunnerFactory

-
-java.lang.Object
-  extended by org.mockito.internal.runners.RunnerFactory
-
-
-
-
public class RunnerFactory
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
RunnerFactory() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- RunnerImplcreate(java.lang.Class<?> klass) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-RunnerFactory

-
-public RunnerFactory()
-
-
- - - - - - - - -
-Method Detail
- -

-create

-
-public RunnerImpl create(java.lang.Class<?> klass)
-                  throws java.lang.reflect.InvocationTargetException
-
-
- -
Throws: -
java.lang.reflect.InvocationTargetException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/RunnerImpl.html b/tools/mockito/javadoc/org/mockito/internal/runners/RunnerImpl.html deleted file mode 100644 index 27c5724fee9..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/RunnerImpl.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -RunnerImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.runners -
-Interface RunnerImpl

-
-
All Superinterfaces:
org.junit.runner.manipulation.Filterable
-
-
-
All Known Implementing Classes:
JUnit44RunnerImpl, JUnit45AndHigherRunnerImpl
-
-
-
-
public interface RunnerImpl
extends org.junit.runner.manipulation.Filterable
- - -

-I'm using this surrogate interface to hide internal Runner implementations. - Surrogate cannot be used with @RunWith therefore it is less likely clients will use interal runners. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- org.junit.runner.DescriptiongetDescription() - -
-           
- voidrun(org.junit.runner.notification.RunNotifier notifier) - -
-           
- - - - - - - -
Methods inherited from interface org.junit.runner.manipulation.Filterable
filter
-  -

- - - - - - - - -
-Method Detail
- -

-run

-
-void run(org.junit.runner.notification.RunNotifier notifier)
-
-
-
-
-
-
-
-
-
- -

-getDescription

-
-org.junit.runner.Description getDescription()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/class-use/JUnit44RunnerImpl.html b/tools/mockito/javadoc/org/mockito/internal/runners/class-use/JUnit44RunnerImpl.html deleted file mode 100644 index 93d2ee926af..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/class-use/JUnit44RunnerImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.runners.JUnit44RunnerImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.runners.JUnit44RunnerImpl

-
-No usage of org.mockito.internal.runners.JUnit44RunnerImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/class-use/JUnit45AndHigherRunnerImpl.html b/tools/mockito/javadoc/org/mockito/internal/runners/class-use/JUnit45AndHigherRunnerImpl.html deleted file mode 100644 index dba30ba6865..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/class-use/JUnit45AndHigherRunnerImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.runners.JUnit45AndHigherRunnerImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.runners.JUnit45AndHigherRunnerImpl

-
-No usage of org.mockito.internal.runners.JUnit45AndHigherRunnerImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/class-use/RunnerFactory.html b/tools/mockito/javadoc/org/mockito/internal/runners/class-use/RunnerFactory.html deleted file mode 100644 index 70f949e2866..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/class-use/RunnerFactory.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.runners.RunnerFactory (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.runners.RunnerFactory

-
-No usage of org.mockito.internal.runners.RunnerFactory -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/class-use/RunnerImpl.html b/tools/mockito/javadoc/org/mockito/internal/runners/class-use/RunnerImpl.html deleted file mode 100644 index 59813521c73..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/class-use/RunnerImpl.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.runners.RunnerImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.runners.RunnerImpl

-
- - - - - - - - - - - - - -
-Packages that use RunnerImpl
org.mockito.internal.runnersInternal classes for runners implementations 
org.mockito.internal.runners.utilInternal utils for runner implementations 
-  -

- - - - - -
-Uses of RunnerImpl in org.mockito.internal.runners
-  -

- - - - - - - - - - - - - -
Classes in org.mockito.internal.runners that implement RunnerImpl
- classJUnit44RunnerImpl - -
-           
- classJUnit45AndHigherRunnerImpl - -
-           
-  -

- - - - - - - - - -
Methods in org.mockito.internal.runners that return RunnerImpl
- RunnerImplRunnerFactory.create(java.lang.Class<?> klass) - -
-           
-  -

- - - - - -
-Uses of RunnerImpl in org.mockito.internal.runners.util
-  -

- - - - - - - - - -
Methods in org.mockito.internal.runners.util that return RunnerImpl
- RunnerImplRunnerProvider.newInstance(java.lang.String runnerClassName, - java.lang.Class<?> constructorParam) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/runners/package-frame.html deleted file mode 100644 index 7caa65500ec..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/package-frame.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -org.mockito.internal.runners (Mockito API) - - - - - - - - - - - -org.mockito.internal.runners - - - - -
-Interfaces  - -
-RunnerImpl
- - - - - - -
-Classes  - -
-JUnit44RunnerImpl -
-JUnit45AndHigherRunnerImpl -
-RunnerFactory
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/runners/package-summary.html deleted file mode 100644 index 59b9d22b599..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/package-summary.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -org.mockito.internal.runners (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.runners -

-Internal classes for runners implementations -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
RunnerImplI'm using this surrogate interface to hide internal Runner implementations.
-  - -

- - - - - - - - - - - - - - - - - -
-Class Summary
JUnit44RunnerImpl 
JUnit45AndHigherRunnerImpl 
RunnerFactory 
-  - -

-

-Package org.mockito.internal.runners Description -

- -

-Internal classes for runners implementations -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/runners/package-tree.html deleted file mode 100644 index 30829b93fbe..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/package-tree.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - -org.mockito.internal.runners Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.runners -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

-
    -
  • org.junit.runner.manipulation.Filterable -
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/package-use.html b/tools/mockito/javadoc/org/mockito/internal/runners/package-use.html deleted file mode 100644 index 5800f01d64c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/package-use.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.runners (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.runners

-
- - - - - - - - - - - - - -
-Packages that use org.mockito.internal.runners
org.mockito.internal.runnersInternal classes for runners implementations 
org.mockito.internal.runners.utilInternal utils for runner implementations 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.runners used by org.mockito.internal.runners
RunnerImpl - -
-          I'm using this surrogate interface to hide internal Runner implementations.
-  -

- - - - - - - - -
-Classes in org.mockito.internal.runners used by org.mockito.internal.runners.util
RunnerImpl - -
-          I'm using this surrogate interface to hide internal Runner implementations.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/util/FrameworkUsageValidator.html b/tools/mockito/javadoc/org/mockito/internal/runners/util/FrameworkUsageValidator.html deleted file mode 100644 index ebf1e665e58..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/util/FrameworkUsageValidator.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - -FrameworkUsageValidator (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.runners.util -
-Class FrameworkUsageValidator

-
-java.lang.Object
-  extended by org.junit.runner.notification.RunListener
-      extended by org.mockito.internal.runners.util.FrameworkUsageValidator
-
-
-
-
public class FrameworkUsageValidator
extends org.junit.runner.notification.RunListener
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
FrameworkUsageValidator(org.junit.runner.notification.RunNotifier notifier) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidtestFinished(org.junit.runner.Description description) - -
-           
- - - - - - - -
Methods inherited from class org.junit.runner.notification.RunListener
testAssumptionFailure, testFailure, testIgnored, testRunFinished, testRunStarted, testStarted
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-FrameworkUsageValidator

-
-public FrameworkUsageValidator(org.junit.runner.notification.RunNotifier notifier)
-
-
- - - - - - - - -
-Method Detail
- -

-testFinished

-
-public void testFinished(org.junit.runner.Description description)
-                  throws java.lang.Exception
-
-
-
Overrides:
testFinished in class org.junit.runner.notification.RunListener
-
-
- -
Throws: -
java.lang.Exception
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/util/RunnerProvider.html b/tools/mockito/javadoc/org/mockito/internal/runners/util/RunnerProvider.html deleted file mode 100644 index 14f4faf845c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/util/RunnerProvider.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -RunnerProvider (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.runners.util -
-Class RunnerProvider

-
-java.lang.Object
-  extended by org.mockito.internal.runners.util.RunnerProvider
-
-
-
-
public class RunnerProvider
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
RunnerProvider() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- booleanisJUnit45OrHigherAvailable() - -
-           
- RunnerImplnewInstance(java.lang.String runnerClassName, - java.lang.Class<?> constructorParam) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-RunnerProvider

-
-public RunnerProvider()
-
-
- - - - - - - - -
-Method Detail
- -

-isJUnit45OrHigherAvailable

-
-public boolean isJUnit45OrHigherAvailable()
-
-
-
-
-
-
- -

-newInstance

-
-public RunnerImpl newInstance(java.lang.String runnerClassName,
-                              java.lang.Class<?> constructorParam)
-                       throws java.lang.Exception
-
-
- -
Throws: -
java.lang.Exception
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/util/TestMethodsFinder.html b/tools/mockito/javadoc/org/mockito/internal/runners/util/TestMethodsFinder.html deleted file mode 100644 index 480accc98f5..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/util/TestMethodsFinder.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -TestMethodsFinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.runners.util -
-Class TestMethodsFinder

-
-java.lang.Object
-  extended by org.mockito.internal.runners.util.TestMethodsFinder
-
-
-
-
public class TestMethodsFinder
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
TestMethodsFinder() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- booleanhasTestMethods(java.lang.Class<?> klass) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-TestMethodsFinder

-
-public TestMethodsFinder()
-
-
- - - - - - - - -
-Method Detail
- -

-hasTestMethods

-
-public boolean hasTestMethods(java.lang.Class<?> klass)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/util/class-use/FrameworkUsageValidator.html b/tools/mockito/javadoc/org/mockito/internal/runners/util/class-use/FrameworkUsageValidator.html deleted file mode 100644 index 065f937208f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/util/class-use/FrameworkUsageValidator.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.runners.util.FrameworkUsageValidator (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.runners.util.FrameworkUsageValidator

-
-No usage of org.mockito.internal.runners.util.FrameworkUsageValidator -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/util/class-use/RunnerProvider.html b/tools/mockito/javadoc/org/mockito/internal/runners/util/class-use/RunnerProvider.html deleted file mode 100644 index 259cde10189..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/util/class-use/RunnerProvider.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.runners.util.RunnerProvider (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.runners.util.RunnerProvider

-
-No usage of org.mockito.internal.runners.util.RunnerProvider -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/util/class-use/TestMethodsFinder.html b/tools/mockito/javadoc/org/mockito/internal/runners/util/class-use/TestMethodsFinder.html deleted file mode 100644 index d8829f9efeb..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/util/class-use/TestMethodsFinder.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.runners.util.TestMethodsFinder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.runners.util.TestMethodsFinder

-
-No usage of org.mockito.internal.runners.util.TestMethodsFinder -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/util/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/runners/util/package-frame.html deleted file mode 100644 index 6819893ff71..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/util/package-frame.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -org.mockito.internal.runners.util (Mockito API) - - - - - - - - - - - -org.mockito.internal.runners.util - - - - -
-Classes  - -
-FrameworkUsageValidator -
-RunnerProvider -
-TestMethodsFinder
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/util/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/runners/util/package-summary.html deleted file mode 100644 index e9f86ef604b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/util/package-summary.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - -org.mockito.internal.runners.util (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.runners.util -

-Internal utils for runner implementations -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - -
-Class Summary
FrameworkUsageValidator 
RunnerProvider 
TestMethodsFinder 
-  - -

-

-Package org.mockito.internal.runners.util Description -

- -

-Internal utils for runner implementations -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/util/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/runners/util/package-tree.html deleted file mode 100644 index 9a3fa127300..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/util/package-tree.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -org.mockito.internal.runners.util Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.runners.util -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/runners/util/package-use.html b/tools/mockito/javadoc/org/mockito/internal/runners/util/package-use.html deleted file mode 100644 index b04c04105c9..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/runners/util/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.runners.util (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.runners.util

-
-No usage of org.mockito.internal.runners.util -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/BaseStubbing.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/BaseStubbing.html deleted file mode 100644 index cbd30b4a541..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/BaseStubbing.html +++ /dev/null @@ -1,474 +0,0 @@ - - - - - - -BaseStubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing -
-Class BaseStubbing<T>

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.BaseStubbing<T>
-
-
-
All Implemented Interfaces:
IOngoingStubbing, DeprecatedOngoingStubbing<T>, OngoingStubbing<T>
-
-
-
Direct Known Subclasses:
ConsecutiveStubbing, OngoingStubbingImpl
-
-
-
-
public abstract class BaseStubbing<T>
extends java.lang.Object
implements OngoingStubbing<T>, DeprecatedOngoingStubbing<T>
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
BaseStubbing() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- OngoingStubbing<T>thenCallRealMethod() - -
-          Sets the real implementation to be called when the method is called on a mock object.
- OngoingStubbing<T>thenReturn(T value) - -
-          Sets a return value to be returned when the method is called.
- OngoingStubbing<T>thenReturn(T value, - T... values) - -
-          Sets consecutive return values to be returned when the method is called.
- OngoingStubbing<T>thenThrow(java.lang.Throwable... throwables) - -
-          Sets Throwable objects to be thrown when the method is called.
- DeprecatedOngoingStubbing<T>toReturn(T value) - -
-          Set a return value for the stubbed method.
- DeprecatedOngoingStubbing<T>toThrow(java.lang.Throwable throwable) - -
-          Set a Throwable to be thrown when the stubbed method is called.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface org.mockito.stubbing.OngoingStubbing
thenAnswer
- - - - - - - -
Methods inherited from interface org.mockito.stubbing.DeprecatedOngoingStubbing
toAnswer
-  -

- - - - - - - - -
-Constructor Detail
- -

-BaseStubbing

-
-public BaseStubbing()
-
-
- - - - - - - - -
-Method Detail
- -

-thenReturn

-
-public OngoingStubbing<T> thenReturn(T value)
-
-
Description copied from interface: OngoingStubbing
-
Sets a return value to be returned when the method is called. E.g: -
- when(mock.someMethod()).thenReturn(10);
- 
- - See examples in javadoc for Mockito.when(T) -

-

-
Specified by:
thenReturn in interface OngoingStubbing<T>
-
-
-
Parameters:
value - return value -
Returns:
iOngoingStubbing object that allows stubbing consecutive calls
-
-
-
- -

-thenReturn

-
-public OngoingStubbing<T> thenReturn(T value,
-                                     T... values)
-
-
Description copied from interface: OngoingStubbing
-
Sets consecutive return values to be returned when the method is called. E.g: -
- when(mock.someMethod()).thenReturn(1, 2, 3);
- 
- - Last return value in the sequence (in example: 3) determines the behavior of further consecutive calls. -

- See examples in javadoc for Mockito.when(T) -

-

-
Specified by:
thenReturn in interface OngoingStubbing<T>
-
-
-
Parameters:
value - first return value
values - next return values -
Returns:
iOngoingStubbing object that allows stubbing consecutive calls
-
-
-
- -

-thenThrow

-
-public OngoingStubbing<T> thenThrow(java.lang.Throwable... throwables)
-
-
Description copied from interface: OngoingStubbing
-
Sets Throwable objects to be thrown when the method is called. E.g: -
- when(mock.someMethod()).thenThrow(new RuntimeException());
- 
- - If throwables contain a checked exception then it has to - match one of the checked exceptions of method signature. -

- You can specify throwables to be thrown for consecutive calls. - In that case the last throwable determines the behavior of further consecutive calls. -

- if throwable is null then exception will be thrown. -

- See examples in javadoc for Mockito.when(T) -

-

-
Specified by:
thenThrow in interface OngoingStubbing<T>
-
-
-
Parameters:
throwables - to be thrown on method invocation -
Returns:
iOngoingStubbing object that allows stubbing consecutive calls
-
-
-
- -

-thenCallRealMethod

-
-public OngoingStubbing<T> thenCallRealMethod()
-
-
Description copied from interface: OngoingStubbing
-
Sets the real implementation to be called when the method is called on a mock object. -

- As usual you are going to read the partial mock warning: - Object oriented programming is more less tackling complexity by dividing the complexity into separate, specific, SRPy objects. - How does partial mock fit into this paradigm? Well, it just doesn't... - Partial mock usually means that the complexity has been moved to a different method on the same object. - In most cases, this is not the way you want to design your application. -

- However, there are rare cases when partial mocks come handy: - dealing with code you cannot change easily (3rd party interfaces, interim refactoring of legacy code etc.) - However, I wouldn't use partial mocks for new, test-driven & well-designed code. -

-   // someMethod() must be safe (e.g. doesn't throw, doesn't have dependencies to the object state, etc.)
-   // if it isn't safe then you will have trouble stubbing it using this api. Use Mockito.doCallRealMethod() instead. 
-   when(mock.someMethod()).thenCallRealMethod();
-   
-   // calls real method:
-   mock.someMethod();
-   
- 
- See also javadoc Mockito.spy(Object) to find out more about partial mocks. - Mockito.spy() is a recommended way of creating partial mocks. - The reason is it guarantees real methods are called against correctly constructed object because you're responsible for constructing the object passed to spy() method. -

- See examples in javadoc for Mockito.when(T) -

-

-
Specified by:
thenCallRealMethod in interface OngoingStubbing<T>
-
-
- -
Returns:
iOngoingStubbing object that allows stubbing consecutive calls
-
-
-
- -

-toReturn

-
-public DeprecatedOngoingStubbing<T> toReturn(T value)
-
-
Description copied from interface: DeprecatedOngoingStubbing
-
Set a return value for the stubbed method. E.g: -
- stub(mock.someMethod()).toReturn(10);
- 
- - See examples in javadoc for Mockito.stub(T) -

-

-
Specified by:
toReturn in interface DeprecatedOngoingStubbing<T>
-
-
-
Parameters:
value - return value -
Returns:
iOngoingStubbing object that allows stubbing consecutive calls
-
-
-
- -

-toThrow

-
-public DeprecatedOngoingStubbing<T> toThrow(java.lang.Throwable throwable)
-
-
Description copied from interface: DeprecatedOngoingStubbing
-
Set a Throwable to be thrown when the stubbed method is called. E.g: -
- stub(mock.someMethod()).toThrow(new RuntimeException());
- 
- - If throwable is a checked exception then it has to - match one of the checked exceptions of method signature. - - See examples in javadoc for Mockito.stub(T) -

-

-
Specified by:
toThrow in interface DeprecatedOngoingStubbing<T>
-
-
-
Parameters:
throwable - to be thrown on method invocation -
Returns:
iOngoingStubbing object that allows stubbing consecutive calls
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/ConsecutiveStubbing.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/ConsecutiveStubbing.html deleted file mode 100644 index 93f9e09ca4a..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/ConsecutiveStubbing.html +++ /dev/null @@ -1,303 +0,0 @@ - - - - - - -ConsecutiveStubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing -
-Class ConsecutiveStubbing<T>

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.BaseStubbing<T>
-      extended by org.mockito.internal.stubbing.ConsecutiveStubbing<T>
-
-
-
All Implemented Interfaces:
IOngoingStubbing, DeprecatedOngoingStubbing<T>, OngoingStubbing<T>
-
-
-
-
public class ConsecutiveStubbing<T>
extends BaseStubbing<T>
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ConsecutiveStubbing(InvocationContainerImpl invocationContainerImpl) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- OngoingStubbing<T>thenAnswer(Answer<?> answer) - -
-          Sets a generic Answer for the method.
- DeprecatedOngoingStubbing<T>toAnswer(Answer<?> answer) - -
-          Set a generic Answer for the stubbed method.
- - - - - - - -
Methods inherited from class org.mockito.internal.stubbing.BaseStubbing
thenCallRealMethod, thenReturn, thenReturn, thenThrow, toReturn, toThrow
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ConsecutiveStubbing

-
-public ConsecutiveStubbing(InvocationContainerImpl invocationContainerImpl)
-
-
- - - - - - - - -
-Method Detail
- -

-thenAnswer

-
-public OngoingStubbing<T> thenAnswer(Answer<?> answer)
-
-
Description copied from interface: OngoingStubbing
-
Sets a generic Answer for the method. E.g: -
- when(mock.someMethod(10)).thenAnswer(new Answer<Integer>() {
-     public Integer answer(InvocationOnMock invocation) throws Throwable {
-         return (Integer) invocation.getArguments()[0];
-     }
- }
- 
-

-

-
Parameters:
answer - the custom answer to execute. -
Returns:
iOngoingStubbing object that allows stubbing consecutive calls
-
-
-
- -

-toAnswer

-
-public DeprecatedOngoingStubbing<T> toAnswer(Answer<?> answer)
-
-
Description copied from interface: DeprecatedOngoingStubbing
-
Set a generic Answer for the stubbed method. E.g: -
- stub(mock.someMethod(10)).toAnswer(new Answer<Integer>() {
-     public Integer answer(InvocationOnMock invocation) throws Throwable {
-         return (Integer) invocation.getArguments()[0];
-     }
- }
- 
-

-

-
Parameters:
answer - the custom answer to execute. -
Returns:
iOngoingStubbing object that allows stubbing consecutive calls
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/InvocationContainer.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/InvocationContainer.html deleted file mode 100644 index d17744ee1a6..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/InvocationContainer.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -InvocationContainer (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing -
-Interface InvocationContainer

-
-
All Known Implementing Classes:
InvocationContainerImpl
-
-
-
-
public interface InvocationContainer
- - -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- java.util.List<Invocation>getInvocations() - -
-           
- java.util.List<StubbedInvocationMatcher>getStubbedInvocations() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-getInvocations

-
-java.util.List<Invocation> getInvocations()
-
-
-
-
-
-
- -

-getStubbedInvocations

-
-java.util.List<StubbedInvocationMatcher> getStubbedInvocations()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/InvocationContainerImpl.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/InvocationContainerImpl.html deleted file mode 100644 index b4a6b8c7b6b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/InvocationContainerImpl.html +++ /dev/null @@ -1,523 +0,0 @@ - - - - - - -InvocationContainerImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing -
-Class InvocationContainerImpl

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.InvocationContainerImpl
-
-
-
All Implemented Interfaces:
java.io.Serializable, InvocationContainer
-
-
-
-
public class InvocationContainerImpl
extends java.lang.Object
implements InvocationContainer, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvocationContainerImpl(MockingProgress mockingProgress) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddAnswer(Answer answer) - -
-           
- voidaddAnswer(Answer answer, - boolean isConsecutive) - -
-           
- voidaddAnswerForVoidMethod(Answer answer) - -
-           
- voidaddConsecutiveAnswer(Answer answer) - -
-           
- StubbedInvocationMatcherfindAnswerFor(Invocation invocation) - -
-           
- java.util.List<Invocation>getInvocations() - -
-           
- java.util.List<StubbedInvocationMatcher>getStubbedInvocations() - -
-           
- booleanhasAnswersForStubbing() - -
-           
- voidresetInvocationForPotentialStubbing(InvocationMatcher invocationMatcher) - -
-           
- voidsetAnswersForStubbing(java.util.List<Answer> answers) - -
-           
- voidsetInvocationForPotentialStubbing(InvocationMatcher invocation) - -
-           
- voidsetMethodForStubbing(InvocationMatcher invocation) - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvocationContainerImpl

-
-public InvocationContainerImpl(MockingProgress mockingProgress)
-
-
- - - - - - - - -
-Method Detail
- -

-setInvocationForPotentialStubbing

-
-public void setInvocationForPotentialStubbing(InvocationMatcher invocation)
-
-
-
-
-
-
-
-
-
- -

-resetInvocationForPotentialStubbing

-
-public void resetInvocationForPotentialStubbing(InvocationMatcher invocationMatcher)
-
-
-
-
-
-
-
-
-
- -

-addAnswer

-
-public void addAnswer(Answer answer)
-
-
-
-
-
-
-
-
-
- -

-addConsecutiveAnswer

-
-public void addConsecutiveAnswer(Answer answer)
-
-
-
-
-
-
-
-
-
- -

-addAnswer

-
-public void addAnswer(Answer answer,
-                      boolean isConsecutive)
-
-
-
-
-
-
-
-
-
- -

-findAnswerFor

-
-public StubbedInvocationMatcher findAnswerFor(Invocation invocation)
-
-
-
-
-
-
-
-
-
- -

-addAnswerForVoidMethod

-
-public void addAnswerForVoidMethod(Answer answer)
-
-
-
-
-
-
-
-
-
- -

-setAnswersForStubbing

-
-public void setAnswersForStubbing(java.util.List<Answer> answers)
-
-
-
-
-
-
-
-
-
- -

-hasAnswersForStubbing

-
-public boolean hasAnswersForStubbing()
-
-
-
-
-
-
-
-
-
- -

-setMethodForStubbing

-
-public void setMethodForStubbing(InvocationMatcher invocation)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
-
- -

-getInvocations

-
-public java.util.List<Invocation> getInvocations()
-
-
-
Specified by:
getInvocations in interface InvocationContainer
-
-
-
-
-
-
- -

-getStubbedInvocations

-
-public java.util.List<StubbedInvocationMatcher> getStubbedInvocations()
-
-
-
Specified by:
getStubbedInvocations in interface InvocationContainer
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/OngoingStubbingImpl.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/OngoingStubbingImpl.html deleted file mode 100644 index ababc704c36..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/OngoingStubbingImpl.html +++ /dev/null @@ -1,322 +0,0 @@ - - - - - - -OngoingStubbingImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing -
-Class OngoingStubbingImpl<T>

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.BaseStubbing<T>
-      extended by org.mockito.internal.stubbing.OngoingStubbingImpl<T>
-
-
-
All Implemented Interfaces:
IOngoingStubbing, DeprecatedOngoingStubbing<T>, OngoingStubbing<T>
-
-
-
-
public class OngoingStubbingImpl<T>
extends BaseStubbing<T>
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
OngoingStubbingImpl(InvocationContainerImpl invocationContainerImpl) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.util.List<Invocation>getRegisteredInvocations() - -
-           
- OngoingStubbing<T>thenAnswer(Answer<?> answer) - -
-          Sets a generic Answer for the method.
- DeprecatedOngoingStubbing<T>toAnswer(Answer<?> answer) - -
-          Set a generic Answer for the stubbed method.
- - - - - - - -
Methods inherited from class org.mockito.internal.stubbing.BaseStubbing
thenCallRealMethod, thenReturn, thenReturn, thenThrow, toReturn, toThrow
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-OngoingStubbingImpl

-
-public OngoingStubbingImpl(InvocationContainerImpl invocationContainerImpl)
-
-
- - - - - - - - -
-Method Detail
- -

-thenAnswer

-
-public OngoingStubbing<T> thenAnswer(Answer<?> answer)
-
-
Description copied from interface: OngoingStubbing
-
Sets a generic Answer for the method. E.g: -
- when(mock.someMethod(10)).thenAnswer(new Answer<Integer>() {
-     public Integer answer(InvocationOnMock invocation) throws Throwable {
-         return (Integer) invocation.getArguments()[0];
-     }
- }
- 
-

-

-
Parameters:
answer - the custom answer to execute. -
Returns:
iOngoingStubbing object that allows stubbing consecutive calls
-
-
-
- -

-toAnswer

-
-public DeprecatedOngoingStubbing<T> toAnswer(Answer<?> answer)
-
-
Description copied from interface: DeprecatedOngoingStubbing
-
Set a generic Answer for the stubbed method. E.g: -
- stub(mock.someMethod(10)).toAnswer(new Answer<Integer>() {
-     public Integer answer(InvocationOnMock invocation) throws Throwable {
-         return (Integer) invocation.getArguments()[0];
-     }
- }
- 
-

-

-
Parameters:
answer - the custom answer to execute. -
Returns:
iOngoingStubbing object that allows stubbing consecutive calls
-
-
-
- -

-getRegisteredInvocations

-
-public java.util.List<Invocation> getRegisteredInvocations()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/StubbedInvocationMatcher.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/StubbedInvocationMatcher.html deleted file mode 100644 index 7943d4a5bde..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/StubbedInvocationMatcher.html +++ /dev/null @@ -1,361 +0,0 @@ - - - - - - -StubbedInvocationMatcher (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing -
-Class StubbedInvocationMatcher

-
-java.lang.Object
-  extended by org.mockito.internal.invocation.InvocationMatcher
-      extended by org.mockito.internal.stubbing.StubbedInvocationMatcher
-
-
-
All Implemented Interfaces:
java.io.Serializable, PrintableInvocation, CapturesArgumensFromInvocation, PrintingFriendlyInvocation, Answer
-
-
-
-
public class StubbedInvocationMatcher
extends InvocationMatcher
implements Answer, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
StubbedInvocationMatcher(InvocationMatcher invocation, - Answer answer) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddAnswer(Answer answer) - -
-           
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- voidmarkStubUsed(PrintableInvocation usedAt) - -
-           
- java.lang.StringtoString() - -
-           
- booleanwasUsed() - -
-           
- - - - - - - -
Methods inherited from class org.mockito.internal.invocation.InvocationMatcher
captureArgumentsFrom, createFrom, getInvocation, getLocation, getMatchers, getMethod, hasSameMethod, hasSimilarMethod, matches, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-StubbedInvocationMatcher

-
-public StubbedInvocationMatcher(InvocationMatcher invocation,
-                                Answer answer)
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
answer in interface Answer
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned -
Throws: -
java.lang.Throwable - the throwable to be thrown
-
-
-
- -

-addAnswer

-
-public void addAnswer(Answer answer)
-
-
-
-
-
-
-
-
-
- -

-markStubUsed

-
-public void markStubUsed(PrintableInvocation usedAt)
-
-
-
-
-
-
-
-
-
- -

-wasUsed

-
-public boolean wasUsed()
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Specified by:
toString in interface PrintableInvocation
Overrides:
toString in class InvocationMatcher
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/StubberImpl.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/StubberImpl.html deleted file mode 100644 index 21ffff0c320..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/StubberImpl.html +++ /dev/null @@ -1,412 +0,0 @@ - - - - - - -StubberImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing -
-Class StubberImpl

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.StubberImpl
-
-
-
All Implemented Interfaces:
Stubber
-
-
-
-
public class StubberImpl
extends java.lang.Object
implements Stubber
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
StubberImpl() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StubberdoAnswer(Answer answer) - -
-          Use it for stubbing consecutive calls in Mockito.doAnswer(Answer) style:
- StubberdoNothing() - -
-          Use it for stubbing consecutive calls in Mockito.doNothing() style:
- StubberdoReturn(java.lang.Object toBeReturned) - -
-          Use it for stubbing consecutive calls in Mockito.doReturn(Object) style.
- StubberdoThrow(java.lang.Throwable toBeThrown) - -
-          Use it for stubbing consecutive calls in Mockito.doThrow(Throwable) style:
- - - - - -
-<T> T
-
when(T mock) - -
-          Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-StubberImpl

-
-public StubberImpl()
-
-
- - - - - - - - -
-Method Detail
- -

-when

-
-public <T> T when(T mock)
-
-
Description copied from interface: Stubber
-
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style -

- Example: -

-   doThrow(new RuntimeException())
-   .when(mockedList).clear();
-   
-   //following throws RuntimeException:
-   mockedList.clear();
- 
- - Read more about those methods: -

- Mockito.doThrow(Throwable) -

- Mockito.doAnswer(Answer) -

- Mockito.doNothing() -

- Mockito.doReturn(Object) -

- - See examples in javadoc for Mockito -

-

-
Specified by:
when in interface Stubber
-
-
- -
Returns:
select method for stubbing
-
-
-
- -

-doReturn

-
-public Stubber doReturn(java.lang.Object toBeReturned)
-
-
Description copied from interface: Stubber
-
Use it for stubbing consecutive calls in Mockito.doReturn(Object) style. -

- See javadoc for Mockito.doReturn(Object) -

-

-
Specified by:
doReturn in interface Stubber
-
-
-
Parameters:
toBeReturned - to be returned when the stubbed method is called -
Returns:
stubber - to select a method for stubbing
-
-
-
- -

-doThrow

-
-public Stubber doThrow(java.lang.Throwable toBeThrown)
-
-
Description copied from interface: Stubber
-
Use it for stubbing consecutive calls in Mockito.doThrow(Throwable) style: -
-   doThrow(new RuntimeException("one")).
-   doThrow(new RuntimeException("two"))
-   .when(mock).someVoidMethod();
- 
- See javadoc for Mockito.doThrow(Throwable) -

-

-
Specified by:
doThrow in interface Stubber
-
-
-
Parameters:
toBeThrown - to be thrown when the stubbed method is called -
Returns:
stubber - to select a method for stubbing
-
-
-
- -

-doNothing

-
-public Stubber doNothing()
-
-
Description copied from interface: Stubber
-
Use it for stubbing consecutive calls in Mockito.doNothing() style: -
-   doNothing().
-   doThrow(new RuntimeException("two"))
-   .when(mock).someVoidMethod();
- 
- See javadoc for Mockito.doNothing() -

-

-
Specified by:
doNothing in interface Stubber
-
-
- -
Returns:
stubber - to select a method for stubbing
-
-
-
- -

-doAnswer

-
-public Stubber doAnswer(Answer answer)
-
-
Description copied from interface: Stubber
-
Use it for stubbing consecutive calls in Mockito.doAnswer(Answer) style: -
-   doAnswer(answerOne).
-   doAnswer(answerTwo)
-   .when(mock).someVoidMethod();
- 
- See javadoc for Mockito.doAnswer(Answer) -

-

-
Specified by:
doAnswer in interface Stubber
-
-
-
Parameters:
answer - to answer when the stubbed method is called -
Returns:
stubber - to select a method for stubbing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/VoidMethodStubbableImpl.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/VoidMethodStubbableImpl.html deleted file mode 100644 index 5617a8bc364..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/VoidMethodStubbableImpl.html +++ /dev/null @@ -1,385 +0,0 @@ - - - - - - -VoidMethodStubbableImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing -
-Class VoidMethodStubbableImpl<T>

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.VoidMethodStubbableImpl<T>
-
-
-
All Implemented Interfaces:
VoidMethodStubbable<T>
-
-
-
-
public class VoidMethodStubbableImpl<T>
extends java.lang.Object
implements VoidMethodStubbable<T>
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
VoidMethodStubbableImpl(T mock, - InvocationContainerImpl invocationContainerImpl) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Ton() - -
-          Choose void method for stubbing.
- VoidMethodStubbable<T>toAnswer(Answer<?> answer) - -
-          Stubs a void method with generic Answer
- VoidMethodStubbable<T>toReturn() - -
-          Stubs void method to 'just return' (e.g.
- VoidMethodStubbable<T>toThrow(java.lang.Throwable throwable) - -
-          Stubs void method with an exception.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-VoidMethodStubbableImpl

-
-public VoidMethodStubbableImpl(T mock,
-                               InvocationContainerImpl invocationContainerImpl)
-
-
- - - - - - - - -
-Method Detail
- -

-toThrow

-
-public VoidMethodStubbable<T> toThrow(java.lang.Throwable throwable)
-
-
Description copied from interface: VoidMethodStubbable
-
Stubs void method with an exception. E.g: - -
- stubVoid(mock).toThrow(new RuntimeException()).on().someMethod();
- 
- - If throwable is a checked exception then it has to - match one of the checked exceptions of method signature. - - See examples in javadoc for Mockito.stubVoid(T) -

-

-
Specified by:
toThrow in interface VoidMethodStubbable<T>
-
-
-
Parameters:
throwable - to be thrown on method invocation -
Returns:
VoidMethodStubbable - typically to choose void method and finish stubbing
-
-
-
- -

-toReturn

-
-public VoidMethodStubbable<T> toReturn()
-
-
Description copied from interface: VoidMethodStubbable
-
Stubs void method to 'just return' (e.g. to not to throw any exception) -

- Only use this method if you're stubbing consecutive calls. -

- For example: -

- stubVoid(mock)
-   .toReturn()
-   .toThrow(new RuntimeException())
-   .on().foo(10);
- 
-
    -
  • first time foo(10) is called the mock will 'just return' (e.g. don't throw any exception)
  • -
  • second time foo(10) is called the mock will throw RuntimeException
  • -
  • every consecutive time foo(10) is called the mock will throw RuntimeException
  • -
-

- See examples in javadoc for Mockito.stubVoid(T) -

-

-
Specified by:
toReturn in interface VoidMethodStubbable<T>
-
-
- -
Returns:
VoidMethodStubbable - typically to choose void method and finish stubbing
-
-
-
- -

-toAnswer

-
-public VoidMethodStubbable<T> toAnswer(Answer<?> answer)
-
-
Description copied from interface: VoidMethodStubbable
-
Stubs a void method with generic Answer -

- For Example: -

- stubVoid(mock)
-   .toAnswer(new Answer() {
-                 public Object answer(InvocationOnMOck invocation) {
-                     Visitor v = (Visitor) invocation.getArguments()[0];
-                     v.visitMock(invocation.getMock());
-
-                     return null;
-                 }
-             })
-    .on().accept(any());
- 
-

-

-
Specified by:
toAnswer in interface VoidMethodStubbable<T>
-
-
-
Parameters:
answer - the custom answer to execute. -
Returns:
VoidMethodStubbable - typically to choose void method and finish stubbing
-
-
-
- -

-on

-
-public T on()
-
-
Description copied from interface: VoidMethodStubbable
-
Choose void method for stubbing. E.g: - -
- stubVoid(mock).toThrow(new RuntimeException()).on().someMethod("some arg");
- 
- - See examples in javadoc for Mockito.stubVoid(T) -

-

-
Specified by:
on in interface VoidMethodStubbable<T>
-
-
- -
Returns:
mock object itself
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/AnswerReturnValuesAdapter.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/AnswerReturnValuesAdapter.html deleted file mode 100644 index 6dd6783f07d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/AnswerReturnValuesAdapter.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - -AnswerReturnValuesAdapter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.answers -
-Class AnswerReturnValuesAdapter

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.answers.AnswerReturnValuesAdapter
-
-
-
All Implemented Interfaces:
java.io.Serializable, Answer<java.lang.Object>
-
-
-
-
public class AnswerReturnValuesAdapter
extends java.lang.Object
implements Answer<java.lang.Object>, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
AnswerReturnValuesAdapter(ReturnValues returnValues) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-AnswerReturnValuesAdapter

-
-public AnswerReturnValuesAdapter(ReturnValues returnValues)
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
answer in interface Answer<java.lang.Object>
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned -
Throws: -
java.lang.Throwable - the throwable to be thrown
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/AnswersValidator.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/AnswersValidator.html deleted file mode 100644 index cb1a81833fe..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/AnswersValidator.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -AnswersValidator (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.answers -
-Class AnswersValidator

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.answers.AnswersValidator
-
-
-
-
public class AnswersValidator
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
AnswersValidator() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidvalidate(Answer<?> answer, - Invocation invocation) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-AnswersValidator

-
-public AnswersValidator()
-
-
- - - - - - - - -
-Method Detail
- -

-validate

-
-public void validate(Answer<?> answer,
-                     Invocation invocation)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/CallsRealMethods.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/CallsRealMethods.html deleted file mode 100644 index 3e6213a025c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/CallsRealMethods.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - -CallsRealMethods (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.answers -
-Class CallsRealMethods

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.answers.CallsRealMethods
-
-
-
All Implemented Interfaces:
java.io.Serializable, Answer<java.lang.Object>
-
-
-
-
public class CallsRealMethods
extends java.lang.Object
implements Answer<java.lang.Object>, java.io.Serializable
- - -

-Optional Answer that adds partial mocking support -

- Answer can be used to define the return values of unstubbed invocations. -

- This implementation can be helpful when working with legacy code. - When this implementation is used, unstubbed methods will delegate to the real implementation. - This is a way to create a partial mock object that calls real methods by default. -

- As usual you are going to read the partial mock warning: - Object oriented programming is more less tackling complexity by dividing the complexity into separate, specific, SRPy objects. - How does partial mock fit into this paradigm? Well, it just doesn't... - Partial mock usually means that the complexity has been moved to a different method on the same object. - In most cases, this is not the way you want to design your application. -

- However, there are rare cases when partial mocks come handy: - dealing with code you cannot change easily (3rd party interfaces, interim refactoring of legacy code etc.) - However, I wouldn't use partial mocks for new, test-driven & well-designed code. -

-

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
CallsRealMethods() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-CallsRealMethods

-
-public CallsRealMethods()
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
answer in interface Answer<java.lang.Object>
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned -
Throws: -
java.lang.Throwable - the throwable to be thrown
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/ClonesArguments.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/ClonesArguments.html deleted file mode 100644 index 800d096b349..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/ClonesArguments.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -ClonesArguments (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.answers -
-Class ClonesArguments

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.answers.ClonesArguments
-
-
-
All Implemented Interfaces:
Answer<java.lang.Object>
-
-
-
-
public class ClonesArguments
extends java.lang.Object
implements Answer<java.lang.Object>
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ClonesArguments() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ClonesArguments

-
-public ClonesArguments()
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
answer in interface Answer<java.lang.Object>
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned -
Throws: -
java.lang.Throwable - the throwable to be thrown
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/DoesNothing.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/DoesNothing.html deleted file mode 100644 index 434150469a4..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/DoesNothing.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - -DoesNothing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.answers -
-Class DoesNothing

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.answers.DoesNothing
-
-
-
All Implemented Interfaces:
java.io.Serializable, Answer<java.lang.Object>
-
-
-
-
public class DoesNothing
extends java.lang.Object
implements Answer<java.lang.Object>, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
DoesNothing() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-DoesNothing

-
-public DoesNothing()
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
answer in interface Answer<java.lang.Object>
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned -
Throws: -
java.lang.Throwable - the throwable to be thrown
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/Returns.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/Returns.html deleted file mode 100644 index 7797908ae53..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/Returns.html +++ /dev/null @@ -1,349 +0,0 @@ - - - - - - -Returns (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.answers -
-Class Returns

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.answers.Returns
-
-
-
All Implemented Interfaces:
java.io.Serializable, Answer<java.lang.Object>
-
-
-
-
public class Returns
extends java.lang.Object
implements Answer<java.lang.Object>, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
Returns(java.lang.Object value) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- java.lang.Class<?>getReturnType() - -
-           
- java.lang.StringprintReturnType() - -
-           
- booleanreturnsNull() - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Returns

-
-public Returns(java.lang.Object value)
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
answer in interface Answer<java.lang.Object>
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned -
Throws: -
java.lang.Throwable - the throwable to be thrown
-
-
-
- -

-printReturnType

-
-public java.lang.String printReturnType()
-
-
-
-
-
-
-
-
-
- -

-getReturnType

-
-public java.lang.Class<?> getReturnType()
-
-
-
-
-
-
-
-
-
- -

-returnsNull

-
-public boolean returnsNull()
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/ThrowsException.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/ThrowsException.html deleted file mode 100644 index 63ffb5f223e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/ThrowsException.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - -ThrowsException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.answers -
-Class ThrowsException

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.answers.ThrowsException
-
-
-
All Implemented Interfaces:
java.io.Serializable, Answer<java.lang.Object>
-
-
-
-
public class ThrowsException
extends java.lang.Object
implements Answer<java.lang.Object>, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ThrowsException(java.lang.Throwable throwable) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- java.lang.ThrowablegetThrowable() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ThrowsException

-
-public ThrowsException(java.lang.Throwable throwable)
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
answer in interface Answer<java.lang.Object>
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned -
Throws: -
java.lang.Throwable - the throwable to be thrown
-
-
-
- -

-getThrowable

-
-public java.lang.Throwable getThrowable()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/AnswerReturnValuesAdapter.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/AnswerReturnValuesAdapter.html deleted file mode 100644 index 2ad1a62cd47..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/AnswerReturnValuesAdapter.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.answers.AnswerReturnValuesAdapter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.answers.AnswerReturnValuesAdapter

-
-No usage of org.mockito.internal.stubbing.answers.AnswerReturnValuesAdapter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/AnswersValidator.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/AnswersValidator.html deleted file mode 100644 index 153629d5f55..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/AnswersValidator.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.answers.AnswersValidator (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.answers.AnswersValidator

-
-No usage of org.mockito.internal.stubbing.answers.AnswersValidator -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/CallsRealMethods.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/CallsRealMethods.html deleted file mode 100644 index 89239b8afe2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/CallsRealMethods.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.answers.CallsRealMethods (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.answers.CallsRealMethods

-
-No usage of org.mockito.internal.stubbing.answers.CallsRealMethods -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/ClonesArguments.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/ClonesArguments.html deleted file mode 100644 index 318a0ac8b65..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/ClonesArguments.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.answers.ClonesArguments (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.answers.ClonesArguments

-
-No usage of org.mockito.internal.stubbing.answers.ClonesArguments -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/DoesNothing.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/DoesNothing.html deleted file mode 100644 index f944c8d7acd..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/DoesNothing.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.answers.DoesNothing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.answers.DoesNothing

-
-No usage of org.mockito.internal.stubbing.answers.DoesNothing -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/Returns.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/Returns.html deleted file mode 100644 index 16b7d3016d0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/Returns.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.answers.Returns (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.answers.Returns

-
-No usage of org.mockito.internal.stubbing.answers.Returns -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/ThrowsException.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/ThrowsException.html deleted file mode 100644 index 8cd14e37eba..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/class-use/ThrowsException.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.answers.ThrowsException (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.answers.ThrowsException

-
-No usage of org.mockito.internal.stubbing.answers.ThrowsException -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/package-frame.html deleted file mode 100644 index 4550751cdbc..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/package-frame.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - -org.mockito.internal.stubbing.answers (Mockito API) - - - - - - - - - - - -org.mockito.internal.stubbing.answers - - - - -
-Classes  - -
-AnswerReturnValuesAdapter -
-AnswersValidator -
-CallsRealMethods -
-ClonesArguments -
-DoesNothing -
-Returns -
-ThrowsException
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/package-summary.html deleted file mode 100644 index 25374e5cec4..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/package-summary.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - -org.mockito.internal.stubbing.answers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.stubbing.answers -

-Answers for stubbed calls -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AnswerReturnValuesAdapter 
AnswersValidator 
CallsRealMethodsOptional Answer that adds partial mocking support
ClonesArguments 
DoesNothing 
Returns 
ThrowsException 
-  - -

-

-Package org.mockito.internal.stubbing.answers Description -

- -

-Answers for stubbed calls -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/package-tree.html deleted file mode 100644 index 0f0762ca0a2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/package-tree.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - -org.mockito.internal.stubbing.answers Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.stubbing.answers -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

-
    -
  • java.lang.Object
      -
    • org.mockito.internal.stubbing.answers.AnswerReturnValuesAdapter (implements org.mockito.stubbing.Answer<T>, java.io.Serializable) -
    • org.mockito.internal.stubbing.answers.AnswersValidator
    • org.mockito.internal.stubbing.answers.CallsRealMethods (implements org.mockito.stubbing.Answer<T>, java.io.Serializable) -
    • org.mockito.internal.stubbing.answers.ClonesArguments (implements org.mockito.stubbing.Answer<T>) -
    • org.mockito.internal.stubbing.answers.DoesNothing (implements org.mockito.stubbing.Answer<T>, java.io.Serializable) -
    • org.mockito.internal.stubbing.answers.Returns (implements org.mockito.stubbing.Answer<T>, java.io.Serializable) -
    • org.mockito.internal.stubbing.answers.ThrowsException (implements org.mockito.stubbing.Answer<T>, java.io.Serializable) -
    -
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/package-use.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/package-use.html deleted file mode 100644 index f69e991fe0b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/answers/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.stubbing.answers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.stubbing.answers

-
-No usage of org.mockito.internal.stubbing.answers -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/BaseStubbing.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/BaseStubbing.html deleted file mode 100644 index 2fe018331a6..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/BaseStubbing.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.BaseStubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.BaseStubbing

-
- - - - - - - - - -
-Packages that use BaseStubbing
org.mockito.internal.stubbingStubbing logic. 
-  -

- - - - - -
-Uses of BaseStubbing in org.mockito.internal.stubbing
-  -

- - - - - - - - - - - - - -
Subclasses of BaseStubbing in org.mockito.internal.stubbing
- classConsecutiveStubbing<T> - -
-           
- classOngoingStubbingImpl<T> - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/ConsecutiveStubbing.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/ConsecutiveStubbing.html deleted file mode 100644 index 086e67e12ff..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/ConsecutiveStubbing.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.ConsecutiveStubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.ConsecutiveStubbing

-
-No usage of org.mockito.internal.stubbing.ConsecutiveStubbing -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/InvocationContainer.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/InvocationContainer.html deleted file mode 100644 index af13447fab0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/InvocationContainer.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.stubbing.InvocationContainer (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.stubbing.InvocationContainer

-
- - - - - - - - - - - - - - - - - -
-Packages that use InvocationContainer
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.stubbingStubbing logic. 
org.mockito.internal.verificationVerification logic. 
-  -

- - - - - -
-Uses of InvocationContainer in org.mockito.internal
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.internal that return InvocationContainer
- InvocationContainerMockHandlerInterface.getInvocationContainer() - -
-           
- InvocationContainerMockHandler.getInvocationContainer() - -
-           
-  -

- - - - - -
-Uses of InvocationContainer in org.mockito.internal.stubbing
-  -

- - - - - - - - - -
Classes in org.mockito.internal.stubbing that implement InvocationContainer
- classInvocationContainerImpl - -
-           
-  -

- - - - - -
-Uses of InvocationContainer in org.mockito.internal.verification
-  -

- - - - - - - - -
Constructors in org.mockito.internal.verification with parameters of type InvocationContainer
VerificationDataImpl(InvocationContainer invocations, - InvocationMatcher wanted) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/InvocationContainerImpl.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/InvocationContainerImpl.html deleted file mode 100644 index 83d39425680..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/InvocationContainerImpl.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.InvocationContainerImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.InvocationContainerImpl

-
- - - - - - - - - -
-Packages that use InvocationContainerImpl
org.mockito.internal.stubbingStubbing logic. 
-  -

- - - - - -
-Uses of InvocationContainerImpl in org.mockito.internal.stubbing
-  -

- - - - - - - - - - - - - - -
Constructors in org.mockito.internal.stubbing with parameters of type InvocationContainerImpl
ConsecutiveStubbing(InvocationContainerImpl invocationContainerImpl) - -
-           
OngoingStubbingImpl(InvocationContainerImpl invocationContainerImpl) - -
-           
VoidMethodStubbableImpl(T mock, - InvocationContainerImpl invocationContainerImpl) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/OngoingStubbingImpl.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/OngoingStubbingImpl.html deleted file mode 100644 index 1e014a864a2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/OngoingStubbingImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.OngoingStubbingImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.OngoingStubbingImpl

-
-No usage of org.mockito.internal.stubbing.OngoingStubbingImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/StubbedInvocationMatcher.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/StubbedInvocationMatcher.html deleted file mode 100644 index c50d62c98d2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/StubbedInvocationMatcher.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.StubbedInvocationMatcher (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.StubbedInvocationMatcher

-
- - - - - - - - - -
-Packages that use StubbedInvocationMatcher
org.mockito.internal.stubbingStubbing logic. 
-  -

- - - - - -
-Uses of StubbedInvocationMatcher in org.mockito.internal.stubbing
-  -

- - - - - - - - - -
Methods in org.mockito.internal.stubbing that return StubbedInvocationMatcher
- StubbedInvocationMatcherInvocationContainerImpl.findAnswerFor(Invocation invocation) - -
-           
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.internal.stubbing that return types with arguments of type StubbedInvocationMatcher
- java.util.List<StubbedInvocationMatcher>InvocationContainerImpl.getStubbedInvocations() - -
-           
- java.util.List<StubbedInvocationMatcher>InvocationContainer.getStubbedInvocations() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/StubberImpl.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/StubberImpl.html deleted file mode 100644 index 962ca6cad8b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/StubberImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.StubberImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.StubberImpl

-
-No usage of org.mockito.internal.stubbing.StubberImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/VoidMethodStubbableImpl.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/VoidMethodStubbableImpl.html deleted file mode 100644 index fc158815ec2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/class-use/VoidMethodStubbableImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.VoidMethodStubbableImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.VoidMethodStubbableImpl

-
-No usage of org.mockito.internal.stubbing.VoidMethodStubbableImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/Answers.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/Answers.html deleted file mode 100644 index 76645694dd1..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/Answers.html +++ /dev/null @@ -1,397 +0,0 @@ - - - - - - -Answers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.defaultanswers -
-Enum Answers

-
-java.lang.Object
-  extended by java.lang.Enum<Answers>
-      extended by org.mockito.internal.stubbing.defaultanswers.Answers
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Answers>
-
-
-Deprecated. - please use Answers from top Mockito package: Answers -

- WARNING Those answers no longer are used by the framework!!! Please use Answers -

- See Mockito for more information. -

-

-
@Deprecated
-public enum Answers
extends java.lang.Enum<Answers>
- - -

-Enumeration of pre-configured mock answers -

-

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - -
-Enum Constant Summary
CALLS_REAL_METHODS - -
-          Deprecated.  
RETURNS_DEEP_STUBS - -
-          Deprecated.  
RETURNS_DEFAULTS - -
-          Deprecated.  
RETURNS_MOCKS - -
-          Deprecated.  
RETURNS_SMART_NULLS - -
-          Deprecated.  
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Answer<java.lang.Object>get() - -
-          Deprecated.  
-static AnswersvalueOf(java.lang.String name) - -
-          Deprecated. Returns the enum constant of this type with the specified name.
-static Answers[]values() - -
-          Deprecated. Returns an array containing the constants of this enum type, in -the order they're declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-RETURNS_DEFAULTS

-
-public static final Answers RETURNS_DEFAULTS
-
-
Deprecated. 
-
-
-
- -

-RETURNS_SMART_NULLS

-
-public static final Answers RETURNS_SMART_NULLS
-
-
Deprecated. 
-
-
-
- -

-RETURNS_MOCKS

-
-public static final Answers RETURNS_MOCKS
-
-
Deprecated. 
-
-
-
- -

-RETURNS_DEEP_STUBS

-
-public static final Answers RETURNS_DEEP_STUBS
-
-
Deprecated. 
-
-
-
- -

-CALLS_REAL_METHODS

-
-public static final Answers CALLS_REAL_METHODS
-
-
Deprecated. 
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static final Answers[] values()
-
-
Deprecated. 
Returns an array containing the constants of this enum type, in -the order they're declared. This method may be used to iterate -over the constants as follows: -
-for(Answers c : Answers.values())
-        System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they're declared
-
-
-
- -

-valueOf

-
-public static Answers valueOf(java.lang.String name)
-
-
Deprecated. 
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
-
-
-
- -

-get

-
-public Answer<java.lang.Object> get()
-
-
Deprecated. 
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/GloballyConfiguredAnswer.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/GloballyConfiguredAnswer.html deleted file mode 100644 index 24c68f1313e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/GloballyConfiguredAnswer.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - - - -GloballyConfiguredAnswer (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.defaultanswers -
-Class GloballyConfiguredAnswer

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.defaultanswers.GloballyConfiguredAnswer
-
-
-
All Implemented Interfaces:
java.io.Serializable, Answer<java.lang.Object>
-
-
-
-
public class GloballyConfiguredAnswer
extends java.lang.Object
implements Answer<java.lang.Object>, java.io.Serializable
- - -

-Globally configured Answer. -

- See javadoc for IMockitoConfiguration -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
GloballyConfiguredAnswer() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-GloballyConfiguredAnswer

-
-public GloballyConfiguredAnswer()
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
answer in interface Answer<java.lang.Object>
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned -
Throws: -
java.lang.Throwable - the throwable to be thrown
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsDeepStubs.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsDeepStubs.html deleted file mode 100644 index 1ccc0b45e7e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsDeepStubs.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - -ReturnsDeepStubs (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.defaultanswers -
-Class ReturnsDeepStubs

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.defaultanswers.ReturnsDeepStubs
-
-
-
All Implemented Interfaces:
java.io.Serializable, Answer<java.lang.Object>
-
-
-
-
public class ReturnsDeepStubs
extends java.lang.Object
implements Answer<java.lang.Object>, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ReturnsDeepStubs() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ReturnsDeepStubs

-
-public ReturnsDeepStubs()
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
answer in interface Answer<java.lang.Object>
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned -
Throws: -
java.lang.Throwable - the throwable to be thrown
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsEmptyValues.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsEmptyValues.html deleted file mode 100644 index 5513e7f47d9..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsEmptyValues.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - -ReturnsEmptyValues (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.defaultanswers -
-Class ReturnsEmptyValues

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValues
-
-
-
All Implemented Interfaces:
java.io.Serializable, Answer<java.lang.Object>
-
-
-
-
public class ReturnsEmptyValues
extends java.lang.Object
implements Answer<java.lang.Object>, java.io.Serializable
- - -

-Default answer of every Mockito mock. -

    -
  • - Returns appropriate primitive for primitive-returning methods -
  • -
  • - Returns consistent values for primitive wrapper classes (e.g. int-returning method retuns 0 and Integer-returning method returns 0, too) -
  • -
  • - Returns empty collection for collection-returning methods (works for most commonly used collection types) -
  • -
  • - Returns description of mock for toString() method -
  • -
  • - Returns null for everything else -
  • -
-

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ReturnsEmptyValues() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ReturnsEmptyValues

-
-public ReturnsEmptyValues()
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-
-
-
Specified by:
answer in interface Answer<java.lang.Object>
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsMocks.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsMocks.html deleted file mode 100644 index 9ff2baa898f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsMocks.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - -ReturnsMocks (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.defaultanswers -
-Class ReturnsMocks

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.defaultanswers.ReturnsMocks
-
-
-
All Implemented Interfaces:
java.io.Serializable, Answer<java.lang.Object>
-
-
-
-
public class ReturnsMocks
extends java.lang.Object
implements Answer<java.lang.Object>, java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ReturnsMocks() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ReturnsMocks

-
-public ReturnsMocks()
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
answer in interface Answer<java.lang.Object>
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned -
Throws: -
java.lang.Throwable - the throwable to be thrown
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsMoreEmptyValues.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsMoreEmptyValues.html deleted file mode 100644 index 194438d9df0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsMoreEmptyValues.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - -ReturnsMoreEmptyValues (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.defaultanswers -
-Class ReturnsMoreEmptyValues

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValues
-
-
-
All Implemented Interfaces:
java.io.Serializable, Answer<java.lang.Object>
-
-
-
-
public class ReturnsMoreEmptyValues
extends java.lang.Object
implements Answer<java.lang.Object>, java.io.Serializable
- - -

-It's likely this implementation will be used by default by every Mockito 2.0 mock. -

- Currently used only by Mockito.RETURNS_SMART_NULLS -

- Current version of Mockito mocks by deafult use ReturnsEmptyValues -

    -
  • - Returns appropriate primitive for primitive-returning methods -
  • -
  • - Returns consistent values for primitive wrapper classes (e.g. int-returning method retuns 0 and Integer-returning method returns 0, too) -
  • -
  • - Returns empty collection for collection-returning methods (works for most commonly used collection types) -
  • -
  • - Returns empty array for array-returning methods -
  • -
  • - Returns "" for String-returning method -
  • -
  • - Returns description of mock for toString() method -
  • -
  • - Returns null for everything else -
  • -
-

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ReturnsMoreEmptyValues() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ReturnsMoreEmptyValues

-
-public ReturnsMoreEmptyValues()
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
answer in interface Answer<java.lang.Object>
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned -
Throws: -
java.lang.Throwable - the throwable to be thrown
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsSmartNulls.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsSmartNulls.html deleted file mode 100644 index 138d0094957..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/ReturnsSmartNulls.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - -ReturnsSmartNulls (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.stubbing.defaultanswers -
-Class ReturnsSmartNulls

-
-java.lang.Object
-  extended by org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNulls
-
-
-
All Implemented Interfaces:
java.io.Serializable, Answer<java.lang.Object>
-
-
-
-
public class ReturnsSmartNulls
extends java.lang.Object
implements Answer<java.lang.Object>, java.io.Serializable
- - -

-Optional Answer that can be used with - Mockito.mock(Class, Answer) -

- This implementation can be helpful when working with legacy code. Unstubbed - methods often return null. If your code uses the object returned by an - unstubbed call you get a NullPointerException. This implementation of - Answer returns SmartNulls instead of nulls. - SmartNull gives nicer exception message than NPE because it points out the - line where unstubbed method was called. You just click on the stack trace. -

- ReturnsSmartNulls first tries to return ordinary return values (see - ReturnsMoreEmptyValues) then it tries to return SmartNull. If the - return type is not mockable (e.g. final) then ordinary null is returned. -

- ReturnsSmartNulls will be probably the default return values strategy in - Mockito 2.0 -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ReturnsSmartNulls() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Objectanswer(InvocationOnMock invocation) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ReturnsSmartNulls

-
-public ReturnsSmartNulls()
-
-
- - - - - - - - -
-Method Detail
- -

-answer

-
-public java.lang.Object answer(InvocationOnMock invocation)
-                        throws java.lang.Throwable
-
-
-
Specified by:
answer in interface Answer<java.lang.Object>
-
-
-
Parameters:
invocation - the invocation on the mock. -
Returns:
the value to be returned -
Throws: -
java.lang.Throwable - the throwable to be thrown
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/Answers.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/Answers.html deleted file mode 100644 index 0c3a70e73e2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/Answers.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.defaultanswers.Answers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.defaultanswers.Answers

-
- - - - - - - - - -
-Packages that use Answers
org.mockito.internal.stubbing.defaultanswersImplementations of ReturnValues 
-  -

- - - - - -
-Uses of Answers in org.mockito.internal.stubbing.defaultanswers
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.internal.stubbing.defaultanswers that return Answers
-static AnswersAnswers.valueOf(java.lang.String name) - -
-          Deprecated. Returns the enum constant of this type with the specified name.
-static Answers[]Answers.values() - -
-          Deprecated. Returns an array containing the constants of this enum type, in -the order they're declared.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/GloballyConfiguredAnswer.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/GloballyConfiguredAnswer.html deleted file mode 100644 index ea877f1d94f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/GloballyConfiguredAnswer.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.defaultanswers.GloballyConfiguredAnswer (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.defaultanswers.GloballyConfiguredAnswer

-
-No usage of org.mockito.internal.stubbing.defaultanswers.GloballyConfiguredAnswer -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsDeepStubs.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsDeepStubs.html deleted file mode 100644 index 7747b98d6b9..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsDeepStubs.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.defaultanswers.ReturnsDeepStubs (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.defaultanswers.ReturnsDeepStubs

-
-No usage of org.mockito.internal.stubbing.defaultanswers.ReturnsDeepStubs -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsEmptyValues.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsEmptyValues.html deleted file mode 100644 index 2dc669c9ced..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsEmptyValues.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValues (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValues

-
-No usage of org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValues -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsMocks.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsMocks.html deleted file mode 100644 index 2f1ae66003b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsMocks.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.defaultanswers.ReturnsMocks (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.defaultanswers.ReturnsMocks

-
-No usage of org.mockito.internal.stubbing.defaultanswers.ReturnsMocks -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsMoreEmptyValues.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsMoreEmptyValues.html deleted file mode 100644 index f403d17d6d4..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsMoreEmptyValues.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValues (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValues

-
-No usage of org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValues -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsSmartNulls.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsSmartNulls.html deleted file mode 100644 index 4c0e7b02572..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/class-use/ReturnsSmartNulls.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNulls (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNulls

-
-No usage of org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNulls -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/package-frame.html deleted file mode 100644 index 9db358030b3..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/package-frame.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - -org.mockito.internal.stubbing.defaultanswers (Mockito API) - - - - - - - - - - - -org.mockito.internal.stubbing.defaultanswers - - - - -
-Classes  - -
-GloballyConfiguredAnswer -
-ReturnsDeepStubs -
-ReturnsEmptyValues -
-ReturnsMocks -
-ReturnsMoreEmptyValues -
-ReturnsSmartNulls
- - - - - - -
-Enums  - -
-Answers
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/package-summary.html deleted file mode 100644 index 359b69b3fe2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/package-summary.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - -org.mockito.internal.stubbing.defaultanswers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.stubbing.defaultanswers -

-Implementations of ReturnValues -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
GloballyConfiguredAnswerGlobally configured Answer.
ReturnsDeepStubs 
ReturnsEmptyValuesDefault answer of every Mockito mock.
ReturnsMocks 
ReturnsMoreEmptyValuesIt's likely this implementation will be used by default by every Mockito 2.0 mock.
ReturnsSmartNullsOptional Answer that can be used with - Mockito.mock(Class, Answer)
-  - -

- - - - - - - - - -
-Enum Summary
AnswersDeprecated. - please use Answers from top Mockito package: Answers
-  - -

-

-Package org.mockito.internal.stubbing.defaultanswers Description -

- -

-Implementations of ReturnValues -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/package-tree.html deleted file mode 100644 index 248c55ff0c8..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/package-tree.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -org.mockito.internal.stubbing.defaultanswers Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.stubbing.defaultanswers -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

-
    -
  • java.lang.Object
      -
    • org.mockito.internal.stubbing.defaultanswers.GloballyConfiguredAnswer (implements org.mockito.stubbing.Answer<T>, java.io.Serializable) -
    • org.mockito.internal.stubbing.defaultanswers.ReturnsDeepStubs (implements org.mockito.stubbing.Answer<T>, java.io.Serializable) -
    • org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValues (implements org.mockito.stubbing.Answer<T>, java.io.Serializable) -
    • org.mockito.internal.stubbing.defaultanswers.ReturnsMocks (implements org.mockito.stubbing.Answer<T>, java.io.Serializable) -
    • org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValues (implements org.mockito.stubbing.Answer<T>, java.io.Serializable) -
    • org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNulls (implements org.mockito.stubbing.Answer<T>, java.io.Serializable) -
    -
-

-Enum Hierarchy -

-
    -
  • java.lang.Object
      -
    • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) -
        -
      • org.mockito.internal.stubbing.defaultanswers.Answers
      -
    -
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/package-use.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/package-use.html deleted file mode 100644 index db02d071172..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/defaultanswers/package-use.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.stubbing.defaultanswers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.stubbing.defaultanswers

-
- - - - - - - - - -
-Packages that use org.mockito.internal.stubbing.defaultanswers
org.mockito.internal.stubbing.defaultanswersImplementations of ReturnValues 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.stubbing.defaultanswers used by org.mockito.internal.stubbing.defaultanswers
Answers - -
-          Deprecated. - please use Answers from top Mockito package: Answers -

- WARNING Those answers no longer are used by the framework!!! Please use Answers -

- See Mockito for more information.

-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/package-frame.html deleted file mode 100644 index 05818606ad8..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/package-frame.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - -org.mockito.internal.stubbing (Mockito API) - - - - - - - - - - - -org.mockito.internal.stubbing - - - - -
-Interfaces  - -
-InvocationContainer
- - - - - - -
-Classes  - -
-BaseStubbing -
-ConsecutiveStubbing -
-InvocationContainerImpl -
-OngoingStubbingImpl -
-StubbedInvocationMatcher -
-StubberImpl -
-VoidMethodStubbableImpl
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/package-summary.html deleted file mode 100644 index b839dcf14ea..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/package-summary.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - -org.mockito.internal.stubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.stubbing -

-Stubbing logic. -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
InvocationContainer 
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
BaseStubbing<T> 
ConsecutiveStubbing<T> 
InvocationContainerImpl 
OngoingStubbingImpl<T> 
StubbedInvocationMatcher 
StubberImpl 
VoidMethodStubbableImpl<T> 
-  - -

-

-Package org.mockito.internal.stubbing Description -

- -

-Stubbing logic. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/package-tree.html deleted file mode 100644 index 8f08e694baf..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/package-tree.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - -org.mockito.internal.stubbing Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.stubbing -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/stubbing/package-use.html b/tools/mockito/javadoc/org/mockito/internal/stubbing/package-use.html deleted file mode 100644 index 5dff00a46cd..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/stubbing/package-use.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.stubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.stubbing

-
- - - - - - - - - - - - - - - - - -
-Packages that use org.mockito.internal.stubbing
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.stubbingStubbing logic. 
org.mockito.internal.verificationVerification logic. 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.stubbing used by org.mockito.internal
InvocationContainer - -
-           
-  -

- - - - - - - - - - - - - - - - - -
-Classes in org.mockito.internal.stubbing used by org.mockito.internal.stubbing
BaseStubbing - -
-           
InvocationContainer - -
-           
InvocationContainerImpl - -
-           
StubbedInvocationMatcher - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.stubbing used by org.mockito.internal.verification
InvocationContainer - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/ArrayUtils.html b/tools/mockito/javadoc/org/mockito/internal/util/ArrayUtils.html deleted file mode 100644 index 253ca90baf4..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/ArrayUtils.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -ArrayUtils (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class ArrayUtils

-
-java.lang.Object
-  extended by org.mockito.internal.util.ArrayUtils
-
-
-
-
public class ArrayUtils
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ArrayUtils() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Class<?>[]concat(java.lang.Class<?>[] interfaces, - java.lang.Class<?> clazz) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ArrayUtils

-
-public ArrayUtils()
-
-
- - - - - - - - -
-Method Detail
- -

-concat

-
-public java.lang.Class<?>[] concat(java.lang.Class<?>[] interfaces,
-                                   java.lang.Class<?> clazz)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/ConsoleMockitoLogger.html b/tools/mockito/javadoc/org/mockito/internal/util/ConsoleMockitoLogger.html deleted file mode 100644 index 98258ec0536..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/ConsoleMockitoLogger.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - - -ConsoleMockitoLogger (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class ConsoleMockitoLogger

-
-java.lang.Object
-  extended by org.mockito.internal.util.ConsoleMockitoLogger
-
-
-
All Implemented Interfaces:
MockitoLogger
-
-
-
Direct Known Subclasses:
SimpleMockitoLogger
-
-
-
-
public class ConsoleMockitoLogger
extends java.lang.Object
implements MockitoLogger
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ConsoleMockitoLogger() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidlog(java.lang.Object what) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ConsoleMockitoLogger

-
-public ConsoleMockitoLogger()
-
-
- - - - - - - - -
-Method Detail
- -

-log

-
-public void log(java.lang.Object what)
-
-
-
Specified by:
log in interface MockitoLogger
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/Decamelizer.html b/tools/mockito/javadoc/org/mockito/internal/util/Decamelizer.html deleted file mode 100644 index 2a197773110..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/Decamelizer.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -Decamelizer (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class Decamelizer

-
-java.lang.Object
-  extended by org.mockito.internal.util.Decamelizer
-
-
-
-
public class Decamelizer
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Decamelizer() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-static java.lang.StringdecamelizeMatcher(java.lang.String className) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Decamelizer

-
-public Decamelizer()
-
-
- - - - - - - - -
-Method Detail
- -

-decamelizeMatcher

-
-public static java.lang.String decamelizeMatcher(java.lang.String className)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/IdentitySet.html b/tools/mockito/javadoc/org/mockito/internal/util/IdentitySet.html deleted file mode 100644 index 5b71c02d715..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/IdentitySet.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -IdentitySet (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class IdentitySet

-
-java.lang.Object
-  extended by org.mockito.internal.util.IdentitySet
-
-
-
-
public class IdentitySet
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
IdentitySet() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(java.lang.Object o) - -
-           
- booleancontains(java.lang.Object o) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-IdentitySet

-
-public IdentitySet()
-
-
- - - - - - - - -
-Method Detail
- -

-contains

-
-public boolean contains(java.lang.Object o)
-
-
-
-
-
-
- -

-add

-
-public void add(java.lang.Object o)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/ListUtil.Filter.html b/tools/mockito/javadoc/org/mockito/internal/util/ListUtil.Filter.html deleted file mode 100644 index 83100bf9fc9..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/ListUtil.Filter.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -ListUtil.Filter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Interface ListUtil.Filter<T>

-
-
Enclosing class:
ListUtil
-
-
-
-
public static interface ListUtil.Filter<T>
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- booleanisOut(T object) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-isOut

-
-boolean isOut(T object)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/ListUtil.html b/tools/mockito/javadoc/org/mockito/internal/util/ListUtil.html deleted file mode 100644 index 1bda1733654..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/ListUtil.html +++ /dev/null @@ -1,275 +0,0 @@ - - - - - - -ListUtil (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class ListUtil

-
-java.lang.Object
-  extended by org.mockito.internal.util.ListUtil
-
-
-
-
public class ListUtil
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-static interfaceListUtil.Filter<T> - -
-           
-  - - - - - - - - - - -
-Constructor Summary
ListUtil() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-static - - - - -
-<T> java.util.LinkedList<T>
-
filter(java.util.Collection<T> collection, - ListUtil.Filter<T> filter) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ListUtil

-
-public ListUtil()
-
-
- - - - - - - - -
-Method Detail
- -

-filter

-
-public static <T> java.util.LinkedList<T> filter(java.util.Collection<T> collection,
-                                                 ListUtil.Filter<T> filter)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/MockCreationValidator.html b/tools/mockito/javadoc/org/mockito/internal/util/MockCreationValidator.html deleted file mode 100644 index fc469d85e8f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/MockCreationValidator.html +++ /dev/null @@ -1,310 +0,0 @@ - - - - - - -MockCreationValidator (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class MockCreationValidator

-
-java.lang.Object
-  extended by org.mockito.internal.util.MockCreationValidator
-
-
-
-
public class MockCreationValidator
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
MockCreationValidator() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanisTypeMockable(java.lang.Class<?> clz) - -
-           
- voidvalidateExtraInterfaces(java.lang.Class classToMock, - java.lang.Class... extraInterfaces) - -
-           
- voidvalidateMockedType(java.lang.Class classToMock, - java.lang.Object spiedInstance) - -
-           
- voidvalidateType(java.lang.Class classToMock) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockCreationValidator

-
-public MockCreationValidator()
-
-
- - - - - - - - -
-Method Detail
- -

-isTypeMockable

-
-public boolean isTypeMockable(java.lang.Class<?> clz)
-
-
-
-
-
-
- -

-validateType

-
-public void validateType(java.lang.Class classToMock)
-
-
-
-
-
-
- -

-validateExtraInterfaces

-
-public void validateExtraInterfaces(java.lang.Class classToMock,
-                                    java.lang.Class... extraInterfaces)
-
-
-
-
-
-
- -

-validateMockedType

-
-public void validateMockedType(java.lang.Class classToMock,
-                               java.lang.Object spiedInstance)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/MockName.html b/tools/mockito/javadoc/org/mockito/internal/util/MockName.html deleted file mode 100644 index 2b8c7e599ff..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/MockName.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - -MockName (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class MockName

-
-java.lang.Object
-  extended by org.mockito.internal.util.MockName
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class MockName
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
MockName(java.lang.String mockName, - java.lang.Class classToMock) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- booleanisSurrogate() - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockName

-
-public MockName(java.lang.String mockName,
-                java.lang.Class classToMock)
-
-
- - - - - - - - -
-Method Detail
- -

-isSurrogate

-
-public boolean isSurrogate()
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/MockUtil.html b/tools/mockito/javadoc/org/mockito/internal/util/MockUtil.html deleted file mode 100644 index ef8d5419e7a..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/MockUtil.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - - - -MockUtil (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class MockUtil

-
-java.lang.Object
-  extended by org.mockito.internal.util.MockUtil
-
-
-
-
public class MockUtil
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - - - - -
-Constructor Summary
MockUtil() - -
-           
MockUtil(MockCreationValidator creationValidator) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
createMock(java.lang.Class<T> classToMock, - MockSettingsImpl settings) - -
-           
- - - - - -
-<T> MockHandlerInterface<T>
-
getMockHandler(T mock) - -
-           
- MockNamegetMockName(java.lang.Object mock) - -
-           
- booleanisMock(java.lang.Object mock) - -
-           
- - - - - -
-<T> void
-
resetMock(T mock) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockUtil

-
-public MockUtil(MockCreationValidator creationValidator)
-
-
-
- -

-MockUtil

-
-public MockUtil()
-
-
- - - - - - - - -
-Method Detail
- -

-createMock

-
-public <T> T createMock(java.lang.Class<T> classToMock,
-                        MockSettingsImpl settings)
-
-
-
-
-
-
- -

-resetMock

-
-public <T> void resetMock(T mock)
-
-
-
-
-
-
- -

-getMockHandler

-
-public <T> MockHandlerInterface<T> getMockHandler(T mock)
-
-
-
-
-
-
- -

-isMock

-
-public boolean isMock(java.lang.Object mock)
-
-
-
-
-
-
- -

-getMockName

-
-public MockName getMockName(java.lang.Object mock)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/MockitoLogger.html b/tools/mockito/javadoc/org/mockito/internal/util/MockitoLogger.html deleted file mode 100644 index 29cc9a39e9e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/MockitoLogger.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -MockitoLogger (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Interface MockitoLogger

-
-
All Known Implementing Classes:
ConsoleMockitoLogger, SimpleMockitoLogger
-
-
-
-
public interface MockitoLogger
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- voidlog(java.lang.Object what) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-log

-
-void log(java.lang.Object what)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/ObjectMethodsGuru.html b/tools/mockito/javadoc/org/mockito/internal/util/ObjectMethodsGuru.html deleted file mode 100644 index 2d0577ec2f6..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/ObjectMethodsGuru.html +++ /dev/null @@ -1,323 +0,0 @@ - - - - - - -ObjectMethodsGuru (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class ObjectMethodsGuru

-
-java.lang.Object
-  extended by org.mockito.internal.util.ObjectMethodsGuru
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class ObjectMethodsGuru
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ObjectMethodsGuru() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanisEqualsMethod(java.lang.reflect.Method method) - -
-           
- booleanisHashCodeMethod(java.lang.reflect.Method method) - -
-           
- booleanisToString(java.lang.reflect.Method method) - -
-           
- booleanisToString(MockitoMethod method) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ObjectMethodsGuru

-
-public ObjectMethodsGuru()
-
-
- - - - - - - - -
-Method Detail
- -

-isToString

-
-public boolean isToString(java.lang.reflect.Method method)
-
-
-
-
-
-
-
-
-
- -

-isToString

-
-public boolean isToString(MockitoMethod method)
-
-
-
-
-
-
-
-
-
- -

-isEqualsMethod

-
-public boolean isEqualsMethod(java.lang.reflect.Method method)
-
-
-
-
-
-
-
-
-
- -

-isHashCodeMethod

-
-public boolean isHashCodeMethod(java.lang.reflect.Method method)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/Primitives.html b/tools/mockito/javadoc/org/mockito/internal/util/Primitives.html deleted file mode 100644 index 709a9dc819a..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/Primitives.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - -Primitives (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class Primitives

-
-java.lang.Object
-  extended by org.mockito.internal.util.Primitives
-
-
-
-
public class Primitives
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Primitives() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static booleanisPrimitiveWrapper(java.lang.Class<?> type) - -
-           
-static - - - - -
-<T> java.lang.Class<T>
-
primitiveTypeOf(java.lang.Class<T> clazz) - -
-           
-static - - - - -
-<T> T
-
primitiveValueOrNullFor(java.lang.Class<T> primitiveType) - -
-           
-static - - - - -
-<T> T
-
primitiveWrapperOf(java.lang.Class<T> type) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Primitives

-
-public Primitives()
-
-
- - - - - - - - -
-Method Detail
- -

-isPrimitiveWrapper

-
-public static boolean isPrimitiveWrapper(java.lang.Class<?> type)
-
-
-
-
-
-
- -

-primitiveWrapperOf

-
-public static <T> T primitiveWrapperOf(java.lang.Class<T> type)
-
-
-
-
-
-
- -

-primitiveTypeOf

-
-public static <T> java.lang.Class<T> primitiveTypeOf(java.lang.Class<T> clazz)
-
-
-
-
-
-
- -

-primitiveValueOrNullFor

-
-public static <T> T primitiveValueOrNullFor(java.lang.Class<T> primitiveType)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/RemoveFirstLine.html b/tools/mockito/javadoc/org/mockito/internal/util/RemoveFirstLine.html deleted file mode 100644 index e1aec397019..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/RemoveFirstLine.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - -RemoveFirstLine (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class RemoveFirstLine

-
-java.lang.Object
-  extended by org.mockito.internal.util.RemoveFirstLine
-
-
-
-
public class RemoveFirstLine
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
RemoveFirstLine() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringof(java.lang.String text) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-RemoveFirstLine

-
-public RemoveFirstLine()
-
-
- - - - - - - - -
-Method Detail
- -

-of

-
-public java.lang.String of(java.lang.String text)
-
-
-
Parameters:
text - to have the first line removed -
Returns:
less first line
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/SimpleMockitoLogger.html b/tools/mockito/javadoc/org/mockito/internal/util/SimpleMockitoLogger.html deleted file mode 100644 index 198d8093868..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/SimpleMockitoLogger.html +++ /dev/null @@ -1,275 +0,0 @@ - - - - - - -SimpleMockitoLogger (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class SimpleMockitoLogger

-
-java.lang.Object
-  extended by org.mockito.internal.util.ConsoleMockitoLogger
-      extended by org.mockito.internal.util.SimpleMockitoLogger
-
-
-
All Implemented Interfaces:
MockitoLogger
-
-
-
-
public class SimpleMockitoLogger
extends ConsoleMockitoLogger
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
SimpleMockitoLogger() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetLoggedInfo() - -
-           
- voidlog(java.lang.Object what) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SimpleMockitoLogger

-
-public SimpleMockitoLogger()
-
-
- - - - - - - - -
-Method Detail
- -

-log

-
-public void log(java.lang.Object what)
-
-
-
Specified by:
log in interface MockitoLogger
Overrides:
log in class ConsoleMockitoLogger
-
-
-
-
-
-
- -

-getLoggedInfo

-
-public java.lang.String getLoggedInfo()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/StringJoiner.html b/tools/mockito/javadoc/org/mockito/internal/util/StringJoiner.html deleted file mode 100644 index e7da7c43968..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/StringJoiner.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -StringJoiner (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util -
-Class StringJoiner

-
-java.lang.Object
-  extended by org.mockito.internal.util.StringJoiner
-
-
-
-
public class StringJoiner
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
StringJoiner() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-static java.lang.Stringjoin(java.lang.Object... linesToBreak) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-StringJoiner

-
-public StringJoiner()
-
-
- - - - - - - - -
-Method Detail
- -

-join

-
-public static java.lang.String join(java.lang.Object... linesToBreak)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/ArrayUtils.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/ArrayUtils.html deleted file mode 100644 index c5827b29b9d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/ArrayUtils.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.ArrayUtils (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.ArrayUtils

-
-No usage of org.mockito.internal.util.ArrayUtils -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/ConsoleMockitoLogger.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/ConsoleMockitoLogger.html deleted file mode 100644 index 08f3d205c69..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/ConsoleMockitoLogger.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.ConsoleMockitoLogger (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.ConsoleMockitoLogger

-
- - - - - - - - - -
-Packages that use ConsoleMockitoLogger
org.mockito.internal.utilStatic utils 
-  -

- - - - - -
-Uses of ConsoleMockitoLogger in org.mockito.internal.util
-  -

- - - - - - - - - -
Subclasses of ConsoleMockitoLogger in org.mockito.internal.util
- classSimpleMockitoLogger - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/Decamelizer.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/Decamelizer.html deleted file mode 100644 index 153143616f2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/Decamelizer.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.Decamelizer (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.Decamelizer

-
-No usage of org.mockito.internal.util.Decamelizer -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/IdentitySet.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/IdentitySet.html deleted file mode 100644 index 59ed6571446..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/IdentitySet.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.IdentitySet (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.IdentitySet

-
-No usage of org.mockito.internal.util.IdentitySet -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/ListUtil.Filter.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/ListUtil.Filter.html deleted file mode 100644 index ce7eecdb325..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/ListUtil.Filter.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.util.ListUtil.Filter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.util.ListUtil.Filter

-
- - - - - - - - - -
-Packages that use ListUtil.Filter
org.mockito.internal.utilStatic utils 
-  -

- - - - - -
-Uses of ListUtil.Filter in org.mockito.internal.util
-  -

- - - - - - - - - -
Methods in org.mockito.internal.util with parameters of type ListUtil.Filter
-static - - - - -
-<T> java.util.LinkedList<T>
-
ListUtil.filter(java.util.Collection<T> collection, - ListUtil.Filter<T> filter) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/ListUtil.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/ListUtil.html deleted file mode 100644 index 738712edefe..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/ListUtil.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.ListUtil (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.ListUtil

-
-No usage of org.mockito.internal.util.ListUtil -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/MockCreationValidator.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/MockCreationValidator.html deleted file mode 100644 index 94f58d4b234..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/MockCreationValidator.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.MockCreationValidator (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.MockCreationValidator

-
- - - - - - - - - -
-Packages that use MockCreationValidator
org.mockito.internal.utilStatic utils 
-  -

- - - - - -
-Uses of MockCreationValidator in org.mockito.internal.util
-  -

- - - - - - - - -
Constructors in org.mockito.internal.util with parameters of type MockCreationValidator
MockUtil(MockCreationValidator creationValidator) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/MockName.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/MockName.html deleted file mode 100644 index c53ae9ff8ba..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/MockName.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.MockName (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.MockName

-
- - - - - - - - - - - - - -
-Packages that use MockName
org.mockito.internal.creationMock object creation. 
org.mockito.internal.utilStatic utils 
-  -

- - - - - -
-Uses of MockName in org.mockito.internal.creation
-  -

- - - - - - - - - -
Methods in org.mockito.internal.creation that return MockName
- MockNameMockSettingsImpl.getMockName() - -
-           
-  -

- - - - - -
-Uses of MockName in org.mockito.internal.util
-  -

- - - - - - - - - -
Methods in org.mockito.internal.util that return MockName
- MockNameMockUtil.getMockName(java.lang.Object mock) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/MockUtil.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/MockUtil.html deleted file mode 100644 index 2e8c3432f5e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/MockUtil.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.MockUtil (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.MockUtil

-
-No usage of org.mockito.internal.util.MockUtil -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/MockitoLogger.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/MockitoLogger.html deleted file mode 100644 index 7a4ee042d97..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/MockitoLogger.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.util.MockitoLogger (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.util.MockitoLogger

-
- - - - - - - - - - - - - -
-Packages that use MockitoLogger
org.mockito.internal.debuggingWhatever helps in debugging failed tests 
org.mockito.internal.utilStatic utils 
-  -

- - - - - -
-Uses of MockitoLogger in org.mockito.internal.debugging
-  -

- - - - - - - - - -
Methods in org.mockito.internal.debugging that return MockitoLogger
- MockitoLoggerLoggingListener.getLogger() - -
-           
-  -

- - - - - - - - - -
Methods in org.mockito.internal.debugging with parameters of type MockitoLogger
- voidWarningsPrinterImpl.print(MockitoLogger logger) - -
-           
-  -

- - - - - - - - -
Constructors in org.mockito.internal.debugging with parameters of type MockitoLogger
LoggingListener(boolean warnAboutUnstubbed, - MockitoLogger logger) - -
-           
-  -

- - - - - -
-Uses of MockitoLogger in org.mockito.internal.util
-  -

- - - - - - - - - - - - - -
Classes in org.mockito.internal.util that implement MockitoLogger
- classConsoleMockitoLogger - -
-           
- classSimpleMockitoLogger - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/ObjectMethodsGuru.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/ObjectMethodsGuru.html deleted file mode 100644 index b808f5bc46d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/ObjectMethodsGuru.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.ObjectMethodsGuru (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.ObjectMethodsGuru

-
-No usage of org.mockito.internal.util.ObjectMethodsGuru -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/Primitives.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/Primitives.html deleted file mode 100644 index b46f16f82da..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/Primitives.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.Primitives (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.Primitives

-
-No usage of org.mockito.internal.util.Primitives -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/RemoveFirstLine.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/RemoveFirstLine.html deleted file mode 100644 index a0aa8f1ee50..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/RemoveFirstLine.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.RemoveFirstLine (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.RemoveFirstLine

-
-No usage of org.mockito.internal.util.RemoveFirstLine -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/SimpleMockitoLogger.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/SimpleMockitoLogger.html deleted file mode 100644 index 60f5215971a..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/SimpleMockitoLogger.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.SimpleMockitoLogger (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.SimpleMockitoLogger

-
-No usage of org.mockito.internal.util.SimpleMockitoLogger -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/class-use/StringJoiner.html b/tools/mockito/javadoc/org/mockito/internal/util/class-use/StringJoiner.html deleted file mode 100644 index a0e60a12734..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/class-use/StringJoiner.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.StringJoiner (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.StringJoiner

-
-No usage of org.mockito.internal.util.StringJoiner -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/junit/JUnitFailureHacker.html b/tools/mockito/javadoc/org/mockito/internal/util/junit/JUnitFailureHacker.html deleted file mode 100644 index b92a35938a7..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/junit/JUnitFailureHacker.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -JUnitFailureHacker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util.junit -
-Class JUnitFailureHacker

-
-java.lang.Object
-  extended by org.mockito.internal.util.junit.JUnitFailureHacker
-
-
-
-
public class JUnitFailureHacker
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
JUnitFailureHacker() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidappendWarnings(org.junit.runner.notification.Failure failure, - java.lang.String warnings) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-JUnitFailureHacker

-
-public JUnitFailureHacker()
-
-
- - - - - - - - -
-Method Detail
- -

-appendWarnings

-
-public void appendWarnings(org.junit.runner.notification.Failure failure,
-                           java.lang.String warnings)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/junit/class-use/JUnitFailureHacker.html b/tools/mockito/javadoc/org/mockito/internal/util/junit/class-use/JUnitFailureHacker.html deleted file mode 100644 index 055bd56e4e4..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/junit/class-use/JUnitFailureHacker.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.junit.JUnitFailureHacker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.junit.JUnitFailureHacker

-
-No usage of org.mockito.internal.util.junit.JUnitFailureHacker -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/junit/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/util/junit/package-frame.html deleted file mode 100644 index 6e38eac5fb2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/junit/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -org.mockito.internal.util.junit (Mockito API) - - - - - - - - - - - -org.mockito.internal.util.junit - - - - -
-Classes  - -
-JUnitFailureHacker
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/junit/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/util/junit/package-summary.html deleted file mode 100644 index 88f268018cb..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/junit/package-summary.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - -org.mockito.internal.util.junit (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.util.junit -

- - - - - - - - - -
-Class Summary
JUnitFailureHacker 
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/junit/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/util/junit/package-tree.html deleted file mode 100644 index 82936e42608..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/junit/package-tree.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -org.mockito.internal.util.junit Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.util.junit -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/junit/package-use.html b/tools/mockito/javadoc/org/mockito/internal/util/junit/package-use.html deleted file mode 100644 index 7763ceca67b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/junit/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.util.junit (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.util.junit

-
-No usage of org.mockito.internal.util.junit -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/util/package-frame.html deleted file mode 100644 index fd342086cd2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/package-frame.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - -org.mockito.internal.util (Mockito API) - - - - - - - - - - - -org.mockito.internal.util - - - - -
-Interfaces  - -
-ListUtil.Filter -
-MockitoLogger
- - - - - - -
-Classes  - -
-ArrayUtils -
-ConsoleMockitoLogger -
-Decamelizer -
-IdentitySet -
-ListUtil -
-MockCreationValidator -
-MockName -
-MockUtil -
-ObjectMethodsGuru -
-Primitives -
-RemoveFirstLine -
-SimpleMockitoLogger -
-StringJoiner
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/util/package-summary.html deleted file mode 100644 index 4c038b6db3d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/package-summary.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - -org.mockito.internal.util (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.util -

-Static utils -

-See: -
-          Description -

- - - - - - - - - - - - - -
-Interface Summary
ListUtil.Filter<T> 
MockitoLogger 
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
ArrayUtils 
ConsoleMockitoLogger 
Decamelizer 
IdentitySet 
ListUtil 
MockCreationValidator 
MockName 
MockUtil 
ObjectMethodsGuru 
Primitives 
RemoveFirstLine 
SimpleMockitoLogger 
StringJoiner 
-  - -

-

-Package org.mockito.internal.util Description -

- -

-Static utils -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/util/package-tree.html deleted file mode 100644 index a0264ce4ae0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/package-tree.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -org.mockito.internal.util Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.util -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/package-use.html b/tools/mockito/javadoc/org/mockito/internal/util/package-use.html deleted file mode 100644 index 0ba90fa54b4..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/package-use.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.util (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.util

-
- - - - - - - - - - - - - - - - - -
-Packages that use org.mockito.internal.util
org.mockito.internal.creationMock object creation. 
org.mockito.internal.debuggingWhatever helps in debugging failed tests 
org.mockito.internal.utilStatic utils 
-  -

- - - - - - - - -
-Classes in org.mockito.internal.util used by org.mockito.internal.creation
MockName - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.util used by org.mockito.internal.debugging
MockitoLogger - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - -
-Classes in org.mockito.internal.util used by org.mockito.internal.util
ConsoleMockitoLogger - -
-           
ListUtil.Filter - -
-           
MockCreationValidator - -
-           
MockitoLogger - -
-           
MockName - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/AccessibilityChanger.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/AccessibilityChanger.html deleted file mode 100644 index f469883e452..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/AccessibilityChanger.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -AccessibilityChanger (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util.reflection -
-Class AccessibilityChanger

-
-java.lang.Object
-  extended by org.mockito.internal.util.reflection.AccessibilityChanger
-
-
-
-
public class AccessibilityChanger
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
AccessibilityChanger() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidenableAccess(java.lang.reflect.Field field) - -
-          changes the field accessibility and returns true if accessibility was changed
- voidsafelyDisableAccess(java.lang.reflect.Field field) - -
-          safely disables access
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-AccessibilityChanger

-
-public AccessibilityChanger()
-
-
- - - - - - - - -
-Method Detail
- -

-safelyDisableAccess

-
-public void safelyDisableAccess(java.lang.reflect.Field field)
-
-
safely disables access -

-

-
-
-
-
- -

-enableAccess

-
-public void enableAccess(java.lang.reflect.Field field)
-
-
changes the field accessibility and returns true if accessibility was changed -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/FieldCopier.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/FieldCopier.html deleted file mode 100644 index 50f8ded212b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/FieldCopier.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - -FieldCopier (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util.reflection -
-Class FieldCopier

-
-java.lang.Object
-  extended by org.mockito.internal.util.reflection.FieldCopier
-
-
-
-
public class FieldCopier
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
FieldCopier() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> void
-
copyValue(T from, - T to, - java.lang.reflect.Field field) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-FieldCopier

-
-public FieldCopier()
-
-
- - - - - - - - -
-Method Detail
- -

-copyValue

-
-public <T> void copyValue(T from,
-                          T to,
-                          java.lang.reflect.Field field)
-               throws java.lang.IllegalAccessException
-
-
- -
Throws: -
java.lang.IllegalAccessException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/FieldReader.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/FieldReader.html deleted file mode 100644 index cd075b4cac7..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/FieldReader.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -FieldReader (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util.reflection -
-Class FieldReader

-
-java.lang.Object
-  extended by org.mockito.internal.util.reflection.FieldReader
-
-
-
-
public class FieldReader
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
FieldReader(java.lang.Object target, - java.lang.reflect.Field field) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- booleanisNull() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-FieldReader

-
-public FieldReader(java.lang.Object target,
-                   java.lang.reflect.Field field)
-
-
- - - - - - - - -
-Method Detail
- -

-isNull

-
-public boolean isNull()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/FieldSetter.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/FieldSetter.html deleted file mode 100644 index 0d893554a6c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/FieldSetter.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -FieldSetter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util.reflection -
-Class FieldSetter

-
-java.lang.Object
-  extended by org.mockito.internal.util.reflection.FieldSetter
-
-
-
-
public class FieldSetter
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
FieldSetter(java.lang.Object target, - java.lang.reflect.Field field) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidset(java.lang.Object value) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-FieldSetter

-
-public FieldSetter(java.lang.Object target,
-                   java.lang.reflect.Field field)
-
-
- - - - - - - - -
-Method Detail
- -

-set

-
-public void set(java.lang.Object value)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/GenericMaster.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/GenericMaster.html deleted file mode 100644 index 777f2fc56f7..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/GenericMaster.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -GenericMaster (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util.reflection -
-Class GenericMaster

-
-java.lang.Object
-  extended by org.mockito.internal.util.reflection.GenericMaster
-
-
-
-
public class GenericMaster
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
GenericMaster() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.ClassgetGenericType(java.lang.reflect.Field field) - -
-          Finds the generic type (parametrized type) of the field.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-GenericMaster

-
-public GenericMaster()
-
-
- - - - - - - - -
-Method Detail
- -

-getGenericType

-
-public java.lang.Class getGenericType(java.lang.reflect.Field field)
-
-
Finds the generic type (parametrized type) of the field. If the field is not generic it returns Object.class. -

-

-
Parameters:
field -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/LenientCopyTool.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/LenientCopyTool.html deleted file mode 100644 index 96c8a03251d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/LenientCopyTool.html +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - -LenientCopyTool (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util.reflection -
-Class LenientCopyTool

-
-java.lang.Object
-  extended by org.mockito.internal.util.reflection.LenientCopyTool
-
-
-
-
public class LenientCopyTool
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
LenientCopyTool() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> void
-
copyToMock(T from, - T mock) - -
-           
- - - - - -
-<T> void
-
copyToRealObject(T from, - T to) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-LenientCopyTool

-
-public LenientCopyTool()
-
-
- - - - - - - - -
-Method Detail
- -

-copyToMock

-
-public <T> void copyToMock(T from,
-                           T mock)
-
-
-
-
-
-
- -

-copyToRealObject

-
-public <T> void copyToRealObject(T from,
-                                 T to)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/Whitebox.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/Whitebox.html deleted file mode 100644 index 1697a782e5a..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/Whitebox.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -Whitebox (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.util.reflection -
-Class Whitebox

-
-java.lang.Object
-  extended by org.mockito.internal.util.reflection.Whitebox
-
-
-
-
public class Whitebox
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Whitebox() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-static java.lang.ObjectgetInternalState(java.lang.Object target, - java.lang.String field) - -
-           
-static voidsetInternalState(java.lang.Object target, - java.lang.String field, - java.lang.Object value) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Whitebox

-
-public Whitebox()
-
-
- - - - - - - - -
-Method Detail
- -

-getInternalState

-
-public static java.lang.Object getInternalState(java.lang.Object target,
-                                                java.lang.String field)
-
-
-
-
-
-
- -

-setInternalState

-
-public static void setInternalState(java.lang.Object target,
-                                    java.lang.String field,
-                                    java.lang.Object value)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/AccessibilityChanger.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/AccessibilityChanger.html deleted file mode 100644 index e29a75a3fa0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/AccessibilityChanger.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.reflection.AccessibilityChanger (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.reflection.AccessibilityChanger

-
-No usage of org.mockito.internal.util.reflection.AccessibilityChanger -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/FieldCopier.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/FieldCopier.html deleted file mode 100644 index c4092cd57aa..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/FieldCopier.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.reflection.FieldCopier (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.reflection.FieldCopier

-
-No usage of org.mockito.internal.util.reflection.FieldCopier -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/FieldReader.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/FieldReader.html deleted file mode 100644 index 373cace3e47..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/FieldReader.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.reflection.FieldReader (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.reflection.FieldReader

-
-No usage of org.mockito.internal.util.reflection.FieldReader -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/FieldSetter.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/FieldSetter.html deleted file mode 100644 index 7858ce7d081..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/FieldSetter.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.reflection.FieldSetter (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.reflection.FieldSetter

-
-No usage of org.mockito.internal.util.reflection.FieldSetter -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/GenericMaster.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/GenericMaster.html deleted file mode 100644 index fb411a3e23c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/GenericMaster.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.reflection.GenericMaster (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.reflection.GenericMaster

-
-No usage of org.mockito.internal.util.reflection.GenericMaster -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/LenientCopyTool.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/LenientCopyTool.html deleted file mode 100644 index 92ca0079f20..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/LenientCopyTool.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.reflection.LenientCopyTool (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.reflection.LenientCopyTool

-
-No usage of org.mockito.internal.util.reflection.LenientCopyTool -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/Whitebox.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/Whitebox.html deleted file mode 100644 index 0f8bec16690..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/class-use/Whitebox.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.util.reflection.Whitebox (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.util.reflection.Whitebox

-
-No usage of org.mockito.internal.util.reflection.Whitebox -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/package-frame.html deleted file mode 100644 index d075cf36266..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/package-frame.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - -org.mockito.internal.util.reflection (Mockito API) - - - - - - - - - - - -org.mockito.internal.util.reflection - - - - -
-Classes  - -
-AccessibilityChanger -
-FieldCopier -
-FieldReader -
-FieldSetter -
-GenericMaster -
-LenientCopyTool -
-Whitebox
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/package-summary.html deleted file mode 100644 index fdac5b45897..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/package-summary.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - -org.mockito.internal.util.reflection (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.util.reflection -

-reflection utilities -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AccessibilityChanger 
FieldCopier 
FieldReader 
FieldSetter 
GenericMaster 
LenientCopyTool 
Whitebox 
-  - -

-

-Package org.mockito.internal.util.reflection Description -

- -

-reflection utilities -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/package-tree.html deleted file mode 100644 index f76b6eec2c6..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/package-tree.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -org.mockito.internal.util.reflection Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.util.reflection -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/util/reflection/package-use.html b/tools/mockito/javadoc/org/mockito/internal/util/reflection/package-use.html deleted file mode 100644 index 7d775cec0b5..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/util/reflection/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.util.reflection (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.util.reflection

-
-No usage of org.mockito.internal.util.reflection -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/AtLeast.html b/tools/mockito/javadoc/org/mockito/internal/verification/AtLeast.html deleted file mode 100644 index fe871ec74e1..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/AtLeast.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - - - -AtLeast (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification -
-Class AtLeast

-
-java.lang.Object
-  extended by org.mockito.internal.verification.AtLeast
-
-
-
All Implemented Interfaces:
VerificationInOrderMode, VerificationMode
-
-
-
-
public class AtLeast
extends java.lang.Object
implements VerificationInOrderMode, VerificationMode
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
AtLeast(int wantedNumberOfInvocations) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringtoString() - -
-           
- voidverify(VerificationData data) - -
-           
- voidverifyInOrder(VerificationDataInOrder data) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-AtLeast

-
-public AtLeast(int wantedNumberOfInvocations)
-
-
- - - - - - - - -
-Method Detail
- -

-verify

-
-public void verify(VerificationData data)
-
-
-
Specified by:
verify in interface VerificationMode
-
-
-
-
-
-
- -

-verifyInOrder

-
-public void verifyInOrder(VerificationDataInOrder data)
-
-
-
Specified by:
verifyInOrder in interface VerificationInOrderMode
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/AtMost.html b/tools/mockito/javadoc/org/mockito/internal/verification/AtMost.html deleted file mode 100644 index 6a47cabf565..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/AtMost.html +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - -AtMost (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification -
-Class AtMost

-
-java.lang.Object
-  extended by org.mockito.internal.verification.AtMost
-
-
-
All Implemented Interfaces:
VerificationMode
-
-
-
-
public class AtMost
extends java.lang.Object
implements VerificationMode
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
AtMost(int maxNumberOfInvocations) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidverify(VerificationData data) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-AtMost

-
-public AtMost(int maxNumberOfInvocations)
-
-
- - - - - - - - -
-Method Detail
- -

-verify

-
-public void verify(VerificationData data)
-
-
-
Specified by:
verify in interface VerificationMode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/InOrderContextImpl.html b/tools/mockito/javadoc/org/mockito/internal/verification/InOrderContextImpl.html deleted file mode 100644 index d5d8d29ba48..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/InOrderContextImpl.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - -InOrderContextImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification -
-Class InOrderContextImpl

-
-java.lang.Object
-  extended by org.mockito.internal.verification.InOrderContextImpl
-
-
-
All Implemented Interfaces:
InOrderContext
-
-
-
-
public class InOrderContextImpl
extends java.lang.Object
implements InOrderContext
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
InOrderContextImpl() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- booleanisVerified(Invocation invocation) - -
-           
- voidmarkVerified(Invocation i) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InOrderContextImpl

-
-public InOrderContextImpl()
-
-
- - - - - - - - -
-Method Detail
- -

-isVerified

-
-public boolean isVerified(Invocation invocation)
-
-
-
Specified by:
isVerified in interface InOrderContext
-
-
-
-
-
-
- -

-markVerified

-
-public void markVerified(Invocation i)
-
-
-
Specified by:
markVerified in interface InOrderContext
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/InOrderWrapper.html b/tools/mockito/javadoc/org/mockito/internal/verification/InOrderWrapper.html deleted file mode 100644 index c4761016cda..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/InOrderWrapper.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - -InOrderWrapper (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification -
-Class InOrderWrapper

-
-java.lang.Object
-  extended by org.mockito.internal.verification.InOrderWrapper
-
-
-
All Implemented Interfaces:
VerificationMode
-
-
-
-
public class InOrderWrapper
extends java.lang.Object
implements VerificationMode
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
InOrderWrapper(VerificationInOrderMode mode, - InOrderImpl inOrder) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidverify(VerificationData data) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InOrderWrapper

-
-public InOrderWrapper(VerificationInOrderMode mode,
-                      InOrderImpl inOrder)
-
-
- - - - - - - - -
-Method Detail
- -

-verify

-
-public void verify(VerificationData data)
-
-
-
Specified by:
verify in interface VerificationMode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/MockAwareVerificationMode.html b/tools/mockito/javadoc/org/mockito/internal/verification/MockAwareVerificationMode.html deleted file mode 100644 index 5bee764c662..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/MockAwareVerificationMode.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - -MockAwareVerificationMode (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification -
-Class MockAwareVerificationMode

-
-java.lang.Object
-  extended by org.mockito.internal.verification.MockAwareVerificationMode
-
-
-
All Implemented Interfaces:
VerificationMode
-
-
-
-
public class MockAwareVerificationMode
extends java.lang.Object
implements VerificationMode
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
MockAwareVerificationMode(java.lang.Object mock, - VerificationMode mode) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.ObjectgetMock() - -
-           
- voidverify(VerificationData data) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MockAwareVerificationMode

-
-public MockAwareVerificationMode(java.lang.Object mock,
-                                 VerificationMode mode)
-
-
- - - - - - - - -
-Method Detail
- -

-verify

-
-public void verify(VerificationData data)
-
-
-
Specified by:
verify in interface VerificationMode
-
-
-
-
-
-
- -

-getMock

-
-public java.lang.Object getMock()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/NoMoreInteractions.html b/tools/mockito/javadoc/org/mockito/internal/verification/NoMoreInteractions.html deleted file mode 100644 index 6a2e9e0882f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/NoMoreInteractions.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - -NoMoreInteractions (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification -
-Class NoMoreInteractions

-
-java.lang.Object
-  extended by org.mockito.internal.verification.NoMoreInteractions
-
-
-
All Implemented Interfaces:
VerificationInOrderMode, VerificationMode
-
-
-
-
public class NoMoreInteractions
extends java.lang.Object
implements VerificationMode, VerificationInOrderMode
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
NoMoreInteractions() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidverify(VerificationData data) - -
-           
- voidverifyInOrder(VerificationDataInOrder data) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-NoMoreInteractions

-
-public NoMoreInteractions()
-
-
- - - - - - - - -
-Method Detail
- -

-verify

-
-public void verify(VerificationData data)
-
-
-
Specified by:
verify in interface VerificationMode
-
-
-
-
-
-
- -

-verifyInOrder

-
-public void verifyInOrder(VerificationDataInOrder data)
-
-
-
Specified by:
verifyInOrder in interface VerificationInOrderMode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/Only.html b/tools/mockito/javadoc/org/mockito/internal/verification/Only.html deleted file mode 100644 index aabf9bcd067..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/Only.html +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - -Only (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification -
-Class Only

-
-java.lang.Object
-  extended by org.mockito.internal.verification.Only
-
-
-
All Implemented Interfaces:
VerificationMode
-
-
-
-
public class Only
extends java.lang.Object
implements VerificationMode
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Only() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidverify(VerificationData data) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Only

-
-public Only()
-
-
- - - - - - - - -
-Method Detail
- -

-verify

-
-public void verify(VerificationData data)
-
-
-
Specified by:
verify in interface VerificationMode
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/RegisteredInvocations.html b/tools/mockito/javadoc/org/mockito/internal/verification/RegisteredInvocations.html deleted file mode 100644 index 194a60f9a86..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/RegisteredInvocations.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -RegisteredInvocations (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification -
-Class RegisteredInvocations

-
-java.lang.Object
-  extended by org.mockito.internal.verification.RegisteredInvocations
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class RegisteredInvocations
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
RegisteredInvocations() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(Invocation invocation) - -
-           
- java.util.List<Invocation>getAll() - -
-           
- voidremoveLast() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-RegisteredInvocations

-
-public RegisteredInvocations()
-
-
- - - - - - - - -
-Method Detail
- -

-add

-
-public void add(Invocation invocation)
-
-
-
-
-
-
-
-
-
- -

-removeLast

-
-public void removeLast()
-
-
-
-
-
-
-
-
-
- -

-getAll

-
-public java.util.List<Invocation> getAll()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/Times.html b/tools/mockito/javadoc/org/mockito/internal/verification/Times.html deleted file mode 100644 index fafeb0d474f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/Times.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - - - -Times (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification -
-Class Times

-
-java.lang.Object
-  extended by org.mockito.internal.verification.Times
-
-
-
All Implemented Interfaces:
VerificationInOrderMode, VerificationMode
-
-
-
-
public class Times
extends java.lang.Object
implements VerificationInOrderMode, VerificationMode
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Times(int wantedNumberOfInvocations) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringtoString() - -
-           
- voidverify(VerificationData data) - -
-           
- voidverifyInOrder(VerificationDataInOrder data) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Times

-
-public Times(int wantedNumberOfInvocations)
-
-
- - - - - - - - -
-Method Detail
- -

-verify

-
-public void verify(VerificationData data)
-
-
-
Specified by:
verify in interface VerificationMode
-
-
-
-
-
-
- -

-verifyInOrder

-
-public void verifyInOrder(VerificationDataInOrder data)
-
-
-
Specified by:
verifyInOrder in interface VerificationInOrderMode
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/VerificationDataImpl.html b/tools/mockito/javadoc/org/mockito/internal/verification/VerificationDataImpl.html deleted file mode 100644 index fd92fd61907..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/VerificationDataImpl.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - -VerificationDataImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification -
-Class VerificationDataImpl

-
-java.lang.Object
-  extended by org.mockito.internal.verification.VerificationDataImpl
-
-
-
All Implemented Interfaces:
VerificationData
-
-
-
-
public class VerificationDataImpl
extends java.lang.Object
implements VerificationData
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
VerificationDataImpl(InvocationContainer invocations, - InvocationMatcher wanted) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.util.List<Invocation>getAllInvocations() - -
-           
- InvocationMatchergetWanted() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-VerificationDataImpl

-
-public VerificationDataImpl(InvocationContainer invocations,
-                            InvocationMatcher wanted)
-
-
- - - - - - - - -
-Method Detail
- -

-getAllInvocations

-
-public java.util.List<Invocation> getAllInvocations()
-
-
-
Specified by:
getAllInvocations in interface VerificationData
-
-
-
-
-
-
- -

-getWanted

-
-public InvocationMatcher getWanted()
-
-
-
Specified by:
getWanted in interface VerificationData
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/VerificationModeFactory.html b/tools/mockito/javadoc/org/mockito/internal/verification/VerificationModeFactory.html deleted file mode 100644 index 303bcf61de6..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/VerificationModeFactory.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - - -VerificationModeFactory (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification -
-Class VerificationModeFactory

-
-java.lang.Object
-  extended by org.mockito.internal.verification.VerificationModeFactory
-
-
-
-
public class VerificationModeFactory
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
VerificationModeFactory() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static VerificationModeatLeast(int minNumberOfInvocations) - -
-           
-static VerificationModeatLeastOnce() - -
-           
-static VerificationModeatMost(int maxNumberOfInvocations) - -
-           
-static NoMoreInteractionsnoMoreInteractions() - -
-           
-static VerificationModeonly() - -
-           
-static Timestimes(int wantedNumberOfInvocations) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-VerificationModeFactory

-
-public VerificationModeFactory()
-
-
- - - - - - - - -
-Method Detail
- -

-atLeastOnce

-
-public static VerificationMode atLeastOnce()
-
-
-
-
-
-
- -

-atLeast

-
-public static VerificationMode atLeast(int minNumberOfInvocations)
-
-
-
-
-
-
- -

-only

-
-public static VerificationMode only()
-
-
-
-
-
-
- -

-times

-
-public static Times times(int wantedNumberOfInvocations)
-
-
-
-
-
-
- -

-noMoreInteractions

-
-public static NoMoreInteractions noMoreInteractions()
-
-
-
-
-
-
- -

-atMost

-
-public static VerificationMode atMost(int maxNumberOfInvocations)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/VerificationWithTimeoutImpl.html b/tools/mockito/javadoc/org/mockito/internal/verification/VerificationWithTimeoutImpl.html deleted file mode 100644 index cb903b6b5e1..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/VerificationWithTimeoutImpl.html +++ /dev/null @@ -1,310 +0,0 @@ - - - - - - -VerificationWithTimeoutImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification -
-Class VerificationWithTimeoutImpl

-
-java.lang.Object
-  extended by org.mockito.internal.verification.VerificationWithTimeoutImpl
-
-
-
-
public class VerificationWithTimeoutImpl
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
VerificationWithTimeoutImpl(int treshhold, - int millis, - VerificationMode delegate) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- VerificationModegetDelegate() - -
-           
- intgetTimeout() - -
-           
- intgetTreshhold() - -
-           
- voidverify(VerificationData data) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-VerificationWithTimeoutImpl

-
-public VerificationWithTimeoutImpl(int treshhold,
-                                   int millis,
-                                   VerificationMode delegate)
-
-
- - - - - - - - -
-Method Detail
- -

-verify

-
-public void verify(VerificationData data)
-
-
-
-
-
-
- -

-getDelegate

-
-public VerificationMode getDelegate()
-
-
-
-
-
-
- -

-getTimeout

-
-public int getTimeout()
-
-
-
-
-
-
- -

-getTreshhold

-
-public int getTreshhold()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/InOrderContext.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/InOrderContext.html deleted file mode 100644 index bb9d38273af..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/InOrderContext.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -InOrderContext (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.api -
-Interface InOrderContext

-
-
All Known Implementing Classes:
InOrderContextImpl, InOrderImpl
-
-
-
-
public interface InOrderContext
- - -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- booleanisVerified(Invocation invocation) - -
-           
- voidmarkVerified(Invocation i) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-isVerified

-
-boolean isVerified(Invocation invocation)
-
-
-
-
-
-
- -

-markVerified

-
-void markVerified(Invocation i)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/VerificationData.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/VerificationData.html deleted file mode 100644 index 5983cde557c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/VerificationData.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -VerificationData (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.api -
-Interface VerificationData

-
-
All Known Implementing Classes:
VerificationDataImpl
-
-
-
-
public interface VerificationData
- - -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- java.util.List<Invocation>getAllInvocations() - -
-           
- InvocationMatchergetWanted() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-getAllInvocations

-
-java.util.List<Invocation> getAllInvocations()
-
-
-
-
-
-
- -

-getWanted

-
-InvocationMatcher getWanted()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/VerificationDataInOrder.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/VerificationDataInOrder.html deleted file mode 100644 index 0daf0c9fdab..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/VerificationDataInOrder.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - -VerificationDataInOrder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.api -
-Interface VerificationDataInOrder

-
-
All Known Implementing Classes:
VerificationDataInOrderImpl
-
-
-
-
public interface VerificationDataInOrder
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.util.List<Invocation>getAllInvocations() - -
-           
- InOrderContextgetOrderingContext() - -
-           
- InvocationMatchergetWanted() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-getAllInvocations

-
-java.util.List<Invocation> getAllInvocations()
-
-
-
-
-
-
- -

-getWanted

-
-InvocationMatcher getWanted()
-
-
-
-
-
-
- -

-getOrderingContext

-
-InOrderContext getOrderingContext()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/VerificationDataInOrderImpl.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/VerificationDataInOrderImpl.html deleted file mode 100644 index 43449ba01ee..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/VerificationDataInOrderImpl.html +++ /dev/null @@ -1,303 +0,0 @@ - - - - - - -VerificationDataInOrderImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.api -
-Class VerificationDataInOrderImpl

-
-java.lang.Object
-  extended by org.mockito.internal.verification.api.VerificationDataInOrderImpl
-
-
-
All Implemented Interfaces:
VerificationDataInOrder
-
-
-
-
public class VerificationDataInOrderImpl
extends java.lang.Object
implements VerificationDataInOrder
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
VerificationDataInOrderImpl(InOrderContext inOrder, - java.util.List<Invocation> allInvocations, - InvocationMatcher wanted) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.util.List<Invocation>getAllInvocations() - -
-           
- InOrderContextgetOrderingContext() - -
-           
- InvocationMatchergetWanted() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-VerificationDataInOrderImpl

-
-public VerificationDataInOrderImpl(InOrderContext inOrder,
-                                   java.util.List<Invocation> allInvocations,
-                                   InvocationMatcher wanted)
-
-
- - - - - - - - -
-Method Detail
- -

-getAllInvocations

-
-public java.util.List<Invocation> getAllInvocations()
-
-
-
Specified by:
getAllInvocations in interface VerificationDataInOrder
-
-
-
-
-
-
- -

-getOrderingContext

-
-public InOrderContext getOrderingContext()
-
-
-
Specified by:
getOrderingContext in interface VerificationDataInOrder
-
-
-
-
-
-
- -

-getWanted

-
-public InvocationMatcher getWanted()
-
-
-
Specified by:
getWanted in interface VerificationDataInOrder
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/VerificationInOrderMode.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/VerificationInOrderMode.html deleted file mode 100644 index 74175e0d99d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/VerificationInOrderMode.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -VerificationInOrderMode (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.api -
-Interface VerificationInOrderMode

-
-
All Known Implementing Classes:
AtLeast, NoMoreInteractions, Times
-
-
-
-
public interface VerificationInOrderMode
- - -

-


- -

- - - - - - - - - - - - -
-Method Summary
- voidverifyInOrder(VerificationDataInOrder data) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-verifyInOrder

-
-void verifyInOrder(VerificationDataInOrder data)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/InOrderContext.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/InOrderContext.html deleted file mode 100644 index 4a55a48fb31..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/InOrderContext.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.verification.api.InOrderContext (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.verification.api.InOrderContext

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use InOrderContext
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.verificationVerification logic. 
org.mockito.internal.verification.apiThis package should be open to public once verification API is fully finished 
org.mockito.internal.verification.checkersverification checkers 
-  -

- - - - - -
-Uses of InOrderContext in org.mockito.internal
-  -

- - - - - - - - - -
Classes in org.mockito.internal that implement InOrderContext
- classInOrderImpl - -
-          Allows verifying in order.
-  -

- - - - - - - - - -
Methods in org.mockito.internal with parameters of type InOrderContext
- voidMockitoCore.verifyNoMoreInteractionsInOrder(java.util.List<java.lang.Object> mocks, - InOrderContext inOrderContext) - -
-           
-  -

- - - - - -
-Uses of InOrderContext in org.mockito.internal.invocation
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.invocation with parameters of type InOrderContext
- java.util.List<Invocation>InvocationsFinder.findAllMatchingUnverifiedChunks(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - InOrderContext orderingContext) - -
-           
- InvocationInvocationsFinder.findFirstUnverifiedInOrder(InOrderContext context, - java.util.List<Invocation> orderedInvocations) - -
-          i3 is unverified here: - - i1, i2, i3 - v - - all good here: - - i1, i2, i3 - v v
- java.util.List<Invocation>InvocationsFinder.findMatchingChunk(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount, - InOrderContext context) - -
-          some examples how it works: - - Given invocations sequence: - 1,1,2,1 - - if wanted is 1 and mode is times(2) then returns - 1,1 - - if wanted is 1 and mode is atLeast() then returns - 1,1,1 - - if wanted is 1 and mode is times(x), where x != 2 then returns - 1,1,1
- InvocationInvocationsFinder.findPreviousVerifiedInOrder(java.util.List<Invocation> invocations, - InOrderContext context) - -
-           
- voidInvocationMarker.markVerifiedInOrder(java.util.List<Invocation> chunk, - CapturesArgumensFromInvocation wanted, - InOrderContext context) - -
-           
-  -

- - - - - -
-Uses of InOrderContext in org.mockito.internal.verification
-  -

- - - - - - - - - -
Classes in org.mockito.internal.verification that implement InOrderContext
- classInOrderContextImpl - -
-           
-  -

- - - - - -
-Uses of InOrderContext in org.mockito.internal.verification.api
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.internal.verification.api that return InOrderContext
- InOrderContextVerificationDataInOrderImpl.getOrderingContext() - -
-           
- InOrderContextVerificationDataInOrder.getOrderingContext() - -
-           
-  -

- - - - - - - - -
Constructors in org.mockito.internal.verification.api with parameters of type InOrderContext
VerificationDataInOrderImpl(InOrderContext inOrder, - java.util.List<Invocation> allInvocations, - InvocationMatcher wanted) - -
-           
-  -

- - - - - -
-Uses of InOrderContext in org.mockito.internal.verification.checkers
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.internal.verification.checkers with parameters of type InOrderContext
- voidNumberOfInvocationsInOrderChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount, - InOrderContext context) - -
-           
- voidMissingInvocationInOrderChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - VerificationMode mode, - InOrderContext context) - -
-           
-  -

- - - - - - - - -
Constructors in org.mockito.internal.verification.checkers with parameters of type InOrderContext
AtLeastXNumberOfInvocationsInOrderChecker(InOrderContext orderingContext) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/VerificationData.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/VerificationData.html deleted file mode 100644 index 7a31834da87..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/VerificationData.html +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.verification.api.VerificationData (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.verification.api.VerificationData

-
- - - - - - - - - - - - - -
-Packages that use VerificationData
org.mockito.internal.verificationVerification logic. 
org.mockito.verification  
-  -

- - - - - -
-Uses of VerificationData in org.mockito.internal.verification
-  -

- - - - - - - - - -
Classes in org.mockito.internal.verification that implement VerificationData
- classVerificationDataImpl - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.verification with parameters of type VerificationData
- voidVerificationWithTimeoutImpl.verify(VerificationData data) - -
-           
- voidTimes.verify(VerificationData data) - -
-           
- voidOnly.verify(VerificationData data) - -
-           
- voidNoMoreInteractions.verify(VerificationData data) - -
-           
- voidMockAwareVerificationMode.verify(VerificationData data) - -
-           
- voidInOrderWrapper.verify(VerificationData data) - -
-           
- voidAtMost.verify(VerificationData data) - -
-           
- voidAtLeast.verify(VerificationData data) - -
-           
-  -

- - - - - -
-Uses of VerificationData in org.mockito.verification
-  -

- - - - - - - - - - - - - -
Methods in org.mockito.verification with parameters of type VerificationData
- voidVerificationMode.verify(VerificationData data) - -
-           
- voidTimeout.verify(VerificationData data) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/VerificationDataInOrder.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/VerificationDataInOrder.html deleted file mode 100644 index 45e5fca9b1a..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/VerificationDataInOrder.html +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.verification.api.VerificationDataInOrder (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.verification.api.VerificationDataInOrder

-
- - - - - - - - - - - - - -
-Packages that use VerificationDataInOrder
org.mockito.internal.verificationVerification logic. 
org.mockito.internal.verification.apiThis package should be open to public once verification API is fully finished 
-  -

- - - - - -
-Uses of VerificationDataInOrder in org.mockito.internal.verification
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.verification with parameters of type VerificationDataInOrder
- voidTimes.verifyInOrder(VerificationDataInOrder data) - -
-           
- voidNoMoreInteractions.verifyInOrder(VerificationDataInOrder data) - -
-           
- voidAtLeast.verifyInOrder(VerificationDataInOrder data) - -
-           
-  -

- - - - - -
-Uses of VerificationDataInOrder in org.mockito.internal.verification.api
-  -

- - - - - - - - - -
Classes in org.mockito.internal.verification.api that implement VerificationDataInOrder
- classVerificationDataInOrderImpl - -
-           
-  -

- - - - - - - - - -
Methods in org.mockito.internal.verification.api with parameters of type VerificationDataInOrder
- voidVerificationInOrderMode.verifyInOrder(VerificationDataInOrder data) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/VerificationDataInOrderImpl.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/VerificationDataInOrderImpl.html deleted file mode 100644 index 678b89fd6f3..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/VerificationDataInOrderImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.api.VerificationDataInOrderImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.api.VerificationDataInOrderImpl

-
-No usage of org.mockito.internal.verification.api.VerificationDataInOrderImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/VerificationInOrderMode.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/VerificationInOrderMode.html deleted file mode 100644 index 8b345d93844..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/class-use/VerificationInOrderMode.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - -Uses of Interface org.mockito.internal.verification.api.VerificationInOrderMode (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.internal.verification.api.VerificationInOrderMode

-
- - - - - - - - - -
-Packages that use VerificationInOrderMode
org.mockito.internal.verificationVerification logic. 
-  -

- - - - - -
-Uses of VerificationInOrderMode in org.mockito.internal.verification
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.mockito.internal.verification that implement VerificationInOrderMode
- classAtLeast - -
-           
- classNoMoreInteractions - -
-           
- classTimes - -
-           
-  -

- - - - - - - - -
Constructors in org.mockito.internal.verification with parameters of type VerificationInOrderMode
InOrderWrapper(VerificationInOrderMode mode, - InOrderImpl inOrder) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/package-frame.html deleted file mode 100644 index 363d03d21bf..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/package-frame.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -org.mockito.internal.verification.api (Mockito API) - - - - - - - - - - - -org.mockito.internal.verification.api - - - - -
-Interfaces  - -
-InOrderContext -
-VerificationData -
-VerificationDataInOrder -
-VerificationInOrderMode
- - - - - - -
-Classes  - -
-VerificationDataInOrderImpl
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/package-summary.html deleted file mode 100644 index 3720c946d1e..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/package-summary.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - -org.mockito.internal.verification.api (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.verification.api -

-This package should be open to public once verification API is fully finished -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
InOrderContext 
VerificationData 
VerificationDataInOrder 
VerificationInOrderMode 
-  - -

- - - - - - - - - -
-Class Summary
VerificationDataInOrderImpl 
-  - -

-

-Package org.mockito.internal.verification.api Description -

- -

-This package should be open to public once verification API is fully finished -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/package-tree.html deleted file mode 100644 index 2bbac757189..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/package-tree.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - -org.mockito.internal.verification.api Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.verification.api -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/api/package-use.html b/tools/mockito/javadoc/org/mockito/internal/verification/api/package-use.html deleted file mode 100644 index 3cd48d6ae74..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/api/package-use.html +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.verification.api (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.verification.api

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.mockito.internal.verification.api
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.verificationVerification logic. 
org.mockito.internal.verification.apiThis package should be open to public once verification API is fully finished 
org.mockito.internal.verification.checkersverification checkers 
org.mockito.verification  
-  -

- - - - - - - - -
-Classes in org.mockito.internal.verification.api used by org.mockito.internal
InOrderContext - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.verification.api used by org.mockito.internal.invocation
InOrderContext - -
-           
-  -

- - - - - - - - - - - - - - - - - -
-Classes in org.mockito.internal.verification.api used by org.mockito.internal.verification
InOrderContext - -
-           
VerificationData - -
-           
VerificationDataInOrder - -
-           
VerificationInOrderMode - -
-           
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal.verification.api used by org.mockito.internal.verification.api
InOrderContext - -
-           
VerificationDataInOrder - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.verification.api used by org.mockito.internal.verification.checkers
InOrderContext - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito.internal.verification.api used by org.mockito.verification
VerificationData - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/ArgumentMatchingTool.html b/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/ArgumentMatchingTool.html deleted file mode 100644 index f70c2f1d4e8..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/ArgumentMatchingTool.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - -ArgumentMatchingTool (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.argumentmatching -
-Class ArgumentMatchingTool

-
-java.lang.Object
-  extended by org.mockito.internal.verification.argumentmatching.ArgumentMatchingTool
-
-
-
-
public class ArgumentMatchingTool
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ArgumentMatchingTool() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Integer[]getSuspiciouslyNotMatchingArgsIndexes(java.util.List<org.hamcrest.Matcher> matchers, - java.lang.Object[] arguments) - -
-          Suspiciously not matching arguments are those that don't match, the toString() representation is the same but types are different.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ArgumentMatchingTool

-
-public ArgumentMatchingTool()
-
-
- - - - - - - - -
-Method Detail
- -

-getSuspiciouslyNotMatchingArgsIndexes

-
-public java.lang.Integer[] getSuspiciouslyNotMatchingArgsIndexes(java.util.List<org.hamcrest.Matcher> matchers,
-                                                                 java.lang.Object[] arguments)
-
-
Suspiciously not matching arguments are those that don't match, the toString() representation is the same but types are different. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/class-use/ArgumentMatchingTool.html b/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/class-use/ArgumentMatchingTool.html deleted file mode 100644 index 4c87c834bd1..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/class-use/ArgumentMatchingTool.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.argumentmatching.ArgumentMatchingTool (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.argumentmatching.ArgumentMatchingTool

-
-No usage of org.mockito.internal.verification.argumentmatching.ArgumentMatchingTool -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/package-frame.html deleted file mode 100644 index 450fdfd707b..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -org.mockito.internal.verification.argumentmatching (Mockito API) - - - - - - - - - - - -org.mockito.internal.verification.argumentmatching - - - - -
-Classes  - -
-ArgumentMatchingTool
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/package-summary.html deleted file mode 100644 index 16265125516..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/package-summary.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - -org.mockito.internal.verification.argumentmatching (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.verification.argumentmatching -

-Deals with matching arguments -

-See: -
-          Description -

- - - - - - - - - -
-Class Summary
ArgumentMatchingTool 
-  - -

-

-Package org.mockito.internal.verification.argumentmatching Description -

- -

-Deals with matching arguments -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/package-tree.html deleted file mode 100644 index 7062cf70ccb..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/package-tree.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -org.mockito.internal.verification.argumentmatching Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.verification.argumentmatching -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/package-use.html b/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/package-use.html deleted file mode 100644 index 62d6fa2540d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/argumentmatching/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.verification.argumentmatching (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.verification.argumentmatching

-
-No usage of org.mockito.internal.verification.argumentmatching -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/AtLeastDiscrepancy.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/AtLeastDiscrepancy.html deleted file mode 100644 index 34428ab8674..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/AtLeastDiscrepancy.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - -AtLeastDiscrepancy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.checkers -
-Class AtLeastDiscrepancy

-
-java.lang.Object
-  extended by org.mockito.exceptions.Discrepancy
-      extended by org.mockito.internal.verification.checkers.AtLeastDiscrepancy
-
-
-
-
public class AtLeastDiscrepancy
extends Discrepancy
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
AtLeastDiscrepancy(int wantedCount, - int actualCount) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetPluralizedWantedCount() - -
-           
- - - - - - - -
Methods inherited from class org.mockito.exceptions.Discrepancy
getActualCount, getPluralizedActualCount, getWantedCount
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-AtLeastDiscrepancy

-
-public AtLeastDiscrepancy(int wantedCount,
-                          int actualCount)
-
-
- - - - - - - - -
-Method Detail
- -

-getPluralizedWantedCount

-
-public java.lang.String getPluralizedWantedCount()
-
-
-
Overrides:
getPluralizedWantedCount in class Discrepancy
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/AtLeastXNumberOfInvocationsChecker.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/AtLeastXNumberOfInvocationsChecker.html deleted file mode 100644 index d5f89365768..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/AtLeastXNumberOfInvocationsChecker.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - -AtLeastXNumberOfInvocationsChecker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.checkers -
-Class AtLeastXNumberOfInvocationsChecker

-
-java.lang.Object
-  extended by org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsChecker
-
-
-
-
public class AtLeastXNumberOfInvocationsChecker
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
AtLeastXNumberOfInvocationsChecker() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidcheck(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-AtLeastXNumberOfInvocationsChecker

-
-public AtLeastXNumberOfInvocationsChecker()
-
-
- - - - - - - - -
-Method Detail
- -

-check

-
-public void check(java.util.List<Invocation> invocations,
-                  InvocationMatcher wanted,
-                  int wantedCount)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/AtLeastXNumberOfInvocationsInOrderChecker.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/AtLeastXNumberOfInvocationsInOrderChecker.html deleted file mode 100644 index be39f58ca12..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/AtLeastXNumberOfInvocationsInOrderChecker.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - -AtLeastXNumberOfInvocationsInOrderChecker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.checkers -
-Class AtLeastXNumberOfInvocationsInOrderChecker

-
-java.lang.Object
-  extended by org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsInOrderChecker
-
-
-
-
public class AtLeastXNumberOfInvocationsInOrderChecker
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
AtLeastXNumberOfInvocationsInOrderChecker(InOrderContext orderingContext) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidcheck(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-AtLeastXNumberOfInvocationsInOrderChecker

-
-public AtLeastXNumberOfInvocationsInOrderChecker(InOrderContext orderingContext)
-
-
- - - - - - - - -
-Method Detail
- -

-check

-
-public void check(java.util.List<Invocation> invocations,
-                  InvocationMatcher wanted,
-                  int wantedCount)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/MissingInvocationChecker.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/MissingInvocationChecker.html deleted file mode 100644 index 02add7b4fb1..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/MissingInvocationChecker.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -MissingInvocationChecker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.checkers -
-Class MissingInvocationChecker

-
-java.lang.Object
-  extended by org.mockito.internal.verification.checkers.MissingInvocationChecker
-
-
-
-
public class MissingInvocationChecker
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
MissingInvocationChecker() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidcheck(java.util.List<Invocation> invocations, - InvocationMatcher wanted) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MissingInvocationChecker

-
-public MissingInvocationChecker()
-
-
- - - - - - - - -
-Method Detail
- -

-check

-
-public void check(java.util.List<Invocation> invocations,
-                  InvocationMatcher wanted)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/MissingInvocationInOrderChecker.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/MissingInvocationInOrderChecker.html deleted file mode 100644 index 8965b99722f..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/MissingInvocationInOrderChecker.html +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - -MissingInvocationInOrderChecker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.checkers -
-Class MissingInvocationInOrderChecker

-
-java.lang.Object
-  extended by org.mockito.internal.verification.checkers.MissingInvocationInOrderChecker
-
-
-
-
public class MissingInvocationInOrderChecker
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
MissingInvocationInOrderChecker() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidcheck(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - VerificationMode mode, - InOrderContext context) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-MissingInvocationInOrderChecker

-
-public MissingInvocationInOrderChecker()
-
-
- - - - - - - - -
-Method Detail
- -

-check

-
-public void check(java.util.List<Invocation> invocations,
-                  InvocationMatcher wanted,
-                  VerificationMode mode,
-                  InOrderContext context)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/NumberOfInvocationsChecker.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/NumberOfInvocationsChecker.html deleted file mode 100644 index dc25a217c55..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/NumberOfInvocationsChecker.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - -NumberOfInvocationsChecker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.checkers -
-Class NumberOfInvocationsChecker

-
-java.lang.Object
-  extended by org.mockito.internal.verification.checkers.NumberOfInvocationsChecker
-
-
-
-
public class NumberOfInvocationsChecker
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
NumberOfInvocationsChecker() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidcheck(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-NumberOfInvocationsChecker

-
-public NumberOfInvocationsChecker()
-
-
- - - - - - - - -
-Method Detail
- -

-check

-
-public void check(java.util.List<Invocation> invocations,
-                  InvocationMatcher wanted,
-                  int wantedCount)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/NumberOfInvocationsInOrderChecker.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/NumberOfInvocationsInOrderChecker.html deleted file mode 100644 index 67d3f105717..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/NumberOfInvocationsInOrderChecker.html +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - -NumberOfInvocationsInOrderChecker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.internal.verification.checkers -
-Class NumberOfInvocationsInOrderChecker

-
-java.lang.Object
-  extended by org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderChecker
-
-
-
-
public class NumberOfInvocationsInOrderChecker
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
NumberOfInvocationsInOrderChecker() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidcheck(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - int wantedCount, - InOrderContext context) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-NumberOfInvocationsInOrderChecker

-
-public NumberOfInvocationsInOrderChecker()
-
-
- - - - - - - - -
-Method Detail
- -

-check

-
-public void check(java.util.List<Invocation> invocations,
-                  InvocationMatcher wanted,
-                  int wantedCount,
-                  InOrderContext context)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/AtLeastDiscrepancy.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/AtLeastDiscrepancy.html deleted file mode 100644 index 888055ed929..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/AtLeastDiscrepancy.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.checkers.AtLeastDiscrepancy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.checkers.AtLeastDiscrepancy

-
-No usage of org.mockito.internal.verification.checkers.AtLeastDiscrepancy -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/AtLeastXNumberOfInvocationsChecker.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/AtLeastXNumberOfInvocationsChecker.html deleted file mode 100644 index 89783961d14..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/AtLeastXNumberOfInvocationsChecker.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsChecker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsChecker

-
-No usage of org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsChecker -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/AtLeastXNumberOfInvocationsInOrderChecker.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/AtLeastXNumberOfInvocationsInOrderChecker.html deleted file mode 100644 index 7946358b1f0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/AtLeastXNumberOfInvocationsInOrderChecker.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsInOrderChecker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsInOrderChecker

-
-No usage of org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsInOrderChecker -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/MissingInvocationChecker.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/MissingInvocationChecker.html deleted file mode 100644 index 95c7c1da11d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/MissingInvocationChecker.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.checkers.MissingInvocationChecker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.checkers.MissingInvocationChecker

-
-No usage of org.mockito.internal.verification.checkers.MissingInvocationChecker -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/MissingInvocationInOrderChecker.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/MissingInvocationInOrderChecker.html deleted file mode 100644 index 609672c77a2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/MissingInvocationInOrderChecker.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.checkers.MissingInvocationInOrderChecker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.checkers.MissingInvocationInOrderChecker

-
-No usage of org.mockito.internal.verification.checkers.MissingInvocationInOrderChecker -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/NumberOfInvocationsChecker.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/NumberOfInvocationsChecker.html deleted file mode 100644 index 61d2157c76c..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/NumberOfInvocationsChecker.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.checkers.NumberOfInvocationsChecker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.checkers.NumberOfInvocationsChecker

-
-No usage of org.mockito.internal.verification.checkers.NumberOfInvocationsChecker -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/NumberOfInvocationsInOrderChecker.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/NumberOfInvocationsInOrderChecker.html deleted file mode 100644 index 8c3218bf31d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/class-use/NumberOfInvocationsInOrderChecker.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderChecker (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderChecker

-
-No usage of org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderChecker -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/package-frame.html deleted file mode 100644 index 9f7ddbace6d..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/package-frame.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - -org.mockito.internal.verification.checkers (Mockito API) - - - - - - - - - - - -org.mockito.internal.verification.checkers - - - - -
-Classes  - -
-AtLeastDiscrepancy -
-AtLeastXNumberOfInvocationsChecker -
-AtLeastXNumberOfInvocationsInOrderChecker -
-MissingInvocationChecker -
-MissingInvocationInOrderChecker -
-NumberOfInvocationsChecker -
-NumberOfInvocationsInOrderChecker
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/package-summary.html deleted file mode 100644 index e60b98f6630..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/package-summary.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - -org.mockito.internal.verification.checkers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.verification.checkers -

-verification checkers -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AtLeastDiscrepancy 
AtLeastXNumberOfInvocationsChecker 
AtLeastXNumberOfInvocationsInOrderChecker 
MissingInvocationChecker 
MissingInvocationInOrderChecker 
NumberOfInvocationsChecker 
NumberOfInvocationsInOrderChecker 
-  - -

-

-Package org.mockito.internal.verification.checkers Description -

- -

-verification checkers -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/package-tree.html deleted file mode 100644 index 0ef50887c48..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/package-tree.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -org.mockito.internal.verification.checkers Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.verification.checkers -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/package-use.html b/tools/mockito/javadoc/org/mockito/internal/verification/checkers/package-use.html deleted file mode 100644 index b106c96d632..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/checkers/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.verification.checkers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.verification.checkers

-
-No usage of org.mockito.internal.verification.checkers -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/AtLeast.html b/tools/mockito/javadoc/org/mockito/internal/verification/class-use/AtLeast.html deleted file mode 100644 index 09d069ef4c0..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/AtLeast.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.AtLeast (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.AtLeast

-
-No usage of org.mockito.internal.verification.AtLeast -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/AtMost.html b/tools/mockito/javadoc/org/mockito/internal/verification/class-use/AtMost.html deleted file mode 100644 index 9e376adfaae..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/AtMost.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.AtMost (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.AtMost

-
-No usage of org.mockito.internal.verification.AtMost -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/InOrderContextImpl.html b/tools/mockito/javadoc/org/mockito/internal/verification/class-use/InOrderContextImpl.html deleted file mode 100644 index 7e787e82016..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/InOrderContextImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.InOrderContextImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.InOrderContextImpl

-
-No usage of org.mockito.internal.verification.InOrderContextImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/InOrderWrapper.html b/tools/mockito/javadoc/org/mockito/internal/verification/class-use/InOrderWrapper.html deleted file mode 100644 index 40704b13a85..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/InOrderWrapper.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.InOrderWrapper (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.InOrderWrapper

-
-No usage of org.mockito.internal.verification.InOrderWrapper -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/MockAwareVerificationMode.html b/tools/mockito/javadoc/org/mockito/internal/verification/class-use/MockAwareVerificationMode.html deleted file mode 100644 index 7db8245fec2..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/MockAwareVerificationMode.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.MockAwareVerificationMode (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.MockAwareVerificationMode

-
-No usage of org.mockito.internal.verification.MockAwareVerificationMode -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/NoMoreInteractions.html b/tools/mockito/javadoc/org/mockito/internal/verification/class-use/NoMoreInteractions.html deleted file mode 100644 index 0f6af0a3eeb..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/NoMoreInteractions.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.NoMoreInteractions (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.NoMoreInteractions

-
- - - - - - - - - -
-Packages that use NoMoreInteractions
org.mockito.internal.verificationVerification logic. 
-  -

- - - - - -
-Uses of NoMoreInteractions in org.mockito.internal.verification
-  -

- - - - - - - - - -
Methods in org.mockito.internal.verification that return NoMoreInteractions
-static NoMoreInteractionsVerificationModeFactory.noMoreInteractions() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/Only.html b/tools/mockito/javadoc/org/mockito/internal/verification/class-use/Only.html deleted file mode 100644 index 7ba4e8b57eb..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/Only.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.Only (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.Only

-
-No usage of org.mockito.internal.verification.Only -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/RegisteredInvocations.html b/tools/mockito/javadoc/org/mockito/internal/verification/class-use/RegisteredInvocations.html deleted file mode 100644 index f7dabcff5c9..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/RegisteredInvocations.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.RegisteredInvocations (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.RegisteredInvocations

-
-No usage of org.mockito.internal.verification.RegisteredInvocations -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/Times.html b/tools/mockito/javadoc/org/mockito/internal/verification/class-use/Times.html deleted file mode 100644 index 9ddc3cc3860..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/Times.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.Times (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.Times

-
- - - - - - - - - -
-Packages that use Times
org.mockito.internal.verificationVerification logic. 
-  -

- - - - - -
-Uses of Times in org.mockito.internal.verification
-  -

- - - - - - - - - -
Methods in org.mockito.internal.verification that return Times
-static TimesVerificationModeFactory.times(int wantedNumberOfInvocations) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/VerificationDataImpl.html b/tools/mockito/javadoc/org/mockito/internal/verification/class-use/VerificationDataImpl.html deleted file mode 100644 index eadbc6cd471..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/VerificationDataImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.VerificationDataImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.VerificationDataImpl

-
-No usage of org.mockito.internal.verification.VerificationDataImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/VerificationModeFactory.html b/tools/mockito/javadoc/org/mockito/internal/verification/class-use/VerificationModeFactory.html deleted file mode 100644 index 629efff9198..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/VerificationModeFactory.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.VerificationModeFactory (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.VerificationModeFactory

-
-No usage of org.mockito.internal.verification.VerificationModeFactory -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/VerificationWithTimeoutImpl.html b/tools/mockito/javadoc/org/mockito/internal/verification/class-use/VerificationWithTimeoutImpl.html deleted file mode 100644 index d6a14bfcaec..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/class-use/VerificationWithTimeoutImpl.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.internal.verification.VerificationWithTimeoutImpl (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
org.mockito.internal.verification.VerificationWithTimeoutImpl

-
-No usage of org.mockito.internal.verification.VerificationWithTimeoutImpl -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/package-frame.html b/tools/mockito/javadoc/org/mockito/internal/verification/package-frame.html deleted file mode 100644 index c3f04726f92..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/package-frame.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - -org.mockito.internal.verification (Mockito API) - - - - - - - - - - - -org.mockito.internal.verification - - - - -
-Classes  - -
-AtLeast -
-AtMost -
-InOrderContextImpl -
-InOrderWrapper -
-MockAwareVerificationMode -
-NoMoreInteractions -
-Only -
-RegisteredInvocations -
-Times -
-VerificationDataImpl -
-VerificationModeFactory -
-VerificationWithTimeoutImpl
- - - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/package-summary.html b/tools/mockito/javadoc/org/mockito/internal/verification/package-summary.html deleted file mode 100644 index 2d39da7f586..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/package-summary.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -org.mockito.internal.verification (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.internal.verification -

-Verification logic. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AtLeast 
AtMost 
InOrderContextImpl 
InOrderWrapper 
MockAwareVerificationMode 
NoMoreInteractions 
Only 
RegisteredInvocations 
Times 
VerificationDataImpl 
VerificationModeFactory 
VerificationWithTimeoutImpl 
-  - -

-

-Package org.mockito.internal.verification Description -

- -

-Verification logic. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/package-tree.html b/tools/mockito/javadoc/org/mockito/internal/verification/package-tree.html deleted file mode 100644 index f7b9d6e06de..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/package-tree.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -org.mockito.internal.verification Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.internal.verification -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/internal/verification/package-use.html b/tools/mockito/javadoc/org/mockito/internal/verification/package-use.html deleted file mode 100644 index ae13c32ed48..00000000000 --- a/tools/mockito/javadoc/org/mockito/internal/verification/package-use.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - -Uses of Package org.mockito.internal.verification (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.internal.verification

-
- - - - - - - - - -
-Packages that use org.mockito.internal.verification
org.mockito.internal.verificationVerification logic. 
-  -

- - - - - - - - - - - -
-Classes in org.mockito.internal.verification used by org.mockito.internal.verification
NoMoreInteractions - -
-           
Times - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/invocation/InvocationOnMock.html b/tools/mockito/javadoc/org/mockito/invocation/InvocationOnMock.html deleted file mode 100644 index dd63ab6db1a..00000000000 --- a/tools/mockito/javadoc/org/mockito/invocation/InvocationOnMock.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -InvocationOnMock (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.invocation -
-Interface InvocationOnMock

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
All Known Implementing Classes:
Invocation
-
-
-
-
public interface InvocationOnMock
extends java.io.Serializable
- - -

-An invocation on a mock -

- A placeholder for mock, the method that was called and the arguments that were passed. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.ObjectcallRealMethod() - -
-          calls real method
- java.lang.Object[]getArguments() - -
-          returns arguments passed to the method
- java.lang.reflect.MethodgetMethod() - -
-          returns the method
- java.lang.ObjectgetMock() - -
-          returns the mock object
-  -

- - - - - - - - -
-Method Detail
- -

-getMock

-
-java.lang.Object getMock()
-
-
returns the mock object -

-

-
-
-
- -
Returns:
mock object
-
-
-
- -

-getMethod

-
-java.lang.reflect.Method getMethod()
-
-
returns the method -

-

-
-
-
- -
Returns:
method
-
-
-
- -

-getArguments

-
-java.lang.Object[] getArguments()
-
-
returns arguments passed to the method -

-

-
-
-
- -
Returns:
arguments
-
-
-
- -

-callRealMethod

-
-java.lang.Object callRealMethod()
-                                throws java.lang.Throwable
-
-
calls real method -

- Warning: depending on the real implementation it might throw exceptions -

-

-
-
-
- -
Returns:
whatever the real method returns / throws -
Throws: -
java.lang.Throwable - in case real method throws
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/invocation/class-use/InvocationOnMock.html b/tools/mockito/javadoc/org/mockito/invocation/class-use/InvocationOnMock.html deleted file mode 100644 index 143660cbd02..00000000000 --- a/tools/mockito/javadoc/org/mockito/invocation/class-use/InvocationOnMock.html +++ /dev/null @@ -1,446 +0,0 @@ - - - - - - -Uses of Interface org.mockito.invocation.InvocationOnMock (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
org.mockito.invocation.InvocationOnMock

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use InvocationOnMock
org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.stubbingStubbing logic. 
org.mockito.internal.stubbing.answersAnswers for stubbed calls 
org.mockito.internal.stubbing.defaultanswersImplementations of ReturnValues 
org.mockito.stubbingExternal stubbing related classes 
org.mockito.stubbing.answers  
-  -

- - - - - -
-Uses of InvocationOnMock in org.mockito
-  -

- - - - - - - - - -
Methods in org.mockito with parameters of type InvocationOnMock
- java.lang.ObjectReturnValues.valueFor(InvocationOnMock invocation) - -
-          Deprecated. return value for an unstubbed invocation
-  -

- - - - - -
-Uses of InvocationOnMock in org.mockito.internal.invocation
-  -

- - - - - - - - - -
Classes in org.mockito.internal.invocation that implement InvocationOnMock
- classInvocation - -
-          Method call on a mock object.
-  -

- - - - - - - - - -
Methods in org.mockito.internal.invocation with parameters of type InvocationOnMock
-static booleanInvocation.isToString(InvocationOnMock invocation) - -
-           
-  -

- - - - - -
-Uses of InvocationOnMock in org.mockito.internal.stubbing
-  -

- - - - - - - - - -
Methods in org.mockito.internal.stubbing with parameters of type InvocationOnMock
- java.lang.ObjectStubbedInvocationMatcher.answer(InvocationOnMock invocation) - -
-           
-  -

- - - - - -
-Uses of InvocationOnMock in org.mockito.internal.stubbing.answers
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.stubbing.answers with parameters of type InvocationOnMock
- java.lang.ObjectThrowsException.answer(InvocationOnMock invocation) - -
-           
- java.lang.ObjectReturns.answer(InvocationOnMock invocation) - -
-           
- java.lang.ObjectDoesNothing.answer(InvocationOnMock invocation) - -
-           
- java.lang.ObjectClonesArguments.answer(InvocationOnMock invocation) - -
-           
- java.lang.ObjectCallsRealMethods.answer(InvocationOnMock invocation) - -
-           
- java.lang.ObjectAnswerReturnValuesAdapter.answer(InvocationOnMock invocation) - -
-           
-  -

- - - - - -
-Uses of InvocationOnMock in org.mockito.internal.stubbing.defaultanswers
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.mockito.internal.stubbing.defaultanswers with parameters of type InvocationOnMock
- java.lang.ObjectReturnsSmartNulls.answer(InvocationOnMock invocation) - -
-           
- java.lang.ObjectReturnsMoreEmptyValues.answer(InvocationOnMock invocation) - -
-           
- java.lang.ObjectReturnsMocks.answer(InvocationOnMock invocation) - -
-           
- java.lang.ObjectReturnsEmptyValues.answer(InvocationOnMock invocation) - -
-           
- java.lang.ObjectReturnsDeepStubs.answer(InvocationOnMock invocation) - -
-           
- java.lang.ObjectGloballyConfiguredAnswer.answer(InvocationOnMock invocation) - -
-           
-  -

- - - - - -
-Uses of InvocationOnMock in org.mockito.stubbing
-  -

- - - - - - - - - -
Methods in org.mockito.stubbing with parameters of type InvocationOnMock
- TAnswer.answer(InvocationOnMock invocation) - -
-           
-  -

- - - - - -
-Uses of InvocationOnMock in org.mockito.stubbing.answers
-  -

- - - - - - - - - -
Methods in org.mockito.stubbing.answers with parameters of type InvocationOnMock
- java.lang.ObjectReturnsElementsOf.answer(InvocationOnMock invocation) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/invocation/package-frame.html b/tools/mockito/javadoc/org/mockito/invocation/package-frame.html deleted file mode 100644 index f6ab9e966f8..00000000000 --- a/tools/mockito/javadoc/org/mockito/invocation/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -org.mockito.invocation (Mockito API) - - - - - - - - - - - -org.mockito.invocation - - - - -
-Interfaces  - -
-InvocationOnMock
- - - - diff --git a/tools/mockito/javadoc/org/mockito/invocation/package-summary.html b/tools/mockito/javadoc/org/mockito/invocation/package-summary.html deleted file mode 100644 index 0f971770649..00000000000 --- a/tools/mockito/javadoc/org/mockito/invocation/package-summary.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - -org.mockito.invocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito.invocation -

-Publicly visible classes related to invocation -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
InvocationOnMockAn invocation on a mock
-  - -

-

-Package org.mockito.invocation Description -

- -

-Publicly visible classes related to invocation -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/invocation/package-tree.html b/tools/mockito/javadoc/org/mockito/invocation/package-tree.html deleted file mode 100644 index 457ba7ff4f5..00000000000 --- a/tools/mockito/javadoc/org/mockito/invocation/package-tree.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -org.mockito.invocation Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito.invocation -

-
-
-
Package Hierarchies:
All Packages
-
-

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/invocation/package-use.html b/tools/mockito/javadoc/org/mockito/invocation/package-use.html deleted file mode 100644 index a1b870ccb6a..00000000000 --- a/tools/mockito/javadoc/org/mockito/invocation/package-use.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - -Uses of Package org.mockito.invocation (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito.invocation

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.mockito.invocation
org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
org.mockito.internal.invocationInvocation and related classes. 
org.mockito.internal.stubbingStubbing logic. 
org.mockito.internal.stubbing.answersAnswers for stubbed calls 
org.mockito.internal.stubbing.defaultanswersImplementations of ReturnValues 
org.mockito.stubbingExternal stubbing related classes 
org.mockito.stubbing.answers  
-  -

- - - - - - - - -
-Classes in org.mockito.invocation used by org.mockito
InvocationOnMock - -
-          An invocation on a mock
-  -

- - - - - - - - -
-Classes in org.mockito.invocation used by org.mockito.internal.invocation
InvocationOnMock - -
-          An invocation on a mock
-  -

- - - - - - - - -
-Classes in org.mockito.invocation used by org.mockito.internal.stubbing
InvocationOnMock - -
-          An invocation on a mock
-  -

- - - - - - - - -
-Classes in org.mockito.invocation used by org.mockito.internal.stubbing.answers
InvocationOnMock - -
-          An invocation on a mock
-  -

- - - - - - - - -
-Classes in org.mockito.invocation used by org.mockito.internal.stubbing.defaultanswers
InvocationOnMock - -
-          An invocation on a mock
-  -

- - - - - - - - -
-Classes in org.mockito.invocation used by org.mockito.stubbing
InvocationOnMock - -
-          An invocation on a mock
-  -

- - - - - - - - -
-Classes in org.mockito.invocation used by org.mockito.stubbing.answers
InvocationOnMock - -
-          An invocation on a mock
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/logo.jpg b/tools/mockito/javadoc/org/mockito/logo.jpg deleted file mode 100644 index 430922e69f4..00000000000 Binary files a/tools/mockito/javadoc/org/mockito/logo.jpg and /dev/null differ diff --git a/tools/mockito/javadoc/org/mockito/package-frame.html b/tools/mockito/javadoc/org/mockito/package-frame.html deleted file mode 100644 index 614148ecfb5..00000000000 --- a/tools/mockito/javadoc/org/mockito/package-frame.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - -org.mockito (Mockito API) - - - - - - - - - - - -org.mockito - - - - -
-Interfaces  - -
-BDDMockito.BDDMyOngoingStubbing -
-BDDMockito.BDDStubber -
-InOrder -
-MockitoDebugger -
-MockSettings -
-ReturnValues
- - - - - - -
-Classes  - -
-AdditionalMatchers -
-ArgumentCaptor -
-ArgumentMatcher -
-BDDMockito -
-BDDMockito.BDDOngoingStubbingImpl -
-BDDMockito.BDDStubberImpl -
-Matchers -
-Mockito -
-MockitoAnnotations
- - - - - - -
-Enums  - -
-Answers
- - - - - - -
-Annotation Types  - -
-Captor -
-InjectMocks -
-Mock -
-MockitoAnnotations.Mock -
-Spy
- - - - diff --git a/tools/mockito/javadoc/org/mockito/package-summary.html b/tools/mockito/javadoc/org/mockito/package-summary.html deleted file mode 100644 index 624748b6ec4..00000000000 --- a/tools/mockito/javadoc/org/mockito/package-summary.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - -org.mockito (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package org.mockito -

-Mockito is a mock library for java - see Mockito class for for usage. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
BDDMockito.BDDMyOngoingStubbing<T>See original OngoingStubbing
BDDMockito.BDDStubberSee original Stubber
InOrderAllows verification in order.
MockitoDebugger 
MockSettingsAllows mock creation with additional mock settings.
ReturnValuesDeprecated. Instead, please use Answer interface
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AdditionalMatchersSee Matchers for general info about matchers.
ArgumentCaptor<T>Use it to capture argument values for further assertions.
ArgumentMatcher<T>Allows creating customized argument matchers.
BDDMockitoBehavior Driven Development style of writing tests uses //given //when //then comments as fundamental parts of your test methods.
BDDMockito.BDDOngoingStubbingImpl<T> 
BDDMockito.BDDStubberImpl 
MatchersAllow flexible verification or stubbing.
Mockito

MockitoAnnotationsMockitoAnnotations.initMocks(this); initializes fields annotated with Mockito annotations.
-  - -

- - - - - - - - - -
-Enum Summary
AnswersEnumeration of pre-configured mock answers
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Annotation Types Summary
CaptorAllows shorthand ArgumentCaptor creation on fields.
InjectMocks - Allows shorthand mock and spy injection. - Minimizes repetitive mock and spy injection. -
Mock - Allows shorthand mock creation. - Minimizes repetitive mock creation code. - Makes the test class more readable. - Makes the verification error easier to read because the field name is used to identify the mock. -
MockitoAnnotations.MockDeprecated.
SpyAllows shorthand wrapping of field instances in an spy object.
-  - -

-

-Package org.mockito Description -

- -

-Mockito is a mock library for java - see Mockito class for for usage. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/package-tree.html b/tools/mockito/javadoc/org/mockito/package-tree.html deleted file mode 100644 index 7e2f624af58..00000000000 --- a/tools/mockito/javadoc/org/mockito/package-tree.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - -org.mockito Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package org.mockito -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -

-Annotation Type Hierarchy -

-
    -
  • org.mockito.Spy (implements java.lang.annotation.Annotation) -
  • org.mockito.MockitoAnnotations.Mock (implements java.lang.annotation.Annotation) -
  • org.mockito.Mock (implements java.lang.annotation.Annotation) -
  • org.mockito.InjectMocks (implements java.lang.annotation.Annotation) -
  • org.mockito.Captor (implements java.lang.annotation.Annotation) -
-

-Enum Hierarchy -

-
    -
  • java.lang.Object
      -
    • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) - -
    -
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/package-use.html b/tools/mockito/javadoc/org/mockito/package-use.html deleted file mode 100644 index cfc448af665..00000000000 --- a/tools/mockito/javadoc/org/mockito/package-use.html +++ /dev/null @@ -1,458 +0,0 @@ - - - - - - -Uses of Package org.mockito (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
org.mockito

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages that use org.mockito
org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
org.mockito.configurationMockito configuration utilities 
org.mockito.internalInternal classes, not to be used by clients. 
org.mockito.internal.configurationMockito configuration 
org.mockito.internal.creationMock object creation. 
org.mockito.internal.debuggingWhatever helps in debugging failed tests 
org.mockito.internal.listeners  
org.mockito.internal.matchersArgument matchers for verification and stubbing. 
org.mockito.internal.matchers.apachecommonsArgument matchers that use Apache Commons Lang reflection-equality. 
org.mockito.internal.progressMocking progress stateful classes. 
org.mockito.internal.stubbing.answersAnswers for stubbed calls 
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.mockito used by org.mockito
Answers - -
-          Enumeration of pre-configured mock answers
ArgumentCaptor - -
-          Use it to capture argument values for further assertions.
BDDMockito.BDDMyOngoingStubbing - -
-          See original OngoingStubbing
BDDMockito.BDDStubber - -
-          See original Stubber
InOrder - -
-          Allows verification in order.
Matchers - -
-          Allow flexible verification or stubbing.
Mockito - -
-          

MockSettings - -
-          Allows mock creation with additional mock settings.
ReturnValues - -
-          Deprecated. Instead, please use Answer interface -

- In rare cases your code might not compile with recent deprecation & changes. - Very sorry for inconvenience but it had to be done in order to keep framework consistent. -

- Why it is deprecated? ReturnValues is being replaced by Answer - for better consistency & interoperability of the framework. - Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues. - There's no point in mainting exactly the same interfaces. -

- Configures return values for an unstubbed invocation -

- Can be used in Mockito.mock(Class, ReturnValues)

-  -

- - - - - - - - -
-Classes in org.mockito used by org.mockito.configuration
ReturnValues - -
-          Deprecated. Instead, please use Answer interface -

- In rare cases your code might not compile with recent deprecation & changes. - Very sorry for inconvenience but it had to be done in order to keep framework consistent. -

- Why it is deprecated? ReturnValues is being replaced by Answer - for better consistency & interoperability of the framework. - Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues. - There's no point in mainting exactly the same interfaces. -

- Configures return values for an unstubbed invocation -

- Can be used in Mockito.mock(Class, ReturnValues)

-  -

- - - - - - - - - - - -
-Classes in org.mockito used by org.mockito.internal
InOrder - -
-          Allows verification in order.
MockSettings - -
-          Allows mock creation with additional mock settings.
-  -

- - - - - - - - -
-Classes in org.mockito used by org.mockito.internal.configuration
ReturnValues - -
-          Deprecated. Instead, please use Answer interface -

- In rare cases your code might not compile with recent deprecation & changes. - Very sorry for inconvenience but it had to be done in order to keep framework consistent. -

- Why it is deprecated? ReturnValues is being replaced by Answer - for better consistency & interoperability of the framework. - Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues. - There's no point in mainting exactly the same interfaces. -

- Configures return values for an unstubbed invocation -

- Can be used in Mockito.mock(Class, ReturnValues)

-  -

- - - - - - - - -
-Classes in org.mockito used by org.mockito.internal.creation
MockSettings - -
-          Allows mock creation with additional mock settings.
-  -

- - - - - - - - -
-Classes in org.mockito used by org.mockito.internal.debugging
MockitoDebugger - -
-           
-  -

- - - - - - - - -
-Classes in org.mockito used by org.mockito.internal.listeners
MockSettings - -
-          Allows mock creation with additional mock settings.
-  -

- - - - - - - - -
-Classes in org.mockito used by org.mockito.internal.matchers
ArgumentMatcher - -
-          Allows creating customized argument matchers.
-  -

- - - - - - - - -
-Classes in org.mockito used by org.mockito.internal.matchers.apachecommons
ArgumentMatcher - -
-          Allows creating customized argument matchers.
-  -

- - - - - - - - -
-Classes in org.mockito used by org.mockito.internal.progress
MockSettings - -
-          Allows mock creation with additional mock settings.
-  -

- - - - - - - - -
-Classes in org.mockito used by org.mockito.internal.stubbing.answers
ReturnValues - -
-          Deprecated. Instead, please use Answer interface -

- In rare cases your code might not compile with recent deprecation & changes. - Very sorry for inconvenience but it had to be done in order to keep framework consistent. -

- Why it is deprecated? ReturnValues is being replaced by Answer - for better consistency & interoperability of the framework. - Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues. - There's no point in mainting exactly the same interfaces. -

- Configures return values for an unstubbed invocation -

- Can be used in Mockito.mock(Class, ReturnValues)

-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/tools/mockito/javadoc/org/mockito/runners/ConsoleSpammingMockitoJUnitRunner.html b/tools/mockito/javadoc/org/mockito/runners/ConsoleSpammingMockitoJUnitRunner.html deleted file mode 100644 index e38686c4515..00000000000 --- a/tools/mockito/javadoc/org/mockito/runners/ConsoleSpammingMockitoJUnitRunner.html +++ /dev/null @@ -1,383 +0,0 @@ - - - - - - -ConsoleSpammingMockitoJUnitRunner (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -org.mockito.runners -
-Class ConsoleSpammingMockitoJUnitRunner

-
-java.lang.Object
-  extended by org.junit.runner.Runner
-      extended by org.mockito.runners.ConsoleSpammingMockitoJUnitRunner
-
-
-
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable
-
-
-
-
public class ConsoleSpammingMockitoJUnitRunner
extends org.junit.runner.Runner
implements org.junit.runner.manipulation.Filterable
- - -

-Uses JUnit 4.5 runner BlockJUnit4ClassRunner. -

- Experimental implementation that suppose to improve tdd/testing experience. - Don't hesitate to send feedback to mockito@googlegroups.com - It is very likely it will change in the next version! -

- This runner does exactly what MockitoJUnitRunner does but also - prints warnings that might be useful. - The point is that Mockito should help the tdd developer to quickly figure out if the test fails for the right reason. - Then the developer can implement the functionality. - Also when the test fails it should be easy to figure out why the test fails. -

- Sometimes when the test fails, the underlying reason is that stubbed method was called with wrong arguments. - Sometimes it fails because one forgets to stub a method or forgets to call a stubbed method. - All above problems are not immediately obvious. -

- One way of approaching this problem is full-blown 'expect' API. - However it means the 'expectations upfront' business which is not in line with core Mockito concepts. - After all, the essence of testing are explicit assertions that are described consistently at the bottom of the test method. -

- Here's the experiment: a warning is printed to the standard output if the test fails. - Also, you get a clickabe link to the line of code. You can immediately jump to the place in code where the potential problem is. -

- Let's say your test fails on assertion. - Let's say the underlying reason is a stubbed method that was called with different arguments: -

- //test:
- Dictionary dictionary = new Dictionary(translator);
- when(translator.translate("Mockito")).thenReturn("cool framework");
- String translated = dictionary.search("Mockito");
- assertEquals("cool framework", translated);
- 
- //code:
- public String search(String word) {
-     ...
-     return translator.translate("oups");
-
- 
- On standard output you'll see something like that: -
- [Mockito] Warning - stubbed method called with different arguments.
- Stubbed this way:
- translator.translate("Mockito");
- org.dictionary.SmartDictionaryTest.shouldFindTranslation(SmartDictionaryTest.java:27)
-  
- But called with different arguments:
- translator.translate("oups");
- org.dictionary.SmartDictionary.search(SmartDictionary.java:15)
- 
-

- Note that it is just a warning, not an assertion. - The test fails on assertion because it's the assertion's duty to document what the test stands for and what behavior it proves. - Warnings just makes it quicker to figure out if the test fails for the right reason. -

- Note that code links printed to the console are clickable in any decent IDE (e.g. Eclipse). -

- So far I identified 2 cases when warnings are printed: -

  • unsued stub
  • -
  • stubbed method but called with different arguments
  • -

    -
    -

    - Do you think it is useful or not? Drop us an email at mockito@googlegroups.com -

    - -

    -


    - -

    - - - - - - - - - - - -
    -Constructor Summary
    ConsoleSpammingMockitoJUnitRunner(java.lang.Class<?> klass) - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidfilter(org.junit.runner.manipulation.Filter filter) - -
    -           
    - org.junit.runner.DescriptiongetDescription() - -
    -           
    - voidrun(org.junit.runner.notification.RunNotifier notifier) - -
    -           
    - - - - - - - -
    Methods inherited from class org.junit.runner.Runner
    testCount
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Constructor Detail
    - -

    -ConsoleSpammingMockitoJUnitRunner

    -
    -public ConsoleSpammingMockitoJUnitRunner(java.lang.Class<?> klass)
    -                                  throws java.lang.reflect.InvocationTargetException
    -
    -
    - -
    Throws: -
    java.lang.reflect.InvocationTargetException
    -
    - - - - - - - - -
    -Method Detail
    - -

    -run

    -
    -public void run(org.junit.runner.notification.RunNotifier notifier)
    -
    -
    -
    Specified by:
    run in class org.junit.runner.Runner
    -
    -
    -
    -
    -
    -
    - -

    -getDescription

    -
    -public org.junit.runner.Description getDescription()
    -
    -
    -
    Specified by:
    getDescription in interface org.junit.runner.Describable
    Specified by:
    getDescription in class org.junit.runner.Runner
    -
    -
    -
    -
    -
    -
    - -

    -filter

    -
    -public void filter(org.junit.runner.manipulation.Filter filter)
    -            throws org.junit.runner.manipulation.NoTestsRemainException
    -
    -
    -
    Specified by:
    filter in interface org.junit.runner.manipulation.Filterable
    -
    -
    - -
    Throws: -
    org.junit.runner.manipulation.NoTestsRemainException
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/runners/MockitoJUnit44Runner.html b/tools/mockito/javadoc/org/mockito/runners/MockitoJUnit44Runner.html deleted file mode 100644 index 4966c27d70f..00000000000 --- a/tools/mockito/javadoc/org/mockito/runners/MockitoJUnit44Runner.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - - - -MockitoJUnit44Runner (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - -

    - -org.mockito.runners -
    -Class MockitoJUnit44Runner

    -
    -java.lang.Object
    -  extended by org.junit.runner.Runner
    -      extended by org.mockito.runners.MockitoJUnitRunner
    -          extended by org.mockito.runners.MockitoJUnit44Runner
    -
    -
    -
    All Implemented Interfaces:
    org.junit.runner.Describable, org.junit.runner.manipulation.Filterable
    -
    -
    -Deprecated. -

    -

    -
    @Deprecated
    -public class MockitoJUnit44Runner
    extends MockitoJUnitRunner
    - - -

    -Deprecated: Simply use MockitoJUnitRunner -

    - Compatible only with JUnit 4.4, this runner adds following behavior: -

    - - Runner is completely optional - there are other ways you can get @Mock working, for example by writing a base class. - Explicitly validating framework usage is also optional because it is triggered automatically by Mockito every time you use the framework. - See javadoc for Mockito.validateMockitoUsage(). -

    - Read more about @Mock annotation in javadoc for MockitoAnnotations -

    - Example: -

    - @RunWith(MockitoJUnit44Runner.class)
    - public class ExampleTest {
    - 
    -     @Mock
    -     private List list;
    - 
    -     @Test
    -     public void shouldDoSomething() {
    -         list.add(100);
    -     }
    - }
    - 

    - -

    -

    - -

    -


    - -

    - - - - - - - - - - - -
    -Constructor Summary
    MockitoJUnit44Runner(java.lang.Class<?> klass) - -
    -          Deprecated.  
    -  - - - - - - - -
    -Method Summary
    - - - - - - - -
    Methods inherited from class org.mockito.runners.MockitoJUnitRunner
    filter, getDescription, run
    - - - - - - - -
    Methods inherited from class org.junit.runner.Runner
    testCount
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Constructor Detail
    - -

    -MockitoJUnit44Runner

    -
    -public MockitoJUnit44Runner(java.lang.Class<?> klass)
    -                     throws java.lang.reflect.InvocationTargetException
    -
    -
    Deprecated. 
    - -
    Throws: -
    java.lang.reflect.InvocationTargetException
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/runners/MockitoJUnitRunner.html b/tools/mockito/javadoc/org/mockito/runners/MockitoJUnitRunner.html deleted file mode 100644 index 0a6b27eefe2..00000000000 --- a/tools/mockito/javadoc/org/mockito/runners/MockitoJUnitRunner.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - -MockitoJUnitRunner (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - -

    - -org.mockito.runners -
    -Class MockitoJUnitRunner

    -
    -java.lang.Object
    -  extended by org.junit.runner.Runner
    -      extended by org.mockito.runners.MockitoJUnitRunner
    -
    -
    -
    All Implemented Interfaces:
    org.junit.runner.Describable, org.junit.runner.manipulation.Filterable
    -
    -
    -
    Direct Known Subclasses:
    MockitoJUnit44Runner
    -
    -
    -
    -
    public class MockitoJUnitRunner
    extends org.junit.runner.Runner
    implements org.junit.runner.manipulation.Filterable
    - - -

    -Compatible with JUnit 4.4 and higher, this runner adds following behavior: -

    - - Runner is completely optional - there are other ways you can get @Mock working, for example by writing a base class. - Explicitly validating framework usage is also optional because it is triggered automatically by Mockito every time you use the framework. - See javadoc for Mockito.validateMockitoUsage(). -

    - Read more about @Mock annotation in javadoc for MockitoAnnotations -

    - @RunWith(MockitoJUnit44Runner.class)
    - public class ExampleTest {
    - 
    -     @Mock
    -     private List list;
    - 
    -     @Test
    -     public void shouldDoSomething() {
    -         list.add(100);
    -     }
    - }
    - 
    -

    - -

    -


    - -

    - - - - - - - - - - - -
    -Constructor Summary
    MockitoJUnitRunner(java.lang.Class<?> klass) - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidfilter(org.junit.runner.manipulation.Filter filter) - -
    -           
    - org.junit.runner.DescriptiongetDescription() - -
    -           
    - voidrun(org.junit.runner.notification.RunNotifier notifier) - -
    -           
    - - - - - - - -
    Methods inherited from class org.junit.runner.Runner
    testCount
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Constructor Detail
    - -

    -MockitoJUnitRunner

    -
    -public MockitoJUnitRunner(java.lang.Class<?> klass)
    -                   throws java.lang.reflect.InvocationTargetException
    -
    -
    - -
    Throws: -
    java.lang.reflect.InvocationTargetException
    -
    - - - - - - - - -
    -Method Detail
    - -

    -run

    -
    -public void run(org.junit.runner.notification.RunNotifier notifier)
    -
    -
    -
    Specified by:
    run in class org.junit.runner.Runner
    -
    -
    -
    -
    -
    -
    - -

    -getDescription

    -
    -public org.junit.runner.Description getDescription()
    -
    -
    -
    Specified by:
    getDescription in interface org.junit.runner.Describable
    Specified by:
    getDescription in class org.junit.runner.Runner
    -
    -
    -
    -
    -
    -
    - -

    -filter

    -
    -public void filter(org.junit.runner.manipulation.Filter filter)
    -            throws org.junit.runner.manipulation.NoTestsRemainException
    -
    -
    -
    Specified by:
    filter in interface org.junit.runner.manipulation.Filterable
    -
    -
    - -
    Throws: -
    org.junit.runner.manipulation.NoTestsRemainException
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/runners/VerboseMockitoJUnitRunner.html b/tools/mockito/javadoc/org/mockito/runners/VerboseMockitoJUnitRunner.html deleted file mode 100644 index 839ff539dae..00000000000 --- a/tools/mockito/javadoc/org/mockito/runners/VerboseMockitoJUnitRunner.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - -VerboseMockitoJUnitRunner (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - -

    - -org.mockito.runners -
    -Class VerboseMockitoJUnitRunner

    -
    -java.lang.Object
    -  extended by org.junit.runner.Runner
    -      extended by org.mockito.runners.VerboseMockitoJUnitRunner
    -
    -
    -
    All Implemented Interfaces:
    org.junit.runner.Describable, org.junit.runner.manipulation.Filterable
    -
    -
    -
    -
    public class VerboseMockitoJUnitRunner
    extends org.junit.runner.Runner
    implements org.junit.runner.manipulation.Filterable
    - - -

    -Experimental implementation that suppose to improve tdd/testing experience. - Don't hesitate to send feedback to mockito@googlegroups.com - It is very likely it will change in the next version! -

    - This runner does exactly what MockitoJUnitRunner does but also - adds extra Mocktio hints to the exception message. - The point is that Mockito should help the tdd developer to quickly figure out if the test fails for the right reason and track the reason. -

    - The implemntation is pretty hacky - it uses brute force of reflection to modify the exception message and add extra mockito hints. - You've been warned. -

    - Do you think it is useful or not? Drop us an email at mockito@googlegroups.com -

    - Experimental implementation - will change in future! -

    - -

    -


    - -

    - - - - - - - - - - - -
    -Constructor Summary
    VerboseMockitoJUnitRunner(java.lang.Class<?> klass) - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidfilter(org.junit.runner.manipulation.Filter filter) - -
    -           
    - org.junit.runner.DescriptiongetDescription() - -
    -           
    - voidrun(org.junit.runner.notification.RunNotifier notifier) - -
    -           
    - - - - - - - -
    Methods inherited from class org.junit.runner.Runner
    testCount
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Constructor Detail
    - -

    -VerboseMockitoJUnitRunner

    -
    -public VerboseMockitoJUnitRunner(java.lang.Class<?> klass)
    -                          throws java.lang.reflect.InvocationTargetException
    -
    -
    - -
    Throws: -
    java.lang.reflect.InvocationTargetException
    -
    - - - - - - - - -
    -Method Detail
    - -

    -run

    -
    -public void run(org.junit.runner.notification.RunNotifier notifier)
    -
    -
    -
    Specified by:
    run in class org.junit.runner.Runner
    -
    -
    -
    -
    -
    -
    - -

    -getDescription

    -
    -public org.junit.runner.Description getDescription()
    -
    -
    -
    Specified by:
    getDescription in interface org.junit.runner.Describable
    Specified by:
    getDescription in class org.junit.runner.Runner
    -
    -
    -
    -
    -
    -
    - -

    -filter

    -
    -public void filter(org.junit.runner.manipulation.Filter filter)
    -            throws org.junit.runner.manipulation.NoTestsRemainException
    -
    -
    -
    Specified by:
    filter in interface org.junit.runner.manipulation.Filterable
    -
    -
    - -
    Throws: -
    org.junit.runner.manipulation.NoTestsRemainException
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/runners/class-use/ConsoleSpammingMockitoJUnitRunner.html b/tools/mockito/javadoc/org/mockito/runners/class-use/ConsoleSpammingMockitoJUnitRunner.html deleted file mode 100644 index 1bb28d68a98..00000000000 --- a/tools/mockito/javadoc/org/mockito/runners/class-use/ConsoleSpammingMockitoJUnitRunner.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.runners.ConsoleSpammingMockitoJUnitRunner (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Class
    org.mockito.runners.ConsoleSpammingMockitoJUnitRunner

    -
    -No usage of org.mockito.runners.ConsoleSpammingMockitoJUnitRunner -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/runners/class-use/MockitoJUnit44Runner.html b/tools/mockito/javadoc/org/mockito/runners/class-use/MockitoJUnit44Runner.html deleted file mode 100644 index b34f32f1fbc..00000000000 --- a/tools/mockito/javadoc/org/mockito/runners/class-use/MockitoJUnit44Runner.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.runners.MockitoJUnit44Runner (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Class
    org.mockito.runners.MockitoJUnit44Runner

    -
    -No usage of org.mockito.runners.MockitoJUnit44Runner -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/runners/class-use/MockitoJUnitRunner.html b/tools/mockito/javadoc/org/mockito/runners/class-use/MockitoJUnitRunner.html deleted file mode 100644 index fd793e2abcb..00000000000 --- a/tools/mockito/javadoc/org/mockito/runners/class-use/MockitoJUnitRunner.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Class org.mockito.runners.MockitoJUnitRunner (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Class
    org.mockito.runners.MockitoJUnitRunner

    -
    - - - - - - - - - -
    -Packages that use MockitoJUnitRunner
    org.mockito.runnersJUnit runners. 
    -  -

    - - - - - -
    -Uses of MockitoJUnitRunner in org.mockito.runners
    -  -

    - - - - - - - - - -
    Subclasses of MockitoJUnitRunner in org.mockito.runners
    - classMockitoJUnit44Runner - -
    -          Deprecated. 
    -  -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/runners/class-use/VerboseMockitoJUnitRunner.html b/tools/mockito/javadoc/org/mockito/runners/class-use/VerboseMockitoJUnitRunner.html deleted file mode 100644 index d5154348a1a..00000000000 --- a/tools/mockito/javadoc/org/mockito/runners/class-use/VerboseMockitoJUnitRunner.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.runners.VerboseMockitoJUnitRunner (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Class
    org.mockito.runners.VerboseMockitoJUnitRunner

    -
    -No usage of org.mockito.runners.VerboseMockitoJUnitRunner -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/runners/package-frame.html b/tools/mockito/javadoc/org/mockito/runners/package-frame.html deleted file mode 100644 index eaa82f81989..00000000000 --- a/tools/mockito/javadoc/org/mockito/runners/package-frame.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - -org.mockito.runners (Mockito API) - - - - - - - - - - - -org.mockito.runners - - - - -
    -Classes  - -
    -ConsoleSpammingMockitoJUnitRunner -
    -MockitoJUnit44Runner -
    -MockitoJUnitRunner -
    -VerboseMockitoJUnitRunner
    - - - - diff --git a/tools/mockito/javadoc/org/mockito/runners/package-summary.html b/tools/mockito/javadoc/org/mockito/runners/package-summary.html deleted file mode 100644 index 58f8f0a8652..00000000000 --- a/tools/mockito/javadoc/org/mockito/runners/package-summary.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - -org.mockito.runners (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -

    -Package org.mockito.runners -

    -JUnit runners. -

    -See: -
    -          Description -

    - - - - - - - - - - - - - - - - - - - - - -
    -Class Summary
    ConsoleSpammingMockitoJUnitRunnerUses JUnit 4.5 runner BlockJUnit4ClassRunner.
    MockitoJUnit44RunnerDeprecated.
    MockitoJUnitRunnerCompatible with JUnit 4.4 and higher, this runner adds following behavior: - - - Initializes mocks annotated with Mock, - so that explicit usage of MockitoAnnotations.initMocks(Object) is not necessary.
    VerboseMockitoJUnitRunnerExperimental implementation that suppose to improve tdd/testing experience.
    -  - -

    -

    -Package org.mockito.runners Description -

    - -

    -JUnit runners. -

    - -

    -

    -
    -
    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/runners/package-tree.html b/tools/mockito/javadoc/org/mockito/runners/package-tree.html deleted file mode 100644 index 85ebddd8afb..00000000000 --- a/tools/mockito/javadoc/org/mockito/runners/package-tree.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -org.mockito.runners Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Hierarchy For Package org.mockito.runners -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/runners/package-use.html b/tools/mockito/javadoc/org/mockito/runners/package-use.html deleted file mode 100644 index 062cea66df1..00000000000 --- a/tools/mockito/javadoc/org/mockito/runners/package-use.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - -Uses of Package org.mockito.runners (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Package
    org.mockito.runners

    -
    - - - - - - - - - -
    -Packages that use org.mockito.runners
    org.mockito.runnersJUnit runners. 
    -  -

    - - - - - - - - -
    -Classes in org.mockito.runners used by org.mockito.runners
    MockitoJUnitRunner - -
    -          Compatible with JUnit 4.4 and higher, this runner adds following behavior: - - - Initializes mocks annotated with Mock, - so that explicit usage of MockitoAnnotations.initMocks(Object) is not necessary.
    -  -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/Answer.html b/tools/mockito/javadoc/org/mockito/stubbing/Answer.html deleted file mode 100644 index fdf2bb9defb..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/Answer.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - -Answer (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - -

    - -org.mockito.stubbing -
    -Interface Answer<T>

    -
    -
    Type Parameters:
    T - the type to return.
    -
    -
    All Known Implementing Classes:
    AnswerReturnValuesAdapter, CallsRealMethods, ClonesArguments, DoesNothing, GloballyConfiguredAnswer, Returns, ReturnsDeepStubs, ReturnsElementsOf, ReturnsEmptyValues, ReturnsMocks, ReturnsMoreEmptyValues, ReturnsSmartNulls, StubbedInvocationMatcher, ThrowsException
    -
    -
    -
    -
    public interface Answer<T>
    - - -

    -Generic interface to be used for configuring mock's answer. - Answer specifies an action that is executed and a return value that is returned when you interact with the mock. -

    - Example of stubbing a mock with custom answer: - -

    - when(mock.someMethod(anyString())).thenAnswer(new Answer() {
    -     Object answer(InvocationOnMock invocation) {
    -         Object[] args = invocation.getArguments();
    -         Object mock = invocation.getMock();
    -         return "called with arguments: " + args;
    -     }
    - });
    - 
    - //Following prints "called with arguments: foo"
    - System.out.println(mock.someMethod("foo"));
    - 
    -

    - -

    -


    - -

    - - - - - - - - - - - - -
    -Method Summary
    - Tanswer(InvocationOnMock invocation) - -
    -           
    -  -

    - - - - - - - - -
    -Method Detail
    - -

    -answer

    -
    -T answer(InvocationOnMock invocation)
    -         throws java.lang.Throwable
    -
    -
    -
    Parameters:
    invocation - the invocation on the mock. -
    Returns:
    the value to be returned -
    Throws: -
    java.lang.Throwable - the throwable to be thrown
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/DeprecatedOngoingStubbing.html b/tools/mockito/javadoc/org/mockito/stubbing/DeprecatedOngoingStubbing.html deleted file mode 100644 index 946b3738d32..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/DeprecatedOngoingStubbing.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - - -DeprecatedOngoingStubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - -

    - -org.mockito.stubbing -
    -Interface DeprecatedOngoingStubbing<T>

    -
    -
    All Superinterfaces:
    IOngoingStubbing
    -
    -
    -
    All Known Implementing Classes:
    BaseStubbing, ConsecutiveStubbing, OngoingStubbingImpl
    -
    -
    -
    -
    public interface DeprecatedOngoingStubbing<T>
    extends IOngoingStubbing
    - - -

    -Stubs a method call with return value or an exception. E.g: - -

    - stub(mock.someMethod()).toReturn(10);
    -
    - //you can use flexible argument matchers, e.g:
    - stub(mock.someMethod(anyString())).toReturn(10);
    -
    - //setting exception to be thrown:
    - stub(mock.someMethod("some arg")).toThrow(new RuntimeException());
    -
    - //you can stub with different behavior for consecutive method calls.
    - //Last stubbing (e.g: toReturn("foo")) determines the behavior for further consecutive calls.
    - stub(mock.someMethod("some arg"))
    -  .toThrow(new RuntimeException())
    -  .toReturn("foo");
    -
    - 
    - - See examples in javadoc for Mockito.stub(T) -

    - -

    -


    - -

    - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - DeprecatedOngoingStubbing<T>toAnswer(Answer<?> answer) - -
    -          Set a generic Answer for the stubbed method.
    - DeprecatedOngoingStubbing<T>toReturn(T value) - -
    -          Set a return value for the stubbed method.
    - DeprecatedOngoingStubbing<T>toThrow(java.lang.Throwable throwable) - -
    -          Set a Throwable to be thrown when the stubbed method is called.
    -  -

    - - - - - - - - -
    -Method Detail
    - -

    -toReturn

    -
    -DeprecatedOngoingStubbing<T> toReturn(T value)
    -
    -
    Set a return value for the stubbed method. E.g: -
    - stub(mock.someMethod()).toReturn(10);
    - 
    - - See examples in javadoc for Mockito.stub(T) -

    -

    -
    -
    -
    -
    Parameters:
    value - return value -
    Returns:
    iOngoingStubbing object that allows stubbing consecutive calls
    -
    -
    -
    - -

    -toThrow

    -
    -DeprecatedOngoingStubbing<T> toThrow(java.lang.Throwable throwable)
    -
    -
    Set a Throwable to be thrown when the stubbed method is called. E.g: -
    - stub(mock.someMethod()).toThrow(new RuntimeException());
    - 
    - - If throwable is a checked exception then it has to - match one of the checked exceptions of method signature. - - See examples in javadoc for Mockito.stub(T) -

    -

    -
    -
    -
    -
    Parameters:
    throwable - to be thrown on method invocation -
    Returns:
    iOngoingStubbing object that allows stubbing consecutive calls
    -
    -
    -
    - -

    -toAnswer

    -
    -DeprecatedOngoingStubbing<T> toAnswer(Answer<?> answer)
    -
    -
    Set a generic Answer for the stubbed method. E.g: -
    - stub(mock.someMethod(10)).toAnswer(new Answer<Integer>() {
    -     public Integer answer(InvocationOnMock invocation) throws Throwable {
    -         return (Integer) invocation.getArguments()[0];
    -     }
    - }
    - 
    -

    -

    -
    -
    -
    -
    Parameters:
    answer - the custom answer to execute. -
    Returns:
    iOngoingStubbing object that allows stubbing consecutive calls
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/OngoingStubbing.html b/tools/mockito/javadoc/org/mockito/stubbing/OngoingStubbing.html deleted file mode 100644 index b47d12db303..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/OngoingStubbing.html +++ /dev/null @@ -1,399 +0,0 @@ - - - - - - -OngoingStubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - -

    - -org.mockito.stubbing -
    -Interface OngoingStubbing<T>

    -
    -
    All Superinterfaces:
    IOngoingStubbing
    -
    -
    -
    All Known Implementing Classes:
    BaseStubbing, ConsecutiveStubbing, OngoingStubbingImpl
    -
    -
    -
    -
    public interface OngoingStubbing<T>
    extends IOngoingStubbing
    - - -

    -Simply put: "When the x method is called then return y". E.g: - -

    - when(mock.someMethod()).thenReturn(10);
    -
    - //you can use flexible argument matchers, e.g:
    - when(mock.someMethod(anyString())).thenReturn(10);
    -
    - //setting exception to be thrown:
    - when(mock.someMethod("some arg")).thenThrow(new RuntimeException());
    -
    - //you can set different behavior for consecutive method calls.
    - //Last stubbing (e.g: thenReturn("foo")) determines the behavior of further consecutive calls.
    - when(mock.someMethod("some arg"))
    -  .thenThrow(new RuntimeException())
    -  .thenReturn("foo");
    - 
    - //There is a shorter way of consecutive stubbing:
    - when(mock.someMethod()).thenReturn(1,2,3);
    - when(mock.otherMethod()).thenThrow(exc1, exc2);
    - 
    - - See examples in javadoc for Mockito.when(T) -

    - -

    -


    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - OngoingStubbing<T>thenAnswer(Answer<?> answer) - -
    -          Sets a generic Answer for the method.
    - OngoingStubbing<T>thenCallRealMethod() - -
    -          Sets the real implementation to be called when the method is called on a mock object.
    - OngoingStubbing<T>thenReturn(T value) - -
    -          Sets a return value to be returned when the method is called.
    - OngoingStubbing<T>thenReturn(T value, - T... values) - -
    -          Sets consecutive return values to be returned when the method is called.
    - OngoingStubbing<T>thenThrow(java.lang.Throwable... throwables) - -
    -          Sets Throwable objects to be thrown when the method is called.
    -  -

    - - - - - - - - -
    -Method Detail
    - -

    -thenReturn

    -
    -OngoingStubbing<T> thenReturn(T value)
    -
    -
    Sets a return value to be returned when the method is called. E.g: -
    - when(mock.someMethod()).thenReturn(10);
    - 
    - - See examples in javadoc for Mockito.when(T) -

    -

    -
    -
    -
    -
    Parameters:
    value - return value -
    Returns:
    iOngoingStubbing object that allows stubbing consecutive calls
    -
    -
    -
    - -

    -thenReturn

    -
    -OngoingStubbing<T> thenReturn(T value,
    -                              T... values)
    -
    -
    Sets consecutive return values to be returned when the method is called. E.g: -
    - when(mock.someMethod()).thenReturn(1, 2, 3);
    - 
    - - Last return value in the sequence (in example: 3) determines the behavior of further consecutive calls. -

    - See examples in javadoc for Mockito.when(T) -

    -

    -
    -
    -
    -
    Parameters:
    value - first return value
    values - next return values -
    Returns:
    iOngoingStubbing object that allows stubbing consecutive calls
    -
    -
    -
    - -

    -thenThrow

    -
    -OngoingStubbing<T> thenThrow(java.lang.Throwable... throwables)
    -
    -
    Sets Throwable objects to be thrown when the method is called. E.g: -
    - when(mock.someMethod()).thenThrow(new RuntimeException());
    - 
    - - If throwables contain a checked exception then it has to - match one of the checked exceptions of method signature. -

    - You can specify throwables to be thrown for consecutive calls. - In that case the last throwable determines the behavior of further consecutive calls. -

    - if throwable is null then exception will be thrown. -

    - See examples in javadoc for Mockito.when(T) -

    -

    -
    -
    -
    -
    Parameters:
    throwables - to be thrown on method invocation -
    Returns:
    iOngoingStubbing object that allows stubbing consecutive calls
    -
    -
    -
    - -

    -thenCallRealMethod

    -
    -OngoingStubbing<T> thenCallRealMethod()
    -
    -
    Sets the real implementation to be called when the method is called on a mock object. -

    - As usual you are going to read the partial mock warning: - Object oriented programming is more less tackling complexity by dividing the complexity into separate, specific, SRPy objects. - How does partial mock fit into this paradigm? Well, it just doesn't... - Partial mock usually means that the complexity has been moved to a different method on the same object. - In most cases, this is not the way you want to design your application. -

    - However, there are rare cases when partial mocks come handy: - dealing with code you cannot change easily (3rd party interfaces, interim refactoring of legacy code etc.) - However, I wouldn't use partial mocks for new, test-driven & well-designed code. -

    -   // someMethod() must be safe (e.g. doesn't throw, doesn't have dependencies to the object state, etc.)
    -   // if it isn't safe then you will have trouble stubbing it using this api. Use Mockito.doCallRealMethod() instead. 
    -   when(mock.someMethod()).thenCallRealMethod();
    -   
    -   // calls real method:
    -   mock.someMethod();
    -   
    - 
    - See also javadoc Mockito.spy(Object) to find out more about partial mocks. - Mockito.spy() is a recommended way of creating partial mocks. - The reason is it guarantees real methods are called against correctly constructed object because you're responsible for constructing the object passed to spy() method. -

    - See examples in javadoc for Mockito.when(T) -

    -

    -
    -
    -
    - -
    Returns:
    iOngoingStubbing object that allows stubbing consecutive calls
    -
    -
    -
    - -

    -thenAnswer

    -
    -OngoingStubbing<T> thenAnswer(Answer<?> answer)
    -
    -
    Sets a generic Answer for the method. E.g: -
    - when(mock.someMethod(10)).thenAnswer(new Answer<Integer>() {
    -     public Integer answer(InvocationOnMock invocation) throws Throwable {
    -         return (Integer) invocation.getArguments()[0];
    -     }
    - }
    - 
    -

    -

    -
    -
    -
    -
    Parameters:
    answer - the custom answer to execute. -
    Returns:
    iOngoingStubbing object that allows stubbing consecutive calls
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/Stubber.html b/tools/mockito/javadoc/org/mockito/stubbing/Stubber.html deleted file mode 100644 index 6caeb842a02..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/Stubber.html +++ /dev/null @@ -1,379 +0,0 @@ - - - - - - -Stubber (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - -

    - -org.mockito.stubbing -
    -Interface Stubber

    -
    -
    All Known Implementing Classes:
    StubberImpl
    -
    -
    -
    -
    public interface Stubber
    - - -

    -Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style -

    - Example: -

    -   doThrow(new RuntimeException()).when(mockedList).clear();
    -   
    -   //following throws RuntimeException:
    -   mockedList.clear();
    - 
    - - Also useful when stubbing consecutive calls: - -
    -   doThrow(new RuntimeException("one")).
    -   doThrow(new RuntimeException("two"))
    -   .when(mock).someVoidMethod();
    - 
    - - Read more about those methods: -

    - Mockito.doThrow(Throwable) -

    - Mockito.doAnswer(Answer) -

    - Mockito.doNothing() -

    - Mockito.doReturn(Object) -

    - - See examples in javadoc for Mockito -

    - -

    -


    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StubberdoAnswer(Answer answer) - -
    -          Use it for stubbing consecutive calls in Mockito.doAnswer(Answer) style:
    - StubberdoNothing() - -
    -          Use it for stubbing consecutive calls in Mockito.doNothing() style:
    - StubberdoReturn(java.lang.Object toBeReturned) - -
    -          Use it for stubbing consecutive calls in Mockito.doReturn(Object) style.
    - StubberdoThrow(java.lang.Throwable toBeThrown) - -
    -          Use it for stubbing consecutive calls in Mockito.doThrow(Throwable) style:
    - - - - - -
    -<T> T
    -
    when(T mock) - -
    -          Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
    -  -

    - - - - - - - - -
    -Method Detail
    - -

    -when

    -
    -<T> T when(T mock)
    -
    -
    Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style -

    - Example: -

    -   doThrow(new RuntimeException())
    -   .when(mockedList).clear();
    -   
    -   //following throws RuntimeException:
    -   mockedList.clear();
    - 
    - - Read more about those methods: -

    - Mockito.doThrow(Throwable) -

    - Mockito.doAnswer(Answer) -

    - Mockito.doNothing() -

    - Mockito.doReturn(Object) -

    - - See examples in javadoc for Mockito -

    -

    -
    Parameters:
    mock - -
    Returns:
    select method for stubbing
    -
    -
    -
    - -

    -doThrow

    -
    -Stubber doThrow(java.lang.Throwable toBeThrown)
    -
    -
    Use it for stubbing consecutive calls in Mockito.doThrow(Throwable) style: -
    -   doThrow(new RuntimeException("one")).
    -   doThrow(new RuntimeException("two"))
    -   .when(mock).someVoidMethod();
    - 
    - See javadoc for Mockito.doThrow(Throwable) -

    -

    -
    Parameters:
    toBeThrown - to be thrown when the stubbed method is called -
    Returns:
    stubber - to select a method for stubbing
    -
    -
    -
    - -

    -doAnswer

    -
    -Stubber doAnswer(Answer answer)
    -
    -
    Use it for stubbing consecutive calls in Mockito.doAnswer(Answer) style: -
    -   doAnswer(answerOne).
    -   doAnswer(answerTwo)
    -   .when(mock).someVoidMethod();
    - 
    - See javadoc for Mockito.doAnswer(Answer) -

    -

    -
    Parameters:
    answer - to answer when the stubbed method is called -
    Returns:
    stubber - to select a method for stubbing
    -
    -
    -
    - -

    -doNothing

    -
    -Stubber doNothing()
    -
    -
    Use it for stubbing consecutive calls in Mockito.doNothing() style: -
    -   doNothing().
    -   doThrow(new RuntimeException("two"))
    -   .when(mock).someVoidMethod();
    - 
    - See javadoc for Mockito.doNothing() -

    -

    - -
    Returns:
    stubber - to select a method for stubbing
    -
    -
    -
    - -

    -doReturn

    -
    -Stubber doReturn(java.lang.Object toBeReturned)
    -
    -
    Use it for stubbing consecutive calls in Mockito.doReturn(Object) style. -

    - See javadoc for Mockito.doReturn(Object) -

    -

    -
    Parameters:
    toBeReturned - to be returned when the stubbed method is called -
    Returns:
    stubber - to select a method for stubbing
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/VoidMethodStubbable.html b/tools/mockito/javadoc/org/mockito/stubbing/VoidMethodStubbable.html deleted file mode 100644 index a257b99055b..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/VoidMethodStubbable.html +++ /dev/null @@ -1,338 +0,0 @@ - - - - - - -VoidMethodStubbable (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - -

    - -org.mockito.stubbing -
    -Interface VoidMethodStubbable<T>

    -
    -
    All Known Implementing Classes:
    VoidMethodStubbableImpl
    -
    -
    -
    -
    public interface VoidMethodStubbable<T>
    - - -

    -Stubs void method with an exception. E.g: - -

    - stubVoid(mock).toThrow(new RuntimeException()).on().someMethod();
    -
    - //you can stub with different behavior for consecutive method calls.
    - //Last stubbing (e.g: toReturn()) determines the behavior for further consecutive calls.
    - stubVoid(mock)
    -  .toThrow(new RuntimeException())
    -  .toReturn()
    -  .on().someMethod();
    - 
    - - See examples in javadoc for Mockito.stubVoid(T) -

    - -

    -


    - -

    - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - Ton() - -
    -          Choose void method for stubbing.
    - VoidMethodStubbable<T>toAnswer(Answer<?> answer) - -
    -          Stubs a void method with generic Answer
    - VoidMethodStubbable<T>toReturn() - -
    -          Stubs void method to 'just return' (e.g.
    - VoidMethodStubbable<T>toThrow(java.lang.Throwable throwable) - -
    -          Stubs void method with an exception.
    -  -

    - - - - - - - - -
    -Method Detail
    - -

    -toThrow

    -
    -VoidMethodStubbable<T> toThrow(java.lang.Throwable throwable)
    -
    -
    Stubs void method with an exception. E.g: - -
    - stubVoid(mock).toThrow(new RuntimeException()).on().someMethod();
    - 
    - - If throwable is a checked exception then it has to - match one of the checked exceptions of method signature. - - See examples in javadoc for Mockito.stubVoid(T) -

    -

    -
    Parameters:
    throwable - to be thrown on method invocation -
    Returns:
    VoidMethodStubbable - typically to choose void method and finish stubbing
    -
    -
    -
    - -

    -toReturn

    -
    -VoidMethodStubbable<T> toReturn()
    -
    -
    Stubs void method to 'just return' (e.g. to not to throw any exception) -

    - Only use this method if you're stubbing consecutive calls. -

    - For example: -

    - stubVoid(mock)
    -   .toReturn()
    -   .toThrow(new RuntimeException())
    -   .on().foo(10);
    - 
    -
      -
    • first time foo(10) is called the mock will 'just return' (e.g. don't throw any exception)
    • -
    • second time foo(10) is called the mock will throw RuntimeException
    • -
    • every consecutive time foo(10) is called the mock will throw RuntimeException
    • -
    -

    - See examples in javadoc for Mockito.stubVoid(T) -

    -

    - -
    Returns:
    VoidMethodStubbable - typically to choose void method and finish stubbing
    -
    -
    -
    - -

    -toAnswer

    -
    -VoidMethodStubbable<T> toAnswer(Answer<?> answer)
    -
    -
    Stubs a void method with generic Answer -

    - For Example: -

    - stubVoid(mock)
    -   .toAnswer(new Answer() {
    -                 public Object answer(InvocationOnMOck invocation) {
    -                     Visitor v = (Visitor) invocation.getArguments()[0];
    -                     v.visitMock(invocation.getMock());
    -
    -                     return null;
    -                 }
    -             })
    -    .on().accept(any());
    - 
    -

    -

    -
    Parameters:
    answer - the custom answer to execute. -
    Returns:
    VoidMethodStubbable - typically to choose void method and finish stubbing
    -
    -
    -
    - -

    -on

    -
    -T on()
    -
    -
    Choose void method for stubbing. E.g: - -
    - stubVoid(mock).toThrow(new RuntimeException()).on().someMethod("some arg");
    - 
    - - See examples in javadoc for Mockito.stubVoid(T) -

    -

    - -
    Returns:
    mock object itself
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/answers/ReturnsElementsOf.html b/tools/mockito/javadoc/org/mockito/stubbing/answers/ReturnsElementsOf.html deleted file mode 100644 index f70cc775762..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/answers/ReturnsElementsOf.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - -ReturnsElementsOf (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - -

    - -org.mockito.stubbing.answers -
    -Class ReturnsElementsOf

    -
    -java.lang.Object
    -  extended by org.mockito.stubbing.answers.ReturnsElementsOf
    -
    -
    -
    All Implemented Interfaces:
    Answer
    -
    -
    -
    -
    public class ReturnsElementsOf
    extends java.lang.Object
    implements Answer
    - - -

    -Returns elements of the collection. Keeps returning the last element forever. - Might be useful on occasion when you have a collection of elements to return. -

    -

    -   //this:
    -   when(mock.foo()).thenReturn(1, 2, 3);
    -   //is equivalent to:
    -   when(mock.foo()).thenReturn(new ReturnsElementsOf(Arrays.asList(1, 2, 3)));
    - 
    -

    - -

    -


    - -

    - - - - - - - - - - - -
    -Constructor Summary
    ReturnsElementsOf(java.util.Collection elements) - -
    -           
    -  - - - - - - - - - - - -
    -Method Summary
    - java.lang.Objectanswer(InvocationOnMock invocation) - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Constructor Detail
    - -

    -ReturnsElementsOf

    -
    -public ReturnsElementsOf(java.util.Collection elements)
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -answer

    -
    -public java.lang.Object answer(InvocationOnMock invocation)
    -                        throws java.lang.Throwable
    -
    -
    -
    Specified by:
    answer in interface Answer
    -
    -
    -
    Parameters:
    invocation - the invocation on the mock. -
    Returns:
    the value to be returned -
    Throws: -
    java.lang.Throwable - the throwable to be thrown
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/answers/class-use/ReturnsElementsOf.html b/tools/mockito/javadoc/org/mockito/stubbing/answers/class-use/ReturnsElementsOf.html deleted file mode 100644 index 1722a4b348b..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/answers/class-use/ReturnsElementsOf.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.stubbing.answers.ReturnsElementsOf (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Class
    org.mockito.stubbing.answers.ReturnsElementsOf

    -
    -No usage of org.mockito.stubbing.answers.ReturnsElementsOf -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/answers/package-frame.html b/tools/mockito/javadoc/org/mockito/stubbing/answers/package-frame.html deleted file mode 100644 index 5ca438a161d..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/answers/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -org.mockito.stubbing.answers (Mockito API) - - - - - - - - - - - -org.mockito.stubbing.answers - - - - -
    -Classes  - -
    -ReturnsElementsOf
    - - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/answers/package-summary.html b/tools/mockito/javadoc/org/mockito/stubbing/answers/package-summary.html deleted file mode 100644 index e4b0446dc75..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/answers/package-summary.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - -org.mockito.stubbing.answers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -

    -Package org.mockito.stubbing.answers -

    - - - - - - - - - -
    -Class Summary
    ReturnsElementsOfReturns elements of the collection.
    -  - -

    -

    -
    -
    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/answers/package-tree.html b/tools/mockito/javadoc/org/mockito/stubbing/answers/package-tree.html deleted file mode 100644 index fbd07b9cb55..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/answers/package-tree.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -org.mockito.stubbing.answers Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Hierarchy For Package org.mockito.stubbing.answers -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/answers/package-use.html b/tools/mockito/javadoc/org/mockito/stubbing/answers/package-use.html deleted file mode 100644 index 56ce446b715..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/answers/package-use.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Package org.mockito.stubbing.answers (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Package
    org.mockito.stubbing.answers

    -
    -No usage of org.mockito.stubbing.answers -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/class-use/Answer.html b/tools/mockito/javadoc/org/mockito/stubbing/class-use/Answer.html deleted file mode 100644 index 55cf8753b83..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/class-use/Answer.html +++ /dev/null @@ -1,879 +0,0 @@ - - - - - - -Uses of Interface org.mockito.stubbing.Answer (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Interface
    org.mockito.stubbing.Answer

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use Answer
    org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
    org.mockito.configurationMockito configuration utilities 
    org.mockito.internalInternal classes, not to be used by clients. 
    org.mockito.internal.configurationMockito configuration 
    org.mockito.internal.creationMock object creation. 
    org.mockito.internal.stubbingStubbing logic. 
    org.mockito.internal.stubbing.answersAnswers for stubbed calls 
    org.mockito.internal.stubbing.defaultanswersImplementations of ReturnValues 
    org.mockito.stubbingExternal stubbing related classes 
    org.mockito.stubbing.answers  
    -  -

    - - - - - -
    -Uses of Answer in org.mockito
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Fields in org.mockito declared as Answer
    -static Answer<java.lang.Object>Mockito.CALLS_REAL_METHODS - -
    -          Optional Answer to be used with Mockito.mock(Class, Answer)
    -static Answer<java.lang.Object>Mockito.RETURNS_DEEP_STUBS - -
    -          Optional Answer to be used with Mockito.mock(Class, Answer)
    -static Answer<java.lang.Object>Mockito.RETURNS_DEFAULTS - -
    -          The default Answer of every mock if the mock was not stubbed.
    -static Answer<java.lang.Object>Mockito.RETURNS_MOCKS - -
    -          Optional Answer to be used with Mockito.mock(Class, Answer)
    -static Answer<java.lang.Object>Mockito.RETURNS_SMART_NULLS - -
    -          Optional Answer to be used with Mockito.mock(Class, Answer)
    -  -

    - - - - - - - - - -
    Methods in org.mockito that return Answer
    - Answer<java.lang.Object>Answers.get() - -
    -           
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.mockito with parameters of type Answer
    - MockSettingsMockSettings.defaultAnswer(Answer defaultAnswer) - -
    -          Specifies default answers to interactions.
    -static StubberMockito.doAnswer(Answer answer) - -
    -          Use doAnswer() when you want to stub a void method with generic Answer.
    -static - - - - -
    -<T> T
    -
    Mockito.mock(java.lang.Class<T> classToMock, - Answer defaultAnswer) - -
    -          Creates mock with a specified strategy for its answers to interactions.
    -static BDDMockito.BDDStubberBDDMockito.willAnswer(Answer answer) - -
    -          see original Mockito.doAnswer(Answer)
    - BDDMockito.BDDStubberBDDMockito.BDDStubber.willAnswer(Answer answer) - -
    -          See original Stubber.doAnswer(Answer)
    - BDDMockito.BDDStubberBDDMockito.BDDStubberImpl.willAnswer(Answer answer) - -
    -           
    - BDDMockito.BDDMyOngoingStubbing<T>BDDMockito.BDDMyOngoingStubbing.willAnswer(Answer<?> answer) - -
    -          See original OngoingStubbing.thenAnswer(Answer)
    - BDDMockito.BDDMyOngoingStubbing<T>BDDMockito.BDDOngoingStubbingImpl.willAnswer(Answer<?> answer) - -
    -           
    -  -

    - - - - - -
    -Uses of Answer in org.mockito.configuration
    -  -

    - - - - - - - - - - - - - -
    Methods in org.mockito.configuration that return Answer
    - Answer<java.lang.Object>IMockitoConfiguration.getDefaultAnswer() - -
    -          Allows configuring the default answers of unstubbed invocations
    - Answer<java.lang.Object>DefaultMockitoConfiguration.getDefaultAnswer() - -
    -           
    -  -

    - - - - - -
    -Uses of Answer in org.mockito.internal
    -  -

    - - - - - - - - - -
    Methods in org.mockito.internal with parameters of type Answer
    - StubberMockitoCore.doAnswer(Answer answer) - -
    -           
    -  -

    - - - - - - - - - - - - - -
    Method parameters in org.mockito.internal with type arguments of type Answer
    - voidMockHandlerInterface.setAnswersForStubbing(java.util.List<Answer> answers) - -
    -           
    - voidMockHandler.setAnswersForStubbing(java.util.List<Answer> answers) - -
    -           
    -  -

    - - - - - -
    -Uses of Answer in org.mockito.internal.configuration
    -  -

    - - - - - - - - - -
    Methods in org.mockito.internal.configuration that return Answer
    - Answer<java.lang.Object>GlobalConfiguration.getDefaultAnswer() - -
    -           
    -  -

    - - - - - -
    -Uses of Answer in org.mockito.internal.creation
    -  -

    - - - - - - - - - -
    Methods in org.mockito.internal.creation that return Answer
    - Answer<java.lang.Object>MockSettingsImpl.getDefaultAnswer() - -
    -           
    -  -

    - - - - - - - - - -
    Methods in org.mockito.internal.creation with parameters of type Answer
    - MockSettingsMockSettingsImpl.defaultAnswer(Answer defaultAnswer) - -
    -           
    -  -

    - - - - - -
    -Uses of Answer in org.mockito.internal.stubbing
    -  -

    - - - - - - - - - -
    Classes in org.mockito.internal.stubbing that implement Answer
    - classStubbedInvocationMatcher - -
    -           
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.internal.stubbing with parameters of type Answer
    - voidStubbedInvocationMatcher.addAnswer(Answer answer) - -
    -           
    - voidInvocationContainerImpl.addAnswer(Answer answer) - -
    -           
    - voidInvocationContainerImpl.addAnswer(Answer answer, - boolean isConsecutive) - -
    -           
    - voidInvocationContainerImpl.addAnswerForVoidMethod(Answer answer) - -
    -           
    - voidInvocationContainerImpl.addConsecutiveAnswer(Answer answer) - -
    -           
    - StubberStubberImpl.doAnswer(Answer answer) - -
    -           
    - OngoingStubbing<T>OngoingStubbingImpl.thenAnswer(Answer<?> answer) - -
    -           
    - OngoingStubbing<T>ConsecutiveStubbing.thenAnswer(Answer<?> answer) - -
    -           
    - VoidMethodStubbable<T>VoidMethodStubbableImpl.toAnswer(Answer<?> answer) - -
    -           
    - DeprecatedOngoingStubbing<T>OngoingStubbingImpl.toAnswer(Answer<?> answer) - -
    -           
    - DeprecatedOngoingStubbing<T>ConsecutiveStubbing.toAnswer(Answer<?> answer) - -
    -           
    -  -

    - - - - - - - - - -
    Method parameters in org.mockito.internal.stubbing with type arguments of type Answer
    - voidInvocationContainerImpl.setAnswersForStubbing(java.util.List<Answer> answers) - -
    -           
    -  -

    - - - - - - - - -
    Constructors in org.mockito.internal.stubbing with parameters of type Answer
    StubbedInvocationMatcher(InvocationMatcher invocation, - Answer answer) - -
    -           
    -  -

    - - - - - -
    -Uses of Answer in org.mockito.internal.stubbing.answers
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Classes in org.mockito.internal.stubbing.answers that implement Answer
    - classAnswerReturnValuesAdapter - -
    -           
    - classCallsRealMethods - -
    -          Optional Answer that adds partial mocking support
    - classClonesArguments - -
    -           
    - classDoesNothing - -
    -           
    - classReturns - -
    -           
    - classThrowsException - -
    -           
    -  -

    - - - - - - - - - -
    Methods in org.mockito.internal.stubbing.answers with parameters of type Answer
    - voidAnswersValidator.validate(Answer<?> answer, - Invocation invocation) - -
    -           
    -  -

    - - - - - -
    -Uses of Answer in org.mockito.internal.stubbing.defaultanswers
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Classes in org.mockito.internal.stubbing.defaultanswers that implement Answer
    - classGloballyConfiguredAnswer - -
    -          Globally configured Answer.
    - classReturnsDeepStubs - -
    -           
    - classReturnsEmptyValues - -
    -          Default answer of every Mockito mock.
    - classReturnsMocks - -
    -           
    - classReturnsMoreEmptyValues - -
    -          It's likely this implementation will be used by default by every Mockito 2.0 mock.
    - classReturnsSmartNulls - -
    -          Optional Answer that can be used with - Mockito.mock(Class, Answer)
    -  -

    - - - - - - - - - -
    Methods in org.mockito.internal.stubbing.defaultanswers that return Answer
    - Answer<java.lang.Object>Answers.get() - -
    -          Deprecated.  
    -  -

    - - - - - -
    -Uses of Answer in org.mockito.stubbing
    -  -

    - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.stubbing with parameters of type Answer
    - StubberStubber.doAnswer(Answer answer) - -
    -          Use it for stubbing consecutive calls in Mockito.doAnswer(Answer) style:
    - OngoingStubbing<T>OngoingStubbing.thenAnswer(Answer<?> answer) - -
    -          Sets a generic Answer for the method.
    - VoidMethodStubbable<T>VoidMethodStubbable.toAnswer(Answer<?> answer) - -
    -          Stubs a void method with generic Answer
    - DeprecatedOngoingStubbing<T>DeprecatedOngoingStubbing.toAnswer(Answer<?> answer) - -
    -          Set a generic Answer for the stubbed method.
    -  -

    - - - - - -
    -Uses of Answer in org.mockito.stubbing.answers
    -  -

    - - - - - - - - - -
    Classes in org.mockito.stubbing.answers that implement Answer
    - classReturnsElementsOf - -
    -          Returns elements of the collection.
    -  -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/class-use/DeprecatedOngoingStubbing.html b/tools/mockito/javadoc/org/mockito/stubbing/class-use/DeprecatedOngoingStubbing.html deleted file mode 100644 index 390eb9913a2..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/class-use/DeprecatedOngoingStubbing.html +++ /dev/null @@ -1,349 +0,0 @@ - - - - - - -Uses of Interface org.mockito.stubbing.DeprecatedOngoingStubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Interface
    org.mockito.stubbing.DeprecatedOngoingStubbing

    -
    - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use DeprecatedOngoingStubbing
    org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
    org.mockito.internalInternal classes, not to be used by clients. 
    org.mockito.internal.stubbingStubbing logic. 
    org.mockito.stubbingExternal stubbing related classes 
    -  -

    - - - - - -
    -Uses of DeprecatedOngoingStubbing in org.mockito
    -  -

    - - - - - - - - - -
    Methods in org.mockito that return DeprecatedOngoingStubbing
    -static - - - - -
    -<T> DeprecatedOngoingStubbing<T>
    -
    Mockito.stub(T methodCall) - -
    -          Stubs a method call with return value or an exception.
    -  -

    - - - - - -
    -Uses of DeprecatedOngoingStubbing in org.mockito.internal
    -  -

    - - - - - - - - - -
    Methods in org.mockito.internal that return DeprecatedOngoingStubbing
    - - - - - -
    -<T> DeprecatedOngoingStubbing<T>
    -
    MockitoCore.stub(T methodCall) - -
    -           
    -  -

    - - - - - -
    -Uses of DeprecatedOngoingStubbing in org.mockito.internal.stubbing
    -  -

    - - - - - - - - - - - - - - - - - -
    Classes in org.mockito.internal.stubbing that implement DeprecatedOngoingStubbing
    - classBaseStubbing<T> - -
    -           
    - classConsecutiveStubbing<T> - -
    -           
    - classOngoingStubbingImpl<T> - -
    -           
    -  -

    - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.internal.stubbing that return DeprecatedOngoingStubbing
    - DeprecatedOngoingStubbing<T>OngoingStubbingImpl.toAnswer(Answer<?> answer) - -
    -           
    - DeprecatedOngoingStubbing<T>ConsecutiveStubbing.toAnswer(Answer<?> answer) - -
    -           
    - DeprecatedOngoingStubbing<T>BaseStubbing.toReturn(T value) - -
    -           
    - DeprecatedOngoingStubbing<T>BaseStubbing.toThrow(java.lang.Throwable throwable) - -
    -           
    -  -

    - - - - - -
    -Uses of DeprecatedOngoingStubbing in org.mockito.stubbing
    -  -

    - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.stubbing that return DeprecatedOngoingStubbing
    - DeprecatedOngoingStubbing<T>DeprecatedOngoingStubbing.toAnswer(Answer<?> answer) - -
    -          Set a generic Answer for the stubbed method.
    - DeprecatedOngoingStubbing<T>DeprecatedOngoingStubbing.toReturn(T value) - -
    -          Set a return value for the stubbed method.
    - DeprecatedOngoingStubbing<T>DeprecatedOngoingStubbing.toThrow(java.lang.Throwable throwable) - -
    -          Set a Throwable to be thrown when the stubbed method is called.
    -  -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/class-use/OngoingStubbing.html b/tools/mockito/javadoc/org/mockito/stubbing/class-use/OngoingStubbing.html deleted file mode 100644 index 1e14f1be42d..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/class-use/OngoingStubbing.html +++ /dev/null @@ -1,397 +0,0 @@ - - - - - - -Uses of Interface org.mockito.stubbing.OngoingStubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Interface
    org.mockito.stubbing.OngoingStubbing

    -
    - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use OngoingStubbing
    org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
    org.mockito.internalInternal classes, not to be used by clients. 
    org.mockito.internal.stubbingStubbing logic. 
    org.mockito.stubbingExternal stubbing related classes 
    -  -

    - - - - - -
    -Uses of OngoingStubbing in org.mockito
    -  -

    - - - - - - - - - -
    Methods in org.mockito that return OngoingStubbing
    -static - - - - -
    -<T> OngoingStubbing<T>
    -
    Mockito.when(T methodCall) - -
    -          Enables stubbing methods.
    -  -

    - - - - - - - - -
    Constructors in org.mockito with parameters of type OngoingStubbing
    BDDMockito.BDDOngoingStubbingImpl(OngoingStubbing<T> ongoingStubbing) - -
    -           
    -  -

    - - - - - -
    -Uses of OngoingStubbing in org.mockito.internal
    -  -

    - - - - - - - - - -
    Methods in org.mockito.internal that return OngoingStubbing
    - - - - - -
    -<T> OngoingStubbing<T>
    -
    MockitoCore.when(T methodCall) - -
    -           
    -  -

    - - - - - -
    -Uses of OngoingStubbing in org.mockito.internal.stubbing
    -  -

    - - - - - - - - - - - - - - - - - -
    Classes in org.mockito.internal.stubbing that implement OngoingStubbing
    - classBaseStubbing<T> - -
    -           
    - classConsecutiveStubbing<T> - -
    -           
    - classOngoingStubbingImpl<T> - -
    -           
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.internal.stubbing that return OngoingStubbing
    - OngoingStubbing<T>OngoingStubbingImpl.thenAnswer(Answer<?> answer) - -
    -           
    - OngoingStubbing<T>ConsecutiveStubbing.thenAnswer(Answer<?> answer) - -
    -           
    - OngoingStubbing<T>BaseStubbing.thenCallRealMethod() - -
    -           
    - OngoingStubbing<T>BaseStubbing.thenReturn(T value) - -
    -           
    - OngoingStubbing<T>BaseStubbing.thenReturn(T value, - T... values) - -
    -           
    - OngoingStubbing<T>BaseStubbing.thenThrow(java.lang.Throwable... throwables) - -
    -           
    -  -

    - - - - - -
    -Uses of OngoingStubbing in org.mockito.stubbing
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.stubbing that return OngoingStubbing
    - OngoingStubbing<T>OngoingStubbing.thenAnswer(Answer<?> answer) - -
    -          Sets a generic Answer for the method.
    - OngoingStubbing<T>OngoingStubbing.thenCallRealMethod() - -
    -          Sets the real implementation to be called when the method is called on a mock object.
    - OngoingStubbing<T>OngoingStubbing.thenReturn(T value) - -
    -          Sets a return value to be returned when the method is called.
    - OngoingStubbing<T>OngoingStubbing.thenReturn(T value, - T... values) - -
    -          Sets consecutive return values to be returned when the method is called.
    - OngoingStubbing<T>OngoingStubbing.thenThrow(java.lang.Throwable... throwables) - -
    -          Sets Throwable objects to be thrown when the method is called.
    -  -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/class-use/Stubber.html b/tools/mockito/javadoc/org/mockito/stubbing/class-use/Stubber.html deleted file mode 100644 index 61eed88bd4d..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/class-use/Stubber.html +++ /dev/null @@ -1,373 +0,0 @@ - - - - - - -Uses of Interface org.mockito.stubbing.Stubber (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Interface
    org.mockito.stubbing.Stubber

    -
    - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use Stubber
    org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
    org.mockito.internalInternal classes, not to be used by clients. 
    org.mockito.internal.stubbingStubbing logic. 
    org.mockito.stubbingExternal stubbing related classes 
    -  -

    - - - - - -
    -Uses of Stubber in org.mockito
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.mockito that return Stubber
    -static StubberMockito.doAnswer(Answer answer) - -
    -          Use doAnswer() when you want to stub a void method with generic Answer.
    -static StubberMockito.doCallRealMethod() - -
    -          Use doCallRealMethod() when you want to call the real implementation of a method.
    -static StubberMockito.doNothing() - -
    -          Use doNothing() for setting void methods to do nothing.
    -static StubberMockito.doReturn(java.lang.Object toBeReturned) - -
    -          Use doReturn() in those rare occasions when you cannot use Mockito.when(Object).
    -static StubberMockito.doThrow(java.lang.Throwable toBeThrown) - -
    -          Use doThrow() when you want to stub the void method with an exception.
    -  -

    - - - - - - - - -
    Constructors in org.mockito with parameters of type Stubber
    BDDMockito.BDDStubberImpl(Stubber mockitoStubber) - -
    -           
    -  -

    - - - - - -
    -Uses of Stubber in org.mockito.internal
    -  -

    - - - - - - - - - -
    Methods in org.mockito.internal that return Stubber
    - StubberMockitoCore.doAnswer(Answer answer) - -
    -           
    -  -

    - - - - - -
    -Uses of Stubber in org.mockito.internal.stubbing
    -  -

    - - - - - - - - - -
    Classes in org.mockito.internal.stubbing that implement Stubber
    - classStubberImpl - -
    -           
    -  -

    - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.internal.stubbing that return Stubber
    - StubberStubberImpl.doAnswer(Answer answer) - -
    -           
    - StubberStubberImpl.doNothing() - -
    -           
    - StubberStubberImpl.doReturn(java.lang.Object toBeReturned) - -
    -           
    - StubberStubberImpl.doThrow(java.lang.Throwable toBeThrown) - -
    -           
    -  -

    - - - - - -
    -Uses of Stubber in org.mockito.stubbing
    -  -

    - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.stubbing that return Stubber
    - StubberStubber.doAnswer(Answer answer) - -
    -          Use it for stubbing consecutive calls in Mockito.doAnswer(Answer) style:
    - StubberStubber.doNothing() - -
    -          Use it for stubbing consecutive calls in Mockito.doNothing() style:
    - StubberStubber.doReturn(java.lang.Object toBeReturned) - -
    -          Use it for stubbing consecutive calls in Mockito.doReturn(Object) style.
    - StubberStubber.doThrow(java.lang.Throwable toBeThrown) - -
    -          Use it for stubbing consecutive calls in Mockito.doThrow(Throwable) style:
    -  -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/class-use/VoidMethodStubbable.html b/tools/mockito/javadoc/org/mockito/stubbing/class-use/VoidMethodStubbable.html deleted file mode 100644 index 1f012237bba..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/class-use/VoidMethodStubbable.html +++ /dev/null @@ -1,341 +0,0 @@ - - - - - - -Uses of Interface org.mockito.stubbing.VoidMethodStubbable (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Interface
    org.mockito.stubbing.VoidMethodStubbable

    -
    - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use VoidMethodStubbable
    org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
    org.mockito.internalInternal classes, not to be used by clients. 
    org.mockito.internal.stubbingStubbing logic. 
    org.mockito.stubbingExternal stubbing related classes 
    -  -

    - - - - - -
    -Uses of VoidMethodStubbable in org.mockito
    -  -

    - - - - - - - - - -
    Methods in org.mockito that return VoidMethodStubbable
    -static - - - - -
    -<T> VoidMethodStubbable<T>
    -
    Mockito.stubVoid(T mock) - -
    -          Deprecated. Use Mockito.doThrow(Throwable) method for stubbing voids
    -  -

    - - - - - -
    -Uses of VoidMethodStubbable in org.mockito.internal
    -  -

    - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.internal that return VoidMethodStubbable
    - - - - - -
    -<T> VoidMethodStubbable<T>
    -
    MockitoCore.stubVoid(T mock) - -
    -           
    - VoidMethodStubbable<T>MockHandlerInterface.voidMethodStubbable(T mock) - -
    -           
    - VoidMethodStubbable<T>MockHandler.voidMethodStubbable(T mock) - -
    -           
    -  -

    - - - - - -
    -Uses of VoidMethodStubbable in org.mockito.internal.stubbing
    -  -

    - - - - - - - - - -
    Classes in org.mockito.internal.stubbing that implement VoidMethodStubbable
    - classVoidMethodStubbableImpl<T> - -
    -           
    -  -

    - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.internal.stubbing that return VoidMethodStubbable
    - VoidMethodStubbable<T>VoidMethodStubbableImpl.toAnswer(Answer<?> answer) - -
    -           
    - VoidMethodStubbable<T>VoidMethodStubbableImpl.toReturn() - -
    -           
    - VoidMethodStubbable<T>VoidMethodStubbableImpl.toThrow(java.lang.Throwable throwable) - -
    -           
    -  -

    - - - - - -
    -Uses of VoidMethodStubbable in org.mockito.stubbing
    -  -

    - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.stubbing that return VoidMethodStubbable
    - VoidMethodStubbable<T>VoidMethodStubbable.toAnswer(Answer<?> answer) - -
    -          Stubs a void method with generic Answer
    - VoidMethodStubbable<T>VoidMethodStubbable.toReturn() - -
    -          Stubs void method to 'just return' (e.g.
    - VoidMethodStubbable<T>VoidMethodStubbable.toThrow(java.lang.Throwable throwable) - -
    -          Stubs void method with an exception.
    -  -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/package-frame.html b/tools/mockito/javadoc/org/mockito/stubbing/package-frame.html deleted file mode 100644 index 26ba7059428..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/package-frame.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - -org.mockito.stubbing (Mockito API) - - - - - - - - - - - -org.mockito.stubbing - - - - -
    -Interfaces  - -
    -Answer -
    -DeprecatedOngoingStubbing -
    -OngoingStubbing -
    -Stubber -
    -VoidMethodStubbable
    - - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/package-summary.html b/tools/mockito/javadoc/org/mockito/stubbing/package-summary.html deleted file mode 100644 index e5fac81acbe..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/package-summary.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - -org.mockito.stubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -

    -Package org.mockito.stubbing -

    -External stubbing related classes -

    -See: -
    -          Description -

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Interface Summary
    Answer<T>Generic interface to be used for configuring mock's answer.
    DeprecatedOngoingStubbing<T>Stubs a method call with return value or an exception.
    OngoingStubbing<T>Simply put: "When the x method is called then return y".
    StubberAllows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
    VoidMethodStubbable<T>Stubs void method with an exception.
    -  - -

    -

    -Package org.mockito.stubbing Description -

    - -

    -External stubbing related classes -

    - -

    -

    -
    -
    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/package-tree.html b/tools/mockito/javadoc/org/mockito/stubbing/package-tree.html deleted file mode 100644 index a0f5157bb90..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/package-tree.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -org.mockito.stubbing Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Hierarchy For Package org.mockito.stubbing -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Interface Hierarchy -

    - -
    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/stubbing/package-use.html b/tools/mockito/javadoc/org/mockito/stubbing/package-use.html deleted file mode 100644 index ba28e4bc007..00000000000 --- a/tools/mockito/javadoc/org/mockito/stubbing/package-use.html +++ /dev/null @@ -1,433 +0,0 @@ - - - - - - -Uses of Package org.mockito.stubbing (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Package
    org.mockito.stubbing

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use org.mockito.stubbing
    org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
    org.mockito.configurationMockito configuration utilities 
    org.mockito.internalInternal classes, not to be used by clients. 
    org.mockito.internal.configurationMockito configuration 
    org.mockito.internal.creationMock object creation. 
    org.mockito.internal.stubbingStubbing logic. 
    org.mockito.internal.stubbing.answersAnswers for stubbed calls 
    org.mockito.internal.stubbing.defaultanswersImplementations of ReturnValues 
    org.mockito.stubbingExternal stubbing related classes 
    org.mockito.stubbing.answers  
    -  -

    - - - - - - - - - - - - - - - - - - - - -
    -Classes in org.mockito.stubbing used by org.mockito
    Answer - -
    -          Generic interface to be used for configuring mock's answer.
    DeprecatedOngoingStubbing - -
    -          Stubs a method call with return value or an exception.
    OngoingStubbing - -
    -          Simply put: "When the x method is called then return y".
    Stubber - -
    -          Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
    VoidMethodStubbable - -
    -          Stubs void method with an exception.
    -  -

    - - - - - - - - -
    -Classes in org.mockito.stubbing used by org.mockito.configuration
    Answer - -
    -          Generic interface to be used for configuring mock's answer.
    -  -

    - - - - - - - - - - - - - - - - - - - - -
    -Classes in org.mockito.stubbing used by org.mockito.internal
    Answer - -
    -          Generic interface to be used for configuring mock's answer.
    DeprecatedOngoingStubbing - -
    -          Stubs a method call with return value or an exception.
    OngoingStubbing - -
    -          Simply put: "When the x method is called then return y".
    Stubber - -
    -          Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
    VoidMethodStubbable - -
    -          Stubs void method with an exception.
    -  -

    - - - - - - - - -
    -Classes in org.mockito.stubbing used by org.mockito.internal.configuration
    Answer - -
    -          Generic interface to be used for configuring mock's answer.
    -  -

    - - - - - - - - -
    -Classes in org.mockito.stubbing used by org.mockito.internal.creation
    Answer - -
    -          Generic interface to be used for configuring mock's answer.
    -  -

    - - - - - - - - - - - - - - - - - - - - -
    -Classes in org.mockito.stubbing used by org.mockito.internal.stubbing
    Answer - -
    -          Generic interface to be used for configuring mock's answer.
    DeprecatedOngoingStubbing - -
    -          Stubs a method call with return value or an exception.
    OngoingStubbing - -
    -          Simply put: "When the x method is called then return y".
    Stubber - -
    -          Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
    VoidMethodStubbable - -
    -          Stubs void method with an exception.
    -  -

    - - - - - - - - -
    -Classes in org.mockito.stubbing used by org.mockito.internal.stubbing.answers
    Answer - -
    -          Generic interface to be used for configuring mock's answer.
    -  -

    - - - - - - - - -
    -Classes in org.mockito.stubbing used by org.mockito.internal.stubbing.defaultanswers
    Answer - -
    -          Generic interface to be used for configuring mock's answer.
    -  -

    - - - - - - - - - - - - - - - - - - - - -
    -Classes in org.mockito.stubbing used by org.mockito.stubbing
    Answer - -
    -          Generic interface to be used for configuring mock's answer.
    DeprecatedOngoingStubbing - -
    -          Stubs a method call with return value or an exception.
    OngoingStubbing - -
    -          Simply put: "When the x method is called then return y".
    Stubber - -
    -          Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
    VoidMethodStubbable - -
    -          Stubs void method with an exception.
    -  -

    - - - - - - - - -
    -Classes in org.mockito.stubbing used by org.mockito.stubbing.answers
    Answer - -
    -          Generic interface to be used for configuring mock's answer.
    -  -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/verification/Timeout.html b/tools/mockito/javadoc/org/mockito/verification/Timeout.html deleted file mode 100644 index 423b09c24b5..00000000000 --- a/tools/mockito/javadoc/org/mockito/verification/Timeout.html +++ /dev/null @@ -1,462 +0,0 @@ - - - - - - -Timeout (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - -

    - -org.mockito.verification -
    -Class Timeout

    -
    -java.lang.Object
    -  extended by org.mockito.verification.Timeout
    -
    -
    -
    All Implemented Interfaces:
    VerificationMode, VerificationWithTimeout
    -
    -
    -
    -
    public class Timeout
    extends java.lang.Object
    implements VerificationWithTimeout
    -
    - -

    -See the javadoc for VerificationWithTimeout -

    - -

    -


    - -

    - - - - - - - - - - - -
    -Constructor Summary
    Timeout(int millis, - VerificationMode delegate) - -
    -          See the javadoc for VerificationWithTimeout
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - VerificationModeatLeast(int minNumberOfInvocations) - -
    -          Allows at-least-x verification withing given timeout.
    - VerificationModeatLeastOnce() - -
    -          Allows at-least-once verification withing given timeout.
    - VerificationModeatMost(int maxNumberOfInvocations) - -
    -          Allows at-most-x verification within given timeout.
    - VerificationModenever() - -
    -          Alias to times(0), see VerificationWithTimeout.times(int)
    - VerificationModeonly() - -
    -          Allows checking if given method was the only one invoked.
    - VerificationModetimes(int wantedNumberOfInvocations) - -
    -          Allows verifying exact number of invocations within given timeout
    - voidverify(VerificationData data) - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Constructor Detail
    - -

    -Timeout

    -
    -public Timeout(int millis,
    -               VerificationMode delegate)
    -
    -
    See the javadoc for VerificationWithTimeout -

    -

    - - - - - - - - -
    -Method Detail
    - -

    -verify

    -
    -public void verify(VerificationData data)
    -
    -
    -
    Specified by:
    verify in interface VerificationMode
    -
    -
    -
    -
    -
    -
    - -

    -atLeast

    -
    -public VerificationMode atLeast(int minNumberOfInvocations)
    -
    -
    Description copied from interface: VerificationWithTimeout
    -
    Allows at-least-x verification withing given timeout. E.g: -
    -   verify(mock, timeout(100).atLeast(3)).someMethod("some arg");
    - 
    - - See examples in javadoc for Mockito class -

    -

    -
    Specified by:
    atLeast in interface VerificationWithTimeout
    -
    -
    -
    Parameters:
    minNumberOfInvocations - minimum number of invocations -
    Returns:
    verification mode
    -
    -
    -
    - -

    -atLeastOnce

    -
    -public VerificationMode atLeastOnce()
    -
    -
    Description copied from interface: VerificationWithTimeout
    -
    Allows at-least-once verification withing given timeout. E.g: -
    -   verify(mock, timeout(100).atLeastOnce()).someMethod("some arg");
    - 
    - Alias to atLeast(1) -

    - See examples in javadoc for Mockito class -

    -

    -
    Specified by:
    atLeastOnce in interface VerificationWithTimeout
    -
    -
    - -
    Returns:
    verification mode
    -
    -
    -
    - -

    -atMost

    -
    -public VerificationMode atMost(int maxNumberOfInvocations)
    -
    -
    Description copied from interface: VerificationWithTimeout
    -
    Allows at-most-x verification within given timeout. E.g: -
    -   verify(mock, timeout(100).atMost(3)).someMethod("some arg");
    - 
    - - See examples in javadoc for Mockito class -

    -

    -
    Specified by:
    atMost in interface VerificationWithTimeout
    -
    -
    -
    Parameters:
    maxNumberOfInvocations - max number of invocations -
    Returns:
    verification mode
    -
    -
    -
    - -

    -never

    -
    -public VerificationMode never()
    -
    -
    Description copied from interface: VerificationWithTimeout
    -
    Alias to times(0), see VerificationWithTimeout.times(int) -

    - Verifies that interaction did not happen within given timeout. E.g: -

    -   verify(mock, timeout(100).never()).someMethod();
    - 
    - -

    - If you want to verify there were NO interactions with the mock - check out Mockito.verifyNoMoreInteractions(Object...) -

    - See examples in javadoc for Mockito class -

    -

    -
    Specified by:
    never in interface VerificationWithTimeout
    -
    -
    - -
    Returns:
    verification mode
    -
    -
    -
    - -

    -only

    -
    -public VerificationMode only()
    -
    -
    Description copied from interface: VerificationWithTimeout
    -
    Allows checking if given method was the only one invoked. E.g: -
    -   verify(mock, only()).someMethod();
    -   //above is a shorthand for following 2 lines of code:
    -   verify(mock).someMethod();
    -   verifyNoMoreInvocations(mock);
    - 
    - -

    - See also Mockito.verifyNoMoreInteractions(Object...) -

    - See examples in javadoc for Mockito class -

    -

    -
    Specified by:
    only in interface VerificationWithTimeout
    -
    -
    - -
    Returns:
    verification mode
    -
    -
    -
    - -

    -times

    -
    -public VerificationMode times(int wantedNumberOfInvocations)
    -
    -
    Description copied from interface: VerificationWithTimeout
    -
    Allows verifying exact number of invocations within given timeout -
    -   verify(mock, timeout(100).times(2)).someMethod("some arg");
    - 
    - - See examples in javadoc for Mockito class -

    -

    -
    Specified by:
    times in interface VerificationWithTimeout
    -
    -
    -
    Parameters:
    wantedNumberOfInvocations - wanted number of invocations -
    Returns:
    verification mode
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/verification/VerificationMode.html b/tools/mockito/javadoc/org/mockito/verification/VerificationMode.html deleted file mode 100644 index 5cffbfe7144..00000000000 --- a/tools/mockito/javadoc/org/mockito/verification/VerificationMode.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - -VerificationMode (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - -

    - -org.mockito.verification -
    -Interface VerificationMode

    -
    -
    All Known Subinterfaces:
    VerificationWithTimeout
    -
    -
    -
    All Known Implementing Classes:
    AtLeast, AtMost, InOrderWrapper, MockAwareVerificationMode, NoMoreInteractions, Only, Timeout, Times
    -
    -
    -
    -
    public interface VerificationMode
    -
    - -

    -Allows verifying that certain behavior happened at least once / exact number - of times / never. E.g: - -

    - verify(mock, times(5)).someMethod("was called five times");
    - 
    - verify(mock, never()).someMethod("was never called");
    - 
    - verify(mock, atLeastOnce()).someMethod("was called at least once");
    - 
    - verify(mock, atLeast(2)).someMethod("was called at least twice");
    - 
    - verify(mock, atMost(3)).someMethod("was called at most 3 times");
    - 
    - 
    - - times(1) is the default and can be omitted -

    - See examples in javadoc for Mockito.verify(Object, VerificationMode) -

    - -

    -


    - -

    - - - - - - - - - - - - -
    -Method Summary
    - voidverify(VerificationData data) - -
    -           
    -  -

    - - - - - - - - -
    -Method Detail
    - -

    -verify

    -
    -void verify(VerificationData data)
    -
    -
    -
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/verification/VerificationWithTimeout.html b/tools/mockito/javadoc/org/mockito/verification/VerificationWithTimeout.html deleted file mode 100644 index 41548a14b29..00000000000 --- a/tools/mockito/javadoc/org/mockito/verification/VerificationWithTimeout.html +++ /dev/null @@ -1,407 +0,0 @@ - - - - - - -VerificationWithTimeout (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - -

    - -org.mockito.verification -
    -Interface VerificationWithTimeout

    -
    -
    All Superinterfaces:
    VerificationMode
    -
    -
    -
    All Known Implementing Classes:
    Timeout
    -
    -
    -
    -
    public interface VerificationWithTimeout
    extends VerificationMode
    - - -

    -VerificationWithTimeout is a VerificationMode that allows combining existing verification modes with 'timeout'. E.g: - -

    - verify(mock, timeout(100).times(5)).foo();
    - 
    - verify(mock, timeout(100).never()).bar();
    - 
    - verify(mock, timeout(200).atLeastOnce()).baz();
    - 
    - -

    - See examples in javadoc for Mockito.verify(Object, VerificationMode) -

    - -

    -


    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - VerificationModeatLeast(int minNumberOfInvocations) - -
    -          Allows at-least-x verification withing given timeout.
    - VerificationModeatLeastOnce() - -
    -          Allows at-least-once verification withing given timeout.
    - VerificationModeatMost(int maxNumberOfInvocations) - -
    -          Allows at-most-x verification within given timeout.
    - VerificationModenever() - -
    -          Alias to times(0), see times(int)
    - VerificationModeonly() - -
    -          Allows checking if given method was the only one invoked.
    - VerificationModetimes(int wantedNumberOfInvocations) - -
    -          Allows verifying exact number of invocations within given timeout
    - - - - - - - -
    Methods inherited from interface org.mockito.verification.VerificationMode
    verify
    -  -

    - - - - - - - - -
    -Method Detail
    - -

    -times

    -
    -VerificationMode times(int wantedNumberOfInvocations)
    -
    -
    Allows verifying exact number of invocations within given timeout -
    -   verify(mock, timeout(100).times(2)).someMethod("some arg");
    - 
    - - See examples in javadoc for Mockito class -

    -

    -
    -
    -
    -
    Parameters:
    wantedNumberOfInvocations - wanted number of invocations -
    Returns:
    verification mode
    -
    -
    -
    - -

    -never

    -
    -VerificationMode never()
    -
    -
    Alias to times(0), see times(int) -

    - Verifies that interaction did not happen within given timeout. E.g: -

    -   verify(mock, timeout(100).never()).someMethod();
    - 
    - -

    - If you want to verify there were NO interactions with the mock - check out Mockito.verifyNoMoreInteractions(Object...) -

    - See examples in javadoc for Mockito class -

    -

    -
    -
    -
    - -
    Returns:
    verification mode
    -
    -
    -
    - -

    -atLeastOnce

    -
    -VerificationMode atLeastOnce()
    -
    -
    Allows at-least-once verification withing given timeout. E.g: -
    -   verify(mock, timeout(100).atLeastOnce()).someMethod("some arg");
    - 
    - Alias to atLeast(1) -

    - See examples in javadoc for Mockito class -

    -

    -
    -
    -
    - -
    Returns:
    verification mode
    -
    -
    -
    - -

    -atLeast

    -
    -VerificationMode atLeast(int minNumberOfInvocations)
    -
    -
    Allows at-least-x verification withing given timeout. E.g: -
    -   verify(mock, timeout(100).atLeast(3)).someMethod("some arg");
    - 
    - - See examples in javadoc for Mockito class -

    -

    -
    -
    -
    -
    Parameters:
    minNumberOfInvocations - minimum number of invocations -
    Returns:
    verification mode
    -
    -
    -
    - -

    -atMost

    -
    -VerificationMode atMost(int maxNumberOfInvocations)
    -
    -
    Allows at-most-x verification within given timeout. E.g: -
    -   verify(mock, timeout(100).atMost(3)).someMethod("some arg");
    - 
    - - See examples in javadoc for Mockito class -

    -

    -
    -
    -
    -
    Parameters:
    maxNumberOfInvocations - max number of invocations -
    Returns:
    verification mode
    -
    -
    -
    - -

    -only

    -
    -VerificationMode only()
    -
    -
    Allows checking if given method was the only one invoked. E.g: -
    -   verify(mock, only()).someMethod();
    -   //above is a shorthand for following 2 lines of code:
    -   verify(mock).someMethod();
    -   verifyNoMoreInvocations(mock);
    - 
    - -

    - See also Mockito.verifyNoMoreInteractions(Object...) -

    - See examples in javadoc for Mockito class -

    -

    -
    -
    -
    - -
    Returns:
    verification mode
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/verification/class-use/Timeout.html b/tools/mockito/javadoc/org/mockito/verification/class-use/Timeout.html deleted file mode 100644 index cbfbee624b3..00000000000 --- a/tools/mockito/javadoc/org/mockito/verification/class-use/Timeout.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Uses of Class org.mockito.verification.Timeout (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Class
    org.mockito.verification.Timeout

    -
    -No usage of org.mockito.verification.Timeout -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/verification/class-use/VerificationMode.html b/tools/mockito/javadoc/org/mockito/verification/class-use/VerificationMode.html deleted file mode 100644 index 790d400a9d4..00000000000 --- a/tools/mockito/javadoc/org/mockito/verification/class-use/VerificationMode.html +++ /dev/null @@ -1,730 +0,0 @@ - - - - - - -Uses of Interface org.mockito.verification.VerificationMode (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Interface
    org.mockito.verification.VerificationMode

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use VerificationMode
    org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
    org.mockito.internalInternal classes, not to be used by clients. 
    org.mockito.internal.progressMocking progress stateful classes. 
    org.mockito.internal.verificationVerification logic. 
    org.mockito.internal.verification.checkersverification checkers 
    org.mockito.verification  
    -  -

    - - - - - -
    -Uses of VerificationMode in org.mockito
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.mockito that return VerificationMode
    -static VerificationModeMockito.atLeast(int minNumberOfInvocations) - -
    -          Allows at-least-x verification.
    -static VerificationModeMockito.atLeastOnce() - -
    -          Allows at-least-once verification.
    -static VerificationModeMockito.atMost(int maxNumberOfInvocations) - -
    -          Allows at-most-x verification.
    -static VerificationModeMockito.never() - -
    -          Alias to times(0), see Mockito.times(int)
    -static VerificationModeMockito.only() - -
    -          Allows checking if given method was the only one invoked.
    -static VerificationModeMockito.times(int wantedNumberOfInvocations) - -
    -          Allows verifying exact number of invocations.
    -  -

    - - - - - - - - - - - - - -
    Methods in org.mockito with parameters of type VerificationMode
    -static - - - - -
    -<T> T
    -
    Mockito.verify(T mock, - VerificationMode mode) - -
    -          Verifies certain behavior happened at least once / exact number of times / never.
    - - - - - -
    -<T> T
    -
    InOrder.verify(T mock, - VerificationMode mode) - -
    -          Verifies interaction in order.
    -  -

    - - - - - -
    -Uses of VerificationMode in org.mockito.internal
    -  -

    - - - - - - - - - - - - - -
    Methods in org.mockito.internal with parameters of type VerificationMode
    - - - - - -
    -<T> T
    -
    MockitoCore.verify(T mock, - VerificationMode mode) - -
    -           
    - - - - - -
    -<T> T
    -
    InOrderImpl.verify(T mock, - VerificationMode mode) - -
    -           
    -  -

    - - - - - -
    -Uses of VerificationMode in org.mockito.internal.progress
    -  -

    - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.internal.progress that return VerificationMode
    - VerificationModeThreadSafeMockingProgress.pullVerificationMode() - -
    -           
    - VerificationModeMockingProgressImpl.pullVerificationMode() - -
    -           
    - VerificationModeMockingProgress.pullVerificationMode() - -
    -           
    -  -

    - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.internal.progress with parameters of type VerificationMode
    - voidThreadSafeMockingProgress.verificationStarted(VerificationMode verify) - -
    -           
    - voidMockingProgressImpl.verificationStarted(VerificationMode verify) - -
    -           
    - voidMockingProgress.verificationStarted(VerificationMode verificationMode) - -
    -           
    -  -

    - - - - - -
    -Uses of VerificationMode in org.mockito.internal.verification
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Classes in org.mockito.internal.verification that implement VerificationMode
    - classAtLeast - -
    -           
    - classAtMost - -
    -           
    - classInOrderWrapper - -
    -           
    - classMockAwareVerificationMode - -
    -           
    - classNoMoreInteractions - -
    -           
    - classOnly - -
    -           
    - classTimes - -
    -           
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.internal.verification that return VerificationMode
    -static VerificationModeVerificationModeFactory.atLeast(int minNumberOfInvocations) - -
    -           
    -static VerificationModeVerificationModeFactory.atLeastOnce() - -
    -           
    -static VerificationModeVerificationModeFactory.atMost(int maxNumberOfInvocations) - -
    -           
    - VerificationModeVerificationWithTimeoutImpl.getDelegate() - -
    -           
    -static VerificationModeVerificationModeFactory.only() - -
    -           
    -  -

    - - - - - - - - - - - -
    Constructors in org.mockito.internal.verification with parameters of type VerificationMode
    MockAwareVerificationMode(java.lang.Object mock, - VerificationMode mode) - -
    -           
    VerificationWithTimeoutImpl(int treshhold, - int millis, - VerificationMode delegate) - -
    -           
    -  -

    - - - - - -
    -Uses of VerificationMode in org.mockito.internal.verification.checkers
    -  -

    - - - - - - - - - -
    Methods in org.mockito.internal.verification.checkers with parameters of type VerificationMode
    - voidMissingInvocationInOrderChecker.check(java.util.List<Invocation> invocations, - InvocationMatcher wanted, - VerificationMode mode, - InOrderContext context) - -
    -           
    -  -

    - - - - - -
    -Uses of VerificationMode in org.mockito.verification
    -  -

    - - - - - - - - - -
    Subinterfaces of VerificationMode in org.mockito.verification
    - interfaceVerificationWithTimeout - -
    -          VerificationWithTimeout is a VerificationMode that allows combining existing verification modes with 'timeout'.
    -  -

    - - - - - - - - - -
    Classes in org.mockito.verification that implement VerificationMode
    - classTimeout - -
    -          See the javadoc for VerificationWithTimeout
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.mockito.verification that return VerificationMode
    - VerificationModeVerificationWithTimeout.atLeast(int minNumberOfInvocations) - -
    -          Allows at-least-x verification withing given timeout.
    - VerificationModeTimeout.atLeast(int minNumberOfInvocations) - -
    -           
    - VerificationModeVerificationWithTimeout.atLeastOnce() - -
    -          Allows at-least-once verification withing given timeout.
    - VerificationModeTimeout.atLeastOnce() - -
    -           
    - VerificationModeVerificationWithTimeout.atMost(int maxNumberOfInvocations) - -
    -          Allows at-most-x verification within given timeout.
    - VerificationModeTimeout.atMost(int maxNumberOfInvocations) - -
    -           
    - VerificationModeVerificationWithTimeout.never() - -
    -          Alias to times(0), see VerificationWithTimeout.times(int)
    - VerificationModeTimeout.never() - -
    -           
    - VerificationModeVerificationWithTimeout.only() - -
    -          Allows checking if given method was the only one invoked.
    - VerificationModeTimeout.only() - -
    -           
    - VerificationModeVerificationWithTimeout.times(int wantedNumberOfInvocations) - -
    -          Allows verifying exact number of invocations within given timeout
    - VerificationModeTimeout.times(int wantedNumberOfInvocations) - -
    -           
    -  -

    - - - - - - - - -
    Constructors in org.mockito.verification with parameters of type VerificationMode
    Timeout(int millis, - VerificationMode delegate) - -
    -          See the javadoc for VerificationWithTimeout
    -  -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/verification/class-use/VerificationWithTimeout.html b/tools/mockito/javadoc/org/mockito/verification/class-use/VerificationWithTimeout.html deleted file mode 100644 index 8e24818588a..00000000000 --- a/tools/mockito/javadoc/org/mockito/verification/class-use/VerificationWithTimeout.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - -Uses of Interface org.mockito.verification.VerificationWithTimeout (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Interface
    org.mockito.verification.VerificationWithTimeout

    -
    - - - - - - - - - - - - - -
    -Packages that use VerificationWithTimeout
    org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
    org.mockito.verification  
    -  -

    - - - - - -
    -Uses of VerificationWithTimeout in org.mockito
    -  -

    - - - - - - - - - -
    Methods in org.mockito that return VerificationWithTimeout
    -static VerificationWithTimeoutMockito.timeout(int millis) - -
    -          Allows verifying with timeout.
    -  -

    - - - - - -
    -Uses of VerificationWithTimeout in org.mockito.verification
    -  -

    - - - - - - - - - -
    Classes in org.mockito.verification that implement VerificationWithTimeout
    - classTimeout - -
    -          See the javadoc for VerificationWithTimeout
    -  -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/verification/package-frame.html b/tools/mockito/javadoc/org/mockito/verification/package-frame.html deleted file mode 100644 index dd6159f3ee5..00000000000 --- a/tools/mockito/javadoc/org/mockito/verification/package-frame.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - -org.mockito.verification (Mockito API) - - - - - - - - - - - -org.mockito.verification - - - - -
    -Interfaces  - -
    -VerificationMode -
    -VerificationWithTimeout
    - - - - - - -
    -Classes  - -
    -Timeout
    - - - - diff --git a/tools/mockito/javadoc/org/mockito/verification/package-summary.html b/tools/mockito/javadoc/org/mockito/verification/package-summary.html deleted file mode 100644 index 774f053c754..00000000000 --- a/tools/mockito/javadoc/org/mockito/verification/package-summary.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -org.mockito.verification (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -

    -Package org.mockito.verification -

    - - - - - - - - - - - - - -
    -Interface Summary
    VerificationModeAllows verifying that certain behavior happened at least once / exact number - of times / never.
    VerificationWithTimeoutVerificationWithTimeout is a VerificationMode that allows combining existing verification modes with 'timeout'.
    -  - -

    - - - - - - - - - -
    -Class Summary
    TimeoutSee the javadoc for VerificationWithTimeout
    -  - -

    -

    -
    -
    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/verification/package-tree.html b/tools/mockito/javadoc/org/mockito/verification/package-tree.html deleted file mode 100644 index 58c2755ede3..00000000000 --- a/tools/mockito/javadoc/org/mockito/verification/package-tree.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -org.mockito.verification Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Hierarchy For Package org.mockito.verification -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -

    -Interface Hierarchy -

    - -
    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/org/mockito/verification/package-use.html b/tools/mockito/javadoc/org/mockito/verification/package-use.html deleted file mode 100644 index 07c850fe151..00000000000 --- a/tools/mockito/javadoc/org/mockito/verification/package-use.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - -Uses of Package org.mockito.verification (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Uses of Package
    org.mockito.verification

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use org.mockito.verification
    org.mockitoMockito is a mock library for java - see Mockito class for for usage. 
    org.mockito.internalInternal classes, not to be used by clients. 
    org.mockito.internal.progressMocking progress stateful classes. 
    org.mockito.internal.verificationVerification logic. 
    org.mockito.internal.verification.checkersverification checkers 
    org.mockito.verification  
    -  -

    - - - - - - - - - - - -
    -Classes in org.mockito.verification used by org.mockito
    VerificationMode - -
    -          Allows verifying that certain behavior happened at least once / exact number - of times / never.
    VerificationWithTimeout - -
    -          VerificationWithTimeout is a VerificationMode that allows combining existing verification modes with 'timeout'.
    -  -

    - - - - - - - - -
    -Classes in org.mockito.verification used by org.mockito.internal
    VerificationMode - -
    -          Allows verifying that certain behavior happened at least once / exact number - of times / never.
    -  -

    - - - - - - - - -
    -Classes in org.mockito.verification used by org.mockito.internal.progress
    VerificationMode - -
    -          Allows verifying that certain behavior happened at least once / exact number - of times / never.
    -  -

    - - - - - - - - -
    -Classes in org.mockito.verification used by org.mockito.internal.verification
    VerificationMode - -
    -          Allows verifying that certain behavior happened at least once / exact number - of times / never.
    -  -

    - - - - - - - - -
    -Classes in org.mockito.verification used by org.mockito.internal.verification.checkers
    VerificationMode - -
    -          Allows verifying that certain behavior happened at least once / exact number - of times / never.
    -  -

    - - - - - - - - - - - -
    -Classes in org.mockito.verification used by org.mockito.verification
    VerificationMode - -
    -          Allows verifying that certain behavior happened at least once / exact number - of times / never.
    VerificationWithTimeout - -
    -          VerificationWithTimeout is a VerificationMode that allows combining existing verification modes with 'timeout'.
    -  -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/overview-frame.html b/tools/mockito/javadoc/overview-frame.html deleted file mode 100644 index a14f8efe572..00000000000 --- a/tools/mockito/javadoc/overview-frame.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Overview (Mockito API) - - - - - - - - - - - - - - - -
    -
    - - - - - -
    All Classes -

    - -Packages -
    -org.mockito -
    -org.mockito.configuration -
    -org.mockito.exceptions -
    -org.mockito.exceptions.base -
    -org.mockito.exceptions.misusing -
    -org.mockito.exceptions.verification -
    -org.mockito.exceptions.verification.junit -
    -org.mockito.internal -
    -org.mockito.internal.configuration -
    -org.mockito.internal.creation -
    -org.mockito.internal.creation.cglib -
    -org.mockito.internal.creation.jmock -
    -org.mockito.internal.debugging -
    -org.mockito.internal.exceptions -
    -org.mockito.internal.exceptions.base -
    -org.mockito.internal.exceptions.util -
    -org.mockito.internal.invocation -
    -org.mockito.internal.invocation.realmethod -
    -org.mockito.internal.listeners -
    -org.mockito.internal.matchers -
    -org.mockito.internal.matchers.apachecommons -
    -org.mockito.internal.progress -
    -org.mockito.internal.reporting -
    -org.mockito.internal.runners -
    -org.mockito.internal.runners.util -
    -org.mockito.internal.stubbing -
    -org.mockito.internal.stubbing.answers -
    -org.mockito.internal.stubbing.defaultanswers -
    -org.mockito.internal.util -
    -org.mockito.internal.util.junit -
    -org.mockito.internal.util.reflection -
    -org.mockito.internal.verification -
    -org.mockito.internal.verification.api -
    -org.mockito.internal.verification.argumentmatching -
    -org.mockito.internal.verification.checkers -
    -org.mockito.invocation -
    -org.mockito.runners -
    -org.mockito.stubbing -
    -org.mockito.stubbing.answers -
    -org.mockito.verification -
    -

    - -

    -  - - diff --git a/tools/mockito/javadoc/overview-summary.html b/tools/mockito/javadoc/overview-summary.html deleted file mode 100644 index be49d929107..00000000000 --- a/tools/mockito/javadoc/overview-summary.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - - -Overview (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -


    -
    -

    - - -

    Click to see examples. Mockito API.

    - - - -
    - - - - - - - - - -
    -Main package
    org.mockitoMockito is a mock library for java - see Mockito class for for usage.
    - -

    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Other Packages
    org.mockito.configurationMockito configuration utilities
    org.mockito.exceptionsException messages, exception hierarchies.
    org.mockito.exceptions.baseBase classes for exceptions and errors, stack trace filtering/removing logic.
    org.mockito.exceptions.misusingExceptions thrown when Mockito is misused.
    org.mockito.exceptions.verificationVerification errors.
    org.mockito.exceptions.verification.junitJUnit integration to provide better support for junit runners in IDEs.
    org.mockito.internalInternal classes, not to be used by clients.
    org.mockito.internal.configurationMockito configuration
    org.mockito.internal.creationMock object creation.
    org.mockito.internal.creation.cglibCGLIB related stuff
    org.mockito.internal.creation.jmockBorrowed from jmock codebase
    org.mockito.internal.debuggingWhatever helps in debugging failed tests
    org.mockito.internal.exceptions 
    org.mockito.internal.exceptions.baseinternal implementations of exceptions stuff
    org.mockito.internal.exceptions.util 
    org.mockito.internal.invocationInvocation and related classes.
    org.mockito.internal.invocation.realmethodimplementations of real method calls
    org.mockito.internal.listeners 
    org.mockito.internal.matchersArgument matchers for verification and stubbing.
    org.mockito.internal.matchers.apachecommonsArgument matchers that use Apache Commons Lang reflection-equality.
    org.mockito.internal.progressMocking progress stateful classes.
    org.mockito.internal.reportingDeals with nicely printing verification errors
    org.mockito.internal.runnersInternal classes for runners implementations
    org.mockito.internal.runners.utilInternal utils for runner implementations
    org.mockito.internal.stubbingStubbing logic.
    org.mockito.internal.stubbing.answersAnswers for stubbed calls
    org.mockito.internal.stubbing.defaultanswersImplementations of ReturnValues
    org.mockito.internal.utilStatic utils
    org.mockito.internal.util.junit 
    org.mockito.internal.util.reflectionreflection utilities
    org.mockito.internal.verificationVerification logic.
    org.mockito.internal.verification.apiThis package should be open to public once verification API is fully finished
    org.mockito.internal.verification.argumentmatchingDeals with matching arguments
    org.mockito.internal.verification.checkersverification checkers
    org.mockito.invocationPublicly visible classes related to invocation
    org.mockito.runnersJUnit runners.
    org.mockito.stubbingExternal stubbing related classes
    org.mockito.stubbing.answers 
    org.mockito.verification 
    - -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/overview-tree.html b/tools/mockito/javadoc/overview-tree.html deleted file mode 100644 index e371de17b26..00000000000 --- a/tools/mockito/javadoc/overview-tree.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - -Class Hierarchy (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Hierarchy For All Packages

    -
    -
    -
    Package Hierarchies:
    org.mockito, org.mockito.configuration, org.mockito.exceptions, org.mockito.exceptions.base, org.mockito.exceptions.misusing, org.mockito.exceptions.verification, org.mockito.exceptions.verification.junit, org.mockito.internal, org.mockito.internal.configuration, org.mockito.internal.creation, org.mockito.internal.creation.cglib, org.mockito.internal.creation.jmock, org.mockito.internal.debugging, org.mockito.internal.exceptions, org.mockito.internal.exceptions.base, org.mockito.internal.exceptions.util, org.mockito.internal.invocation, org.mockito.internal.invocation.realmethod, org.mockito.internal.listeners, org.mockito.internal.matchers, org.mockito.internal.matchers.apachecommons, org.mockito.internal.progress, org.mockito.internal.reporting, org.mockito.internal.runners, org.mockito.internal.runners.util, org.mockito.internal.stubbing, org.mockito.internal.stubbing.answers, org.mockito.internal.stubbing.defaultanswers, org.mockito.internal.util, org.mockito.internal.util.junit, org.mockito.internal.util.reflection, org.mockito.internal.verification, org.mockito.internal.verification.api, org.mockito.internal.verification.argumentmatching, org.mockito.internal.verification.checkers, org.mockito.invocation, org.mockito.runners, org.mockito.stubbing, org.mockito.stubbing.answers, org.mockito.verification
    -
    -

    -Class Hierarchy -

    - -

    -Interface Hierarchy -

    - -

    -Annotation Type Hierarchy -

    -
      -
    • org.mockito.Spy (implements java.lang.annotation.Annotation) -
    • org.mockito.MockitoAnnotations.Mock (implements java.lang.annotation.Annotation) -
    • org.mockito.Mock (implements java.lang.annotation.Annotation) -
    • org.mockito.InjectMocks (implements java.lang.annotation.Annotation) -
    • org.mockito.Captor (implements java.lang.annotation.Annotation) -
    -

    -Enum Hierarchy -

    -
      -
    • java.lang.Object
        -
      • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) -
          -
        • org.mockito.Answers
        • org.mockito.internal.stubbing.defaultanswers.Answers
        -
      -
    -
    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/package-list b/tools/mockito/javadoc/package-list deleted file mode 100644 index e6203ae55c1..00000000000 --- a/tools/mockito/javadoc/package-list +++ /dev/null @@ -1,40 +0,0 @@ -org.mockito -org.mockito.configuration -org.mockito.exceptions -org.mockito.exceptions.base -org.mockito.exceptions.misusing -org.mockito.exceptions.verification -org.mockito.exceptions.verification.junit -org.mockito.internal -org.mockito.internal.configuration -org.mockito.internal.creation -org.mockito.internal.creation.cglib -org.mockito.internal.creation.jmock -org.mockito.internal.debugging -org.mockito.internal.exceptions -org.mockito.internal.exceptions.base -org.mockito.internal.exceptions.util -org.mockito.internal.invocation -org.mockito.internal.invocation.realmethod -org.mockito.internal.listeners -org.mockito.internal.matchers -org.mockito.internal.matchers.apachecommons -org.mockito.internal.progress -org.mockito.internal.reporting -org.mockito.internal.runners -org.mockito.internal.runners.util -org.mockito.internal.stubbing -org.mockito.internal.stubbing.answers -org.mockito.internal.stubbing.defaultanswers -org.mockito.internal.util -org.mockito.internal.util.junit -org.mockito.internal.util.reflection -org.mockito.internal.verification -org.mockito.internal.verification.api -org.mockito.internal.verification.argumentmatching -org.mockito.internal.verification.checkers -org.mockito.invocation -org.mockito.runners -org.mockito.stubbing -org.mockito.stubbing.answers -org.mockito.verification diff --git a/tools/mockito/javadoc/resources/inherit.gif b/tools/mockito/javadoc/resources/inherit.gif deleted file mode 100644 index c814867a13d..00000000000 Binary files a/tools/mockito/javadoc/resources/inherit.gif and /dev/null differ diff --git a/tools/mockito/javadoc/serialized-form.html b/tools/mockito/javadoc/serialized-form.html deleted file mode 100644 index 11ee819d46e..00000000000 --- a/tools/mockito/javadoc/serialized-form.html +++ /dev/null @@ -1,2472 +0,0 @@ - - - - - - -Serialized Form (Mockito API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    -
    -

    -Serialized Form

    -
    -
    - - - - - -
    -Package org.mockito
    -
    - - - - - -
    -Package org.mockito.exceptions.base
    - -

    - - - - - -
    -Class org.mockito.exceptions.base.MockitoAssertionError extends java.lang.AssertionError implements Serializable
    - -

    -serialVersionUID: 1L - -

    - - - - - -
    -Serialized Fields
    - -

    -unfilteredStackTrace

    -
    -java.lang.StackTraceElement[] unfilteredStackTrace
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.exceptions.base.MockitoException extends java.lang.RuntimeException implements Serializable
    - -

    -serialVersionUID: 1L - -

    - - - - - -
    -Serialized Fields
    - -

    -unfilteredStackTrace

    -
    -java.lang.StackTraceElement[] unfilteredStackTrace
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.exceptions.misusing
    - -

    - - - - - -
    -Class org.mockito.exceptions.misusing.InvalidUseOfMatchersException extends MockitoException implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.misusing.MissingMethodInvocationException extends MockitoException implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.misusing.MockitoConfigurationException extends MockitoException implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.misusing.NotAMockException extends MockitoException implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.misusing.NullInsteadOfMockException extends MockitoException implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.misusing.UnfinishedStubbingException extends MockitoException implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.misusing.UnfinishedVerificationException extends MockitoException implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.misusing.WrongTypeOfReturnValue extends MockitoException implements Serializable
    - -

    -serialVersionUID: 1L - -

    -


    - - - - - -
    -Package org.mockito.exceptions.verification
    - -

    - - - - - -
    -Class org.mockito.exceptions.verification.ArgumentsAreDifferent extends MockitoAssertionError implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.verification.NeverWantedButInvoked extends MockitoAssertionError implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.verification.NoInteractionsWanted extends MockitoAssertionError implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.verification.SmartNullPointerException extends MockitoException implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.verification.TooLittleActualInvocations extends MockitoAssertionError implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.verification.TooManyActualInvocations extends MockitoAssertionError implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.verification.VerificationInOrderFailure extends MockitoAssertionError implements Serializable
    - -

    -serialVersionUID: 1L - -

    - -

    - - - - - -
    -Class org.mockito.exceptions.verification.WantedButNotInvoked extends MockitoAssertionError implements Serializable
    - -

    -serialVersionUID: 1L - -

    -


    - - - - - -
    -Package org.mockito.exceptions.verification.junit
    - -

    - - - - - -
    -Class org.mockito.exceptions.verification.junit.ArgumentsAreDifferent extends junit.framework.ComparisonFailure implements Serializable
    - -

    -serialVersionUID: 1L - -

    - - - - - -
    -Serialized Fields
    - -

    -message

    -
    -java.lang.String message
    -
    -
    -
    -
    -
    -

    -unfilteredStackTrace

    -
    -java.lang.StackTraceElement[] unfilteredStackTrace
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.internal
    - -

    - - - - - -
    -Class org.mockito.internal.MockHandler extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -2917871070982574165L - -

    - - - - - -
    -Serialized Fields
    - -

    -invocationContainerImpl

    -
    -InvocationContainerImpl invocationContainerImpl
    -
    -
    -
    -
    -
    -

    -matchersBinder

    -
    -MatchersBinder matchersBinder
    -
    -
    -
    -
    -
    -

    -mockingProgress

    -
    -MockingProgress mockingProgress
    -
    -
    -
    -
    -
    -

    -mockSettings

    -
    -MockSettingsImpl mockSettings
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.internal.configuration
    - -

    - - - - - -
    -Class org.mockito.internal.configuration.GlobalConfiguration extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -2860353062105505938L - -

    -


    - - - - - -
    -Package org.mockito.internal.creation
    - -

    - - - - - -
    -Class org.mockito.internal.creation.MethodInterceptorFilter extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 6182795666612683784L - -

    - - - - - -
    -Serialized Fields
    - -

    -handler

    -
    -MockitoInvocationHandler handler
    -
    -
    -
    -
    -
    -

    -cglibHacker

    -
    -CGLIBHacker cglibHacker
    -
    -
    -
    -
    -
    -

    -objectMethodsGuru

    -
    -ObjectMethodsGuru objectMethodsGuru
    -
    -
    -
    -
    -
    -

    -mockSettings

    -
    -MockSettingsImpl mockSettings
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.creation.MockSettingsImpl extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 4475297236197939568L - -

    - - - - - -
    -Serialized Fields
    - -

    -extraInterfaces

    -
    -java.lang.Class<T>[] extraInterfaces
    -
    -
    -
    -
    -
    -

    -name

    -
    -java.lang.String name
    -
    -
    -
    -
    -
    -

    -spiedInstance

    -
    -java.lang.Object spiedInstance
    -
    -
    -
    -
    -
    -

    -defaultAnswer

    -
    -Answer<T> defaultAnswer
    -
    -
    -
    -
    -
    -

    -mockName

    -
    -MockName mockName
    -
    -
    -
    -
    -
    -

    -serializable

    -
    -boolean serializable
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.creation.SerializableMockitoMethodProxy extends AbstractMockitoMethodProxy implements Serializable
    - -

    -serialVersionUID: -5337859962876770632L - -

    - - - - - -
    -Serialized Fields
    - -

    -c1

    -
    -java.lang.Class<T> c1
    -
    -
    -
    -
    -
    -

    -c2

    -
    -java.lang.Class<T> c2
    -
    -
    -
    -
    -
    -

    -desc

    -
    -java.lang.String desc
    -
    -
    -
    -
    -
    -

    -name

    -
    -java.lang.String name
    -
    -
    -
    -
    -
    -

    -superName

    -
    -java.lang.String superName
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.internal.creation.cglib
    - -

    - - - - - -
    -Class org.mockito.internal.creation.cglib.CGLIBHacker extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -4389233991416356668L - -

    -


    - - - - - -
    -Package org.mockito.internal.creation.jmock
    - -

    - - - - - -
    -Class org.mockito.internal.creation.jmock.SerializableNoOp extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 7434976328690189159L - -

    -


    - - - - - -
    -Package org.mockito.internal.debugging
    - -

    - - - - - -
    -Class org.mockito.internal.debugging.Location extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -9054861157390980624L - -

    - - - - - -
    -Serialized Fields
    - -

    -where

    -
    -java.lang.String where
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.internal.exceptions
    - -

    - - - - - -
    -Class org.mockito.internal.exceptions.ExceptionIncludingMockitoWarnings extends java.lang.RuntimeException implements Serializable
    - -

    -serialVersionUID: -5925150219446765679L - -

    -


    - - - - - -
    -Package org.mockito.internal.exceptions.base
    - -

    - - - - - -
    -Class org.mockito.internal.exceptions.base.ConditionalStackTraceFilter extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -8085849703510292641L - -

    - - - - - -
    -Serialized Fields
    - -

    -config

    -
    -IMockitoConfiguration config
    -
    -
    -
    -
    -
    -

    -filter

    -
    -StackTraceFilter filter
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.exceptions.base.StackTraceFilter extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -5499819791513105700L - -

    -


    - - - - - -
    -Package org.mockito.internal.invocation
    - -

    - - - - - -
    -Class org.mockito.internal.invocation.Invocation extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 8240069639250980199L - -

    - - - - - -
    -Serialized Fields
    - -

    -sequenceNumber

    -
    -int sequenceNumber
    -
    -
    -
    -
    -
    -

    -mock

    -
    -java.lang.Object mock
    -
    -
    -
    -
    -
    -

    -method

    -
    -MockitoMethod method
    -
    -
    -
    -
    -
    -

    -arguments

    -
    -java.lang.Object[] arguments
    -
    -
    -
    -
    -
    -

    -rawArguments

    -
    -java.lang.Object[] rawArguments
    -
    -
    -
    -
    -
    -

    -location

    -
    -Location location
    -
    -
    -
    -
    -
    -

    -verified

    -
    -boolean verified
    -
    -
    -
    -
    -
    -

    -realMethod

    -
    -RealMethod realMethod
    -
    -
    -
    -
    -
    -

    -stubInfo

    -
    -StubInfo stubInfo
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.invocation.InvocationMatcher extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -3047126096857467610L - -

    - - - - - -
    -Serialized Fields
    - -

    -invocation

    -
    -Invocation invocation
    -
    -
    -
    -
    -
    -

    -matchers

    -
    -java.util.List<E> matchers
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.invocation.MatchersBinder extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -311433939339443463L - -

    - -

    - - - - - -
    -Class org.mockito.internal.invocation.SerializableMethod extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 6005610965006048445L - -

    - - - - - -
    -Serialized Fields
    - -

    -declaringClass

    -
    -java.lang.Class<T> declaringClass
    -
    -
    -
    -
    -
    -

    -methodName

    -
    -java.lang.String methodName
    -
    -
    -
    -
    -
    -

    -parameterTypes

    -
    -java.lang.Class<T>[] parameterTypes
    -
    -
    -
    -
    -
    -

    -returnType

    -
    -java.lang.Class<T> returnType
    -
    -
    -
    -
    -
    -

    -exceptionTypes

    -
    -java.lang.Class<T>[] exceptionTypes
    -
    -
    -
    -
    -
    -

    -isVarArgs

    -
    -boolean isVarArgs
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.invocation.StubInfo extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 2125827349332068867L - -

    - - - - - -
    -Serialized Fields
    - -

    -stubbedAt

    -
    -PrintableInvocation stubbedAt
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.internal.invocation.realmethod
    - -

    - - - - - -
    -Class org.mockito.internal.invocation.realmethod.CGLIBProxyRealMethod extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -4596470901191501582L - -

    - - - - - -
    -Serialized Fields
    - -

    -methodProxy

    -
    -MockitoMethodProxy methodProxy
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.invocation.realmethod.FilteredCGLIBProxyRealMethod extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 3596550785818938496L - -

    - - - - - -
    -Serialized Fields
    - -

    -realMethod

    -
    -RealMethod realMethod
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.internal.matchers
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.And extends ArgumentMatcher implements Serializable
    - -

    -serialVersionUID: -4624719625691177501L - -

    - - - - - -
    -Serialized Fields
    - -

    -matchers

    -
    -java.util.List<E> matchers
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.Any extends ArgumentMatcher implements Serializable
    - -

    -serialVersionUID: -4062420125651019029L - -

    - -

    - - - - - -
    -Class org.mockito.internal.matchers.AnyVararg extends ArgumentMatcher implements Serializable
    - -

    -serialVersionUID: 1700721373094731555L - -

    - -

    - - - - - -
    -Class org.mockito.internal.matchers.ArrayEquals extends Equals implements Serializable
    - -

    -serialVersionUID: -7167812844261087583L - -

    - -

    - - - - - -
    -Class org.mockito.internal.matchers.CapturingMatcher extends ArgumentMatcher<T> implements Serializable
    - -

    -serialVersionUID: 4274067078639307295L - -

    - - - - - -
    -Serialized Fields
    - -

    -arguments

    -
    -java.util.LinkedList<E> arguments
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.CompareEqual extends CompareTo<T extends java.lang.Comparable<T>> implements Serializable
    - -

    -serialVersionUID: 2998586260452920429L - -

    - -

    - - - - - -
    -Class org.mockito.internal.matchers.Contains extends ArgumentMatcher<java.lang.String> implements Serializable
    - -

    -serialVersionUID: -1909837398271763801L - -

    - - - - - -
    -Serialized Fields
    - -

    -substring

    -
    -java.lang.String substring
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.EndsWith extends ArgumentMatcher<java.lang.String> implements Serializable
    - -

    -serialVersionUID: 8556443228350129421L - -

    - - - - - -
    -Serialized Fields
    - -

    -suffix

    -
    -java.lang.String suffix
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.Equals extends ArgumentMatcher<java.lang.Object> implements Serializable
    - -

    -serialVersionUID: -3395637450058086891L - -

    - - - - - -
    -Serialized Fields
    - -

    -wanted

    -
    -java.lang.Object wanted
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.EqualsWithDelta extends ArgumentMatcher<java.lang.Number> implements Serializable
    - -

    -serialVersionUID: 5066980489920383664L - -

    - - - - - -
    -Serialized Fields
    - -

    -wanted

    -
    -java.lang.Number wanted
    -
    -
    -
    -
    -
    -

    -delta

    -
    -java.lang.Number delta
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.Find extends ArgumentMatcher<java.lang.String> implements Serializable
    - -

    -serialVersionUID: 8895781429480404872L - -

    - - - - - -
    -Serialized Fields
    - -

    -regex

    -
    -java.lang.String regex
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.GreaterOrEqual extends CompareTo<T extends java.lang.Comparable<T>> implements Serializable
    - -

    -serialVersionUID: 87695769061286092L - -

    - -

    - - - - - -
    -Class org.mockito.internal.matchers.GreaterThan extends CompareTo<T extends java.lang.Comparable<T>> implements Serializable
    - -

    -serialVersionUID: 7446529803235604408L - -

    - -

    - - - - - -
    -Class org.mockito.internal.matchers.InstanceOf extends ArgumentMatcher<java.lang.Object> implements Serializable
    - -

    -serialVersionUID: 517358915876138366L - -

    - - - - - -
    -Serialized Fields
    - -

    -clazz

    -
    -java.lang.Class<T> clazz
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.LessOrEqual extends CompareTo<T extends java.lang.Comparable<T>> implements Serializable
    - -

    -serialVersionUID: -6648773374429103565L - -

    - -

    - - - - - -
    -Class org.mockito.internal.matchers.LessThan extends CompareTo<T extends java.lang.Comparable<T>> implements Serializable
    - -

    -serialVersionUID: -133860804462310942L - -

    - -

    - - - - - -
    -Class org.mockito.internal.matchers.LocalizedMatcher extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 6748641229659825725L - -

    - - - - - -
    -Serialized Fields
    - -

    -actualMatcher

    -
    -org.hamcrest.Matcher<T> actualMatcher
    -
    -
    -
    -
    -
    -

    -location

    -
    -Location location
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.Matches extends ArgumentMatcher<java.lang.Object> implements Serializable
    - -

    -serialVersionUID: 8787704593379472029L - -

    - - - - - -
    -Serialized Fields
    - -

    -regex

    -
    -java.lang.String regex
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.Not extends ArgumentMatcher implements Serializable
    - -

    -serialVersionUID: 4627373642333593264L - -

    - - - - - -
    -Serialized Fields
    - -

    -first

    -
    -org.hamcrest.Matcher<T> first
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.NotNull extends ArgumentMatcher<java.lang.Object> implements Serializable
    - -

    -serialVersionUID: 7278261081285153228L - -

    - -

    - - - - - -
    -Class org.mockito.internal.matchers.Null extends ArgumentMatcher<java.lang.Object> implements Serializable
    - -

    -serialVersionUID: 2823082637424390314L - -

    - -

    - - - - - -
    -Class org.mockito.internal.matchers.Or extends ArgumentMatcher implements Serializable
    - -

    -serialVersionUID: 5888739035212283087L - -

    - - - - - -
    -Serialized Fields
    - -

    -matchers

    -
    -java.util.List<E> matchers
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.Same extends ArgumentMatcher<java.lang.Object> implements Serializable
    - -

    -serialVersionUID: -1226959355938572597L - -

    - - - - - -
    -Serialized Fields
    - -

    -wanted

    -
    -java.lang.Object wanted
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.StartsWith extends ArgumentMatcher<java.lang.String> implements Serializable
    - -

    -serialVersionUID: -5978092285707998431L - -

    - - - - - -
    -Serialized Fields
    - -

    -prefix

    -
    -java.lang.String prefix
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.internal.matchers.apachecommons
    - -

    - - - - - -
    -Class org.mockito.internal.matchers.apachecommons.ReflectionEquals extends ArgumentMatcher<java.lang.Object> implements Serializable
    - -

    -serialVersionUID: 2022780425116330014L - -

    - - - - - -
    -Serialized Fields
    - -

    -wanted

    -
    -java.lang.Object wanted
    -
    -
    -
    -
    -
    -

    -excludeFields

    -
    -java.lang.String[] excludeFields
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.internal.progress
    - -

    - - - - - -
    -Class org.mockito.internal.progress.ThreadSafeMockingProgress extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 6839454041642082618L - -

    -


    - - - - - -
    -Package org.mockito.internal.stubbing
    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.InvocationContainerImpl extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -5334301962749537176L - -

    - - - - - -
    -Serialized Fields
    - -

    -stubbed

    -
    -java.util.LinkedList<E> stubbed
    -
    -
    -
    -
    -
    -

    -mockingProgress

    -
    -MockingProgress mockingProgress
    -
    -
    -
    -
    -
    -

    -answersForStubbing

    -
    -java.util.List<E> answersForStubbing
    -
    -
    -
    -
    -
    -

    -registeredInvocations

    -
    -RegisteredInvocations registeredInvocations
    -
    -
    -
    -
    -
    -

    -invocationForStubbing

    -
    -InvocationMatcher invocationForStubbing
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.StubbedInvocationMatcher extends InvocationMatcher implements Serializable
    - -

    -serialVersionUID: 4919105134123672727L - -

    - - - - - -
    -Serialized Fields
    - -

    -answers

    -
    -java.util.Queue<E> answers
    -
    -
    -
    -
    -
    -

    -usedAt

    -
    -PrintableInvocation usedAt
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.internal.stubbing.answers
    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.answers.AnswerReturnValuesAdapter extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 1418158596876713469L - -

    - - - - - -
    -Serialized Fields
    - -

    -returnValues

    -
    -ReturnValues returnValues
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.answers.CallsRealMethods extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 9057165148930624087L - -

    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.answers.DoesNothing extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 4840880517740698416L - -

    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.answers.Returns extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -6245608253574215396L - -

    - - - - - -
    -Serialized Fields
    - -

    -value

    -
    -java.lang.Object value
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.answers.ThrowsException extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 1128820328555183980L - -

    - - - - - -
    -Serialized Fields
    - -

    -throwable

    -
    -java.lang.Throwable throwable
    -
    -
    -
    -
    -
    -

    -filter

    -
    -ConditionalStackTraceFilter filter
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.internal.stubbing.defaultanswers
    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.defaultanswers.GloballyConfiguredAnswer extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 3585893470101750917L - -

    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.defaultanswers.ReturnsDeepStubs extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -6926328908792880098L - -

    - - - - - -
    -Serialized Fields
    - -

    -delegate

    -
    -Answer<T> delegate
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValues extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 1998191268711234347L - -

    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.defaultanswers.ReturnsMocks extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -6755257986994634579L - -

    - - - - - -
    -Serialized Fields
    - -

    -mockitoCore

    -
    -MockitoCore mockitoCore
    -
    -
    -
    -
    -
    -

    -delegate

    -
    -Answer<T> delegate
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValues extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -2816745041482698471L - -

    - - - - - -
    -Serialized Fields
    - -

    -delegate

    -
    -Answer<T> delegate
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNulls extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 7618312406617949441L - -

    - - - - - -
    -Serialized Fields
    - -

    -delegate

    -
    -Answer<T> delegate
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.internal.util
    - -

    - - - - - -
    -Class org.mockito.internal.util.MockName extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: 8014974700844306925L - -

    - - - - - -
    -Serialized Fields
    - -

    -mockName

    -
    -java.lang.String mockName
    -
    -
    -
    -
    -
    -

    -surrogate

    -
    -boolean surrogate
    -
    -
    -
    -
    - -

    - - - - - -
    -Class org.mockito.internal.util.ObjectMethodsGuru extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -1286718569065470494L - -

    -


    - - - - - -
    -Package org.mockito.internal.verification
    - -

    - - - - - -
    -Class org.mockito.internal.verification.RegisteredInvocations extends java.lang.Object implements Serializable
    - -

    -serialVersionUID: -2674402327380736290L - -

    - - - - - -
    -Serialized Fields
    - -

    -invocations

    -
    -java.util.List<E> invocations
    -
    -
    -
    -
    -
    - - - - - -
    -Package org.mockito.invocation
    - -

    -


    - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - diff --git a/tools/mockito/javadoc/stylesheet.css b/tools/mockito/javadoc/stylesheet.css deleted file mode 100644 index 14c3737e8aa..00000000000 --- a/tools/mockito/javadoc/stylesheet.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF } - -/* Headings */ -h1 { font-size: 145% } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ -.TableRowColor { background: #FFFFFF } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif } -.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } -.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */ -.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} - diff --git a/tools/mockito/mockito-all-1.8.5.jar b/tools/mockito/mockito-all-1.8.5.jar deleted file mode 100644 index 4b0395ed814..00000000000 Binary files a/tools/mockito/mockito-all-1.8.5.jar and /dev/null differ diff --git a/tools/mockito/separate-jars/asm-license.txt b/tools/mockito/separate-jars/asm-license.txt deleted file mode 100644 index fe0bf7d20fd..00000000000 --- a/tools/mockito/separate-jars/asm-license.txt +++ /dev/null @@ -1,29 +0,0 @@ -Copyright (c) 2000-2005 INRIA, France Telecom -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -3. Neither the name of the copyright holders nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/tools/mockito/separate-jars/cglib-license.txt b/tools/mockito/separate-jars/cglib-license.txt deleted file mode 100644 index f49a4e16e68..00000000000 --- a/tools/mockito/separate-jars/cglib-license.txt +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/tools/mockito/separate-jars/com.springsource.org.hamcrest.core-1.1.0.jar b/tools/mockito/separate-jars/com.springsource.org.hamcrest.core-1.1.0.jar deleted file mode 100644 index 5b2b4843056..00000000000 Binary files a/tools/mockito/separate-jars/com.springsource.org.hamcrest.core-1.1.0.jar and /dev/null differ diff --git a/tools/mockito/separate-jars/com.springsource.org.objenesis-1.0.0.jar b/tools/mockito/separate-jars/com.springsource.org.objenesis-1.0.0.jar deleted file mode 100644 index 1f1b76d2a52..00000000000 Binary files a/tools/mockito/separate-jars/com.springsource.org.objenesis-1.0.0.jar and /dev/null differ diff --git a/tools/mockito/separate-jars/hamcrest-license.txt b/tools/mockito/separate-jars/hamcrest-license.txt deleted file mode 100644 index e3d4feb9cbb..00000000000 --- a/tools/mockito/separate-jars/hamcrest-license.txt +++ /dev/null @@ -1,27 +0,0 @@ -BSD License - -Copyright (c) 2000-2006, www.hamcrest.org -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -Redistributions of source code must retain the above copyright notice, this list of -conditions and the following disclaimer. Redistributions in binary form must reproduce -the above copyright notice, this list of conditions and the following disclaimer in -the documentation and/or other materials provided with the distribution. - -Neither the name of Hamcrest nor the names of its contributors may be used to endorse -or promote products derived from this software without specific prior written -permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT -SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY -WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH -DAMAGE. \ No newline at end of file diff --git a/tools/mockito/separate-jars/mockito-core-1.8.5.jar b/tools/mockito/separate-jars/mockito-core-1.8.5.jar deleted file mode 100644 index e1f33b406e4..00000000000 Binary files a/tools/mockito/separate-jars/mockito-core-1.8.5.jar and /dev/null differ diff --git a/tools/mockito/separate-jars/objenesis-license.txt b/tools/mockito/separate-jars/objenesis-license.txt deleted file mode 100644 index 74582aca605..00000000000 --- a/tools/mockito/separate-jars/objenesis-license.txt +++ /dev/null @@ -1,18 +0,0 @@ -Copyright (c) 2003-2008, Objenesis Team and all contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/tools/mockito/sources/mockito-all-1.8.5-sources.jar b/tools/mockito/sources/mockito-all-1.8.5-sources.jar deleted file mode 100644 index 4bf59150c6d..00000000000 Binary files a/tools/mockito/sources/mockito-all-1.8.5-sources.jar and /dev/null differ diff --git a/tools/mockito/sources/mockito-core-1.8.5-sources.jar b/tools/mockito/sources/mockito-core-1.8.5-sources.jar deleted file mode 100644 index 958b88c3f3a..00000000000 Binary files a/tools/mockito/sources/mockito-core-1.8.5-sources.jar and /dev/null differ