This repository was archived by the owner on Sep 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
src/test/java/com/marklogic/client/modulesloader/impl Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ repositories {
1515
1616dependencies {
1717 compile ' com.marklogic:java-client-api:3.0.5'
18- compile ' com.marklogic:marklogic-xcc:8.0.4 '
18+ compile ' com.marklogic:marklogic-xcc:8.0.5 '
1919 compile ' org.jdom:jdom2:2.0.5'
20- compile ' org.springframework:spring-context:4.1.5 .RELEASE'
20+ compile ' org.springframework:spring-context:4.3.4 .RELEASE'
2121
2222 testCompile ' junit:junit:4+'
23- testCompile ' org.springframework:spring-test:4.1.5 .RELEASE'
23+ testCompile ' org.springframework:spring-test:4.3.4 .RELEASE'
2424
2525 // Used for testing loading modules from the classpath
2626 testRuntime files(" lib/modules.jar" )
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ public void staticCheckAndCheckLibraryModules() {
7777 fail ("The load should have failed because of the bad library module" );
7878 } catch (RuntimeException ex ) {
7979 System .out .println (ex .getMessage ());
80- assertTrue (ex .getMessage ().contains ("Static check failed for module at URI: /ext/bad-lib.xqy" ));
8180 assertTrue (ex .getMessage ().contains ("in /ext/bad-lib.xqy, on line 7" ));
8281 }
8382 }
@@ -110,7 +109,6 @@ public void bulkLoadAndStaticCheckAndCheckLibraryModules() {
110109 modulesLoader .loadModules (dir , new DefaultModulesFinder (), client );
111110 fail ("The load should have failed because of the bad library module" );
112111 } catch (Exception ex ) {
113- assertTrue (ex .getMessage ().contains ("Bulk static check failure" ));
114112 assertTrue (ex .getMessage ().contains ("in /ext/bad-lib.xqy, on line 7" ));
115113 }
116114 }
You can’t perform that action at this time.
0 commit comments