Hans Joachim Desserud
a37853def6
Also StandardAnalyzer can use the Version-less constructor. The superclass Analyzer will actually default to LUCENE_CURRENT which is equivalent with LATEST which was sent in
...
Former-commit-id: 43c8e3350b72bac8eb952ff138887c7232ecb39c
2015-01-10 19:52:42 +01:00
Hans Joachim Desserud
9f348cfa16
The Version-less constructor for StopFilter will simply default to Version.LATEST under the hood which is exactly what we send in.
...
Former-commit-id: cc3010532e9203d663d977f0df0892d8f5694b5f
2015-01-10 19:41:25 +01:00
Hans Joachim Desserud
754c2fc9bf
Replaced deprecated constructors which contained parameter Version.
...
When looking into the code, these ended up toggling behaviour if Lucene version was later than 3.1.
Former-commit-id: b7641118b16ccfc904c8aaab3b2636d909d5b1d9
2015-01-05 21:51:11 +01:00
Jeremy Long
d1c27a4298
Merge branch 'minor-fixes' of https://github.com/hansjoachim/DependencyCheck into hansjoachim-minor-fixes
...
Former-commit-id: b9de007127351691152d0403fa9d7a8656195fd2
2015-01-04 12:35:44 -05:00
Hans Joachim Desserud
08bf16971a
Removed redundant semicolon
...
Former-commit-id: 45e93e66ff7a8f4fc67cb8680ffdbd362d763d5f
2015-01-04 15:01:56 +01:00
Hans Joachim Desserud
6394c1a7b4
Upgraded to Apache Lucene 4.6.1. The method BaseTokenStreamTestCase.checkOneTermReuse was removed in http://svn.apache.org/viewvc?view=revision&revision=1525362 , updated copied test case accordingly.
...
Former-commit-id: 0344bfcec4a08040eb693ca49c91218badbb2c96
2015-01-02 17:41:04 +01:00
Jeremy Long
cfafb4a101
ensured CentralAnalyzer is not enabled during some tests
...
Former-commit-id: 69ca1ebf12080c448b4a3113f6c90da90e2e6da9
2014-12-31 07:49:27 -05:00
Jeremy Long
8fdc2007e0
fixed unit test
...
Former-commit-id: e1571c23fc236d810b60037f9cd8f7a804b69195
2014-12-09 06:35:07 -05:00
Jeremy Long
e1d4599a93
added test cases for issue #82
...
Former-commit-id: e823eb5eb2d19b252cb5bd65c3f74891478a69ee
2014-12-06 11:35:49 -05:00
Jeremy Long
8772cda47a
added property to resolve issue #82
...
Former-commit-id: 711d6f538901aff6a9467fba460b62905dce75b4
2014-12-06 10:20:46 -05:00
Jeremy Long
5a001a2c32
moved withinRange to a utility class
...
Former-commit-id: d7bd22e42e6a96306e17229e449b9b052ddcb627
2014-12-06 07:44:07 -05:00
Jeremy Long
82151c5b3f
initial version of the test for DownloadTask
...
Former-commit-id: 5c82a5dda739525be25eed5ee763effe839758d0
2014-11-15 08:23:54 -05:00
Jeremy Long
aa126039e5
updated NVD CVE URLs to use gzipped files
...
Former-commit-id: 25c0c2e5df3a6626fae5401209fac93b105b3392
2014-11-15 08:21:44 -05:00
Jeremy Long
89ab382a18
added additional tests for compareto(version)
...
Former-commit-id: 0a02681251a30e6b675461b7487198a1cc7eb850
2014-11-11 14:43:47 -05:00
Jeremy Long
bad425c0d7
added test for isAffected
...
Former-commit-id: 36a6d28ff03e41307574ee40381b0833c5c4ab01
2014-11-11 14:43:15 -05:00
Jeremy Long
06cd811ae4
fixed xlint unchecked call warnings
...
Former-commit-id: b74ee0e63568b7b222f0459ad66a7e281b2f2e2f
2014-11-11 13:41:20 -05:00
Will Stranathan
b57ef7291f
No more separate proxy configuration for Central search. Renamed everything to do with Solr to Central.
...
Former-commit-id: 4bcee86abf4415bfafc386d10018d9fcb2f6cec4
2014-11-09 21:07:26 -05:00
Will Stranathan
e5ff2cff4e
Squashed commits for the new Solr/Central Search capability
...
Former-commit-id: 28ca3ca0ff5de4e097082f6f73003c0a67455efd
2014-11-08 10:54:02 -05:00
Will Stranathan
17d7d47b9a
Renamed Solr to Central search
...
Former-commit-id: b8bdca6be89497f9baf29c8762803b4652e4974b
2014-11-08 10:53:17 -05:00
Will Stranathan
931110ba6c
Initial checkin of work on a Solr analyzer which will replace Nexus on Internet checks
...
Former-commit-id: 09337f6416fa3140c00413426e17e39c4a1fadc6
2014-11-08 08:47:42 -05:00
Jeremy Long
824898dba5
patch for issue #155
...
Former-commit-id: 57b144d94354c48c9bebabae2cc3d0c120fd2138
2014-11-07 06:42:54 -05:00
Jeremy Long
e1feeb7e21
removed failing test case
...
Former-commit-id: ab7f81d133a7c8cbfed52300e3f31a92121206b7
2014-11-05 19:18:41 -05:00
Jeremy Long
976eabd527
noop
...
Former-commit-id: 8c867c80dfb8180ba308837a09b33ac17fd8273a
2014-10-25 08:08:26 -04:00
Jeremy Long
b6d6a5de2b
minor changes to clean up test cases
...
Former-commit-id: 62d409fa6f50d3bbec881277a4604acca7278faa
2014-10-25 08:07:56 -04:00
Jeremy Long
b4aa55ce1f
Merge branch 'master' of github.com:ctrl-alt-dev/DependencyCheck into ctrl-alt-dev-master
...
Former-commit-id: 4d1ab5ecacf0ca7354f57d3a49accd5a173e0a26
2014-10-24 05:36:40 -04:00
Jeremy Long
c6f391501d
added test case for patch to issue #156
...
Former-commit-id: 8fa1de0566760a41d65614921f4bb764178151f8
2014-10-22 21:43:23 -04:00
Erik Hooijmeijer
35c2f4873c
values from the project pom.xml are now taken into account as well
...
Former-commit-id: ca6c5b40f09959f162b337f2cb4268a57ce46d3d
2014-10-21 20:09:54 +02:00
Jeremy Long
93ec2e8639
fixed javadoc
...
Former-commit-id: d06907a74a6fd4cf9ac5e5774af63eda5aba02b3
2014-09-13 05:50:49 -04:00
Jeremy Long
0e2a31709a
added test cases to ensure setting the base flag will prevent the identifier from being added to the suppressedIdentifiers collection
...
Former-commit-id: d369797a3b14fc2c42621d273d6f314e968848b9
2014-09-13 05:45:05 -04:00
Jeremy Long
c785b39eda
added assertion to validate that the base flag is being processed
...
Former-commit-id: 0364e57af8f548d010f17f948492e9472433c675
2014-09-13 05:44:09 -04:00
Jeremy Long
894263809c
added base flag to one suppression entry
...
Former-commit-id: 7d6bbf36e5e35c2ee2fe8c901281996a34706036
2014-09-13 05:39:38 -04:00
Jeremy Long
aadfb71c98
fixed test case by removing a temporary test entry in DetermineCPE_full
...
Former-commit-id: 0f91c7b8e1d536c9d15176dc2d9a439da4e8ccdc
2014-09-10 17:37:54 -04:00
Jeremy Long
1244af649d
updated to improve CPE matching so that if a broad match occured (cpe with no version number) we use the highest confidence version when generating the CPE identifier
...
Former-commit-id: 6e8c87a71522b1ca7cfa9d72ca419a792d1b17e7
2014-09-09 15:10:08 -04:00
Jeremy Long
7bd48cc811
updated version analysis to reduce false positives and increase accurate detection
...
Former-commit-id: 6097160434b7e98182738706790d82cdbd867175
2014-09-09 15:07:28 -04:00
Jeremy Long
8f3ce38418
re-ordered operations so that a new lucene index is no longer created on each call to calDetermineCPE_full
...
Former-commit-id: e2af1d893b47afe1ed36d1ab1e6840d47757b509
2014-09-07 08:28:44 -04:00
Jeremy Long
c6b2b34fde
removed duplicative test of downloading XML
...
Former-commit-id: 97d1371609af2cc9583b0ac071a8606c93a34fbe
2014-09-07 06:59:50 -04:00
Jeremy Long
803fcf146b
minor fix to test case
...
Former-commit-id: bf20319aed4f100d124cdeb7abeafe6598778891
2014-07-19 13:58:30 -04:00
Jeremy Long
d9d646c5fb
fixed connection string property
...
Former-commit-id: 951cf212c80a52909cc2dd66e843b63b35991045
2014-07-19 13:57:36 -04:00
Jeremy Long
860d3d9c8b
made the ensureDBExists method perform a correct check rather then the previous hack
...
Former-commit-id: 5fae859fa7531761e78022eb2e8c4c41e6d5d150
2014-07-19 07:38:08 -04:00
Jeremy Long
f28b566992
added data.file_name and data.version
...
Former-commit-id: e692a13a216ec6808e3fd92397fd3c50854cfa56
2014-07-19 07:37:11 -04:00
Jeremy Long
46702bbb5c
moved checkSumTest.file, checksum.java, and checksumTest.java to dependency-check-utils
...
Former-commit-id: 0c05e466b5fe071ca55552660d471431572c0558
2014-07-17 06:03:21 -04:00
Jeremy Long
d7e46b1693
corrected the connection string in the test properties
...
Former-commit-id: 1c37d4bd4de49cddc34b92a27875e0a07eee600f
2014-07-17 06:00:59 -04:00
Jeremy Long
13116c5381
added support for suppression by GAV (issue #124 ), created base suppression.xml (issue #123 ), and fixed false positives related to spring security (issue #130 )
...
Former-commit-id: 330134211d022fec336dc1ca39205a94a088ee84
2014-06-22 16:34:39 -04:00
Jeremy Long
acbce05fbf
updated to support suppression by maven coordinates (GAV) per issue #124
...
Former-commit-id: 3cff74ded9b0c352fb1d45e784d89c3c20f55467
2014-06-20 06:47:46 -04:00
Jeremy Long
ce48823d38
Moved some of the utility classes from core to a new utils module
...
Former-commit-id: 2e6ff9631ff4c843f10db1e022e41e728394e420
2014-05-21 06:29:46 -04:00
Jeremy Long
5dc9e51dd4
fixed test cases
...
Former-commit-id: 081ea17023cef3313ce59dbf8ce7f2a8cff706eb
2014-05-17 08:04:20 -04:00
Jeremy Long
8594e146eb
updates to help resolve issue 119
...
Former-commit-id: c8778008b91b7999cb8d88382efe8a83ebe87102
2014-05-03 14:46:48 -04:00
Jeremy Long
cda0dfdafe
updated test case and related data
...
Former-commit-id: 513602f48b6d599b43848f0a88537190084e9cbf
2014-05-03 12:30:29 -04:00
Jeremy Long
443ab02788
added local copies of the NVD CVE data to speed up some of the test cases
...
Former-commit-id: 54a264872bf151034706f6ed52de3a99ed961b04
2014-05-03 11:02:23 -04:00
Jeremy Long
65784d6dc4
updated to use local copy of data files to speedup the test case
...
Former-commit-id: 5bb1d67156500ba74124ced18bcae599e4c5dc7a
2014-05-03 11:01:31 -04:00