daluu / plrobotremoteserver

Moved my project here due to Google Code's demise
http://code.google.com/p/plrobotremoteserver
1 stars 1 forks source link

Add check for duplicate keyword names #15

Open daluu opened 9 years ago

daluu commented 9 years ago

Per the Java remote server and JavaLibCore:

Both JavalibCore(AnnotationLibrary) and jrobotremoteserver check for duplicate keywords (my_keyword and myKeyword for example). When a duplicate is found the library is not loaded or imported. I'm not sure what RF does if the dynamic library returns conflicting keywords.

Code: https://github.com/robotframework/JavalibCore/blob/master/src/main/java/org/robotframework/javalib/factory/AnnotationKeywordFactory.java#L77 Test: https://github.com/robotframework/JavalibCore/blob/master/src/test/robotframework/acceptance/annotationlibrarywithmultiplepatternsandconflictingkeywordnames.tsv Code: https://github.com/ombre42/jrobotremoteserver/blob/master/src/main/java/org/robotframework/remoteserver/javalib/SimpleKeywordFactory.java#L66 Test: https://github.com/ombre42/jrobotremoteserver/blob/master/src/test/java/org/robotframework/remoteserver/javalib/SimpleKeywordFactoryTest.java