Skip to content

Test Result : AnyDSLValidationTests

0 failures
58 tests
Took 1.5 sec.

All Tests

Test nameDurationStatus
test[1 [self/]]35 msPassed
test[10 [self.caliber/]]26 msPassed
test[11 ['Constraint 1 Constraint2'/]]26 msPassed
test[12 ['NewAbstractClass_' + self.eContainer().eContents(anydsl::Food)->size()/]]26 msPassed
test[13 ['The ' + self.oclAsType(anydsl::Company).name +' class is never used'/]]26 msPassed
test[14 [self.eInverse(anydsl::Producer)/]]25 msPassed
test[15 [self.name.toLower()/]]26 msPassed
test[16 [self.oclAsType(anydsl::Company).eAllContents(anydsl::Food)->including(self).eInverse()->select(i | i.oclIsKindOf(anydsl::World) or i.oclIsKindOf(anydsl::Food))->reject(e | e.oclAsType(anydsl::World).companies->includes(e))->notEmpty()/]]27 msPassed
test[17 [self.producers->size() <4/]]26 msPassed
test[18 [self.oclAsType(anydsl::Source).foods->size() <4/]]26 msPassed
test[19 [true/]]25 msPassed
test[2 [self.eAllContents()/]]30 msPassed
test[20 ['Open '+ self.name +' Class Diagram'/]]26 msPassed
test[21 ['Open '+ self.name +' Class Diagram'/]]34 msPassed
test[22 [self <> self.eContainer()/]]26 msPassed
test[23 [self.eContainer(anydsl::World)/]]27 msPassed
test[24 [self.eContainer(anydsl::World)/]]28 msPassed
test[25 [self.eContainer(anydsl::Food)/]]27 msPassed
test[26 [not self.color->isEmpty()/]]26 msPassed
test[27 [self.eClass().name + ' : ' + self.name/]]26 msPassed
test[28 [self.oclIsKindOf(anydsl::MultiNamedElement)/]]26 msPassed
test[29 [self.oclIsTypeOf(anydsl::MultiNamedElement)/]]26 msPassed
test[3 [self.customToString()/]]31 msPassed
test[30 [self.oclIsTypeOf(anydsl::Source)/]]26 msPassed
test[31 [self.oclIsTypeOf(anydsl::Plant)/]]25 msPassed
test[32 [self.companies->isEmpty() and self.sources->isEmpty()/]]27 msPassed
test[33 [self.companies->isEmpty() or self.sources->isEmpty()/]]26 msPassed
test[34 [self.companies->select(a|a.oclIsTypeOf(anydsl::Restaurant))->isEmpty() or self.sources->isEmpty()/]]26 msPassed
test[35 [self.eAllContents()->select(content| content.oclIsTypeOf(anydsl::Food))->isEmpty()/]]26 msPassed
test[36 [self.eAllContents()->select(content| content.oclIsTypeOf(anydsl::ProductionCompany))->isEmpty()/]]25 msPassed
test[37 [self.foods->first()/]]25 msPassed
test[38 [self.foods->first().name/]]25 msPassed
test[39 [self.foods->first().caliber/]]25 msPassed
test[4 [self.eAllContents()->filter(anydsl::ProductionCompany)->select(a:anydsl::ProductionCompany | a.name.toString().startsWith('Beef'))/]]30 msPassed
test[40 [self.foods->first().caliber.oclIsTypeOf(anydsl::Caliber)/]]24 msPassed
test[41 [self.foods->first().caliber.toString()/]]24 msPassed
test[42 [self.foods->first().color->size()/]]25 msPassed
test[43 [self.foods->first().color->first()/]]25 msPassed
test[44 [self.foods->first().color->first().toString()/]]25 msPassed
test[45 [self.companies->first().name/]]24 msPassed
test[46 [self.companies->first().oclAsType(anydsl::ProductionCompany).adress.country.oclIsTypeOf(anydsl::CountryData)/]]25 msPassed
test[47 [self.companies->first().oclAsType(anydsl::ProductionCompany).producers->first().name/]]25 msPassed
test[48 [self.companies->first().oclAsType(anydsl::ProductionCompany).producers->first().adress.country.oclIsTypeOf(anydsl::CountryData)/]]25 msPassed
test[49 [self.companies->first().oclAsType(anydsl::ProductionCompany).producers->first().foods/]]25 msPassed
test[5 [self.name/]]29 msPassed
test[50 [self.companies->first().oclAsType(anydsl::ProductionCompany).producers->first().foods->first().caliber/]]25 msPassed
test[51 [self.companies->first().oclAsType(anydsl::ProductionCompany).producers->first().foods->first().caliber.oclIsTypeOf(anydsl::Caliber)/]]25 msPassed
test[52 [self.companies->first().oclAsType(anydsl::ProductionCompany).producers->first().foods->first().caliber.toString()/]]25 msPassed
test[53 [self.companies->first().oclAsType(anydsl::ProductionCompany).producers->first().foods->first().color.toString()/]]25 msPassed
test[54 [self.companies->first().oclAsType(anydsl::ProductionCompany).producers->first().foods->first().color->asOrderedSet().toString()/]]25 msPassed
test[55 [self.companies->first().oclAsType(anydsl::ProductionCompany).producers->first().foods->first().color->first()/]]24 msPassed
test[56 [self.companies->first().oclAsType(anydsl::ProductionCompany).producers->first().foods->first().color->first().oclIsTypeOf(anydsl::Color)/]]25 msPassed
test[57 [self.companies->first().oclAsType(anydsl::ProductionCompany).producers->first().foods->first().color->size()/]]26 msPassed
test[58 [self.companies->first().oclAsType(anydsl::ProductionCompany).producers->first().foods->first().color/]]25 msPassed
test[6 [self.name/]]30 msPassed
test[7 [self.eAllContents(anydsl::NamedElement)->select( named : anydsl::NamedElement | named.name.toString().startsWith('Sa'))/]]30 msPassed
test[8 [self.eAllContents(anydsl::MultiNamedElement)->select(s|s.oclAsType(anydsl::Source).name->size() = 1)/]]29 msPassed
test[9 [-1/]]27 msPassed