summaryrefslogtreecommitdiff
path: root/test/net
AgeCommit message (Collapse)Author
2024-07-21replaced http links with httpsMichael Peter Christen
2016-10-15Updated license header file nameluccioman
2016-10-14Fixed license headers on files created to improve favicon management.luccioman
2016-01-19Merge branch 'master' of https://github.com/yacy/yacy_search_serverluc
2016-01-16move test classes to test/java (subdirectory as in Maven standard subdir layout)reger
because ViewImage*Test.java breaks test run
2016-01-08Improved URLLicence reliability for use by conccurrent non authaurizedluc
users. Removed URLLicence generation when unnecessary (authorized users)
2016-01-05Refactoring : use StandardCharsets constants instead of hard-codedluc
charset names.
2016-01-03remove workaround for Solr bug regarding multivalued date fieldsreger
fixed in 5.4.0 http://issues.apache.org/jira/browse/SOLR-8050
2015-12-16prevent mailto links getting into parser result document's in/outbound link ↵reger
collection by checking mailto scheme early. - fix upper case mailto protocol assignment - add test case for getProtocol
2015-12-15fix test htmlParserTest, charset parameterreger
+ upd maven templating-plugin version
2015-10-26adjust MediaWiki importer geo coordinate calculationreger
- allow lat/long 0.xxx - south / west assignment include test class
2015-09-26optimize parseInt for <img> tag attribute parsingreger
Performance better as using Numberformat.parse or parseInt(substring())
2015-09-19fix html parser taking <style> content as text.reger
Noticed some result description contain css content from style tag. Added <style> to tag list to scrape it's content not as text + test case included
2015-09-13add test case for partial update - to discover effect on YaCy for update of ↵reger
documents with multivalued date fields (like dates_in_content_dts) current result: loss of fields/information in index document, see EmbeddedSolrConnectorTest.testUdate_withMultivaluedDateField()
2015-09-12fix test methode (add throw for URIMetadataNode)reger
2015-08-31complete TODO: getFileExtension handle dot in query partreger
+ testcase
2015-05-12fix NPE on MultiProtocolURL on url with parameter value and '='reger
in getAttribute - added test case for it
2015-04-25upd parser calls in test casesreger
2015-03-16fix snippet containig number with comma as desmo point ↵reger
http://mantis.tokeek.de/view.php?id=344 to keep it as one word (by altering the split regex) - added sniipet test case with number - regex for word split to match multiple splitcars
2015-03-15apply UTF-8 encodingreger
copied from escape()
2015-03-15fix for path with char code > 255 reger
(causing index out of bound exception) + test cas for it
2015-03-15fix url encoding for path see http://mantis.tokeek.de/view.php?id=559reger
So far we used same escape procedure for all parts of the url (which includes x-www-form-urlencoded for all url components) Added capability to use different encoding rules for the different url components (through specific bitset for each component). (this is inspired by org.apache.http.client and java.net.uri implementation). - Added test case for http://mantis.tokeek.de/view.php?id=559
2015-03-11fix url (path) %-decoding http://mantis.tokeek.de/view.php?id=519reger
- add test case for this
2015-03-01add test case for snippet html encoding checkreger
2015-02-11fix parser test casesreger
(Vocabulary paramete)
2015-02-11disable optimistic GC assumption in StandardMemoryStrategyreger
After several tests found that eom is not prevented. Major reason in testing was assumption future GC will free avg of last 5 GC. Disabeling this check improved eom exceptions. Added simplest testcase used for verification
2015-01-29replace with CommonPattern.SPACE for splitMichael Peter Christen
2014-12-15update to metadata-extractor-2.7.0.jarreger
add 2 simple JUnit test cases for jpeg and tif parsing
2014-12-09remove redundant null check in ResponseHeader.lastModifiedreger
added a JUnit testcase for ResponseHeader dates (using age()), adjusted age() to pass all tests
2014-11-29including small junit test case for WordTokenizerreger
2014-10-05allow url parameter in worktable apicallreger
allow url=wwwl?param=a&param=b (with ?, & encoded) fix: http://mantis.tokeek.de/view.php?id=100 fix double adding of '&' in MultiProtocolURL.escape()
2014-08-16allow single quote " ' " in queryreger
see http://mantis.tokeek.de/view.php?id=379 -add QueryGoal test case for this
2014-08-11fix test case MultiProtocolURL.toString()reger
(only allowed on AnchorURL)
2014-08-01- update Maven pomreger
- add ppt parser test case
2014-07-18added an option to set 'obey nofollow' for links with rel="nofollow"Michael Peter Christen
attribute in the <a> tag for each crawl. This introduces a lot of changes because it extends the usage of the AnchorURL Object type which now also has a different toString method that the underlying DigestURL.toString. It is therefore not advised to use .toString at all for urls, just just toNormalform(false) instead.
2014-07-06add test case for Records (used in HostBalancer)reger
- simulating seek error (http://mantis.tokeek.de/view.php?id=411)
2014-07-06update to JUnit 4.11reger
- fix build.xml -> parserTest error on Windows due to javac encoding
2014-07-06adding test for HostQueue crawl stackreger
- simulating problem with zero length stack file (but not fixing it) - adding test data clean to maven pom
2014-06-30added test case for TextSnippet,reger
removed obsolete/unused parameter and reference to MediaSnippet
2014-06-26fix AbstractParser.singleList not adding null stringsreger
- prevents null titles in oo... parser (as detected by ParserTest) - correct ParserTest dc_description check (dc_description allowed to return 0 length array)
2014-04-28fix contentscraper img height/width parsingreger
prevent numberformat exception on common "100px" property - include in test case
2014-04-25fix: resolve url without path but searchpart reger
e.g. http://yacy.net?q=test was resolved as host "yacy.net?q=test" now host="yacy.net" path="/" fixes http://mantis.tokeek.de/view.php?id=47 added test case for getHost
2014-04-23exclude html tags in in/outboundlinks_anchortext_txt parsed textreger
- some outboundlinks_anchortext_txt in index contain e.g. <span>text</span> or more tags, remove all tags for text property (inline img tags are still parsed) - added test case for above (to htmlParserTest) - fix solr test case
2014-04-01add test case htmlParser.parse - getCharsetreger
(which fails)
2014-03-02fix: IPv6 INTRANET_PATTERNS for local ip (see ↵reger
http://bugs.yacy.net/view.php?id=378) requiring following ":" for fc and fd prefix and made pattern match case insesitive - add some more ipv6 test cases to MultiProtocolURLTest.java
2014-02-27clean up test sourcesreger
rename to current package names and move to default location
2014-02-26reorg URL test classes add isLocal test with some IPv6 examplesreger
- putting in default location and clean old package names - add some valid RFC IPv6 sample urls (which don't pass the isLocal test)
2013-12-01clean-up test cases reger
to work with current source
2013-11-10cleanup test directory from Jetty 9 implementation samplesreger
- current Jetty implementation advances so that it seems not beneficial to keep the code as it makes the test unuseable and use of Jetty 9 is due to Java 1.7 dependency not in sight.
2013-10-09downgrade to Jetty 8 to assure support of JRE 1.6reger
- introduce a YaCyHttp interface to modulize/separate http server - adjust the Jetty version specific implementation part (in package net.yacy.http) - putting the version specific code in classes starting with Jetty8xxxx - moved existing Jetty9xxx implementation into a test class (to keep the code) - adjust build to the changed jars - make use of the introduced YaCyHttpServer interface in related htroot servlets - adjust other test cases/classes