Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
anis
anis-client
Commits
518d4232
Commit
518d4232
authored
Oct 15, 2020
by
Tifenn Guillas
Browse files
Fix typo
parent
18c881a8
Changes
21
Hide whitespace changes
Inline
Side-by-side
src/app/login/store/login.action.spec.ts
View file @
518d4232
import
*
as
loginActions
from
'
./login.action
'
;
import
{
LoginToken
,
Login
,
ChangePassword
}
from
'
./model
'
;
import
{
AnisServerError
}
from
'
src/app
/shared/model
'
;
import
{
AnisServerError
}
from
'
../..
/shared/model
'
;
describe
(
'
[Login] Action
'
,
()
=>
{
it
(
'
should LoginLocalStorageAction
'
,
()
=>
{
...
...
src/app/metamodel/action/criteria.action.spec.ts
View file @
518d4232
import
*
as
criteriaActions
from
'
./criteria.action
'
;
import
{
CRITERIA_FAMILY_LIST
}
from
'
src
/settings/test-data
'
;
import
{
CRITERIA_FAMILY_LIST
}
from
'
../../..
/settings/test-data
'
;
import
{
Family
}
from
'
../model
'
;
describe
(
'
[Metamodel] Criteria action
'
,
()
=>
{
...
...
src/app/metamodel/action/dataset.action.spec.ts
View file @
518d4232
import
*
as
datasetActions
from
'
./dataset.action
'
;
import
{
PROJECT_LIST
,
DATASET_LIST
,
DATASET_FAMILY_LIST
}
from
'
src
/settings/test-data
'
;
import
{
PROJECT_LIST
,
DATASET_LIST
,
DATASET_FAMILY_LIST
}
from
'
../../..
/settings/test-data
'
;
import
{
Project
,
Dataset
,
Family
}
from
'
../model
'
;
describe
(
'
[Metamodel] Dataset action
'
,
()
=>
{
...
...
src/app/metamodel/action/output.action.spec.ts
View file @
518d4232
import
*
as
outputActions
from
'
./output.action
'
;
import
{
OUTPUT_FAMILY_LIST
,
CATEGORY_LIST
}
from
'
src
/settings/test-data
'
;
import
{
OUTPUT_FAMILY_LIST
,
CATEGORY_LIST
}
from
'
../../..
/settings/test-data
'
;
import
{
Family
,
Category
}
from
'
../model
'
;
describe
(
'
[Metamodel] Output action
'
,
()
=>
{
...
...
src/app/metamodel/reducers/criteria.reducer.spec.ts
View file @
518d4232
import
*
as
fromCriteria
from
'
./criteria.reducer
'
;
import
*
as
criteriaActions
from
'
../action/criteria.action
'
;
import
{
Dataset
,
Family
}
from
'
../model
'
;
import
{
DATASET_LIST
,
CRITERIA_FAMILY_LIST
}
from
'
src
/settings/test-data
'
;
import
{
DATASET_LIST
,
CRITERIA_FAMILY_LIST
}
from
'
../../..
/settings/test-data
'
;
describe
(
'
[Metamodel] Criteria reducer
'
,
()
=>
{
it
(
'
should return init state
'
,
()
=>
{
...
...
src/app/metamodel/reducers/dataset.reducer.spec.ts
View file @
518d4232
import
*
as
fromDataset
from
'
./dataset.reducer
'
;
import
*
as
datasetActions
from
'
../action/dataset.action
'
;
import
{
Project
,
Dataset
,
Family
}
from
'
../model
'
;
import
{
PROJECT_LIST
,
DATASET_LIST
,
DATASET_FAMILY_LIST
}
from
'
src
/settings/test-data
'
;
import
{
PROJECT_LIST
,
DATASET_LIST
,
DATASET_FAMILY_LIST
}
from
'
../../..
/settings/test-data
'
;
describe
(
'
[Metamodel] Dataset reducer
'
,
()
=>
{
it
(
'
should return init state
'
,
()
=>
{
...
...
src/app/metamodel/reducers/output.reducer.spec.ts
View file @
518d4232
import
*
as
fromOutput
from
'
./output.reducer
'
;
import
*
as
outputActions
from
'
../action/output.action
'
;
import
{
Dataset
,
Family
,
Category
}
from
'
../model
'
;
import
{
DATASET_LIST
,
OUTPUT_FAMILY_LIST
,
CATEGORY_LIST
}
from
'
src
/settings/test-data
'
;
import
{
DATASET_LIST
,
OUTPUT_FAMILY_LIST
,
CATEGORY_LIST
}
from
'
../../..
/settings/test-data
'
;
describe
(
'
[Metamodel] Output reducer
'
,
()
=>
{
it
(
'
should return init state
'
,
()
=>
{
...
...
src/app/search/store/search.selector.spec.ts
View file @
518d4232
...
...
@@ -2,7 +2,7 @@ import * as searchSelector from './search.selector';
import
*
as
fromSearch
from
'
./search.reducer
'
;
import
*
as
fromConeSearch
from
'
../../shared/cone-search/store/cone-search.reducer
'
;
import
{
Criterion
}
from
'
./model
'
;
import
{
CRITERIA_LIST
}
from
'
src
/settings/test-data
'
;
import
{
CRITERIA_LIST
}
from
'
../../..
/settings/test-data
'
;
import
{
ConeSearch
}
from
'
../../shared/cone-search/store/model
'
;
describe
(
'
[Search] Selector
'
,
()
=>
{
...
...
src/app/shared/cone-search/components/radius.component.ts
View file @
518d4232
import
{
Component
,
Input
,
Output
,
EventEmitter
,
ChangeDetectionStrategy
}
from
'
@angular/core
'
;
import
{
FormControl
}
from
'
@angular/forms
'
;
import
{
rangeValidator
}
from
'
src/app/shared
/validator
'
;
import
{
rangeValidator
}
from
'
../..
/validator
'
;
import
{
ConeSearch
}
from
'
../store/model
'
;
@
Component
({
...
...
src/app/shared/datatable/datatable.component.ts
View file @
518d4232
import
{
Component
,
EventEmitter
,
Input
,
OnInit
,
Output
}
from
'
@angular/core
'
;
import
{
Attribute
,
Dataset
}
from
'
src/app
/metamodel/model
'
;
import
{
Attribute
,
Dataset
}
from
'
../..
/metamodel/model
'
;
import
{
Pagination
,
PaginationOrder
}
from
'
./model
'
;
...
...
src/settings/test-data/criteria-family-list.ts
View file @
518d4232
import
{
Family
}
from
'
src
/app/metamodel/model
'
;
import
{
Family
}
from
'
../..
/app/metamodel/model
'
;
export
const
CRITERIA_FAMILY_LIST
:
Family
[]
=
[
{
...
...
src/settings/test-data/criteria-list.ts
View file @
518d4232
import
{
Criterion
,
FieldCriterion
}
from
'
src
/app/search/store/model
'
;
import
{
Criterion
,
FieldCriterion
}
from
'
../..
/app/search/store/model
'
;
export
const
CRITERIA_LIST
:
Criterion
[]
=
[
{
id
:
1
,
type
:
'
field
'
,
operator
:
'
eq
'
,
value
:
'
fd_crit_1
'
}
as
FieldCriterion
,
...
...
src/settings/test-data/dataset-family-list.ts
View file @
518d4232
import
{
Family
}
from
'
src
/app/metamodel/model
'
;
import
{
Family
}
from
'
../..
/app/metamodel/model
'
;
export
const
DATASET_FAMILY_LIST
:
Family
[]
=
[
{
...
...
src/settings/test-data/dataset-list.ts
View file @
518d4232
import
{
Dataset
}
from
'
src
/app/metamodel/model
'
;
import
{
Dataset
}
from
'
../..
/app/metamodel/model
'
;
export
const
DATASET_LIST
:
Dataset
[]
=
[
{
...
...
src/settings/test-data/dataset.ts
View file @
518d4232
import
{
Dataset
}
from
'
src
/app/metamodel/model
'
;
import
{
Dataset
}
from
'
../..
/app/metamodel/model
'
;
export
const
DATASET
:
Dataset
=
{
name
:
'
cat_1
'
,
...
...
src/settings/test-data/output-category-list.ts
View file @
518d4232
import
{
Category
}
from
'
src
/app/metamodel/model
'
;
import
{
Category
}
from
'
../..
/app/metamodel/model
'
;
export
const
CATEGORY_LIST
:
Category
[]
=
[
{
...
...
src/settings/test-data/output-category.ts
View file @
518d4232
import
{
Category
}
from
'
src
/app/metamodel/model
'
;
import
{
Category
}
from
'
../..
/app/metamodel/model
'
;
export
const
CATEGORY
:
Category
=
{
id
:
1
,
...
...
src/settings/test-data/output-family-list.ts
View file @
518d4232
import
{
Family
}
from
'
src
/app/metamodel/model
'
;
import
{
Family
}
from
'
../..
/app/metamodel/model
'
;
export
const
OUTPUT_FAMILY_LIST
:
Family
[]
=
[
{
...
...
src/settings/test-data/output-family.ts
View file @
518d4232
import
{
Family
}
from
'
src
/app/metamodel/model
'
;
import
{
Family
}
from
'
../..
/app/metamodel/model
'
;
export
const
OUTPUT_FAMILY
:
Family
=
{
id
:
2
,
...
...
src/settings/test-data/project-list.ts
View file @
518d4232
import
{
Project
}
from
'
src
/app/metamodel/model
'
;
import
{
Project
}
from
'
../..
/app/metamodel/model
'
;
export
const
PROJECT_LIST
:
Project
[]
=
[
{
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment