Skip to content

Commit

Permalink
Update test sample to the new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
fcoulon committed Oct 6, 2015
1 parent dad8708 commit c30a3fb
Showing 1 changed file with 9 additions and 9 deletions.
Expand Up @@ -13,39 +13,39 @@ language TestLanguage {
}

language TestLanguageRenamed {
merge TestLanguage and-rename {
merge TestLanguage renaming {
"root" to "root2" {
"ClassA" to "ClassA2" {
"toB" : "toB2"
"toB" to "toB2"
}
}
"root.subpackage" to "root2.subpackage2"{
"ClassB" to "ClassB2" {
"toA" : "toA2"
"toA" to "toA2"
}
"SuperB" to "SuperB2" {
"attrib" : "attrib2"
"attrib" to "attrib2"
}
}
}
exactType RenamedMT
}

language TestReverseRenamed {
merge TestLanguageRenamed and-rename {
merge TestLanguageRenamed renaming {
"root2" to "root" {
"ClassA2" to "ClassA" {
"toB2" : "toB"
"toB2" to "toB"
}
}
"root2.subpackage2" to "root.subpackage"{
"ClassB2" to "ClassB" {
"toA2" : "toA"
"toA2" to "toA"
}
"SuperB2" to "SuperB" {
"attrib2" : "attrib"
"attrib2" to "attrib"
}
}
}
exactType ReverseRenamedMT
}
}

0 comments on commit c30a3fb

Please sign in to comment.