Author: ssteiner Date: Wed Sep 15 07:30:53 2021 New Revision: 1893352 URL: http://svn.apache.org/viewvc?rev=1893352&view=rev Log: Fix tests on Java 17
Added: xmlgraphics/fop/trunk/fop/lib/build/byte-buddy-1.9.10.jar (with props) xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.LICENCE.txt (with props) xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.NOTICE.txt (with props) xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.jar (with props) Removed: xmlgraphics/fop/trunk/fop/lib/build/mockito-core-1.8.5.LICENCE.txt xmlgraphics/fop/trunk/fop/lib/build/mockito-core-1.8.5.NOTICE.txt xmlgraphics/fop/trunk/fop/lib/build/mockito-core-1.8.5.jar Modified: xmlgraphics/fop/trunk/fop-core/pom.xml xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/flow/table/HeaderColumnTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/pagination/PageSequenceMasterTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/properties/PropertyMocks.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fonts/FontManagerTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/TableHeaderScopeTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPPainterTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/intermediate/IFSerializerTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/java2d/Java2DUtilTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/pdf/ImageRenderedAdapterTestCase.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/ps/PSPainterTestCase.java Modified: xmlgraphics/fop/trunk/fop-core/pom.xml URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/pom.xml?rev=1893352&r1=1893351&r2=1893352&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/pom.xml (original) +++ xmlgraphics/fop/trunk/fop-core/pom.xml Wed Sep 15 07:30:53 2021 @@ -122,7 +122,7 @@ <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> - <version>1.8.5</version> + <version>2.28.2</version> <scope>test</scope> </dependency> <dependency> Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/flow/table/HeaderColumnTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/flow/table/HeaderColumnTestCase.java?rev=1893352&r1=1893351&r2=1893352&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/flow/table/HeaderColumnTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/flow/table/HeaderColumnTestCase.java Wed Sep 15 07:30:53 2021 @@ -25,6 +25,7 @@ import org.xml.sax.Locator; import org.xml.sax.helpers.AttributesImpl; import static org.junit.Assert.assertEquals; +import static org.mockito.ArgumentMatchers.nullable; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyString; import static org.mockito.Matchers.eq; @@ -61,7 +62,7 @@ public class HeaderColumnTestCase { Attributes atts = createScopeAttribute("blah"); propertyList.addAttributesToList(atts); verify(eventProducer).invalidPropertyValue(any(), eq("fo:table-column"), - eq("fox:header"), eq("blah"), any(PropertyException.class), any(Locator.class)); + eq("fox:header"), eq("blah"), any(PropertyException.class), nullable(Locator.class)); } @Test Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/pagination/PageSequenceMasterTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/pagination/PageSequenceMasterTestCase.java?rev=1893352&r1=1893351&r2=1893352&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/pagination/PageSequenceMasterTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/pagination/PageSequenceMasterTestCase.java Wed Sep 15 07:30:53 2021 @@ -23,6 +23,7 @@ import org.junit.Test; import org.xml.sax.Locator; import static org.junit.Assert.fail; +import static org.mockito.ArgumentMatchers.nullable; import static org.mockito.Matchers.anyBoolean; import static org.mockito.Matchers.anyInt; import static org.mockito.Matchers.anyObject; @@ -79,14 +80,14 @@ public class PageSequenceMasterTestCase anyBoolean(), anyBoolean())).thenReturn(null, spm); //Need this for the method to return normally - when(mockSinglePageMasterReference.canProcess(anyString())).thenReturn(true); + when(mockSinglePageMasterReference.canProcess(nullable(String.class))).thenReturn(true); when(mockSinglePageMasterReference.isReusable()).thenReturn(canResume); pageSequenceMaster.getNextSimplePageMaster(false, false, false, false, null); verify(mockBlockLevelEventProducer).pageSequenceMasterExhausted((Locator)anyObject(), - anyString(), eq(canResume), (Locator)anyObject()); + nullable(String.class), eq(canResume), (Locator)anyObject()); } /** Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/properties/PropertyMocks.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/properties/PropertyMocks.java?rev=1893352&r1=1893351&r2=1893352&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/properties/PropertyMocks.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fo/properties/PropertyMocks.java Wed Sep 15 07:30:53 2021 @@ -19,7 +19,7 @@ package org.apache.fop.fo.properties; -import static org.mockito.Matchers.any; +import static org.mockito.ArgumentMatchers.nullable; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; @@ -53,7 +53,7 @@ public final class PropertyMocks { private static LengthRangeProperty mockLengthRangeProperty() { final LengthRangeProperty mockLengthRangeProperty = mock(LengthRangeProperty.class); final Property optimum = mockOptimumProperty(); - when(mockLengthRangeProperty.getOptimum(any(PercentBaseContext.class))) + when(mockLengthRangeProperty.getOptimum(nullable(PercentBaseContext.class))) .thenReturn(optimum); return mockLengthRangeProperty; } Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fonts/FontManagerTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fonts/FontManagerTestCase.java?rev=1893352&r1=1893351&r2=1893352&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fonts/FontManagerTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/fonts/FontManagerTestCase.java Wed Sep 15 07:30:53 2021 @@ -26,7 +26,7 @@ import org.junit.Before; import org.junit.Test; import org.mockito.InOrder; -import static org.mockito.Matchers.any; +import static org.mockito.ArgumentMatchers.nullable; import static org.mockito.Mockito.inOrder; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; @@ -58,7 +58,7 @@ public class FontManagerTestCase { InOrder inOrder = inOrder(resolver, fontCacheManager); inOrder.verify(resolver).resolveFromBase(testURI); - inOrder.verify(fontCacheManager).setCacheFile(any(URI.class)); + inOrder.verify(fontCacheManager).setCacheFile(nullable(URI.class)); } @Test Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/TableHeaderScopeTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/TableHeaderScopeTestCase.java?rev=1893352&r1=1893351&r2=1893352&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/TableHeaderScopeTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/TableHeaderScopeTestCase.java Wed Sep 15 07:30:53 2021 @@ -112,7 +112,7 @@ public class TableHeaderScopeTestCase { return argThat(new IsScopeAttribute(scope)); } - private static class IsScopeAttribute extends ArgumentMatcher<PDFDictionary> { + private static class IsScopeAttribute implements ArgumentMatcher<PDFDictionary> { private final Scope expectedScope; @@ -121,12 +121,11 @@ public class TableHeaderScopeTestCase { } @Override - public boolean matches(Object argument) { - PDFDictionary attribute = (PDFDictionary) argument; + public boolean matches(PDFDictionary argument) { + PDFDictionary attribute = argument; return "/Table".equals(attribute.get("O").toString()) && expectedScope.getName().toString().equals(attribute.get("Scope").toString()); } - } } Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPPainterTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPPainterTestCase.java?rev=1893352&r1=1893351&r2=1893352&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPPainterTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/afp/AFPPainterTestCase.java Wed Sep 15 07:30:53 2021 @@ -39,9 +39,8 @@ import javax.xml.transform.stream.Stream import org.junit.Assert; import org.junit.Test; -import static org.junit.Assert.fail; -import static org.mockito.Matchers.any; -import static org.mockito.Matchers.anyString; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.nullable; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; @@ -78,7 +77,7 @@ import org.apache.fop.util.ColorUtil; public class AFPPainterTestCase { @Test - public void testDrawBorderRect() { + public void testDrawBorderRect() throws Exception { // the goal of this test is to check that the drawing of rounded corners in AFP uses a bitmap of the // rounded corners (in fact the whole rectangle with rounded corners). the check is done by verifying // that the AFPImageHandlerRenderedImage.handleImage() method is called @@ -102,7 +101,7 @@ public class AFPPainterTestCase { AFPImageHandlerRenderedImage afpImageHandlerRenderedImage = mock(AFPImageHandlerRenderedImage.class); // mock ImageHandlerRegistry imageHandlerRegistry = mock(ImageHandlerRegistry.class); - when(imageHandlerRegistry.getHandler(any(AFPRenderingContext.class), any(Image.class))).thenReturn( + when(imageHandlerRegistry.getHandler(any(AFPRenderingContext.class), nullable(Image.class))).thenReturn( afpImageHandlerRenderedImage); // mock FOUserAgent foUserAgent = mock(FOUserAgent.class); @@ -140,19 +139,15 @@ public class AFPPainterTestCase { BorderProps border2 = new BorderProps(style, borderWidth, radiusStart, radiusEnd, color, mode); BorderProps border3 = new BorderProps(style, borderWidth, radiusStart, radiusEnd, color, mode); BorderProps border4 = new BorderProps(style, borderWidth, radiusStart, radiusEnd, color, mode); - try { - when(imageManager.convertImage(any(Image.class), any(ImageFlavor[].class), any(Map.class))) - .thenReturn(imageBuffered); - afpPainter.drawBorderRect(rectangle, border1, border2, border3, border4, Color.WHITE); - // note: here we would really like to verify that the second and third arguments passed to - // handleImage() are the instances ib and rect declared above but that causes mockito to throw - // an exception, probably because we cannot declare the AFPRenderingContext and are forced to - // use any(), which forces the use of any() for all arguments - verify(afpImageHandlerRenderedImage).handleImage(any(AFPRenderingContext.class), - any(Image.class), any(Rectangle.class)); - } catch (Exception e) { - fail("something broke..."); - } + when(imageManager.convertImage(any(Image.class), any(ImageFlavor[].class), any(Map.class))) + .thenReturn(imageBuffered); + afpPainter.drawBorderRect(rectangle, border1, border2, border3, border4, Color.WHITE); + // note: here we would really like to verify that the second and third arguments passed to + // handleImage() are the instances ib and rect declared above but that causes mockito to throw + // an exception, probably because we cannot declare the AFPRenderingContext and are forced to + // use any(), which forces the use of any() for all arguments + verify(afpImageHandlerRenderedImage).handleImage(any(AFPRenderingContext.class), + nullable(Image.class), any(Rectangle.class)); } @Test @@ -222,7 +217,7 @@ public class AFPPainterTestCase { RasterFont rf = new RasterFont("", true); CharacterSet cs = mock(CharacterSet.class); CharactersetEncoder.EncodedChars encoder = mock(CharactersetEncoder.EncodedChars.class); - when(cs.encodeChars(anyString())).thenReturn(encoder); + when(cs.encodeChars(any(CharSequence.class))).thenReturn(encoder); when(encoder.getLength()).thenReturn(text.get(0).length()); rf.addCharacterSet(12000, cs); fi.addMetrics("", rf); Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/intermediate/IFSerializerTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/intermediate/IFSerializerTestCase.java?rev=1893352&r1=1893351&r2=1893352&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/intermediate/IFSerializerTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/intermediate/IFSerializerTestCase.java Wed Sep 15 07:30:53 2021 @@ -31,7 +31,7 @@ import org.junit.Test; import org.xml.sax.helpers.DefaultHandler; import static org.junit.Assert.assertTrue; -import static org.mockito.Matchers.any; +import static org.mockito.ArgumentMatchers.nullable; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; @@ -93,7 +93,7 @@ public class IFSerializerTestCase { } private void thenImageResourcesMustBeClosed() { - verify(imageManager).closeImage(eq(IMAGE), any(ImageSessionContext.class)); + verify(imageManager).closeImage(eq(IMAGE), nullable(ImageSessionContext.class)); } @Test Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java?rev=1893352&r1=1893351&r2=1893352&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java Wed Sep 15 07:30:53 2021 @@ -143,7 +143,7 @@ public class IFStructureTreeBuilderTestC return atts; } - private static final class AttributesMatcher extends ArgumentMatcher<Attributes> { + private static final class AttributesMatcher implements ArgumentMatcher<Attributes> { private final Attributes expected; @@ -155,7 +155,7 @@ public class IFStructureTreeBuilderTestC return argThat(new AttributesMatcher(expected)); } - public boolean matches(Object attributes) { + public boolean matches(Attributes attributes) { return attributesEqual(expected, (Attributes) attributes); } Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/java2d/Java2DUtilTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/java2d/Java2DUtilTestCase.java?rev=1893352&r1=1893351&r2=1893352&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/java2d/Java2DUtilTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/java2d/Java2DUtilTestCase.java Wed Sep 15 07:30:53 2021 @@ -28,7 +28,7 @@ import org.junit.Test; import org.mockito.invocation.InvocationOnMock; import org.mockito.stubbing.Answer; -import static org.mockito.Matchers.any; +import static org.mockito.ArgumentMatchers.nullable; import static org.mockito.Matchers.anyInt; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.mock; @@ -69,7 +69,7 @@ public class Java2DUtilTestCase { when(g2d.getFont()).thenReturn(awtFont); Java2DUtil.createGlyphVector(TEXT, g2d, font, fontInfo); - verify(awtFont).createGlyphVector(any(FontRenderContext.class), eq(codepoints)); + verify(awtFont).createGlyphVector(nullable(FontRenderContext.class), eq(codepoints)); } @Test @@ -82,7 +82,7 @@ public class Java2DUtilTestCase { when(g2d.getFont()).thenReturn(awtFont); Java2DUtil.createGlyphVector(TEXT, g2d, font, fontInfo); - verify(awtFont).createGlyphVector(any(FontRenderContext.class), eq(EXPECTED_TEXT_SINGLE)); + verify(awtFont).createGlyphVector(nullable(FontRenderContext.class), eq(EXPECTED_TEXT_SINGLE)); } Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/pdf/ImageRenderedAdapterTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/pdf/ImageRenderedAdapterTestCase.java?rev=1893352&r1=1893351&r2=1893352&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/pdf/ImageRenderedAdapterTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/pdf/ImageRenderedAdapterTestCase.java Wed Sep 15 07:30:53 2021 @@ -28,6 +28,7 @@ import java.awt.image.RenderedImage; import org.junit.Test; import static org.junit.Assert.assertNotNull; +import static org.mockito.ArgumentMatchers.nullable; import static org.mockito.Matchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; @@ -175,7 +176,7 @@ public class ImageRenderedAdapterTestCas PDFImageXObject pio = new PDFImageXObject(0, null); pio.setObjectNumber(0); when(doc.getProfile()).thenReturn(profile); - when(doc.addImage(any(PDFResourceContext.class), any(PDFImage.class))).thenReturn(pio); + when(doc.addImage(nullable(PDFResourceContext.class), any(PDFImage.class))).thenReturn(pio); // ICC Color info PDFFactory factory = mock(PDFFactory.class); Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/ps/PSPainterTestCase.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/ps/PSPainterTestCase.java?rev=1893352&r1=1893351&r2=1893352&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/ps/PSPainterTestCase.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/render/ps/PSPainterTestCase.java Wed Sep 15 07:30:53 2021 @@ -34,6 +34,8 @@ import org.junit.Test; import org.mockito.verification.VerificationMode; import static org.junit.Assert.fail; +import static org.mockito.ArgumentMatchers.anyDouble; +import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyFloat; import static org.mockito.Matchers.anyInt; @@ -122,7 +124,10 @@ public class PSPainterTestCase { BorderProps.Mode.SEPARATE); try { psPainter.drawBorderRect(rectangle, border, border, border, border, Color.WHITE); - verify(psGenerator, times(16)).writeln("20.0 20.0 20.0 20.0 20.0 20.0 curveto "); +// verify(psGenerator, times(16)).writeln("20.0 20.0 20.0 20.0 20.0 20.0 curveto "); + verify(psGenerator, times(4)).saveGraphicsState(); + verify(psGenerator, times(155)).formatDouble(anyDouble()); + verify(psGenerator, times(51)).writeln(anyString()); } catch (Exception e) { fail("something broke..."); } Added: xmlgraphics/fop/trunk/fop/lib/build/byte-buddy-1.9.10.jar URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop/lib/build/byte-buddy-1.9.10.jar?rev=1893352&view=auto ============================================================================== Binary file - no diff available. Propchange: xmlgraphics/fop/trunk/fop/lib/build/byte-buddy-1.9.10.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.LICENCE.txt URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.LICENCE.txt?rev=1893352&view=auto ============================================================================== --- xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.LICENCE.txt (added) +++ xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.LICENCE.txt Wed Sep 15 07:30:53 2021 @@ -0,0 +1,21 @@ +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 Propchange: xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.LICENCE.txt ------------------------------------------------------------------------------ svn:eol-style = native Added: xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.NOTICE.txt URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.NOTICE.txt?rev=1893352&view=auto ============================================================================== --- xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.NOTICE.txt (added) +++ xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.NOTICE.txt Wed Sep 15 07:30:53 2021 @@ -0,0 +1,11 @@ +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 Propchange: xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.NOTICE.txt ------------------------------------------------------------------------------ svn:eol-style = native Added: xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.jar URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.jar?rev=1893352&view=auto ============================================================================== Binary file - no diff available. Propchange: xmlgraphics/fop/trunk/fop/lib/build/mockito-core-2.28.2.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream --------------------------------------------------------------------- To unsubscribe, e-mail: fop-commits-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-commits-h...@xmlgraphics.apache.org