Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
semint-kprime-arm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pedot Nicola
semint-kprime-arm
Commits
fc44e099
Commit
fc44e099
authored
4 years ago
by
npedot
Browse files
Options
Downloads
Patches
Plain Diff
changes from double inc --> to <->
parent
b58f1f77
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/kotlin/unibz.cs.semint.kprime/domain/ddl/Schema.kt
+2
-2
2 additions, 2 deletions
src/main/kotlin/unibz.cs.semint.kprime/domain/ddl/Schema.kt
src/test/kotlin/unibz.cs.semint.kprime/domain/SchemaTest.kt
+1
-1
1 addition, 1 deletion
src/test/kotlin/unibz.cs.semint.kprime/domain/SchemaTest.kt
with
3 additions
and
3 deletions
src/main/kotlin/unibz.cs.semint.kprime/domain/ddl/Schema.kt
+
2
−
2
View file @
fc44e099
...
...
@@ -255,8 +255,8 @@ class Schema () {
// FIXME Use SchemaCmdParser
fun
addDoubleInc
(
commandArgs
:
String
):
Schema
{
val
source
:
String
=
commandArgs
.
split
(
"
-
->"
)[
0
]
val
target
:
String
=
commandArgs
.
split
(
"
-
->"
)[
1
]
val
source
:
String
=
commandArgs
.
split
(
"
<
->"
)[
0
]
val
target
:
String
=
commandArgs
.
split
(
"
<
->"
)[
1
]
val
sourceTableName
:
String
=
source
.
split
(
":"
)[
0
]
val
sourceAttributeNames
=
source
.
split
(
":"
)[
1
]
...
...
This diff is collapsed.
Click to expand it.
src/test/kotlin/unibz.cs.semint.kprime/domain/SchemaTest.kt
+
1
−
1
View file @
fc44e099
...
...
@@ -214,7 +214,7 @@ class SchemaTest {
var
schema
=
Schema
()
assertEquals
(
0
,
schema
.
doubleIncs
().
size
)
// when
schema
.
addDoubleInc
(
"table4:DepName
-
->table4:DepAddress"
)
schema
.
addDoubleInc
(
"table4:DepName
<
->table4:DepAddress"
)
// then
assertEquals
(
1
,
schema
.
doubleIncs
().
size
)
}
...
...
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