File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
gxexternalproviders/src/test/java/com/genexus/db/driver Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,15 @@ public void testCopyMethod(){
136136 copy (copyFileName , ResourceAccessControlList .PublicRead );
137137 }
138138
139+ @ Test
140+ public void testExistsDirectory (){
141+ String copyFileName = buildRandomTextFileName ("tempFolder/f1/f2/test-upload-and-copy" );
142+ String upload = provider .upload (testSampleFilePath , copyFileName , ResourceAccessControlList .Default );
143+ assertTrue ("Not found URL: " + upload , urlExists (upload ));
144+ boolean existsDir = provider .existsDirectory ("tempFolder/f1" );
145+ assertTrue ("Directory does not exists \" tempFolder/f1\" " , existsDir );
146+ }
147+
139148 @ Test
140149 public void testCopyPrivateMethod (){
141150 String copyFileName = buildRandomTextFileName ("copy-text-private" );
You can’t perform that action at this time.
0 commit comments