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
41252819
Commit
41252819
authored
15 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
LMS-1222 unused code removed
SVN: 12941
parent
6a049428
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/FilterSystemTest.java
+0
-30
0 additions, 30 deletions
...ch/systemsx/cisd/openbis/systemtest/FilterSystemTest.java
with
0 additions
and
30 deletions
openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/FilterSystemTest.java
+
0
−
30
View file @
41252819
...
...
@@ -23,23 +23,15 @@ import java.util.Arrays;
import
java.util.Collections
;
import
java.util.List
;
import
javassist.bytecode.ExceptionsAttribute
;
import
org.jmock.Expectations
;
import
org.jmock.Mockery
;
import
org.testng.annotations.AfterMethod
;
import
org.testng.annotations.BeforeMethod
;
import
org.testng.annotations.Test
;
import
ch.systemsx.cisd.openbis.generic.client.web.client.application.util.lang.StringEscapeUtils
;
import
ch.systemsx.cisd.openbis.generic.client.web.client.dto.CustomFilterInfo
;
import
ch.systemsx.cisd.openbis.generic.client.web.client.dto.DefaultResultSetConfig
;
import
ch.systemsx.cisd.openbis.generic.client.web.client.dto.ParameterWithValue
;
import
ch.systemsx.cisd.openbis.generic.client.web.client.dto.ResultSet
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.IColumnDefinition
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.TechId
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.GridCustomFilter
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.GridFilterInfo
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewColumnOrFilter
;
/**
...
...
@@ -52,26 +44,6 @@ public class FilterSystemTest extends SystemTestCase
{
private
static
final
String
GRID_ID
=
"blabla"
;
private
Mockery
context
;
private
IColumnDefinition
<
GridCustomFilter
>
columnDefinition
;
@SuppressWarnings
(
"unchecked"
)
@BeforeMethod
public
void
setUp
()
{
context
=
new
Mockery
();
columnDefinition
=
context
.
mock
(
IColumnDefinition
.
class
);
}
@AfterMethod
public
void
tearDown
()
{
// To following line of code should also be called at the end of each test method.
// Otherwise one does not known which test failed.
context
.
assertIsSatisfied
();
}
@Test
public
void
testRegisterAndDeleteFilter
()
{
...
...
@@ -135,8 +107,6 @@ public class FilterSystemTest extends SystemTestCase
Long
id
=
commonClientService
.
listFilters
(
GRID_ID
).
get
(
0
).
getId
();
commonClientService
.
deleteFilters
(
Arrays
.
asList
(
new
TechId
(
id
)));
context
.
assertIsSatisfied
();
}
private
DefaultResultSetConfig
<
String
,
GridCustomFilter
>
createConfig
(
String
thresholdValue
)
...
...
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