9091929394959697
assertTrue( wagon.resourceExists( "target/" ) ); assertTrue( wagon.resourceExists( "pom.xml" ) ); assertFalse( wagon.resourceExists( "pom.xml/" ) ); wagon.disconnect(); } }
224225226227228229230231232233234
destFile.deleteOnExit(); wagon.get( "testDirectory/test-resource-1.txt", destFile ); wagon.disconnect(); } tearDownWagonTestingFixtures();
395396397398399400401402403404405
destFile.deleteOnExit(); wagon.get( "gzip/" + resName, destFile ); wagon.disconnect(); String destContent = FileUtils.fileRead( destFile ); assertEquals( sourceContent, destContent ); }
296297298299300301302303304305306
catch ( ResourceDoesNotExistException e ) { } wagon.disconnect(); tearDownWagonTestingFixtures(); }
374375376377378379380381382383384
{ if ( wagon != null ) { try { wagon.disconnect(); } catch ( ConnectionException e ) { getLogger().warn( "Unable to disconnect wagon.", e ); }
451452453454455456457458459460461
618619620621622623624625626627628
{ if ( wagon != null ) { try { wagon.disconnect(); } catch ( ConnectionException e ) { log.warn( "Unable to disconnect wagon.", e ); }
297298299300301302303304305306307