Skip to content

Commit 3e7cf34

Browse files
committed
Update tests; Bump jackson version
1 parent 5cfcf6d commit 3e7cf34

File tree

10 files changed

+35
-35
lines changed

10 files changed

+35
-35
lines changed

cdt-examples/THIRD-PARTY.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
Lists of 15 third-party dependencies.
3-
(The Apache Software License, Version 2.0) Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.10.0 - http://github.com/FasterXML/jackson)
4-
(The Apache Software License, Version 2.0) Jackson-core (com.fasterxml.jackson.core:jackson-core:2.9.9 - https://github.com/FasterXML/jackson-core)
5-
(The Apache Software License, Version 2.0) jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.10.0 - http://github.com/FasterXML/jackson)
3+
(The Apache Software License, Version 2.0) Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.11.3 - http://github.com/FasterXML/jackson)
4+
(The Apache Software License, Version 2.0) Jackson-core (com.fasterxml.jackson.core:jackson-core:2.11.3 - https://github.com/FasterXML/jackson-core)
5+
(The Apache Software License, Version 2.0) jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.11.3 - http://github.com/FasterXML/jackson)
66
(The Apache License, Version 2.0) cdt-java-client (com.github.kklisura.cdt:cdt-java-client:2.1.0 - https://github.com/kklisura/chrome-devtools-java-client)
77
(The Apache Software License, Version 2.0) Apache Commons Codec (commons-codec:commons-codec:1.11 - http://commons.apache.org/proper/commons-codec/)
88
(Dual license consisting of the CDDL v1.1 and GPL v2) WebSocket server API (javax.websocket:javax.websocket-api:1.1 - http://websocket-spec.java.net)

cdt-examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<maven.compiler.target>1.8</maven.compiler.target>
2424

2525
<logback.version>1.2.3</logback.version>
26-
<jackson.version>2.9.9</jackson.version>
26+
<jackson.version>2.11.3</jackson.version>
2727
<common.codec.version>1.11</common.codec.version>
2828
</properties>
2929

cdt-java-client/THIRD-PARTY.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Lists of 37 third-party dependencies.
33
(ASF 2.0) Code Generation Library (cglib:cglib-nodep:2.2.2 - http://cglib.sourceforge.net/)
44
(Eclipse Public License - v 1.0) (GNU Lesser General Public License) Logback Classic Module (ch.qos.logback:logback-classic:1.2.3 - http://logback.qos.ch/logback-classic)
55
(Eclipse Public License - v 1.0) (GNU Lesser General Public License) Logback Core Module (ch.qos.logback:logback-core:1.2.3 - http://logback.qos.ch/logback-core)
6-
(The Apache Software License, Version 2.0) Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.10.0 - http://github.com/FasterXML/jackson)
7-
(The Apache Software License, Version 2.0) Jackson-core (com.fasterxml.jackson.core:jackson-core:2.10.0 - https://github.com/FasterXML/jackson-core)
8-
(The Apache Software License, Version 2.0) jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.10.0 - http://github.com/FasterXML/jackson)
6+
(The Apache Software License, Version 2.0) Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.11.3 - http://github.com/FasterXML/jackson)
7+
(The Apache Software License, Version 2.0) Jackson-core (com.fasterxml.jackson.core:jackson-core:2.11.3 - https://github.com/FasterXML/jackson-core)
8+
(The Apache Software License, Version 2.0) jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.11.3 - http://github.com/FasterXML/jackson)
99
(The Apache Software License, Version 2.0) MockWebServer (com.squareup.okhttp:mockwebserver:2.7.5 - https://github.com/square/okhttp/mockwebserver)
1010
(The Apache Software License, Version 2.0) OkHttp (com.squareup.okhttp:okhttp:2.7.5 - https://github.com/square/okhttp/okhttp)
1111
(The Apache Software License, Version 2.0) OkHttp Web Sockets (com.squareup.okhttp:okhttp-ws:2.7.5 - https://github.com/square/okhttp/okhttp-ws)

cdt-java-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<maven.compiler.source>1.8</maven.compiler.source>
3939
<maven.compiler.target>1.8</maven.compiler.target>
4040

41-
<jackson.version>2.10.0</jackson.version>
41+
<jackson.version>2.11.3</jackson.version>
4242
<websocket.api.version>1.1</websocket.api.version>
4343
<tyrus.version>1.13.1</tyrus.version>
4444
<javassist.version>3.24.1-GA</javassist.version>

cdt-java-client/src/test/java/com/github/kklisura/cdt/services/impl/ChromeServiceImplTest.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,17 @@ public void testCreateTab() throws IOException, ChromeServiceException, Interrup
142142

143143
assertEquals("", tab.getDescription());
144144
assertEquals(
145-
"/devtools/inspector.html?ws=localhost:9222/devtools/page/(2C5C79DD1137419CC8839D61D91CEB2A)",
145+
"/devtools/inspector.html?ws=localhost:54011/devtools/page/D4CEC22C995F1A9C8526737014CD436D",
146146
tab.getDevtoolsFrontendUrl());
147147
assertEquals(
148148
"https://www.google.ba/images/branding/product/ico/googleg_lodp.ico", tab.getFaviconUrl());
149-
assertEquals("(2C5C79DD1137419CC8839D61D91CEB2A)", tab.getId());
150-
assertEquals("Google", tab.getTitle());
149+
assertEquals("D4CEC22C995F1A9C8526737014CD436D", tab.getId());
150+
assertEquals("", tab.getTitle());
151151
assertEquals("page", tab.getType());
152152
assertTrue(tab.isPageType());
153-
assertEquals("https://www.google.ba/?gws_rd=cr&dcr=0&ei=93piWq2oKqqJmgWIzbdg", tab.getUrl());
153+
assertEquals("about:blank", tab.getUrl());
154154
assertEquals(
155-
"ws://localhost:9222/devtools/page/(2C5C79DD1137419CC8839D61D91CEB2A)",
155+
"ws://localhost:54011/devtools/page/D4CEC22C995F1A9C8526737014CD436D",
156156
tab.getWebSocketDebuggerUrl());
157157

158158
server.shutdown();
@@ -178,17 +178,17 @@ public void testCreateTabWithAboutBlankPage()
178178

179179
assertEquals("", tab.getDescription());
180180
assertEquals(
181-
"/devtools/inspector.html?ws=localhost:9222/devtools/page/(2C5C79DD1137419CC8839D61D91CEB2A)",
181+
"/devtools/inspector.html?ws=localhost:54011/devtools/page/D4CEC22C995F1A9C8526737014CD436D",
182182
tab.getDevtoolsFrontendUrl());
183183
assertEquals(
184184
"https://www.google.ba/images/branding/product/ico/googleg_lodp.ico", tab.getFaviconUrl());
185-
assertEquals("(2C5C79DD1137419CC8839D61D91CEB2A)", tab.getId());
186-
assertEquals("Google", tab.getTitle());
185+
assertEquals("D4CEC22C995F1A9C8526737014CD436D", tab.getId());
186+
assertEquals("", tab.getTitle());
187187
assertEquals("page", tab.getType());
188188
assertTrue(tab.isPageType());
189-
assertEquals("https://www.google.ba/?gws_rd=cr&dcr=0&ei=93piWq2oKqqJmgWIzbdg", tab.getUrl());
189+
assertEquals("about:blank", tab.getUrl());
190190
assertEquals(
191-
"ws://localhost:9222/devtools/page/(2C5C79DD1137419CC8839D61D91CEB2A)",
191+
"ws://localhost:54011/devtools/page/D4CEC22C995F1A9C8526737014CD436D",
192192
tab.getWebSocketDebuggerUrl());
193193

194194
server.shutdown();
@@ -212,7 +212,7 @@ public void testActivateTab() throws IOException, ChromeServiceException, Interr
212212
RecordedRequest request = server.takeRequest();
213213
assertEquals(1, server.getRequestCount());
214214
assertEquals(
215-
"GET /json/activate/(2C5C79DD1137419CC8839D61D91CEB2A) HTTP/1.1", request.getRequestLine());
215+
"GET /json/activate/D4CEC22C995F1A9C8526737014CD436D HTTP/1.1", request.getRequestLine());
216216

217217
server.shutdown();
218218
}
@@ -267,7 +267,7 @@ public void testCloseTabClearsDevTools()
267267
RecordedRequest request = server.takeRequest();
268268
assertEquals(1, server.getRequestCount());
269269
assertEquals(
270-
"GET /json/close/(2C5C79DD1137419CC8839D61D91CEB2A) HTTP/1.1", request.getRequestLine());
270+
"GET /json/close/D4CEC22C995F1A9C8526737014CD436D HTTP/1.1", request.getRequestLine());
271271

272272
server.shutdown();
273273

@@ -292,7 +292,7 @@ public void testCloseTab() throws IOException, ChromeServiceException, Interrupt
292292
RecordedRequest request = server.takeRequest();
293293
assertEquals(1, server.getRequestCount());
294294
assertEquals(
295-
"GET /json/close/(2C5C79DD1137419CC8839D61D91CEB2A) HTTP/1.1", request.getRequestLine());
295+
"GET /json/close/D4CEC22C995F1A9C8526737014CD436D HTTP/1.1", request.getRequestLine());
296296

297297
server.shutdown();
298298
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"description": "",
3-
"devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:9222/devtools/page/(2C5C79DD1137419CC8839D61D91CEB2A)",
4-
"faviconUrl": "https://www.google.ba/images/branding/product/ico/googleg_lodp.ico",
5-
"id": "(2C5C79DD1137419CC8839D61D91CEB2A)",
6-
"title": "Google",
3+
"devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:54011/devtools/page/D4CEC22C995F1A9C8526737014CD436D",
4+
"id": "D4CEC22C995F1A9C8526737014CD436D",
5+
"title": "",
76
"type": "page",
8-
"url": "https://www.google.ba/?gws_rd=cr&dcr=0&ei=93piWq2oKqqJmgWIzbdg",
9-
"webSocketDebuggerUrl": "ws://localhost:9222/devtools/page/(2C5C79DD1137419CC8839D61D91CEB2A)"
7+
"url": "about:blank",
8+
"webSocketDebuggerUrl": "ws://localhost:54011/devtools/page/D4CEC22C995F1A9C8526737014CD436D",
9+
"faviconUrl": "https://www.google.ba/images/branding/product/ico/googleg_lodp.ico"
1010
}

cdt-java-protocol-builder/THIRD-PARTY.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Lists of 74 third-party dependencies.
55
(Eclipse Public License - v 1.0) (GNU Lesser General Public License) Logback Classic Module (ch.qos.logback:logback-classic:1.2.3 - http://logback.qos.ch/logback-classic)
66
(Eclipse Public License - v 1.0) (GNU Lesser General Public License) Logback Core Module (ch.qos.logback:logback-core:1.2.3 - http://logback.qos.ch/logback-core)
77
(apache_v2) classworlds (classworlds:classworlds:1.1-alpha-2 - http://classworlds.codehaus.org/)
8-
(The Apache Software License, Version 2.0) Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.10.0 - http://github.com/FasterXML/jackson)
9-
(The Apache Software License, Version 2.0) Jackson-core (com.fasterxml.jackson.core:jackson-core:2.10.0 - https://github.com/FasterXML/jackson-core)
10-
(The Apache Software License, Version 2.0) jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.10.0 - http://github.com/FasterXML/jackson)
8+
(The Apache Software License, Version 2.0) Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.11.3 - http://github.com/FasterXML/jackson)
9+
(The Apache Software License, Version 2.0) Jackson-core (com.fasterxml.jackson.core:jackson-core:2.11.3 - https://github.com/FasterXML/jackson-core)
10+
(The Apache Software License, Version 2.0) jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.11.3 - http://github.com/FasterXML/jackson)
1111
(GNU Lesser General Public License) (The Apache Software License, Version 2.0) javaparser-core (com.github.javaparser:javaparser-core:3.5.11 - https://github.com/javaparser/javaparser-core)
1212
(The Apache License, Version 2.0) (apache_v2) cdt-protocol-parser (com.github.kklisura.cdt:cdt-protocol-parser:1.0-SNAPSHOT - https://github.com/kklisura/chrome-devtools-java-client)
1313
(The Apache Software License, Version 2.0) FindBugs-jsr305 (com.google.code.findbugs:jsr305:1.3.9 - http://findbugs.sourceforge.net/)

cdt-java-protocol-builder/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<maven.compiler.target>1.8</maven.compiler.target>
2323

2424
<java.parser.core.version>3.5.11</java.parser.core.version>
25-
<jackson.version>2.10.0</jackson.version>
25+
<jackson.version>2.11.3</jackson.version>
2626
<apache.collections.version>4.1</apache.collections.version>
2727
<apache.lang3.version>3.7</apache.lang3.version>
2828
<lombok.version>1.18.2</lombok.version>

cdt-protocol-parser/THIRD-PARTY.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
Lists of 8 third-party dependencies.
3-
(The Apache Software License, Version 2.0) Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.10.0 - http://github.com/FasterXML/jackson)
4-
(The Apache Software License, Version 2.0) Jackson-core (com.fasterxml.jackson.core:jackson-core:2.10.0 - https://github.com/FasterXML/jackson-core)
5-
(The Apache Software License, Version 2.0) jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.10.0 - http://github.com/FasterXML/jackson)
3+
(The Apache Software License, Version 2.0) Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.11.3 - http://github.com/FasterXML/jackson)
4+
(The Apache Software License, Version 2.0) Jackson-core (com.fasterxml.jackson.core:jackson-core:2.11.3 - https://github.com/FasterXML/jackson-core)
5+
(The Apache Software License, Version 2.0) jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.11.3 - http://github.com/FasterXML/jackson)
66
(The Apache Software License, Version 2.0) JSON library from Android SDK (com.vaadin.external.google:android-json:0.0.20131108.vaadin1 - http://developer.android.com/sdk)
77
(Eclipse Public License v1.0) JUnit (junit:junit:4.12 - http://junit.org)
88
(BSD 3-Clause License) Hamcrest Core (org.hamcrest:hamcrest-core:1.3 - https://github.com/hamcrest/JavaHamcrest/hamcrest-core)

cdt-protocol-parser/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
<lombok.version>1.18.2</lombok.version>
2626
<java.parser.core.version>3.5.11</java.parser.core.version>
27-
<jackson.version>2.10.0</jackson.version>
27+
<jackson.version>2.11.3</jackson.version>
2828
<junit.version>4.12</junit.version>
2929
<jsonassert.version>1.5.0</jsonassert.version>
3030
</properties>

0 commit comments

Comments
 (0)