Skip to content

Commit

Permalink
Remove the test for Java client generation. (cloudendpoints#201)
Browse files Browse the repository at this point in the history
Java client generation feature depends on an external server, which
takes an OpenAPI spec and returns a Java client library. The server
has been turned down. Remove the test, which depends on the server.

Actual error:
Execution failed for task ':test-compat:appengineEndpointsGetClientLibs'.
> There was an error running endpoints command get-client-lib: 404 Not Found
  • Loading branch information
tomboc authored Jun 4, 2021
1 parent 8e818f1 commit 44933a4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 437 deletions.
8 changes: 0 additions & 8 deletions test-compat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ allprojects {
}

test {
dependsOn += ':test-compat:appengineEndpointsInstallClientLibs'
}

// This is necessary because otherwise gradle check runs the dev server, but since there are no
Expand All @@ -88,7 +87,6 @@ def testAllConfigs = task('testAllConfigs', type: Test) {
description = 'runs tests for all environments'
group = 'Compatibility testing'
testClassesDir = sourceSets.test.output.classesDir
dependsOn += ':test-compat:appengineEndpointsInstallClientLibs'
}

testConfigs.each { cfg ->
Expand Down Expand Up @@ -127,12 +125,6 @@ dependencies {
compile group: 'javax.servlet', name: 'servlet-api', version: servletVersion
compileOnly group: 'com.google.appengine', name: 'appengine-endpoints', version: appengineVersion

testlibCompile(group: 'com.compat_tests', name: 'wax', version: 'v1-+') {
exclude group: 'com.google.guava', module: 'guava-jdk5'
}
testlibCompile(group: 'com.compat_tests', name: 'tictactoe', version: 'v1-+') {
exclude group: 'com.google.guava', module: 'guava-jdk5'
}
testlibCompile group: 'junit', name: 'junit', version: junitVersion
testlibCompile group: 'com.google.truth', name: 'truth', version: truthVersion
testlibCompile group: 'javax.servlet', name: 'servlet-api', version: servletVersion
Expand Down
94 changes: 0 additions & 94 deletions test-compat/src/testlib/java/com/google/testapi/TictactoeTest.java

This file was deleted.

67 changes: 0 additions & 67 deletions test-compat/src/testlib/java/com/google/util/TestUtils.java

This file was deleted.

Loading

0 comments on commit 44933a4

Please sign in to comment.