Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
b833c618
Commit
b833c618
authored
10 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
SSDM-802: Bug fiexd for microscopy test: Remove .svn folders from test data.
SVN: 32402
parent
782ace9f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
screening/sourceTest/java/ch/systemsx/cisd/openbis/screening/systemtests/AbstractImageDropboxTestCase.java
+11
-1
11 additions, 1 deletion
...s/screening/systemtests/AbstractImageDropboxTestCase.java
with
11 additions
and
1 deletion
screening/sourceTest/java/ch/systemsx/cisd/openbis/screening/systemtests/AbstractImageDropboxTestCase.java
+
11
−
1
View file @
b833c618
...
...
@@ -17,6 +17,7 @@
package
ch.systemsx.cisd.openbis.screening.systemtests
;
import
java.io.File
;
import
java.io.FileFilter
;
import
java.io.IOException
;
import
java.util.Arrays
;
import
java.util.List
;
...
...
@@ -39,6 +40,15 @@ import ch.systemsx.cisd.openbis.generic.shared.dto.identifier.ExperimentIdentifi
*/
public
abstract
class
AbstractImageDropboxTestCase
extends
AbstractScreeningSystemTestCase
{
private
static
final
FileFilter
SVN_FILTER
=
new
FileFilter
()
{
@Override
public
boolean
accept
(
File
pathname
)
{
return
pathname
.
getName
().
equals
(
".svn"
)
==
false
;
}
};
protected
ImageChecker
imageChecker
;
@BeforeTest
...
...
@@ -70,7 +80,7 @@ public abstract class AbstractImageDropboxTestCase extends AbstractScreeningSyst
{
File
destination
=
new
File
(
workingDirectory
,
"test-data"
);
destination
.
mkdirs
();
FileUtils
.
copyDirectory
(
new
File
(
getTestDataFolder
(),
getDataFolderToDrop
()),
destination
);
FileUtils
.
copyDirectory
(
new
File
(
getTestDataFolder
(),
getDataFolderToDrop
()),
destination
,
SVN_FILTER
);
return
destination
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment