aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/util/TestStringUtil.java
Commit message (Collapse)AuthorAgeFilesLines
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-271-157/+0
| | | | | | | | update gradle files and project structure along https://github.com/centic9/poi/tree/gradle_build remove eclipse IDE project files remove obsolete record generator files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888111 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-101-1/+1
| | | | | | JUnit5 test classes and methods should have default package visibility git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885325 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-091-4/+4
| | | | | | JUnit5 test classes and methods should have default package visibility git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885308 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-081-3/+3
| | | | | | JUnit5 test classes and methods should have default package visibility git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885281 13f79535-47bb-0310-9956-ffa450edef68
* #65026 - Migrate tests to Junit 5Andreas Beeker2020-12-241-67/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884783 13f79535-47bb-0310-9956-ffa450edef68
* #64350 - Sonar fix - "Iterator.next()" methods should throw ↵Andreas Beeker2020-04-141-54/+7
| | | | | | "NoSuchElementException" git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876525 13f79535-47bb-0310-9956-ffa450edef68
* Fix some warnings in unit testsDominik Stadler2017-09-161-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808521 13f79535-47bb-0310-9956-ffa450edef68
* Let IntelliJ cleanup some code-warnings across the whole code-base: ↵Dominik Stadler2017-04-171-1/+1
| | | | | | unnecessary toString or semicolon git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791720 13f79535-47bb-0310-9956-ffa450edef68
* Eclipse automated refactor/cleanup: convert for loops to for-each loopsJaven O'Neal2016-10-201-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765736 13f79535-47bb-0310-9956-ffa450edef68
* add StringUtil.count, inspired by Apache Commons Lang ↵Javen O'Neal2016-10-191-0/+19
| | | | | | StringUtils#countMatches and Python's str.count(substr) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765730 13f79535-47bb-0310-9956-ffa450edef68
* add unit test for StringUtil#joinJaven O'Neal2016-04-171-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739660 13f79535-47bb-0310-9956-ffa450edef68
* bug 52949: add VBAMacroReader unit tests for H/XSLF, H/XWPF, and HGDF; OLE ↵Javen O'Neal2016-04-111-0/+19
| | | | | | directories as case-insensitive git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738513 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixesAndreas Beeker2016-03-101-7/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734337 13f79535-47bb-0310-9956-ffa450edef68
* Remove a superfluous/bloated log function, which String.format can do better ↵Andreas Beeker2016-03-091-34/+2
| | | | | | and is only used once ... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734310 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58326 - Forbidden APIs patches - first set of changes for locale and ↵Andreas Beeker2015-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | timezone settings also includes fixes for - name shadowing - unused deprecated method "getClipRect" in classes extending Graphics2d - HexDump - replaced intermediate String.format calls with custom padding - convert testcases to junit4 - closing resources also tested with an arbitary timezone (PST) and locale (ru) supresses forbidden apis check for - LocaleUtil (the only place where Locale.getDefault() and TimeZone.getDefault() should be called) - Classes using FontMetrics - without the actual text it's difficult to return something sane Some usage of UTC and Locale.ROOT might be still wrong, e.g. in MapiMessage we don't access the extended mapi properties, which might contain the timezone DataFormatter has now a Observable property which need to be observed when custom formats are used and the Locale changes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701688 13f79535-47bb-0310-9956-ffa450edef68
* Charset.forName() for known encodings makes catching ↵Andreas Beeker2014-12-271-9/+4
| | | | | | | | | | UnknownEncodingException obsolete Unify UTF-16LE conversion to StringUtil BugFix for RecordInputStream.readFully in combination with continuing records BugFix for integration tests - fix pathname for handler/exclude lookup on windows git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1648032 13f79535-47bb-0310-9956-ffa450edef68
* Improved how HSMF handles multiple recipientsNick Burch2010-01-121-0/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898295 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 47962 - Fixed some potential NPEs. Avoided unnecessary creation of ↵Josh Micich2009-10-081-49/+23
| | | | | | box instances. Applied patch with mods git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@823348 13f79535-47bb-0310-9956-ffa450edef68
* Removed static void main(String[]) methods from junit classes. Other minor ↵Josh Micich2009-06-121-62/+16
| | | | | | clean-up. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@784284 13f79535-47bb-0310-9956-ffa450edef68
* Fix for unicode string bug in StyleRecord. Improvements to WriteAccessRecord.Josh Micich2008-10-241-91/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707519 13f79535-47bb-0310-9956-ffa450edef68
* Applying the copy2license.pl script (with tiny modification to allow for ↵Henri Yandell2006-12-221-5/+6
| | | | | | more whitespace than it expects in the POI header) to all files. ant jar succeeds, and the svn diff has been verified by eye. Still more files to do, this is the first pass. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489730 13f79535-47bb-0310-9956-ffa450edef68
* New licence changes.Glen Stampoultzis2004-04-091-52/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353545 13f79535-47bb-0310-9956-ffa450edef68
* PR:18846tetsuya2003-08-191-12/+12
| | | | | | | | | Obtained from: Submitted by: kamoshida.toshiaki@future.co.jp (Toshiaki Kamoshida) Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353304 13f79535-47bb-0310-9956-ffa450edef68
* Changed copyright from 2002 to 2003Glen Stampoultzis2003-04-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353070 13f79535-47bb-0310-9956-ffa450edef68
* Nothing to see hereGlen Stampoultzis2002-11-141-168/+162
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352915 13f79535-47bb-0310-9956-ffa450edef68
* think I may have fixed the encoding thing... maybe..... I hope..Andrew C. Oliver2002-11-081-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352907 13f79535-47bb-0310-9956-ffa450edef68
* http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11010 - great patch byAndrew C. Oliver2002-09-021-0/+43
| | | | | | | | | | | | sergei.... if he'd learn to do diff -u patches instead of the nasty kind I'd be loving his work alot right now ;-) PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352831 13f79535-47bb-0310-9956-ffa450edef68
* Backing out this code it causes ↵Andrew C. Oliver2002-07-281-43/+0
| | | | | | http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10393 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352812 13f79535-47bb-0310-9956-ffa450edef68
* from russia with love (LOL)Andrew C. Oliver2002-07-211-0/+43
| | | | | | | | | | | http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10548 #1 PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352795 13f79535-47bb-0310-9956-ffa450edef68
* Fixed email addressGlen Stampoultzis2002-02-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352086 13f79535-47bb-0310-9956-ffa450edef68
* Initial revisionAndrew C. Oliver2002-01-311-0/+315
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352063 13f79535-47bb-0310-9956-ffa450edef68