Bump Google Truth 0.43 → 1.0.1 61/87061/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 20 Jan 2020 20:57:37 +0000 (21:57 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 10 Feb 2020 21:57:20 +0000 (22:57 +0100)
https://github.com/google/truth/releases/tag/release_0_44
https://github.com/google/truth/releases/tag/release_0_45
https://github.com/google/truth/releases/tag/release_0_46
https://github.com/google/truth/releases/tag/release_1_0_rc1
https://github.com/google/truth/releases/tag/release_1_0_rc2
https://github.com/google/truth/releases/tag/release_1_0
https://github.com/google/truth/releases/tag/release_1_0_1

JIRA: ODLPARENT-222
Change-Id: Ia3cf1212ea2ace936d59ec7aed62736ba4af9c99
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
features-test/src/test/java/org/opendaylight/odlparent/featuretest/ReflectionUtilTest.java
odlparent-lite/pom.xml
odlparent/pom.xml

index 61b4f58ad48d12431e677ddfb4f8bd48295a1fa4..90541c61b10ce6db7bc9f96c030d00b44ae71110 100644 (file)
@@ -24,14 +24,14 @@ public class ReflectionUtilTest {
     public void testGetClasses() {
         assertThat(ReflectionUtil.getClasses(getClass().getClassLoader(), "org.awaitility")
                 .collect(Collectors.toList()))
-                .containsAllOf(org.awaitility.Awaitility.class, org.awaitility.core.ConditionTimeoutException.class);
+                .containsAtLeast(org.awaitility.Awaitility.class, org.awaitility.core.ConditionTimeoutException.class);
     }
 
     @Test
     public void testGetInnerClasses() {
         List<Class<?>> innerClasses = ReflectionUtil.getClasses(
                 getClass().getClassLoader(), getClass().getPackage().getName()).collect(Collectors.toList());
-        assertThat(innerClasses).containsAllOf(getClass(), InnerStaticClass.class, InnerNonStaticClass.class);
+        assertThat(innerClasses).containsAtLeast(getClass(), InnerStaticClass.class, InnerNonStaticClass.class);
         assertThat(innerClasses.stream().anyMatch(
             clazz -> clazz.getName().endsWith(getClass().getSimpleName() + "$1"))).isTrue();
         assertThat(innerClasses).containsNoDuplicates();
index 93c00f94782377b9158d4266dd783c3de4726765..f41f042e61279e6a5759886c6995bda8cef50f44 100644 (file)
               <links>
                 <link>https://junit.org/junit4/javadoc/4.13/</link>
                 <link>http://hamcrest.org/JavaHamcrest/javadoc/2.2/</link>
-                <link>http://google.github.io/truth/api/0.43/</link>
+                <link>http://google.github.io/truth/api/1.0.1/</link>
                 <link>http://www.slf4j.org/apidocs/</link>
                 <link>https://xerces.apache.org/xerces2-j/javadocs/api/</link>
                 <link>https://google.github.io/guava/releases/27.1-jre/api/docs/</link>
index d37103e980cd885e6584844fe4d3a1c4e0c244d7..7870853f228f40759f2a7da5381e1b43b4df1514 100644 (file)
         <groupId>com.google.truth</groupId>
         <artifactId>truth</artifactId>
         <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
-        <version>0.43</version>
+        <version>1.0.1</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>com.google.truth.extensions</groupId>
         <artifactId>truth-java8-extension</artifactId>
-        <version>0.43</version>
+        <version>1.0.1</version>
         <scope>test</scope>
       </dependency>
       <dependency>